18 namespace mediadescription
22 namespace adtf_ddl_access
37 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
45 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleDecoder::GetElement!")
167 template<
typename CodecType>
171 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
180 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
185 auto oCodecIndex =
getCodec()->resolve(nElementLeafIndex);
186 detail::set_adtf_util_variant(
getCodec(), oCodecIndex, oValue);
189 catch(
const std::exception&)
191 return adtf::base::current_exception_to_result();
203 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
208 auto oCodecIndex =
getCodec()->getElement(strElementName).getIndex();
209 detail::set_adtf_util_variant(
getCodec(), oCodecIndex, oValue);
212 catch (
const std::exception&)
214 return adtf::base::current_exception_to_result();
225 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
230 auto oCodecIndex =
getCodec()->resolve(nElementLeafIndex);
231 return getCodec()->getElementAddress(oCodecIndex);
233 catch (
const std::exception&)
262 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
275 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodecFactory::GetElements!")
Copyright © Audi Electronics Venture GmbH.
#define ADTF3_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.
Copyright © Audi Electronics Venture GmbH.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
A common result class usable as return value throughout.
Factory class for ddl codecs.
Decoder for dynamic structures defined by a DataDefinition definition.
Fast Access Index Type for the coders.
Codec for static structures defined by a DataDefinition definition.
Decoder for static structures defined by a DataDefinition definition.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
ADTF adtf_util Namespace - Within adtf this is used as adtf::util or adtf_util and also defined as A_...
Namespace for entire ADTF SDK.
definition of the ddl namespace
Copyright © Audi Electronics Venture GmbH.
Information about an element accessible with a decoder or codec.