|
ADTF
|
#include <type_reflection_legacy.h>
Inherits adtf::mediadescription::flash::cStructureType, and adtf::mediadescription::flash::cStructureType.
Public Member Functions | |
| structure (const std::string &strName, size_t nAlignment=0) | |
| size_t | GetSize () const override |
| size_t | GetAlignment () const override |
| template<typename ArithmeticType> | |
| std::enable_if< std::is_arithmetic< ArithmeticType >::value, structure >::type & | Add (const std::string &strName, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true) |
| structure & | Add (const std::string &strName, const cEnumerationType &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true) |
| structure & | Add (const std::string &strName, const cStructureType &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true) |
| structure (const std::string &strName) | |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cEnumerationType &oTypeDefinition) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cStructureType &oTypeDefinition) |
| structure (const std::string &strName) | |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cEnumerationType &oTypeDefinition) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cStructureType &oTypeDefinition) |
| structure (const std::string &strName) | |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cEnumerationType &oTypeDefinition) |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const cStructureType &oTypeDefinition) |
Public Member Functions inherited from adtf::mediadescription::flash::cStructureType | |
| cStructureType (const std::string &strName, size_t nSize, size_t nAlignment) | |
| cStructureType (const cStructureType &oOther) | |
| std::string | GetName () const override |
| const std::vector< member > & | GetMembers () const |
| std::pair< std::string, std::string > | GetAsStringPair () const |
| operator std::pair< std::string, std::string > () const | |
Additional Inherited Members | |
Protected Member Functions inherited from adtf::mediadescription::flash::cStructureType | |
| void | Add (member &&sNewMember) |
This is used to create a structure type independently.
| adtf::mediadescription::flash::structure< void >::structure | ( | const std::string & | strName, |
| size_t | nAlignment = 0 ) |
Initializes the structure
| [in] | strName | The name |
| [in] | nAlignment | The alignment. 0 => Alignment will be calculated from the members. |
|
inline |
Initializes the structure type.
| [in] | strName | The name. |
|
inline |
Initializes the structure type.
| [in] | strName | The name. |
|
inline |
Initializes the structure type.
| [in] | strName | The name. |
| structure & adtf::mediadescription::flash::structure< void >::Add | ( | const std::string & | strName, |
| const cEnumerationType & | oTypeDefinition, | ||
| size_t | nArrayCount = 1, | ||
| size_t | nAlignment = 0, | ||
| int32_t | nBytePosition = -1, | ||
| bool | bLittleEndian = true ) |
Adds a new member of an enumeration type.
| [in] | strName | The name of the member. |
| [in] | oTypeDefinition | The enumeration type definition. |
| [in] | nArrayCount | The array size of the member. |
| [in] | nAlignment | The Alignment of the member. 0 => alignment is taken from the type. |
| [in] | nBytePosition | The byte position in the serialized representation. |
| [in] | bLittleEndian | Whether the value in the serialized representation is little endian or not. |
| structure & adtf::mediadescription::flash::structure< void >::Add | ( | const std::string & | strName, |
| const cStructureType & | oTypeDefinition, | ||
| size_t | nArrayCount = 1, | ||
| size_t | nAlignment = 0, | ||
| int32_t | nBytePosition = -1, | ||
| bool | bLittleEndian = true ) |
Adds a new member of a structure type.
| [in] | strName | The name of the member. |
| [in] | oTypeDefinition | The structure type definition. |
| [in] | nArrayCount | The array size of the member. |
| [in] | nAlignment | The Alignment of the member. 0 => alignment is taken from the type. |
| [in] | nBytePosition | The byte position in the serialized representation. |
| [in] | bLittleEndian | Whether the value in the serialized representation is little endian or not. |
|
inline |
Adds a new member of arithmetic type (POD).
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
|
inline |
Adds a new member of arithmetic type (POD).
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
|
inline |
Adds a new member of arithmetic type (POD).
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
|
inline |
Adds a new member of an enumeration type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The enumeration type. |
|
inline |
Adds a new member of an enumeration type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The enumeration type. |
|
inline |
Adds a new member of an enumeration type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The enumeration type. |
|
inline |
Adds a new member of a structure type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The structure type. |
|
inline |
Adds a new member of a structure type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The structure type. |
|
inline |
Adds a new member of a structure type.
| [in] | strName | The name of the member. |
| [in] | pMemberOffset | The pointer to the member. |
| [in] | oTypeDefinition | The structure type. |
|
inline |
Adds a new member of arithmetic type (POD)
| [in] | strName | The name of the member. |
| [in] | nArrayCount | The array size of the member. |
| [in] | nAlignment | The Alignment of the member. 0 => alignment is taken from the type. |
| [in] | nBytePosition | The byte position in the serialized representation. |
| [in] | bLittleEndian | Whether the value in the serialized representation is little endian or not. |
|
overridevirtual |
Reimplemented from adtf::mediadescription::flash::cStructureType.
|
overridevirtual |
Reimplemented from adtf::mediadescription::flash::cStructureType.