18 #ifndef _ACTIVEMQ_UTIL_PRIMITIVELIST_H_ 19 #define _ACTIVEMQ_UTIL_PRIMITIVELIST_H_ 77 virtual bool getBool(
int index)
const;
88 virtual void setBool(
int index,
bool value);
98 virtual unsigned char getByte(
int index)
const;
109 virtual void setByte(
int index,
unsigned char value);
119 virtual char getChar(
int index)
const;
130 virtual void setChar(
int index,
char value);
140 virtual short getShort(
int index)
const;
151 virtual void setShort(
int index,
short value);
161 virtual int getInt(
int index)
const;
172 virtual void setInt(
int index,
int value);
182 virtual long long getLong(
int index)
const;
193 virtual void setLong(
int index,
long long value);
203 virtual float getFloat(
int index)
const;
214 virtual void setFloat(
int index,
float value);
224 virtual double getDouble(
int index)
const;
235 virtual void setDouble(
int index,
double value);
245 virtual std::string
getString(
int index)
const;
256 virtual void setString(
int index,
const std::string& value);
266 virtual std::vector<unsigned char>
getByteArray(
int index)
const;
277 virtual void setByteArray(
int index,
const std::vector<unsigned char>& value);
virtual void setFloat(int index, float value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
List of primitives.
Definition: PrimitiveList.h:36
virtual void setInt(int index, int value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual void setLong(int index, long long value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual char getChar(int index) const
Gets the Character value at the specified index.
virtual int getInt(int index) const
Gets the Integer value at the specified index.
std::string toString() const
Converts the contents into a formatted string that can be output in a Log File or other debugging too...
PrimitiveList()
Default Constructor, creates an Empty list.
virtual double getDouble(int index) const
Gets the Double value at the specified index.
virtual void setString(int index, const std::string &value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual bool getBool(int index) const
Gets the Boolean value at the specified index.
virtual void setByteArray(int index, const std::vector< unsigned char > &value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual std::string getString(int index) const
Gets the String value at the specified index.
virtual std::vector< unsigned char > getByteArray(int index) const
Gets the Byte Array value at the specified index.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
virtual short getShort(int index) const
Gets the Short value at the specified index.
virtual float getFloat(int index) const
Gets the Float value at the specified index.
virtual void setChar(int index, char value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual unsigned char getByte(int index) const
Gets the Byte value at the specified index.
virtual long long getLong(int index) const
Gets the Long value at the specified index.
virtual void setByte(int index, unsigned char value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual void setShort(int index, short value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
virtual void setBool(int index, bool value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
Class controls the conversion of data contained in a PrimitiveValueNode from one type to another...
Definition: PrimitiveValueConverter.h:54
virtual void setDouble(int index, double value)
Sets the value at the given index to the new value specified, this method overwrites any data that wa...
A complete implementation of the List interface using a doubly linked list data structure.
Definition: LinkedList.h:55