Dev Essential
Loading...
Searching...
No Matches
ddl::codec::ChildElements< ElementAccessType > Class Template Reference

Iteratable container type for the given Element type in ElementAccessType::element_type. More...

#include <codec_iterator.h>

Public Types

using access_type = typename ElementAccessType::access_type
 The supported access type (from ElementAccessType::access_type)
 
using element_type = typename ElementAccessType::element_type
 The supported element type (from ElementAccessType::element_type)
 
using const_iterator = ElementIteratorConst<ElementAccessType>
 const iterator type
 
using iterator = ElementIterator<ElementAccessType>
 iterator type
 

Public Member Functions

 ChildElements (ChildElements &&)=default
 move CTOR
 
ChildElementsoperator= (ChildElements &&)=default
 move operator
 
 ChildElements (const ChildElements &)=delete
 no copy CTOR
 
ChildElementsoperator= (const ChildElements &)=delete
 no copy operator
 
 ~ChildElements ()=default
 DTOR.
 
const_iterator cbegin () const
 cbegin
 
const_iterator begin () const
 begin
 
const_iterator cend () const
 cend
 
const_iterator end () const
 end
 
iterator begin ()
 begin
 
iterator end ()
 end
 
size_t size () const
 Size of the container (child count)
 

Public Attributes

friend element_type
 friend declaration for element type
 
friend access_type
 friend declaration for access type
 
friend FactoryElement< ElementAccessType, ChildElements< ElementAccessType > >
 friend declaration for factory element
 
friend DecoderElement< ElementAccessType, ChildElements< ElementAccessType > >
 friend declaration for decoder element
 
friend CodecElement< ElementAccessType, ChildElements< ElementAccessType > >
 friend declaration for codec element
 

Detailed Description

template<typename ElementAccessType>
class ddl::codec::ChildElements< ElementAccessType >

Iteratable container type for the given Element type in ElementAccessType::element_type.

Template Parameters
ElementAccessTypeThe element access concept type. (see concept templates FactoryElementAccess, DecoderElementAccess, CodecElementAccess)

Member Function Documentation

◆ begin() [1/2]

template<typename ElementAccessType>
iterator ddl::codec::ChildElements< ElementAccessType >::begin ( )
inline

begin

Returns
iterator

◆ begin() [2/2]

template<typename ElementAccessType>
const_iterator ddl::codec::ChildElements< ElementAccessType >::begin ( ) const
inline

begin

Returns
const_iterator

◆ cbegin()

template<typename ElementAccessType>
const_iterator ddl::codec::ChildElements< ElementAccessType >::cbegin ( ) const
inline

cbegin

Returns
const_iterator

◆ cend()

template<typename ElementAccessType>
const_iterator ddl::codec::ChildElements< ElementAccessType >::cend ( ) const
inline

cend

Returns
const_iterator

◆ end() [1/2]

template<typename ElementAccessType>
iterator ddl::codec::ChildElements< ElementAccessType >::end ( )
inline

end

Returns
iterator

◆ end() [2/2]

template<typename ElementAccessType>
const_iterator ddl::codec::ChildElements< ElementAccessType >::end ( ) const
inline

end

Returns
const_iterator

◆ operator=() [1/2]

template<typename ElementAccessType>
ChildElements & ddl::codec::ChildElements< ElementAccessType >::operator= ( ChildElements< ElementAccessType > && )
default

move operator

Returns
ChildElements&

◆ operator=() [2/2]

template<typename ElementAccessType>
ChildElements & ddl::codec::ChildElements< ElementAccessType >::operator= ( const ChildElements< ElementAccessType > & )
delete

no copy operator

Returns
ChildElements&

◆ size()

template<typename ElementAccessType>
size_t ddl::codec::ChildElements< ElementAccessType >::size ( ) const
inline

Size of the container (child count)

Returns
size_t

The documentation for this class was generated from the following file: