7 #ifndef _DDL_CODEC_FACTORY_CLASS_HEADER_
8 #define _DDL_CODEC_FACTORY_CLASS_HEADER_
37 const
char* strMediaDescription);
A common result class usable as return value throughout.
Factory class for ddl codecs.
tResult m_oConstructorResult
For internal use only.
static const char * GetStaticStructElementName(const tStructElement *pElement)
Access information about an element.
cCodecFactory & operator=(cCodecFactory &&)=default
Move assignment operator.
size_t GetStaticBufferSize(tDataRepresentation eRep=tDataRepresentation::Deserialized) const
cStaticDecoder MakeStaticDecoderFor(const void *pData, size_t nDataSize, tDataRepresentation eRep=tDataRepresentation::Deserialized) const
Creates a static decoder for the given data.
cCodecFactory(const cCodecFactory &)=default
Copy constructor.
tResult IsValid() const
Check if the factory is in a valid state.
cCodec MakeCodecFor(void *pData, size_t nDataSize, tDataRepresentation eRep=tDataRepresentation::Deserialized) const
Creates a codec for the given data.
tResult GetStaticElement(size_t nIndex, const tStructElement *&pElement) const
Access information about an element.
std::shared_ptr< const cStructLayout > m_pLayout
For internal use only.
cStaticCodec MakeStaticCodecFor(void *pData, size_t nDataSize, tDataRepresentation eRep=tDataRepresentation::Deserialized) const
Creates a static codec for the given data.
size_t GetStaticElementCount() const
cCodecFactory & operator=(cCodecFactory &)=default
Assignment operator.
cCodecFactory(cCodecFactory &&)=default
Move constructor.
cDecoder MakeDecoderFor(const void *pData, size_t nDataSize, tDataRepresentation eRep=tDataRepresentation::Deserialized) const
Creates a decoder for the given data.
Codec for dynamic structures defined by a DDL definition.
Representation for a complex datatype inside a DDL specification.
Decoder for dynamic structures defined by a DDL definition.
Codec for static structures defined by a DDL definition.
Decoder for static structures defined by a DDL definition.
Namespace for the mainpage_pkg_ddl.
definition of the ddl namespace
DataRepresentation
Enumeration for the data representation.
@ Deserialized
alias names for legacy reasons
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.
Information about an element accessible with a decoder or codec.
Implementation of the StaticCodec and StaticDecoder.
Implementation of the Codec and Decoder.