activemq-cpp-3.4.0

activemq::commands::JournalTrace Class Reference

#include <src/main/activemq/commands/JournalTrace.h>

Inheritance diagram for activemq::commands::JournalTrace:

Public Member Functions

 JournalTrace ()
virtual ~JournalTrace ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual JournalTracecloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual void copyDataStructure (const DataStructure *src)
 Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
virtual bool equals (const DataStructure *value) const
 Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual const std::string & getMessage () const
virtual std::string & getMessage ()
virtual void setMessage (const std::string &message)

Static Public Attributes

static const unsigned char ID_JOURNALTRACE = 53

Protected Attributes

std::string message

Constructor & Destructor Documentation

activemq::commands::JournalTrace::JournalTrace ( )
virtual activemq::commands::JournalTrace::~JournalTrace ( ) [virtual]

Member Function Documentation

virtual JournalTrace* activemq::commands::JournalTrace::cloneDataStructure ( ) const [virtual]

Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.

Returns:
new copy of this object.

Implements activemq::commands::DataStructure.

virtual void activemq::commands::JournalTrace::copyDataStructure ( const DataStructure src) [virtual]

Copy the contents of the passed object into this objects members, overwriting any existing data.

Returns:
src - Source Object

Implements activemq::commands::DataStructure.

virtual bool activemq::commands::JournalTrace::equals ( const DataStructure value) const [virtual]

Compares the DataStructure passed in to this one, and returns if they are equivalent.

Equivalent here means that they are of the same type, and that each element of the objects are the same.

Returns:
true if DataStructure's are Equal.

Implements activemq::commands::DataStructure.

virtual unsigned char activemq::commands::JournalTrace::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

virtual std::string& activemq::commands::JournalTrace::getMessage ( ) [virtual]
virtual const std::string& activemq::commands::JournalTrace::getMessage ( ) const [virtual]
virtual void activemq::commands::JournalTrace::setMessage ( const std::string &  message) [virtual]
virtual std::string activemq::commands::JournalTrace::toString ( ) const [virtual]

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns:
formatted string useful for debugging.

Reimplemented from activemq::commands::BaseDataStructure.


Field Documentation

const unsigned char activemq::commands::JournalTrace::ID_JOURNALTRACE = 53 [static]

The documentation for this class was generated from the following file: