ADTF  3.14.3
ChildElements< ElementAccessType >

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

Public Types

typedef ElementAccessType::access_type access_type
 The supported access type (from ElementAccessType::access_type)
 
typedef ElementAccessType::element_type element_type
 The supported element type (from ElementAccessType::element_type)
 
typedef ElementIteratorConst< ElementAccessType > const_iterator
 Used const iterator.
 
typedef ElementIterator< ElementAccessType > iterator
 Used iterator.
 

Public Member Functions

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

Public Attributes

friend element_type
 
friend access_type
 
friend FactoryElement< ElementAccessType, ChildElements< ElementAccessType > >
 
friend DecoderElement< ElementAccessType, ChildElements< ElementAccessType > >
 
friend CodecElement< ElementAccessType, ChildElements< ElementAccessType > >
 

Private Member Functions

 ChildElements (const ChildElements &)=default
 
ChildElementsoperator= (const ChildElements &)=default
 
 ChildElements (const CodecIndex &base_index, access_type &access)
 
 ChildElements (const CodecIndex &base_index, size_t child_element_count, access_type &access)
 
void resetChildCount (size_t child_element_count)
 
void resetChildCount ()
 

Private Attributes

const CodecIndex_codec_base_index
 
size_t _child_element_count
 
access_type_access
 

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 FactoryElementsAccess, DecoderElementAccess, CodecElementAccess)

Definition at line 316 of file codec_iterator.h.

Member Function Documentation

◆ begin() [1/2]

iterator begin ( )
inline

begin

Returns
iterator

Definition at line 395 of file codec_iterator.h.

◆ begin() [2/2]

const_iterator begin ( ) const
inline

begin

Returns
const_iterator

Definition at line 360 of file codec_iterator.h.

◆ end() [1/2]

iterator end ( )
inline

end

Returns
iterator

Definition at line 414 of file codec_iterator.h.

◆ end() [2/2]

const_iterator end ( ) const
inline

end

Returns
const_iterator

Definition at line 379 of file codec_iterator.h.

◆ operator=()

ChildElements& operator= ( ChildElements< ElementAccessType > &&  )
default

move operator

Returns
ChildElements&

◆ size()

size_t size ( ) const
inline

Size of the container (child count)

Returns
size_t

Definition at line 430 of file codec_iterator.h.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)