activemq::commands::ActiveMQTopic Class Reference

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

Inheritance diagram for activemq::commands::ActiveMQTopic:
Inheritance graph
[legend]

Public Member Functions

 ActiveMQTopic ()
 ActiveMQTopic (const std::string &name)
virtual ~ActiveMQTopic () throw ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual ActiveMQTopiccloneDataStructure () 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)
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
virtual const cms::TopicgetCMSDestination () const
virtual
cms::Destination::DestinationType 
getDestinationType () const
 Returns the Type of Destination that this object represents.
virtual cms::Destinationclone () const
 Creates a new instance of this destination type that is a copy of this one, and returns it.
virtual void copy (const cms::Destination &source)
virtual const cms::CMSPropertiesgetCMSProperties () const
 Retrieve any properties that might be part of the destination that was specified.
virtual bool equals (const cms::Destination &other) const
virtual std::string getTopicName () const
 Gets the name of this topic.

Static Public Attributes

static const unsigned char ID_ACTIVEMQTOPIC = 101

Constructor & Destructor Documentation

activemq::commands::ActiveMQTopic::ActiveMQTopic (  ) 
activemq::commands::ActiveMQTopic::ActiveMQTopic ( const std::string &  name  ) 
virtual activemq::commands::ActiveMQTopic::~ActiveMQTopic (  )  throw () [virtual]

Member Function Documentation

virtual cms::Destination* activemq::commands::ActiveMQTopic::clone (  )  const [inline, virtual]

Creates a new instance of this destination type that is a copy of this one, and returns it.

Returns:
cloned copy of this object

Implements cms::Destination.

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

virtual void activemq::commands::ActiveMQTopic::copy ( const cms::Destination source  )  [inline, virtual]
virtual void activemq::commands::ActiveMQTopic::copyDataStructure ( const DataStructure src  )  [virtual]
virtual bool activemq::commands::ActiveMQTopic::equals ( const cms::Destination other  )  const [virtual]
virtual bool activemq::commands::ActiveMQTopic::equals ( const DataStructure value  )  const [virtual]
virtual const cms::Topic* activemq::commands::ActiveMQTopic::getCMSDestination (  )  const [inline, virtual]
Returns:
the cms::Destination interface pointer that the objects that derive from this class implement.

Reimplemented from activemq::commands::ActiveMQDestination.

virtual const cms::CMSProperties& activemq::commands::ActiveMQTopic::getCMSProperties (  )  const [inline, virtual]

Retrieve any properties that might be part of the destination that was specified.

This is a deviation from the JMS spec but necessary due to C++ restrictions.

Returns:
A {const} reference to a CMSProperties object.

Implements cms::Destination.

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

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::ActiveMQDestination.

virtual cms::Destination::DestinationType activemq::commands::ActiveMQTopic::getDestinationType (  )  const [inline, virtual]

Returns the Type of Destination that this object represents.

Returns:
int type qualifier.

Implements activemq::commands::ActiveMQDestination.

References cms::Destination::TOPIC.

virtual std::string activemq::commands::ActiveMQTopic::getTopicName (  )  const [inline, virtual]

Gets the name of this topic.

Returns:
The topic name.
Exceptions:
CMSException - If an internal error occurs.

Implements cms::Topic.

virtual std::string activemq::commands::ActiveMQTopic::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::ActiveMQDestination.


Field Documentation

const unsigned char activemq::commands::ActiveMQTopic::ID_ACTIVEMQTOPIC = 101 [static]

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

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1