18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQMAPMESSAGE_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQMAPMESSAGE_H_
37 mutable std::auto_ptr<util::PrimitiveMap> map;
54 virtual
unsigned char getDataStructureType()
const;
56 virtual
bool isMarshalAware()
const {
88 virtual
void setBoolean(
const std::
string& name,
bool value);
92 virtual
void setByte(
const std::
string& name,
unsigned char value);
96 virtual
void setBytes(
const std::
string& name,
const std::vector<
unsigned char>& value);
100 virtual
void setChar(
const std::
string& name,
char value);
104 virtual
void setDouble(
const std::
string& name,
double value);
108 virtual
void setFloat(
const std::
string& name,
float value);
112 virtual
void setInt(
const std::
string& name,
int value);
116 virtual
void setLong(
const std::
string& name,
long long value);
120 virtual
void setShort(
const std::
string& name,
short value);
136 util::PrimitiveMap& getMap();
144 virtual
void checkMapIsUnmarshalled()
const;
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQMapMessage.h:33
virtual ActiveMQMapMessage * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual void beforeMarshal(wireformat::WireFormat *wireFormat)
Called before marshaling is started to prepare the object to be marshaled.
virtual ~ActiveMQMapMessage()
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
static const unsigned char ID_ACTIVEMQMAPMESSAGE
Definition: ActiveMQMapMessage.h:41
virtual void clearBody()
Clears out the body of the message.
Definition: ActiveMQMessageTemplate.h:41
Definition: DataStructure.h:27
ValueType
Defines the Type Identifiers used to identify the type contained within a specific Message property o...
Definition: Message.h:112
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: DestinationResolver.h:23
Definition: ArrayPointer.h:432
#define const
Definition: zconf.h:198