ADTF
|
Namespace for serialization function. More...
Functions | |
template<typename Decoder , typename Encoder > | |
tResult | transform (const Decoder &oDecoder, Encoder &oEncoder) |
Copies all elements from a decoder to a codec. More... | |
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. More... | |
Namespace for serialization function.
tResult adtf_ddl::serialization::transform | ( | const Decoder & | oDecoder, |
Encoder & | oEncoder | ||
) |
Copies all elements from a decoder to a codec.
[in] | oDecoder | The source decoder. |
[out] | oEncoder | The destination codec. |
Definition at line 25 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/extern/pkg_ddl/include/adtfddl/serialization/serialization.h.
References RETURN_IF_FAILED, and RETURN_NOERROR.
Referenced by cDDLAutoVec< vectorType >::AutoDelete().
tResult adtf_ddl::serialization::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.
Allocates the buffer accordingly.
[in] | oDecoder | The source decoder. |
[out] | oBuffer | The destination buffer object. |
[in] | bZero | Whether or not to memzero the buffer before writing the elements to it. |