ADTF
Loading...
Searching...
No Matches
adtf::mediadescription::osborn::structure< void > Class Reference

#include <type_reflection.h>

Inherits ddl::DDStructureGenerator< void, true >, and ddl::DDStructure.

Public Types

typedef ddl::DDStructureGenerator< void, true > base_type
 
typedef ddl::DDStructureGenerator< void, true > base_type
 
typedef ddl::DDStructureGenerator< void, true > base_type
 
- Public Types inherited from ddl::DDStructure
typedef dd::datamodel::StructType::Elements::const_iterator const_iterator
 iterator to iterate the elements of the struct
 

Public Member Functions

 structure (const std::string &strName)
 
 structure (const std::string &strName, size_t nAlignment)
 
size_t GetSize () const
 
size_t GetAlignment () const
 
structureAdd (const std::string &strName, const ddl::dd::DataType &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true)
 
template<typename ArithmeticType>
structureAdd (const std::string &strName, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true)
 
structureAdd (const std::string &strName, const ddl::DDEnum &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true)
 
structureAdd (const std::string &strName, const ddl::DDStructure &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true)
 
const ddl::DDStructureGetStructure () const
 Get the current valid DDStructure object.
 
 structure (const std::string &strName, uint32_t ui32StructVersion=1)
 
size_t GetSize () const
 
size_t GetAlignment () const
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition)
 
const ddl::DDStructureGetStructure () const
 Get the current valid DDStructure object.
 
 operator const ddl::DDStructure & () const
 Get the current valid DDStructure object.
 
 structure (const std::string &strName, uint32_t ui32StructVersion=1)
 
size_t GetSize () const
 
size_t GetAlignment () const
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition)
 
const ddl::DDStructureGetStructure () const
 Get the current valid DDStructure object.
 
 operator const ddl::DDStructure & () const
 Get the current valid DDStructure object.
 
 structure (const std::string &strName, uint32_t ui32StructVersion=1)
 
size_t GetSize () const
 
size_t GetAlignment () const
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition)
 
structureAdd (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition)
 
const ddl::DDStructureGetStructure () const
 Get the current valid DDStructure object.
 
 operator const ddl::DDStructure & () const
 Get the current valid DDStructure object.
 
- Public Member Functions inherited from ddl::DDStructureGenerator< void, true >
 DDStructureGenerator (const std::string &name, uint32_t struct_version=1)
 CTOR to create a structure type based on a type.
 
DDElementRef createElement (const std::string &name, MemberType void::*member_offset)
 
DDElementRef createElement (const std::string &name, MemberType void::*member_offset, const std::string &valid_element_count_or_array_size_name)
 
DDElementRef createElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type)
 
DDElement createElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type, const std::string &valid_element_count_or_array_size_name)
 
DDElementRef createElement (const std::string &name, MemberType void::*member_offset, const DDStructure &struct_type)
 
DDElementRef createElement (const std::string &name, MemberType void::*member_offset, const DDStructure &struct_type, const std::string &valid_element_count_or_array_size_name)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset, const std::string &valid_element_count_or_array_size_name)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type, const std::string &valid_element_count_or_array_size_name)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset, const DDStructure &struct_type)
 
DDStructureGeneratoraddElement (const std::string &name, MemberType void::*member_offset, const DDStructure &struct_type, const std::string &valid_element_count_or_array_size_name)
 
std::string getStructDescription () const
 Gets the structs data definition as XML String.
 
std::string getStructName () const
 Gets the Struct Name.
 
const dd::DataDefinitiongetDD () const
 returns a valid DDL.
 
const dd::StructTypegetStructType () const
 Get the Struct Type object.
 
const DDStructuregetStructure () const
 Get the current valid DDStructure object.
 
size_t getSize () const
 Retrieves the current evaluated size of the structure.
 
size_t getAlignment () const
 Retrieves the current evaluated alignment of the structure.
 
 operator const DDStructure & () const
 Get the current valid DDStructure object.
 
void setStructInfo (const std::string &comment)
 Set additional struct information like comment. This is important to create additional info in type reflection for DDStructureGenerator.
 
void setElementInfo (const std::string &element_name, const std::string &description={}, const std::string &comment={}, const std::string &value={}, const std::string &minimum_value={}, const std::string &maximum_value={}, const std::string &default_value={}, const std::string &scale={}, const std::string &offset={})
 Set additional element information to the given element_name.
 
void setElementUnit (const std::string &element_name, const DDUnit &unit)
 Sets additional element unit information to the given element_name. Any other unit information will be overwritten.
 
void setElementUnit (const std::string &element_name, const dd::BaseUnit &base_unit)
 Sets additional element base unit information to the given element_name.
 
DDElementRef getElement (const std::string &element_name)
 Gets a element reference to the element with name element_name owned by the DDStructureGenerator.
 
- Public Member Functions inherited from ddl::DDStructure
 DDStructure ()=delete
 Construct a new DDStructure object.
 
 DDStructure (DDStructure &&other)
 Construct a new DDStructure object.
 
 DDStructure (const DDStructure &other)
 Construct a new DDStructure object.
 
DDStructureoperator= (DDStructure &&other)
 move assignment operator
 
DDStructureoperator= (const DDStructure &other)
 copy assignment operator
 
 ~DDStructure ()=default
 Destroy the DDStructure object.
 
 DDStructure (const std::string &name, const uint32_t struct_version=1, dd::OptionalSize alignment={}, const std::string &comment={}, const dd::Version &ddl_version={})
 Construct a new DDStructure object.
 
 DDStructure (const std::string &name, const std::string &xml_string, const dd::Version &ddl_xml_file_version_to_parse=dd::Version(0, 0))
 Construct a new DDStructure object.
 
DDStructureaddElement (const std::string &element_name, const dd::DataType &data_type, size_t array_size=1)
 Adds one element to the struct using a (POD) DataType.
 
DDElementRef createElement (const std::string &element_name, const dd::DataType &data_type, size_t array_size=1)
 Creates one element to the struct using a (POD) DataType.
 
DDStructureaddElement (const std::string &element_name, const dd::DataType &data_type, size_t array_size, size_t alignment)
 Adds one element to the struct using a (POD) DataType.
 
DDElementRef createElement (const std::string &element_name, const dd::DataType &data_type, size_t array_size, size_t alignment)
 Creates one element to the struct using a (POD) DataType.
 
DDStructureaddElement (const std::string &element_name, const DDDataType &data_type, size_t array_size=1)
 Adds one element to the struct using a (POD) DataType.
 
DDElementRef createElement (const std::string &element_name, const DDDataType &data_type, size_t array_size=1)
 Creates one element to the struct using a (POD) DataType.
 
DDStructureaddElement (const std::string &element_name, const DDDataType &data_type, size_t array_size, size_t alignment)
 Adds one element to the struct using a (POD) DataType.
 
DDElementRef createElement (const std::string &element_name, const DDDataType &data_type, size_t array_size, size_t alignment)
 Creates one element to the struct using a (POD) DataType.
 
template<typename PREDEF_DATA_TYPE>
DDStructureaddElement (const std::string &element_name, size_t array_size=1, const std::string &special_type_name={})
 Adds one element to the struct using a (POD) DataType.
 
template<typename PREDEF_DATA_TYPE>
DDElementRef createElement (const std::string &element_name, size_t array_size=1, const std::string &special_type_name={})
 Create one element to the struct using a (POD) DataType.
 
template<typename PREDEF_DATA_TYPE>
DDStructureaddElement (const std::string &element_name, size_t array_size, size_t alignment, const std::string &special_type_name={})
 Adds one element to the struct using a (POD) DataType.
 
template<typename PREDEF_DATA_TYPE>
DDElementRef createElement (const std::string &element_name, size_t array_size, size_t alignment, const std::string &special_type_name={})
 Creates one element to the struct using a (POD) DataType.
 
DDStructureaddElement (const std::string &element_name, const DDEnum &enum_type, size_t array_size, const std::string &constant_value={})
 Adds one element to the struct using the convenience class DDEnum.
 
DDElementRef createElement (const std::string &element_name, const DDEnum &enum_type, size_t array_size, const std::string &constant_value={})
 Creates one element to the struct using the convenience class DDEnum.
 
DDStructureaddElement (const std::string &element_name, const DDEnum &enum_type, size_t array_size, size_t alignment, const std::string &constant_value={})
 Adds one element to the struct using the convenience class DDEnum.
 
DDElementRef createElement (const std::string &element_name, const DDEnum &enum_type, size_t array_size, size_t alignment, const std::string &constant_value={})
 Creates one element to the struct using the convenience class DDEnum.
 
DDStructureaddElement (const std::string &element_name, const DDEnum &enum_type, const std::string &constant_value={})
 Adds one element to the struct using the convenience class DDEnum.
 
DDElementRef createElement (const std::string &element_name, const DDEnum &enum_type, const std::string &constant_value={})
 Creates one element to the struct using the convenience class DDEnum.
 
DDStructureaddElement (const std::string &element_name, const DDStructure &struct_type, size_t array_size=1)
 Adds one element to the struct using the convenience class DDStructure.
 
DDElementRef createElement (const std::string &element_name, const DDStructure &struct_type, size_t array_size=1)
 Creates one element to the struct using the convenience class DDStructure.
 
DDStructureaddElement (const std::string &element_name, const DDStructure &struct_type, size_t array_size, size_t alignment)
 Adds one element to the struct using the convenience class DDStructure.
 
DDElementRef createElement (const std::string &element_name, const DDStructure &struct_type, size_t array_size, size_t alignment)
 Creates one element to the struct using the convenience class DDStructure.
 
DDStructureaddElement (const DDElement &element)
 Adds one element to the struct using the convenience class DDElement.
 
DDElementRef createElement (const DDElement &element)
 Creates one element to the struct using the convenience class DDElement.
 
DDStructureaddElements (const std::vector< DDElement > &elements)
 Adds a list of element to the struct using the convenience class DDElement.
 
const_iterator cbegin () const
 returns the first elements iterator.
 
const_iterator cend () const
 returns the end elements iterator.
 
const_iterator begin () const
 returns the first elenents iterator for range based iterations.
 
const_iterator end () const
 returns the end elements iterator.
 
const dd::DataDefinitiongetDD () const
 returns a valid DDL.
 
const dd::StructTypegetStructType () const
 Get the Struct Type object.
 
std::string getStructDescription () const
 Gets the Struct Data Description as XML String.
 
std::string getStructName () const
 Gets the Struct Name.
 
bool isCompatible (const DDStructure &other) const
 binary compares the structs
 
bool isEqual (const DDStructure &other) const
 equal in names and descriptions
 
size_t getSize () const
 Retrieves the current evaluated deserialized size (in bytes) of the structure.
 
size_t getAlignment () const
 Retrieves the current evaluated alignment of the structure.
 
void setStructInfo (const std::string &comment)
 Set additional struct information like comment. This is important to create additional info in type reflection for DDStructureGenerator.
 
void setElementInfo (const std::string &element_name, const std::string &description={}, const std::string &comment={}, const std::string &value={}, const std::string &minimum_value={}, const std::string &maximum_value={}, const std::string &default_value={}, const std::string &scale={}, const std::string &offset={})
 Set additional element information to the given element_name.
 
void setElementUnit (const std::string &element_name, const DDUnit &unit)
 Sets additional element unit information to the given element_name.
 
void setElementUnit (const std::string &element_name, const dd::BaseUnit &base_unit)
 Sets additional element base unit information to the given element_name. Any other unit information will be overwritten.
 
DDElementRef getElement (const std::string &element_name)
 Gets a element reference to the element with name element_name owned by the DDStructure.
 

Detailed Description

This is used to create a structure type independently.

Example Usage

auto oSubType = structure<>("tSub")
.Add<uint8_t>("nValue1")
.Add<uint8_t>("nValue2");
auto oParentType = structure<tParent>("tParent")
.Add<uint32_t>("nSomething", &tParent::nSomething)
.Add("sSub", oSubType);
structure & Add(const std::string &strName, const ddl::dd::DataType &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true)

Constructor & Destructor Documentation

◆ structure() [1/5]

adtf::mediadescription::osborn::structure< void >::structure ( const std::string & strName)

Initializes the structure

Parameters
[in]strNameThe name

◆ structure() [2/5]

adtf::mediadescription::osborn::structure< void >::structure ( const std::string & strName,
size_t nAlignment )

Initializes the structure

Parameters
[in]strNameThe name
[in]nAlignmentThe alignment.

◆ structure() [3/5]

adtf::mediadescription::osborn::structure< void >::structure ( const std::string & strName,
uint32_t ui32StructVersion = 1 )
inline

Initializes the structure type.

Parameters
[in]strNameThe name.
[in]ui32StructVersionThe structure version.
Remarks
This implementation uses padding ddl elements to find the right position of eleemnts. Use ddl::DDStructureGenerator<T, false> to switch it off. For that you need to completely describe the whole structure and each element must be added in the right order.

◆ structure() [4/5]

adtf::mediadescription::osborn::structure< void >::structure ( const std::string & strName,
uint32_t ui32StructVersion = 1 )
inline

Initializes the structure type.

Parameters
[in]strNameThe name.
[in]ui32StructVersionThe structure version.
Remarks
This implementation uses padding ddl elements to find the right position of eleemnts. Use ddl::DDStructureGenerator<T, false> to switch it off. For that you need to completely describe the whole structure and each element must be added in the right order.

◆ structure() [5/5]

adtf::mediadescription::osborn::structure< void >::structure ( const std::string & strName,
uint32_t ui32StructVersion = 1 )
inline

Initializes the structure type.

Parameters
[in]strNameThe name.
[in]ui32StructVersionThe structure version.
Remarks
This implementation uses padding ddl elements to find the right position of eleemnts. Use ddl::DDStructureGenerator<T, false> to switch it off. For that you need to completely describe the whole structure and each element must be added in the right order.

Member Function Documentation

◆ Add() [1/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
const ddl::dd::DataType & oTypeDefinition,
size_t nArrayCount = 1,
size_t nAlignment = 0,
int32_t nBytePosition = -1,
bool bLittleEndian = true )

Adds a new member of an enumeration type.

Parameters
[in]strNameThe name of the member.
[in]oTypeDefinitionThe data type definition.
[in]nArrayCountThe array size of the member.
[in]nAlignmentThe Alignment of the member. 0 => alignment is taken from the type.
[in]nBytePositionThe byte position in the serialized representation.
[in]bLittleEndianWhether the value in the serialized representation is little endian or not.
Returns
A reference to the structure.

◆ Add() [2/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
const ddl::DDEnum & oTypeDefinition,
size_t nArrayCount = 1,
size_t nAlignment = 0,
int32_t nBytePosition = -1,
bool bLittleEndian = true )

Adds a new member of an enumeration type.

Parameters
[in]strNameThe name of the member.
[in]oTypeDefinitionThe enumeration type definition.
[in]nArrayCountThe array size of the member.
[in]nAlignmentThe Alignment of the member. 0 => alignment is taken from the type.
[in]nBytePositionThe byte position in the serialized representation.
[in]bLittleEndianWhether the value in the serialized representation is little endian or not.
Returns
A reference to the structure.

◆ Add() [3/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
const ddl::DDStructure & oTypeDefinition,
size_t nArrayCount = 1,
size_t nAlignment = 0,
int32_t nBytePosition = -1,
bool bLittleEndian = true )

Adds a new member of a structure type.

Parameters
[in]strNameThe name of the member.
[in]oTypeDefinitionThe structure type definition.
[in]nArrayCountThe array size of the member.
[in]nAlignmentThe Alignment of the member. 0 => alignment is taken from the type.
[in]nBytePositionThe byte position in the serialized representation.
[in]bLittleEndianWhether the value in the serialized representation is little endian or not.
Returns
A reference to the structure.

◆ Add() [4/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset )
inline

Adds a new member of arithmetic type (POD).

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
Returns
A reference to the structure.

◆ Add() [5/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset )
inline

Adds a new member of arithmetic type (POD).

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
Returns
A reference to the structure.

◆ Add() [6/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset )
inline

Adds a new member of arithmetic type (POD).

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
Returns
A reference to the structure.

◆ Add() [7/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDEnum & oTypeDefinition )
inline

Adds a new member of an enumeration type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe enumeration type.
Returns
A reference to the structure.

◆ Add() [8/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDEnum & oTypeDefinition )
inline

Adds a new member of an enumeration type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe enumeration type.
Returns
A reference to the structure.

◆ Add() [9/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDEnum & oTypeDefinition )
inline

Adds a new member of an enumeration type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe enumeration type.
Returns
A reference to the structure.

◆ Add() [10/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDStructure & oTypeDefinition )
inline

Adds a new member of a structure type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe structure type.
Returns
A reference to the structure.

◆ Add() [11/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDStructure & oTypeDefinition )
inline

Adds a new member of a structure type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe structure type.
Returns
A reference to the structure.

◆ Add() [12/13]

structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
MemberType void::* pMemberOffset,
const ddl::DDStructure & oTypeDefinition )
inline

Adds a new member of a structure type.

Parameters
[in]strNameThe name of the member.
[in]pMemberOffsetThe pointer to the member.
[in]oTypeDefinitionThe structure type.
Returns
A reference to the structure.

◆ Add() [13/13]

template<typename ArithmeticType>
structure & adtf::mediadescription::osborn::structure< void >::Add ( const std::string & strName,
size_t nArrayCount = 1,
size_t nAlignment = 0,
int32_t nBytePosition = -1,
bool bLittleEndian = true )
inline

Adds a new member of arithmetic type (POD)

Parameters
[in]strNameThe name of the member.
[in]nArrayCountThe array size of the member.
[in]nAlignmentThe Alignment of the member. 0 => alignment is taken from the type.
[in]nBytePositionThe byte position in the serialized representation.
[in]bLittleEndianWhether the value in the serialized representation is little endian or not.
Returns
A reference to the structure.

◆ GetAlignment() [1/4]

size_t adtf::mediadescription::osborn::structure< void >::GetAlignment ( ) const
inline

Returns the alignment of the structure.

Returns
size_t The alignment

◆ GetAlignment() [2/4]

size_t adtf::mediadescription::osborn::structure< void >::GetAlignment ( ) const
inline

Returns the alignment of the structure.

Returns
size_t The alignment

◆ GetAlignment() [3/4]

size_t adtf::mediadescription::osborn::structure< void >::GetAlignment ( ) const
inline

Returns the alignment of the structure.

Returns
size_t The alignment

◆ GetAlignment() [4/4]

size_t adtf::mediadescription::osborn::structure< void >::GetAlignment ( ) const

Returns the current calculated or set alignment of the structure.

Returns
size_t The alignment

◆ GetSize() [1/4]

size_t adtf::mediadescription::osborn::structure< void >::GetSize ( ) const
inline

Returns the current size of the structure.

Returns
size_t The size in bytes

◆ GetSize() [2/4]

size_t adtf::mediadescription::osborn::structure< void >::GetSize ( ) const
inline

Returns the current size of the structure.

Returns
size_t The size in bytes

◆ GetSize() [3/4]

size_t adtf::mediadescription::osborn::structure< void >::GetSize ( ) const
inline

Returns the current size of the structure.

Returns
size_t The size in bytes

◆ GetSize() [4/4]

size_t adtf::mediadescription::osborn::structure< void >::GetSize ( ) const

Returns the current size of the structure.

Returns
size_t The size in bytes

◆ GetStructure() [1/4]

const ddl::DDStructure & adtf::mediadescription::osborn::structure< void >::GetStructure ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ GetStructure() [2/4]

const ddl::DDStructure & adtf::mediadescription::osborn::structure< void >::GetStructure ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ GetStructure() [3/4]

const ddl::DDStructure & adtf::mediadescription::osborn::structure< void >::GetStructure ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ GetStructure() [4/4]

const ddl::DDStructure & adtf::mediadescription::osborn::structure< void >::GetStructure ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ operator const ddl::DDStructure &() [1/3]

adtf::mediadescription::osborn::structure< void >::operator const ddl::DDStructure & ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ operator const ddl::DDStructure &() [2/3]

adtf::mediadescription::osborn::structure< void >::operator const ddl::DDStructure & ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

◆ operator const ddl::DDStructure &() [3/3]

adtf::mediadescription::osborn::structure< void >::operator const ddl::DDStructure & ( ) const
inline

Get the current valid DDStructure object.

Returns
const DDStructure&
Exceptions
ddl::dd::ErrorThrows if the evaluated size is not sizeof(T). Check if there may be missed elements.

The documentation for this class was generated from the following file: