Array data type implementation (variant-typed version) More...
#include <ArrayDataType.h>
Public Member Functions | |
Serializer | createSerializer (const DataType &type) const |
Create a serializer for this data type (re-implementation) More... | |
Variant | createVariant (const DataType &type) const |
Create a variant from this data type (re-implementation) More... | |
size_t | getNumMembers () const |
Retrieve the number of members of this array data type (implementation) More... | |
size_t | getSize () const |
Retrieve the size of the instances of this data type (implementation) More... | |
ImplV (const DataType &memberType, size_t numMembers) | |
Constructor. More... | |
bool | isDynamic () const |
True, if this array data type represents a dynamic array (implementation) More... | |
bool | isFixedSize () const |
True, if this data type represents a fixed-size data type (implementation) More... | |
bool | isSimple () const |
True, if this data type represents a simple data type (implementation) More... | |
virtual | ~ImplV () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::ArrayDataType::Impl | |
const std::string & | getIdentifier () const |
Retrieve the identifier representing this data type (implementation) More... | |
Impl (const DataType &memberType) | |
Constructor. More... | |
virtual | ~Impl () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::DataType::Impl | |
virtual const std::type_info & | getTypeInfo () const |
Retrieve the type information associated with this data type. More... | |
Impl () | |
Constructor. More... | |
Public Attributes | |
size_t | numMembers |
The number of members of the array data type. More... | |
Public Attributes inherited from variant_topic_tools::ArrayDataType::Impl | |
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 (variant-typed version)
Definition at line 111 of file ArrayDataType.h.
variant_topic_tools::ArrayDataType::ImplV::ImplV | ( | const DataType & | memberType, |
size_t | numMembers | ||
) |
Constructor.
Definition at line 60 of file ArrayDataType.cpp.
|
virtual |
Destructor.
Definition at line 65 of file ArrayDataType.cpp.
|
virtual |
Create a serializer for this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 128 of file ArrayDataType.cpp.
|
virtual |
Create a variant from this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 132 of file ArrayDataType.cpp.
|
virtual |
Retrieve the number of members of this array data type (implementation)
Implements variant_topic_tools::ArrayDataType::Impl.
Definition at line 104 of file ArrayDataType.cpp.
|
virtual |
Retrieve the size of the instances of this data type (implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 108 of file ArrayDataType.cpp.
|
virtual |
True, if this array data type represents a dynamic array (implementation)
Implements variant_topic_tools::ArrayDataType::Impl.
Definition at line 112 of file ArrayDataType.cpp.
|
virtual |
True, if this data type represents a fixed-size data type (implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 116 of file ArrayDataType.cpp.
|
virtual |
True, if this data type represents a simple data type (implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 120 of file ArrayDataType.cpp.
size_t variant_topic_tools::ArrayDataType::ImplV::numMembers |
The number of members of the array data type.
Definition at line 157 of file ArrayDataType.h.