cms::TextMessage Class Reference

#include <src/main/cms/TextMessage.h>

Inheritance diagram for cms::TextMessage:

Inheritance graph
[legend]
Collaboration diagram for cms::TextMessage:

Collaboration graph
[legend]

Detailed Description

Interface for a text message.

Public Member Functions

virtual ~TextMessage ()
virtual std::string getText () const =0 throw ( CMSException )
 Gets the message character buffer.
virtual void setText (const char *msg)=0 throw ( CMSException )
 Sets the message contents, does not take ownership of the passed char*, but copies it instead.
virtual void setText (const std::string &msg)=0 throw ( CMSException )
 Sets the message contents.

Constructor & Destructor Documentation

virtual cms::TextMessage::~TextMessage (  )  [inline, virtual]


Member Function Documentation

virtual std::string cms::TextMessage::getText (  )  const throw ( CMSException ) [pure virtual]

Gets the message character buffer.

Returns:
The message character buffer.

virtual void cms::TextMessage::setText ( const char *  msg  )  throw ( CMSException ) [pure virtual]

Sets the message contents, does not take ownership of the passed char*, but copies it instead.

Parameters:
msg The message buffer.

virtual void cms::TextMessage::setText ( const std::string &  msg  )  throw ( CMSException ) [pure virtual]

Sets the message contents.

Parameters:
msg The message buffer.


The documentation for this class was generated from the following file:
Generated on Sat Oct 27 16:57:03 2007 for cms-1.2 by  doxygen 1.5.3