#include <Message.h>
Public Member Functions | |
Message () | |
Public constructor. | |
virtual | ~Message () |
Virtal destructor. | |
common::ErrorCodeType | GetValue (std::string &rValue) const |
Gets message value. | |
common::ErrorCodeType | SetValue (const std::string &rValue) |
Sets message value. | |
common::ErrorCodeType | GetAttribute (const std::string &rAttribute, std::string &rValue) const |
Gets attribute value. | |
common::ErrorCodeType | SetAttribute (const std::string &rAttribute, const std::string &rValue) |
Sets attribute value. | |
common::ErrorCodeType | SetAttribute (const std::string &rAttribute, int value) |
Sets attribute value. | |
Private Attributes | |
MessageData * | m_pMessageData |
Pointer to private message data. | |
Friends | |
std::istream & | operator>> (std::istream &rInputStream, Message &rMessage) |
std::ostream & | operator<< (std::ostream &rOutputStream, const Message &rMessage) |
Message | ( | ) |
Public constructor.
~Message | ( | ) | [virtual] |
Virtal destructor.
common::ErrorCodeType GetValue | ( | std::string & | rValue | ) | const |
Gets message value.
Failure otherwise.
common::ErrorCodeType SetValue | ( | const std::string & | rValue | ) |
Sets message value.
Failure otherwise.
common::ErrorCodeType GetAttribute | ( | const std::string & | rAttribute, | |
std::string & | rValue | |||
) | const |
Gets attribute value.
Failure otherwise.
common::ErrorCodeType SetAttribute | ( | const std::string & | rAttribute, | |
const std::string & | rValue | |||
) |
Sets attribute value.
Failure otherwise.
common::ErrorCodeType SetAttribute | ( | const std::string & | rAttribute, | |
int | value | |||
) |
Sets attribute value.
Failure otherwise.
std::istream& operator>> | ( | std::istream & | rInputStream, | |
Message & | rMessage | |||
) | [friend] |
rInputStream | Input stream. |
rMessage | Message. |
std::ostream& operator<< | ( | std::ostream & | rOutputStream, | |
const Message & | rMessage | |||
) | [friend] |
rOutputStream | Output stream. |
rMessage | Message. |
MessageData* m_pMessageData [private] |
Pointer to private message data.
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander