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

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

#include <MessageDataType.h>

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

Public Member Functions

void addConstantMember (const MessageConstant &member)
 Add a constant member to this message data type (implementation) More...
 
void addVariableMember (const MessageVariable &member)
 Add a variable member to this message data type (implementation) More...
 
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...
 
const std::string & getDefinition () const
 Retrieve the definition this message data type (implementation) More...
 
const std::string & getIdentifier () const
 Retrieve the identifier representing this data type (implementation) More...
 
std::string getMD5Sum () const
 Retrieve the MD5 sum of this message data type (implementation) More...
 
size_t getSize () const
 Retrieve the size of the instances of this data type (implementation) More...
 
 ImplV (const std::string &identifier, const MessageFieldCollection< MessageConstant > &constantMembers, const MessageFieldCollection< MessageVariable > &variableMembers)
 Constructor (overloaded version taking an identifier, a sequence of constant members, and a sequence of variable members) More...
 
 ImplV (const std::string &identifier, const std::string &definition)
 Constructor (overloaded version taking an identifier and a definition) 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...
 
void recalculateMD5Sum ()
 Re-calculate the MD5 sum of this message data type. More...
 
virtual ~ImplV ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::MessageDataType::Impl
 Impl (const MessageFieldCollection< MessageConstant > &constantMembers, const MessageFieldCollection< MessageVariable > &variableMembers)
 Constructor (overloaded version taking a collection of constant members and a collection of variable members) More...
 
 Impl (const std::string &identifier, const std::string &definition)
 Constructor (overloaded version taking a definition) 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

std::string definition
 The definition of this message data type. More...
 
std::string identifier
 The identifier representing this message data type. More...
 
MD5Sum md5Sum
 The MD5 sum of this message data type. More...
 
- Public Attributes inherited from variant_topic_tools::MessageDataType::Impl
MessageFieldCollection< MessageConstantconstantMembers
 The constant members of this message data type. More...
 
MessageFieldCollection< MessageVariablevariableMembers
 The variable members of this message data type. More...
 

Detailed Description

Message data type implementation (variant-typed version)

Definition at line 216 of file MessageDataType.h.

Constructor & Destructor Documentation

variant_topic_tools::MessageDataType::ImplV::ImplV ( const std::string &  identifier,
const MessageFieldCollection< MessageConstant > &  constantMembers,
const MessageFieldCollection< MessageVariable > &  variableMembers 
)

Constructor (overloaded version taking an identifier, a sequence of constant members, and a sequence of variable members)

Definition at line 154 of file MessageDataType.cpp.

variant_topic_tools::MessageDataType::ImplV::ImplV ( const std::string &  identifier,
const std::string &  definition 
)

Constructor (overloaded version taking an identifier and a definition)

Definition at line 172 of file MessageDataType.cpp.

variant_topic_tools::MessageDataType::ImplV::~ImplV ( )
virtual

Destructor.

Definition at line 180 of file MessageDataType.cpp.

Member Function Documentation

void variant_topic_tools::MessageDataType::ImplV::addConstantMember ( const MessageConstant member)
virtual

Add a constant member to this message data type (implementation)

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 405 of file MessageDataType.cpp.

void variant_topic_tools::MessageDataType::ImplV::addVariableMember ( const MessageVariable member)
virtual

Add a variable member to this message data type (implementation)

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 417 of file MessageDataType.cpp.

Serializer variant_topic_tools::MessageDataType::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 384 of file MessageDataType.cpp.

Variant variant_topic_tools::MessageDataType::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 395 of file MessageDataType.cpp.

const std::string & variant_topic_tools::MessageDataType::ImplV::getDefinition ( ) const
virtual

Retrieve the definition this message data type (implementation)

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 320 of file MessageDataType.cpp.

const std::string & variant_topic_tools::MessageDataType::ImplV::getIdentifier ( ) const
virtual

Retrieve the identifier representing this data type (implementation)

Implements variant_topic_tools::DataType::Impl.

Definition at line 312 of file MessageDataType.cpp.

std::string variant_topic_tools::MessageDataType::ImplV::getMD5Sum ( ) const
virtual

Retrieve the MD5 sum of this message data type (implementation)

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 316 of file MessageDataType.cpp.

size_t variant_topic_tools::MessageDataType::ImplV::getSize ( ) const
virtual

Retrieve the size of the instances of this data type (implementation)

Implements variant_topic_tools::DataType::Impl.

Definition at line 324 of file MessageDataType.cpp.

bool variant_topic_tools::MessageDataType::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 337 of file MessageDataType.cpp.

bool variant_topic_tools::MessageDataType::ImplV::isSimple ( ) const
virtual

True, if this data type represents a simple data type (implementation)

Implements variant_topic_tools::DataType::Impl.

Definition at line 346 of file MessageDataType.cpp.

void variant_topic_tools::MessageDataType::ImplV::recalculateMD5Sum ( )

Re-calculate the MD5 sum of this message data type.

Definition at line 429 of file MessageDataType.cpp.

Member Data Documentation

std::string variant_topic_tools::MessageDataType::ImplV::definition

The definition of this message data type.

Definition at line 297 of file MessageDataType.h.

std::string variant_topic_tools::MessageDataType::ImplV::identifier

The identifier representing this message data type.

Definition at line 289 of file MessageDataType.h.

MD5Sum variant_topic_tools::MessageDataType::ImplV::md5Sum

The MD5 sum of this message data type.

Definition at line 293 of file MessageDataType.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