Implementation for codec access concept (ddl::codec::FactoryElementAccess).
More...
template<typename AccessType>
class adtf::mediadescription::osborn::sample_codec_factory_access< AccessType >
Implementation for codec access concept (ddl::codec::FactoryElementAccess).
- Template Parameters
-
AccessType | The adtf access type to use. |
Definition at line 315 of file sample_codec_access_types.h.
◆ getBaseName()
Get the name of the element within its level structure.
If the element is an array you get the elements base name respresentation : "element_name" for each array element. If the element is not an array you get the elements name respresentation is also the base name respresentation: "element_name".
- Parameters
-
access | defined access type. |
index | The codec index |
- Returns
- std::string
Definition at line 398 of file sample_codec_access_types.h.
◆ getChildCount()
Get the Child Count.
- Parameters
-
access | defined access type. |
index | The codec index |
- Returns
- size_t
Definition at line 359 of file sample_codec_access_types.h.
◆ getElement() [1/2]
Get a element object for the given index
.
- Parameters
-
access | defined access type. |
index | The codec index. |
- Returns
- element_type
Definition at line 348 of file sample_codec_access_types.h.
◆ getElement() [2/2]
Get a element object for the given full_element_name
.
- Parameters
-
access | defined access type. |
full_element_name | The full name of the element in point notation (i.e. "element1.child_element[4].element_value" ). |
- Returns
- element_type
Definition at line 337 of file sample_codec_access_types.h.
◆ getFullName()
Get the full name of the element within its main structure.
If the element is an array you get the elements array name respresentation: "main_element.element_name[0]" or main_element.element_name[1] ... etc. If the element is not an array you get the elements name respresentation: "main_element.element_name".
- Parameters
-
access | defined access type. |
index | The codec index |
- Returns
- std::string
Definition at line 372 of file sample_codec_access_types.h.
◆ getName()
Get the name of the element within its level structure.
If the element is an array you get the elements array name respresentation: "element_name[0]" or element_name[1] ... etc. If the element is not an array you get the elements name respresentation: "element_name".
- Parameters
-
access | defined access type. |
index | The codec index |
- Returns
- std::string
Definition at line 385 of file sample_codec_access_types.h.
◆ resolve()
Resolves the given CodecIndex and set the layout information.
- Parameters
-
access | defined access type. |
index | The codec index to resolve |
- Exceptions
-
Definition at line 410 of file sample_codec_access_types.h.