|
ADTF
|
#include <sample_codec_access_legacy.h>
Inherited by adtf::mediadescription::osborn::cSampleDecoderBase.
Public Types | |
| typedef ddl::StructElement | DefinedStructElementType |
| type definition for the old access_element API. | |
Public Member Functions | |
| tCodecIndex | Resolve (tCodecLeafIndex nElementLeafIndex) const |
| adtf_util::cVariant | GetElementValue (tCodecLeafIndex nElementLeafIndex) const |
| Legacy: Get the Element Value. | |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, adtf_util::cVariant &oValue) const |
| Legacy: Get the Element Value. | |
| tResult | GetElementValue (const char *strElementName, adtf_util::cVariant &oValue) const |
| Legacy: Get the Element Value. | |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, void *pValue) const |
| Legacy: Copies the Element Value memory into the memory pointer. Keep in MIND this function is UNSAFE in case of value memory is biger than the given one. | |
| tResult | GetElementValue (const char *strElementName, void *pValue) const |
| Legacy: Get the Element Value pointer. | |
| adtf_util::cString | GetElementValueString (tCodecLeafIndex nElementLeafIndex) const |
| Legacy: Get the Element Value as string (resolved to the enum element name if is enum type) | |
| tResult | GetElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| Get the Element StructElement information. | |
| const void * | GetElementAddress (tCodecLeafIndex nElementLeafIndex) const |
| Legacy: Get the Element StructElement information. | |
| size_t | GetElementCount () const |
| Legacy: Get the Element Leaf count. | |
Static Public Member Functions | |
| static const char * | GetStructElementName (const ddl::StructElement *pElement) |
| Legacy: Get the Struct Element Name for access_element legacy support. | |
Protected Member Functions | |
| virtual const ddl::codec::StaticDecoder * | getDecoder () const =0 |
| Get the base ddl::Decoder. | |
Legacy Base Class to Support adtf_ddl::access_element API.
|
protectedpure virtual |
Get the base ddl::Decoder.
| tResult adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElement | ( | tCodecLeafIndex | nElementLeafIndex, |
| const ddl::StructElement *& | pElement ) const |
Get the Element StructElement information.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| pElement | The legacy StructElement |
| const void * adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementAddress | ( | tCodecLeafIndex | nElementLeafIndex | ) | const |
Legacy: Get the Element StructElement information.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| size_t adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementCount | ( | ) | const |
Legacy: Get the Element Leaf count.
| tResult adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValue | ( | const char * | strElementName, |
| adtf_util::cVariant & | oValue ) const |
Legacy: Get the Element Value.
| strElementName | The full element name |
| oValue | The result value to retrieve to |
| tResult adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValue | ( | const char * | strElementName, |
| void * | pValue ) const |
Legacy: Get the Element Value pointer.
| strElementName | The full element name |
| pValue | The result value pointer to retrieve to |
| adtf_util::cVariant adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValue | ( | tCodecLeafIndex | nElementLeafIndex | ) | const |
Legacy: Get the Element Value.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| Throws | a tResult if not found. |
| tResult adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValue | ( | tCodecLeafIndex | nElementLeafIndex, |
| adtf_util::cVariant & | oValue ) const |
Legacy: Get the Element Value.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| oValue | The result value to retrieve to |
| tResult adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValue | ( | tCodecLeafIndex | nElementLeafIndex, |
| void * | pValue ) const |
Legacy: Copies the Element Value memory into the memory pointer. Keep in MIND this function is UNSAFE in case of value memory is biger than the given one.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| pValue | The result value pointer to retrieve to |
| adtf_util::cString adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::GetElementValueString | ( | tCodecLeafIndex | nElementLeafIndex | ) | const |
Legacy: Get the Element Value as string (resolved to the enum element name if is enum type)
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
|
static |
Legacy: Get the Struct Element Name for access_element legacy support.
| pElement | the struct element where to retrieve the name from |
| tCodecIndex adtf::mediadescription::osborn::adtf_ddl_access::cDecoderLegacy::Resolve | ( | tCodecLeafIndex | nElementLeafIndex | ) | const |
Legacy: Retrieves a codec index with element information for the given leaf index.
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
| throws | tResult if not found. |