#include <MessageMember.h>
Classes | |
class | Impl |
Message member implementation. More... | |
Public Member Functions | |
const std::string & | getName () const |
Retrieve the name of this message member. | |
const DataType & | getType () const |
Retrieve the type of this message member. | |
bool | isConstant () const |
True, if this message member is a constant member. | |
bool | isValid () const |
True, if this message member is valid. | |
bool | isVariable () const |
True, if this message member is a variable member. | |
MessageMember () | |
Default constructor. | |
MessageMember (const MessageMember &src) | |
Copy constructor. | |
operator void * () const | |
Void pointer conversion. | |
void | write (std::ostream &stream) const |
Write the message member to a stream. | |
~MessageMember () | |
Destructor. | |
Protected Types | |
typedef boost::shared_ptr< Impl > | ImplPtr |
Declaration of the message member implementation pointer type. | |
typedef boost::weak_ptr< Impl > | ImplWPtr |
Declaration of the message member implementation weak pointer type. | |
Protected Attributes | |
ImplPtr | impl |
The message member's implementation. | |
Friends | |
class | MessageDataType |
Message member.
Definition at line 31 of file MessageMember.h.
typedef boost::shared_ptr<Impl> variant_topic_tools::MessageMember::ImplPtr [protected] |
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.
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.
Destructor.
Definition at line 37 of file MessageMember.cpp.
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.
friend class MessageDataType [friend] |
Reimplemented in variant_topic_tools::MessageVariable, and variant_topic_tools::MessageConstant.
Definition at line 32 of file MessageMember.h.
ImplPtr variant_topic_tools::MessageMember::impl [protected] |
The message member's implementation.
Definition at line 114 of file MessageMember.h.