activemq-cpp-3.4.0

activemq::commands::DataStructure Class Reference

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

Inheritance diagram for activemq::commands::DataStructure:

Public Member Functions

virtual ~DataStructure ()
virtual unsigned char getDataStructureType () const =0
 Get the DataStructure Type as defined in CommandTypes.h.
virtual DataStructurecloneDataStructure () const =0
 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)=0
 Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual std::string toString () const =0
 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 =0
 Compares the DataStructure passed in to this one, and returns if they are equivalent.

Constructor & Destructor Documentation

virtual activemq::commands::DataStructure::~DataStructure ( ) [inline, virtual]

Member Function Documentation

virtual DataStructure* activemq::commands::DataStructure::cloneDataStructure ( ) const [pure 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.

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQDestination, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTempDestination, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQTopic, activemq::commands::BooleanExpression, activemq::commands::BrokerError, activemq::commands::BrokerId, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionId, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerId, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::JournalQueueAck, activemq::commands::JournalTopicAck, activemq::commands::JournalTrace, activemq::commands::JournalTransaction, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::LocalTransactionId, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessageId, activemq::commands::MessagePull, activemq::commands::NetworkBridgeFilter, activemq::commands::PartialCommand, activemq::commands::ProducerAck, activemq::commands::ProducerId, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionId, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::SubscriptionInfo, activemq::commands::TransactionId, activemq::commands::TransactionInfo, activemq::commands::WireFormatInfo, and activemq::commands::XATransactionId.

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

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

Returns:
src - Source Object

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQDestination, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTempDestination, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQTopic, activemq::commands::BaseCommand, activemq::commands::BrokerError, activemq::commands::BrokerId, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionId, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerId, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::JournalQueueAck, activemq::commands::JournalTopicAck, activemq::commands::JournalTrace, activemq::commands::JournalTransaction, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::LocalTransactionId, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessageId, activemq::commands::MessagePull, activemq::commands::NetworkBridgeFilter, activemq::commands::PartialCommand, activemq::commands::ProducerAck, activemq::commands::ProducerId, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionId, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::SubscriptionInfo, activemq::commands::TransactionId, activemq::commands::TransactionInfo, activemq::commands::WireFormatInfo, and activemq::commands::XATransactionId.

virtual bool activemq::commands::DataStructure::equals ( const DataStructure value) const [pure 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.

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQDestination, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQMessageTemplate< T >, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTempDestination, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQTopic, activemq::commands::BaseCommand, activemq::commands::BooleanExpression, activemq::commands::BrokerId, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionId, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerId, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::JournalQueueAck, activemq::commands::JournalTopicAck, activemq::commands::JournalTrace, activemq::commands::JournalTransaction, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::LocalTransactionId, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessageId, activemq::commands::MessagePull, activemq::commands::NetworkBridgeFilter, activemq::commands::PartialCommand, activemq::commands::ProducerAck, activemq::commands::ProducerId, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionId, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::SubscriptionInfo, activemq::commands::TransactionId, activemq::commands::TransactionInfo, activemq::commands::WireFormatInfo, activemq::commands::XATransactionId, activemq::commands::ActiveMQMessageTemplate< cms::BytesMessage >, activemq::commands::ActiveMQMessageTemplate< cms::MapMessage >, activemq::commands::ActiveMQMessageTemplate< cms::Message >, activemq::commands::ActiveMQMessageTemplate< cms::StreamMessage >, activemq::commands::ActiveMQMessageTemplate< cms::TextMessage >, and activemq::commands::ActiveMQMessageTemplate< cms::ObjectMessage >.

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

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQDestination, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTempDestination, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQTopic, activemq::commands::BrokerError, activemq::commands::BrokerId, activemq::commands::BrokerInfo, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionId, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerId, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::JournalQueueAck, activemq::commands::JournalTopicAck, activemq::commands::JournalTrace, activemq::commands::JournalTransaction, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::LocalTransactionId, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessageId, activemq::commands::MessagePull, activemq::commands::NetworkBridgeFilter, activemq::commands::PartialCommand, activemq::commands::ProducerAck, activemq::commands::ProducerId, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionId, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::SubscriptionInfo, activemq::commands::TransactionId, activemq::commands::TransactionInfo, activemq::commands::WireFormatInfo, and activemq::commands::XATransactionId.

virtual std::string activemq::commands::DataStructure::toString ( ) const [pure 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.

Implemented in activemq::commands::ActiveMQBlobMessage, activemq::commands::ActiveMQBytesMessage, activemq::commands::ActiveMQDestination, activemq::commands::ActiveMQMapMessage, activemq::commands::ActiveMQMessage, activemq::commands::ActiveMQObjectMessage, activemq::commands::ActiveMQQueue, activemq::commands::ActiveMQStreamMessage, activemq::commands::ActiveMQTempDestination, activemq::commands::ActiveMQTempQueue, activemq::commands::ActiveMQTempTopic, activemq::commands::ActiveMQTextMessage, activemq::commands::ActiveMQTopic, activemq::commands::BaseCommand, activemq::commands::BaseDataStructure, activemq::commands::BooleanExpression, activemq::commands::BrokerId, activemq::commands::BrokerInfo, activemq::commands::Command, activemq::commands::ConnectionControl, activemq::commands::ConnectionError, activemq::commands::ConnectionId, activemq::commands::ConnectionInfo, activemq::commands::ConsumerControl, activemq::commands::ConsumerId, activemq::commands::ConsumerInfo, activemq::commands::ControlCommand, activemq::commands::DataArrayResponse, activemq::commands::DataResponse, activemq::commands::DestinationInfo, activemq::commands::DiscoveryEvent, activemq::commands::ExceptionResponse, activemq::commands::FlushCommand, activemq::commands::IntegerResponse, activemq::commands::JournalQueueAck, activemq::commands::JournalTopicAck, activemq::commands::JournalTrace, activemq::commands::JournalTransaction, activemq::commands::KeepAliveInfo, activemq::commands::LastPartialCommand, activemq::commands::LocalTransactionId, activemq::commands::Message, activemq::commands::MessageAck, activemq::commands::MessageDispatch, activemq::commands::MessageDispatchNotification, activemq::commands::MessageId, activemq::commands::MessagePull, activemq::commands::NetworkBridgeFilter, activemq::commands::PartialCommand, activemq::commands::ProducerAck, activemq::commands::ProducerId, activemq::commands::ProducerInfo, activemq::commands::RemoveInfo, activemq::commands::RemoveSubscriptionInfo, activemq::commands::ReplayCommand, activemq::commands::Response, activemq::commands::SessionId, activemq::commands::SessionInfo, activemq::commands::ShutdownInfo, activemq::commands::SubscriptionInfo, activemq::commands::TransactionId, activemq::commands::TransactionInfo, activemq::commands::WireFormatInfo, and activemq::commands::XATransactionId.


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