9#ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
10 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
49template<
typename Type>
122template<
typename T =
void>
125 static_assert(std::is_trivially_copyable<T>::value,
126 "You can only use structs without pointers or complex members.");
138 structure(
const std::string& strName, uint32_t ui32StructVersion = 1): base_type(strName, ui32StructVersion)
166 template<
typename MemberType>
167 structure&
Add(
const std::string& strName, MemberType T::* pMemberOffset)
180 template<
typename MemberType>
194 template<
typename MemberType>
255 structure(
const std::string& strName,
size_t nAlignment);
281 size_t nArrayCount = 1,
282 size_t nAlignment = 0,
283 int32_t nBytePosition = -1,
284 bool bLittleEndian =
true);
295 template<
typename ArithmeticType>
297 size_t nArrayCount = 1,
298 size_t nAlignment = 0,
299 int32_t nBytePosition = -1,
300 bool bLittleEndian =
true)
317 size_t nArrayCount = 1,
318 size_t nAlignment = 0,
319 int32_t nBytePosition = -1,
320 bool bLittleEndian =
true);
334 size_t nArrayCount = 1,
335 size_t nAlignment = 0,
336 int32_t nBytePosition = -1,
337 bool bLittleEndian =
true);
354using osborn::enumeration;
355using osborn::structure;
DDEnumGenerator & addElement(const std::string &name, Type value)
Definition ddenum.h:183
Utility class for a complete valid data definition of one EnumType and its dependencies....
Definition ddenum.h:29
size_t getTypeByteSize() const
returns the size of the underlying datatype.
size_t getAlignment() const
returns the alignment of the underlying datatype.
Creating a valid Structure Data Definition by a existing type and its member types.
Definition ddstructure_generator.h:117
const dd::StructType & getStructType() const
Definition ddstructure_generator.h:462
DDStructureGenerator & addElement(const std::string &name, MemberType T::*member_offset)
Definition ddstructure_generator.h:207
const dd::DataDefinition & getDD() const
Definition ddstructure_generator.h:449
const DDStructure & getStructure() const
Definition ddstructure_generator.h:474
std::string getStructName() const
Definition ddstructure_generator.h:437
Utility class for a complete valid data definition of one StructType and its dependencies....
Definition ddstructure.h:57
Generator template to create DataType for the plain c-types.
Definition dd_predefined_datatypes.h:38
StructTypeAccess getStructTypeAccess(const std::string &type_name) const
Get the Struct Type Access, where to enter the type and calculated element position information.
size_t getStaticStructSize() const
Get the known Static Struct Size of this instance.
OptionalSize getAlignment() const
Get the Alignment (if set)
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
datamodel::DataType DataType
Definition dd.h:51