activemq-cpp-3.9.5
DataStructure.h
Go to the documentation of this file.
1
17
18#ifndef _ACTIVEMQ_COMMANDS_DATASTRUCTURE_H_
19#define _ACTIVEMQ_COMMANDS_DATASTRUCTURE_H_
20
23
24namespace activemq{
25namespace commands{
26
28 public:
29
30 virtual ~DataStructure() {}
31
36 virtual unsigned char getDataStructureType() const = 0;
37
43 virtual DataStructure* cloneDataStructure() const = 0;
44
50 virtual void copyDataStructure( const DataStructure* src ) = 0;
51
57 virtual std::string toString() const = 0;
58
65 virtual bool equals( const DataStructure* value ) const = 0;
66
67 };
68
69}}
70
71#endif /*_ACTIVEMQ_COMMANDS_DATASTRUCTURE_H_*/
#define AMQCPP_API
Definition Config.h:30
Definition DataStructure.h:27
virtual bool equals(const DataStructure *value) const =0
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual ~DataStructure()
Definition DataStructure.h:30
virtual std::string toString() const =0
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual unsigned char getDataStructureType() const =0
Get the DataStructure Type as defined in CommandTypes.h.
virtual DataStructure * cloneDataStructure() const =0
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual void copyDataStructure(const DataStructure *src)=0
Copy the contents of the passed object into this objects members, overwriting any existing data.
Definition MarshalAware.h:30
Definition ActiveMQBlobMessage.h:28
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24