activemq-cpp-3.4.0

activemq::commands::DataArrayResponse Class Reference

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

Inheritance diagram for activemq::commands::DataArrayResponse:

Public Member Functions

 DataArrayResponse ()
virtual ~DataArrayResponse ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual DataArrayResponsecloneDataStructure () 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::vector
< decaf::lang::Pointer
< DataStructure > > & 
getData () const
virtual std::vector
< decaf::lang::Pointer
< DataStructure > > & 
getData ()
virtual void setData (const std::vector< decaf::lang::Pointer< DataStructure > > &data)

Static Public Attributes

static const unsigned char ID_DATAARRAYRESPONSE = 33

Protected Attributes

std::vector
< decaf::lang::Pointer
< DataStructure > > 
data

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from activemq::commands::Response.

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

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

Returns:
src - Source Object

Reimplemented from activemq::commands::Response.

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

Reimplemented from activemq::commands::Response.

virtual std::vector< decaf::lang::Pointer<DataStructure> >& activemq::commands::DataArrayResponse::getData ( ) [virtual]
virtual const std::vector< decaf::lang::Pointer<DataStructure> >& activemq::commands::DataArrayResponse::getData ( ) const [virtual]
virtual unsigned char activemq::commands::DataArrayResponse::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::Response.

virtual void activemq::commands::DataArrayResponse::setData ( const std::vector< decaf::lang::Pointer< DataStructure > > &  data) [virtual]
virtual std::string activemq::commands::DataArrayResponse::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::Response.


Field Documentation


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