Public Member Functions | Public Attributes
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]

List of all members.

Public Member Functions

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

Public Attributes

std::string definition
 The definition of this message data type.
std::string identifier
 The identifier representing this message data type.
MD5Sum md5Sum
 The MD5 sum of this message data type.

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.

Destructor.

Definition at line 180 of file MessageDataType.cpp.


Member Function Documentation

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

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 405 of file MessageDataType.cpp.

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

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 417 of file MessageDataType.cpp.

Create a serializer for this data type (re-implementation)

Implements variant_topic_tools::DataType::Impl.

Definition at line 384 of file MessageDataType.cpp.

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.

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

Implements variant_topic_tools::MessageDataType::Impl.

Definition at line 316 of file MessageDataType.cpp.

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.

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.

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.

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

Definition at line 429 of file MessageDataType.cpp.


Member Data Documentation

The definition of this message data type.

Definition at line 297 of file MessageDataType.h.

The identifier representing this message data type.

Definition at line 289 of file MessageDataType.h.

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 Tue Jul 9 2019 03:18:42