18#ifndef _ACTIVEMQ_UTIL_PRIMITIVELIST_H_
19#define _ACTIVEMQ_UTIL_PRIMITIVELIST_H_
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);
172 virtual void setInt(
int index,
int value);
193 virtual void setLong(
int index,
long long value);
256 virtual void setString(
int index,
const std::string& value);
277 virtual void setByteArray(
int index,
const std::vector<unsigned char>& value);
std::string toString() const
Converts the contents into a formatted string that can be output in a Log File or other debugging too...
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 short getShort(int index) const
Gets the Short value at the specified index.
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...
virtual char getChar(int index) const
Gets the Character 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...
PrimitiveList()
Default Constructor, creates an Empty list.
virtual int getInt(int index) const
Gets the Integer 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 unsigned char getByte(int index) const
Gets the Byte value at the specified index.
virtual std::vector< unsigned char > getByteArray(int index) const
Gets the Byte Array value at the specified index.
virtual long long getLong(int index) const
Gets the Long value at the specified index.
virtual double getDouble(int index) const
Gets the Double value at the specified index.
virtual std::string getString(int index) const
Gets the String value at the specified index.
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...
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...
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 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...
PrimitiveList(const decaf::util::List< PrimitiveValueNode > &src)
Copy Constructor.
virtual float getFloat(int index) const
Gets the Float value at the specified index.
virtual bool getBool(int index) const
Gets the Boolean 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...
PrimitiveList(const PrimitiveList &src)
Copy Constructor.
Class controls the conversion of data contained in a PrimitiveValueNode from one type to another.
Definition PrimitiveValueConverter.h:54
A complete implementation of the List interface using a doubly linked list data structure.
Definition LinkedList.h:55
An ordered collection (also known as a sequence).
Definition List.h:47
Definition ActiveMQMessageTransformation.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24