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) | |
Variant | createVariant (const DataType &type) const |
Create a variant from this data type (re-implementation) | |
size_t | getNumMembers () const |
Retrieve the number of members of this array data type (implementation) | |
size_t | getSize () const |
Retrieve the size of the instances of this data type (implementation) | |
ImplV (const DataType &memberType, size_t numMembers) | |
Constructor. | |
bool | isDynamic () const |
True, if this array data type represents a dynamic array (implementation) | |
bool | isFixedSize () const |
True, if this data type represents a fixed-size data type (implementation) | |
bool | isSimple () const |
True, if this data type represents a simple data type (implementation) | |
virtual | ~ImplV () |
Destructor. | |
Public Attributes | |
size_t | numMembers |
The number of members of the array data type. |
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.
variant_topic_tools::ArrayDataType::ImplV::~ImplV | ( | ) | [virtual] |
Destructor.
Definition at line 65 of file ArrayDataType.cpp.
Serializer variant_topic_tools::ArrayDataType::ImplV::createSerializer | ( | const DataType & | type | ) | const [virtual] |
Create a serializer for this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 128 of file ArrayDataType.cpp.
Variant variant_topic_tools::ArrayDataType::ImplV::createVariant | ( | const DataType & | type | ) | const [virtual] |
Create a variant from this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 132 of file ArrayDataType.cpp.
size_t variant_topic_tools::ArrayDataType::ImplV::getNumMembers | ( | ) | const [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.
size_t variant_topic_tools::ArrayDataType::ImplV::getSize | ( | ) | const [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.
bool variant_topic_tools::ArrayDataType::ImplV::isDynamic | ( | ) | const [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.
bool variant_topic_tools::ArrayDataType::ImplV::isFixedSize | ( | ) | const [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.
bool variant_topic_tools::ArrayDataType::ImplV::isSimple | ( | ) | const [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.
The number of members of the array data type.
Definition at line 157 of file ArrayDataType.h.