Classes | Public Member Functions | Protected Types | Protected Attributes | Friends | List of all members
variant_topic_tools::MessageMember Class Reference

Message member. More...

#include <MessageMember.h>

Inheritance diagram for variant_topic_tools::MessageMember:
Inheritance graph
[legend]

Classes

class  Impl
 Message member implementation. More...
 

Public Member Functions

const std::string & getName () const
 Retrieve the name of this message member. More...
 
const DataTypegetType () const
 Retrieve the type of this message member. More...
 
bool isConstant () const
 True, if this message member is a constant member. More...
 
bool isValid () const
 True, if this message member is valid. More...
 
bool isVariable () const
 True, if this message member is a variable member. More...
 
 MessageMember ()
 Default constructor. More...
 
 MessageMember (const MessageMember &src)
 Copy constructor. More...
 
 operator void * () const
 Void pointer conversion. More...
 
void write (std::ostream &stream) const
 Write the message member to a stream. More...
 
 ~MessageMember ()
 Destructor. More...
 

Protected Types

typedef boost::shared_ptr< ImplImplPtr
 Declaration of the message member implementation pointer type. More...
 
typedef boost::weak_ptr< ImplImplWPtr
 Declaration of the message member implementation weak pointer type. More...
 

Protected Attributes

ImplPtr impl
 The message member's implementation. More...
 

Friends

class MessageDataType
 

Detailed Description

Message member.

Definition at line 31 of file MessageMember.h.

Member Typedef Documentation

Declaration of the message member implementation pointer type.

Definition at line 105 of file MessageMember.h.

typedef boost::weak_ptr<Impl> variant_topic_tools::MessageMember::ImplWPtr
protected

Declaration of the message member implementation weak pointer type.

Definition at line 110 of file MessageMember.h.

Constructor & Destructor Documentation

variant_topic_tools::MessageMember::MessageMember ( )

Default constructor.

Definition at line 30 of file MessageMember.cpp.

variant_topic_tools::MessageMember::MessageMember ( const MessageMember src)

Copy constructor.

Definition at line 33 of file MessageMember.cpp.

variant_topic_tools::MessageMember::~MessageMember ( )

Destructor.

Definition at line 37 of file MessageMember.cpp.

Member Function Documentation

const std::string & variant_topic_tools::MessageMember::getName ( ) const

Retrieve the name of this message member.

Definition at line 51 of file MessageMember.cpp.

const DataType & variant_topic_tools::MessageMember::getType ( ) const

Retrieve the type of this message member.

Definition at line 60 of file MessageMember.cpp.

bool variant_topic_tools::MessageMember::isConstant ( ) const

True, if this message member is a constant member.

Definition at line 76 of file MessageMember.cpp.

bool variant_topic_tools::MessageMember::isValid ( ) const

True, if this message member is valid.

Definition at line 83 of file MessageMember.cpp.

bool variant_topic_tools::MessageMember::isVariable ( ) const

True, if this message member is a variable member.

Definition at line 69 of file MessageMember.cpp.

variant_topic_tools::MessageMember::operator void * ( ) const
inline

Void pointer conversion.

Definition at line 72 of file MessageMember.h.

void variant_topic_tools::MessageMember::write ( std::ostream &  stream) const

Write the message member to a stream.

Definition at line 91 of file MessageMember.cpp.

Friends And Related Function Documentation

friend class MessageDataType
friend

Definition at line 32 of file MessageMember.h.

Member Data Documentation

ImplPtr variant_topic_tools::MessageMember::impl
protected

The message member's implementation.

Definition at line 114 of file MessageMember.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