activemq-cpp-3.4.0
|
#include <src/main/activemq/commands/TransactionId.h>
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 TransactionId * | cloneDataStructure () 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 |
TransactionId & | operator= (const TransactionId &other) |
Static Public Attributes | |
static const unsigned char | ID_TRANSACTIONID = 0 |
Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.
activemq::commands::TransactionId::TransactionId | ( | ) |
activemq::commands::TransactionId::TransactionId | ( | const TransactionId & | other | ) |
virtual activemq::commands::TransactionId::~TransactionId | ( | ) | [virtual] |
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.
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.
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.
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.
Implements activemq::commands::DataStructure.
Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.
virtual bool activemq::commands::TransactionId::isLocalTransactionId | ( | ) | const [inline, virtual] |
Reimplemented in activemq::commands::LocalTransactionId.
virtual bool activemq::commands::TransactionId::isXATransactionId | ( | ) | const [inline, virtual] |
Reimplemented in activemq::commands::XATransactionId.
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.
Reimplemented from activemq::commands::BaseDataStructure.
Reimplemented in activemq::commands::LocalTransactionId, and activemq::commands::XATransactionId.
const unsigned char activemq::commands::TransactionId::ID_TRANSACTIONID = 0 [static] |