activemq-cpp-3.4.0

activemq::commands::TransactionId Class Reference

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

Inheritance diagram for activemq::commands::TransactionId:

Public Types

typedef
decaf::lang::PointerComparator
< TransactionId
COMPARATOR

Public Member Functions

 TransactionId ()
 TransactionId (const TransactionId &other)
virtual ~TransactionId ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual TransactionIdcloneDataStructure () 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 bool isLocalTransactionId () const
virtual bool isXATransactionId () const
virtual int compareTo (const TransactionId &value) const
virtual bool equals (const TransactionId &value) const
virtual bool operator== (const TransactionId &value) const
virtual bool operator< (const TransactionId &value) const
TransactionIdoperator= (const TransactionId &other)

Static Public Attributes

static const unsigned char ID_TRANSACTIONID = 0

Member Typedef Documentation


Constructor & Destructor Documentation

activemq::commands::TransactionId::TransactionId ( )
activemq::commands::TransactionId::TransactionId ( const TransactionId other)
virtual activemq::commands::TransactionId::~TransactionId ( ) [virtual]

Member Function Documentation

virtual TransactionId* activemq::commands::TransactionId::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.

Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.

virtual int activemq::commands::TransactionId::compareTo ( const TransactionId value) const [virtual]
virtual void activemq::commands::TransactionId::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.

Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.

virtual bool activemq::commands::TransactionId::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.

Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.

virtual bool activemq::commands::TransactionId::equals ( const TransactionId value) const [virtual]
virtual unsigned char activemq::commands::TransactionId::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.

virtual bool activemq::commands::TransactionId::isLocalTransactionId ( ) const [inline, virtual]
virtual bool activemq::commands::TransactionId::isXATransactionId ( ) const [inline, virtual]
virtual bool activemq::commands::TransactionId::operator< ( const TransactionId value) const [virtual]
TransactionId& activemq::commands::TransactionId::operator= ( const TransactionId other)
virtual bool activemq::commands::TransactionId::operator== ( const TransactionId value) const [virtual]
virtual std::string activemq::commands::TransactionId::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.

Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.


Field Documentation

const unsigned char activemq::commands::TransactionId::ID_TRANSACTIONID = 0 [static]

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