#include <type_reflection_legacy.h>
Inherits adtf::mediadescription::flash::cType.
Inherited by adtf::mediadescription::flash::structure< void >, adtf::mediadescription::flash::structure< T >, and adtf::mediadescription::flash::structure< void >.
Type implementation for structures.
Do not use this class directly, but use structure instead.
◆ cStructureType()
| adtf::mediadescription::flash::cStructureType::cStructureType |
( |
const std::string & | strName, |
|
|
size_t | nSize, |
|
|
size_t | nAlignment ) |
Initializes the structure type
- Parameters
-
| [in] | strName | The name. |
| [in] | nSize | The size in bytes. |
| [in] | nAlignment | The default alignment. |
◆ Add()
| void adtf::mediadescription::flash::cStructureType::Add |
( |
member && | sNewMember | ) |
|
|
protected |
Adds a new member to the structure.
- Parameters
-
| [in] | sNewMember | The new member. |
◆ GetAlignment()
| size_t adtf::mediadescription::flash::cStructureType::GetAlignment |
( |
| ) |
const |
|
overridevirtual |
◆ GetAsStringPair()
| std::pair< std::string, std::string > adtf::mediadescription::flash::cStructureType::GetAsStringPair |
( |
| ) |
const |
Legacy conversion to a pair of (first) md_struct and (second)md_description.
- Returns
- A list of all members of the structure.
◆ GetMembers()
| const std::vector< member > & adtf::mediadescription::flash::cStructureType::GetMembers |
( |
| ) |
const |
- Returns
- A list of all members of the structure.
◆ GetName()
| std::string adtf::mediadescription::flash::cStructureType::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetSize()
| size_t adtf::mediadescription::flash::cStructureType::GetSize |
( |
| ) |
const |
|
overridevirtual |
◆ operator std::pair< std::string, std::string >()
| adtf::mediadescription::flash::cStructureType::operator std::pair< std::string, std::string > |
( |
| ) |
const |
|
inline |
Legacy conversion operator to a pair of (first) md_struct and (second)md_description.
- Returns
- A list of all members of the structure.
The documentation for this class was generated from the following file: