7 #ifndef _DDL_STRUCT_ELEMENT_CLASS_HEADER_
8 #define _DDL_STRUCT_ELEMENT_CLASS_HEADER_
11 #ifndef DDL_DATA_REPRESENTATION_DEFINED
12 #define DDL_DATA_REPRESENTATION_DEFINED
43 typedef std::map<A_UTILS_NS::cString, A_UTILS_NS::cVariant>
tEnum;
67 struct tStructLayoutElement :
public tStructElement
69 tPosition sDeserialized;
70 tPosition sSerialized;
75 class tDynamicStructLayoutElement
81 std::vector<tStructLayoutElement> oStaticElements;
82 std::vector<tDynamicStructLayoutElement> oDynamicElements;
85 tDynamicStructLayoutElement() =
default;
86 tDynamicStructLayoutElement(
size_t nAlignment):
87 nAlignment(nAlignment)
91 bool IsAlignmentElement()
const
96 bool IsDynamicArray()
const
104 size_t nDeserialized;
Variant class which can handle all base data types.
tBool IsNotEmpty() const
This function checks if the string object is not empty.
tBool IsEmpty() const
This function checks if the string object is empty.
tVariantType
Enumeration of variant types.
Namespace for the mainpage_pkg_ddl.
std::map< A_UTILS_NS::cString, A_UTILS_NS::cVariant > tEnum
Typedef for enumerations name -> value.
definition of the ddl namespace
DataRepresentation
Enumeration for the data representation.
@ serialized
serialized data, i.e network, on disks, can msgs, ...
@ Deserialized
alias names for legacy reasons
@ deserialized
deserialized data, c-structs, arrays, ...
@ Serialized
alias names for legacy reasons
Information about an element accessible with a decoder or codec.
A_UTILS_NS::tVariantType eType
The type of the element.
const tEnum * pEnum
pointer to an enum, can be nullptr.
A_UTILS_NS::cString strName
The full name of the element.