18 #ifndef _ACTIVEMQ_UTIL_PRIMITIVEVALUENODE_H_ 19 #define _ACTIVEMQ_UTIL_PRIMITIVEVALUENODE_H_ 235 void setBool(
bool value);
243 bool getBool()
const;
251 void setByte(
unsigned char value);
259 unsigned char getByte()
const;
267 void setChar(
char value);
275 char getChar()
const;
283 void setShort(
short value);
291 short getShort()
const;
299 void setInt(
int value);
315 void setLong(
long long value);
323 long long getLong()
const;
331 void setFloat(
float value);
339 float getFloat()
const;
347 void setDouble(
double value);
355 double getDouble()
const;
363 void setString(
const std::string& value);
371 std::string getString()
const;
379 void setByteArray(
const std::vector<unsigned char>& value);
387 std::vector<unsigned char> getByteArray()
const;
425 std::string toString()
const;
short shortValue
Definition: PrimitiveValueNode.h:69
Define a union type comprised of the various types.
Definition: PrimitiveValueNode.h:64
unsigned char byteValue
Definition: PrimitiveValueNode.h:67
#define AMQCPP_API
Definition: Config.h:30
float floatValue
Definition: PrimitiveValueNode.h:73
~PrimitiveValueNode()
Definition: PrimitiveValueNode.h:178
Class that wraps around a single value of one of the many types.
Definition: PrimitiveValueNode.h:38
bool boolValue
Definition: PrimitiveValueNode.h:66
decaf::util::Map< std::string, PrimitiveValueNode > * mapValue
Definition: PrimitiveValueNode.h:77
PrimitiveValue getValue() const
Gets the internal Primitive Value object from this wrapper.
Definition: PrimitiveValueNode.h:208
int intValue
Definition: PrimitiveValueNode.h:70
std::string * stringValue
Definition: PrimitiveValueNode.h:74
char charValue
Definition: PrimitiveValueNode.h:68
PrimitiveType
Enumeration for the various primitive types.
Definition: PrimitiveValueNode.h:44
decaf::util::List< PrimitiveValueNode > * listValue
Definition: PrimitiveValueNode.h:76
std::vector< unsigned char > * byteArrayValue
Definition: PrimitiveValueNode.h:75
PrimitiveType getType() const
Gets the Value Type of this type wrapper.
Definition: PrimitiveValueNode.h:200
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
double doubleValue
Definition: PrimitiveValueNode.h:72
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
long long longValue
Definition: PrimitiveValueNode.h:71