activemq-cpp-3.4.0
|
#include <src/main/activemq/commands/DataResponse.h>
Public Member Functions | |
DataResponse () | |
virtual | ~DataResponse () |
virtual unsigned char | getDataStructureType () const |
Get the DataStructure Type as defined in CommandTypes.h. | |
virtual DataResponse * | 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 const Pointer < DataStructure > & | getData () const |
virtual Pointer< DataStructure > & | getData () |
virtual void | setData (const Pointer< DataStructure > &data) |
Static Public Attributes | |
static const unsigned char | ID_DATARESPONSE = 32 |
Protected Attributes | |
Pointer< DataStructure > | data |
activemq::commands::DataResponse::DataResponse | ( | ) |
virtual activemq::commands::DataResponse::~DataResponse | ( | ) | [virtual] |
virtual DataResponse* activemq::commands::DataResponse::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.
Reimplemented from activemq::commands::Response.
virtual void activemq::commands::DataResponse::copyDataStructure | ( | const DataStructure * | src | ) | [virtual] |
Copy the contents of the passed object into this objects members, overwriting any existing data.
Reimplemented from activemq::commands::Response.
virtual bool activemq::commands::DataResponse::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.
Reimplemented from activemq::commands::Response.
virtual Pointer<DataStructure>& activemq::commands::DataResponse::getData | ( | ) | [virtual] |
virtual const Pointer<DataStructure>& activemq::commands::DataResponse::getData | ( | ) | const [virtual] |
virtual unsigned char activemq::commands::DataResponse::getDataStructureType | ( | ) | const [virtual] |
Get the DataStructure Type as defined in CommandTypes.h.
Reimplemented from activemq::commands::Response.
virtual void activemq::commands::DataResponse::setData | ( | const Pointer< DataStructure > & | data | ) | [virtual] |
virtual std::string activemq::commands::DataResponse::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::Response.
Pointer<DataStructure> activemq::commands::DataResponse::data [protected] |
const unsigned char activemq::commands::DataResponse::ID_DATARESPONSE = 32 [static] |