ADTF
|
A factory element access type concept template to retrieve element information from the AccessType
.
More...
Public Types | |
using | access_type = AccessType |
The access type (CodecFactory, Codec, Decoder, etc.) | |
using | self_type = FactoryElementAccess< AccessType > |
self type | |
using | element_type = FactoryElement< self_type, ChildElements< self_type > > |
element type | |
Static Public Member Functions | |
static element_type | getElement (access_type &access, const std::string &full_element_name) |
Get a element object for the given full_element_name . More... | |
static element_type | getElement (access_type &access, const CodecIndex &index) |
Get a element object for the given index . More... | |
static size_t | getChildCount (access_type &access, const CodecIndex &index) |
Get the Child Count. More... | |
static std::string | getFullName (access_type &access, const CodecIndex &index) |
Get the full name of the element within its main structure. More... | |
static std::string | getName (access_type &access, const CodecIndex &index) |
Get the name of the element within its level structure. More... | |
static std::string | getBaseName (access_type &access, const CodecIndex &index) |
Get the name of the element within its level structure. More... | |
static void | resolve (access_type &access, CodecIndex &index) |
Resolves the given CodecIndex and set the layout information. More... | |
A factory element access type concept template to retrieve element information from the AccessType
.
This class is to retrieve common information of the element.
AccessType | The AccessType for the element (CodecFactory, Codec, Decoder, etc. ) |
Definition at line 437 of file codec_iterator.h.
|
inlinestatic |
Get the name of the element within its level structure.
If the element is an array you get the elements base name representation : "element_name" for each array element. If the element is not an array you get the elements name representation is also the base name representation: "element_name".
access | defined access type. |
index | The codec index |
Definition at line 515 of file codec_iterator.h.
|
inlinestatic |
Get the Child Count.
access | defined access type. |
index | The codec index |
Definition at line 473 of file codec_iterator.h.
|
inlinestatic |
Get a element object for the given index
.
access | defined access type. |
index | The codec index. |
Definition at line 462 of file codec_iterator.h.
|
inlinestatic |
Get a element object for the given full_element_name
.
access | defined access type. |
full_element_name | The full name of the element in point notation (i.e. "element1.child_element[4].element_value" ). |
Definition at line 451 of file codec_iterator.h.
|
inlinestatic |
Get the full name of the element within its main structure.
If the element is an array you get the elements array name representation: "main_element.element_name[0]" or main_element.element_name[1] ... etc. If the element is not an array you get the elements name representation: "main_element.element_name".
access | defined access type. |
index | The codec index |
Definition at line 487 of file codec_iterator.h.
|
inlinestatic |
Get the name of the element within its level structure.
If the element is an array you get the elements array name representation: "element_name[0]" or element_name[1] ... etc. If the element is not an array you get the elements name representation: "element_name".
access | defined access type. |
index | The codec index |
Definition at line 501 of file codec_iterator.h.
|
inlinestatic |
Resolves the given CodecIndex and set the layout information.
access | defined access type. |
index | The codec index to resolve |
throws | if not found |
Definition at line 527 of file codec_iterator.h.