Public Member Functions | Public Attributes | List of all members
variant_topic_tools::ArrayDataType::Impl Class Referenceabstract

Array data type implementation. More...

#include <ArrayDataType.h>

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

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

Detailed Description

Array data type implementation.

Definition at line 74 of file ArrayDataType.h.

Constructor & Destructor Documentation

variant_topic_tools::ArrayDataType::Impl::Impl ( const DataType memberType)

Constructor.

Definition at line 51 of file ArrayDataType.cpp.

variant_topic_tools::ArrayDataType::Impl::~Impl ( )
virtual

Destructor.

Reimplemented from variant_topic_tools::DataType::Impl.

Definition at line 57 of file ArrayDataType.cpp.

Member Function Documentation

const std::string & variant_topic_tools::ArrayDataType::Impl::getIdentifier ( ) const
virtual

Retrieve the identifier representing this data type (implementation)

Implements variant_topic_tools::DataType::Impl.

Definition at line 95 of file ArrayDataType.cpp.

virtual size_t variant_topic_tools::ArrayDataType::Impl::getNumMembers ( ) const
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.

virtual bool variant_topic_tools::ArrayDataType::Impl::isDynamic ( ) const
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.

Member Data Documentation

std::string variant_topic_tools::ArrayDataType::Impl::identifier
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.


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