7 #ifndef _DDL_SERIALIZER_CLASS_HEADER_
8 #define _DDL_SERIALIZER_CLASS_HEADER_
15 namespace serialization
24 template <
typename Decoder,
typename Encoder>
27 size_t nElementCount = oDecoder.GetElementCount();
28 assert(nElementCount == oEncoder.GetElementCount());
29 for (
size_t nElement = 0; nElement < nElementCount; ++nElement)
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
#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.
Decoder for dynamic structures defined by a DDL definition.
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
tResult transform_to_buffer(const cDecoder &oDecoder, A_UTILS_NS::cMemoryBlock &oBuffer, bool bZero=false)
Tranforms the data from a given decoder into the opposite data representation.
tResult transform(const Decoder &oDecoder, Encoder &oEncoder)
Copies all elements from a decoder to a codec.
Namespace for the mainpage_pkg_ddl.
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.