Public Member Functions | Public Attributes | List of all members
variant_topic_tools::ArrayDataType::ImplV Class Reference

Array data type implementation (variant-typed version) More...

#include <ArrayDataType.h>

Inheritance diagram for variant_topic_tools::ArrayDataType::ImplV:
Inheritance graph
[legend]

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...
 

Detailed Description

Array data type implementation (variant-typed version)

Definition at line 111 of file ArrayDataType.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

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.


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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:50