Array data type implementation. More...
#include <ArrayDataType.h>
Public Member Functions | |
const std::string & | getIdentifier () const |
Retrieve the identifier representing this data type (implementation) More... | |
virtual size_t | getNumMembers () const =0 |
Retrieve the number of members of this array data type (abstract declaration) More... | |
Impl (const DataType &memberType) | |
Constructor. More... | |
virtual bool | isDynamic () const =0 |
True, if this array data type represents a dynamic array (abstract declaration) More... | |
virtual | ~Impl () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::DataType::Impl | |
virtual Serializer | createSerializer (const DataType &type) const =0 |
Create a serializer for this data type (abstract declaration) More... | |
virtual Variant | createVariant (const DataType &type) const =0 |
Create a variant from this data type (abstract declaration) More... | |
virtual size_t | getSize () const =0 |
Retrieve the size of the instances of this data type (abstract declaration) More... | |
virtual const std::type_info & | getTypeInfo () const |
Retrieve the type information associated with this data type. More... | |
Impl () | |
Constructor. More... | |
virtual bool | isFixedSize () const =0 |
True, if this data type represents a fixed-size data type (abstract declaration) More... | |
virtual bool | isSimple () const =0 |
True, if this data type represents a simple data type (abstract declaration) More... | |
Public Attributes | |
std::string | identifier |
The identifier representing this array data type. More... | |
DataType | memberType |
The member type of the array data type. More... | |
Array data type implementation.
Definition at line 74 of file ArrayDataType.h.
variant_topic_tools::ArrayDataType::Impl::Impl | ( | const DataType & | memberType | ) |
Constructor.
Definition at line 51 of file ArrayDataType.cpp.
|
virtual |
Destructor.
Reimplemented from variant_topic_tools::DataType::Impl.
Definition at line 57 of file ArrayDataType.cpp.
|
virtual |
Retrieve the identifier representing this data type (implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 95 of file ArrayDataType.cpp.
|
pure virtual |
Retrieve the number of members of this array data type (abstract declaration)
Implemented in variant_topic_tools::ArrayDataType::ImplT< T >, and variant_topic_tools::ArrayDataType::ImplV.
|
pure virtual |
True, if this array data type represents a dynamic array (abstract declaration)
Implemented in variant_topic_tools::ArrayDataType::ImplT< T >, and variant_topic_tools::ArrayDataType::ImplV.
|
mutable |
The identifier representing this array data type.
Definition at line 102 of file ArrayDataType.h.
DataType variant_topic_tools::ArrayDataType::Impl::memberType |
The member type of the array data type.
Definition at line 106 of file ArrayDataType.h.