15 #ifndef __igtlStringMessage_h
16 #define __igtlStringMessage_h
25 #define IGTL_STRING_MESSAGE_DEFAULT_ENCODING 3
45 int SetString(
const char*
string);
48 int SetString(std::string &
string);
53 int SetEncoding(igtlUint16 enc);
56 const char* GetString();
60 igtlUint16 GetEncoding();
68 virtual int GetBodyPackSize();
69 virtual int PackBody();
70 virtual int UnpackBody();
84 #endif // _igtlStringMessage_h
SmartPointer< const Self > ConstPointer
#define igtlTypeMacro(thisClass, superclass)
std::string m_String
The string.
SmartPointer< Self > Pointer
THe STRING message type is used for transferring a character string. It supports character strings up...