|
| | structure (const std::string &strName) |
| |
| | structure (const std::string &strName, size_t nAlignment) |
| |
| size_t | GetSize () const |
| |
| size_t | GetAlignment () const |
| |
| 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) |
| |
| template<typename ArithmeticType> |
| structure & | 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 ddl::DDEnum &oTypeDefinition, size_t nArrayCount=1, size_t nAlignment=0, int32_t nBytePosition=-1, bool bLittleEndian=true) |
| |
| structure & | Add (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::DDStructure & | GetStructure () const |
| | Get the current valid DDStructure object.
|
| |
| | structure (const std::string &strName, uint32_t ui32StructVersion=1) |
| |
| size_t | GetSize () const |
| |
| size_t | GetAlignment () const |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition) |
| |
| const ddl::DDStructure & | GetStructure () 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 |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition) |
| |
| const ddl::DDStructure & | GetStructure () 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 |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDEnum &oTypeDefinition) |
| |
| structure & | Add (const std::string &strName, MemberType void::*pMemberOffset, const ddl::DDStructure &oTypeDefinition) |
| |
| const ddl::DDStructure & | GetStructure () const |
| | Get the current valid DDStructure object.
|
| |
| | operator const ddl::DDStructure & () const |
| | Get the current valid DDStructure object.
|
| |
| | 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) |
| |
| DDStructureGenerator & | addElement (const std::string &name, MemberType void::*member_offset) |
| |
| DDStructureGenerator & | addElement (const std::string &name, MemberType void::*member_offset, const std::string &valid_element_count_or_array_size_name) |
| |
| DDStructureGenerator & | addElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type) |
| |
| DDStructureGenerator & | addElement (const std::string &name, MemberType void::*member_offset, const DDEnum &enum_type, const std::string &valid_element_count_or_array_size_name) |
| |
| DDStructureGenerator & | addElement (const std::string &name, MemberType void::*member_offset, const DDStructure &struct_type) |
| |
| DDStructureGenerator & | addElement (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::DataDefinition & | getDD () const |
| | returns a valid DDL.
|
| |
| const dd::StructType & | getStructType () const |
| | Get the Struct Type object.
|
| |
| const DDStructure & | getStructure () 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.
|
| |
|
| DDStructure ()=delete |
| | Construct a new DDStructure object.
|
| |
| | DDStructure (DDStructure &&other) |
| | Construct a new DDStructure object.
|
| |
| | DDStructure (const DDStructure &other) |
| | Construct a new DDStructure object.
|
| |
| DDStructure & | operator= (DDStructure &&other) |
| | move assignment operator
|
| |
| DDStructure & | operator= (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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> |
| DDStructure & | addElement (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> |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElement (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.
|
| |
| DDStructure & | addElements (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::DataDefinition & | getDD () const |
| | returns a valid DDL.
|
| |
| const dd::StructType & | getStructType () 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.
|
| |