activemq-cpp-3.6.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
PrimitiveList.h
Go to the documentation of this file.
1
18
#ifndef _ACTIVEMQ_UTIL_PRIMITIVELIST_H_
19
#define _ACTIVEMQ_UTIL_PRIMITIVELIST_H_
20
21
#include <string>
22
#include <vector>
23
#include <
decaf/util/LinkedList.h
>
24
#include <
decaf/lang/exceptions/UnsupportedOperationException.h
>
25
#include <
decaf/lang/exceptions/IndexOutOfBoundsException.h
>
26
#include <stdio.h>
27
#include <
activemq/util/PrimitiveValueNode.h
>
28
#include <
activemq/util/PrimitiveValueConverter.h
>
29
30
namespace
activemq{
31
namespace
util{
32
36
class
PrimitiveList
:
public
decaf::util::LinkedList
<PrimitiveValueNode> {
37
private
:
38
39
PrimitiveValueConverter
converter;
40
41
public
:
42
46
PrimitiveList
();
47
48
virtual
~PrimitiveList
();
49
54
PrimitiveList
(
const
decaf::util::List<PrimitiveValueNode>
& src);
55
60
PrimitiveList
(
const
PrimitiveList
& src);
61
67
std::string
toString
()
const
;
68
77
virtual
bool
getBool
(
int
index)
const
;
78
88
virtual
void
setBool
(
int
index,
bool
value);
89
98
virtual
unsigned
char
getByte
(
int
index)
const
;
99
109
virtual
void
setByte
(
int
index,
unsigned
char
value);
110
119
virtual
char
getChar
(
int
index)
const
;
120
130
virtual
void
setChar
(
int
index,
char
value);
131
140
virtual
short
getShort
(
int
index)
const
;
141
151
virtual
void
setShort
(
int
index,
short
value);
152
161
virtual
int
getInt
(
int
index)
const
;
162
172
virtual
void
setInt
(
int
index,
int
value);
173
182
virtual
long
long
getLong
(
int
index)
const
;
183
193
virtual
void
setLong
(
int
index,
long
long
value);
194
203
virtual
float
getFloat
(
int
index)
const
;
204
214
virtual
void
setFloat
(
int
index,
float
value);
215
224
virtual
double
getDouble
(
int
index)
const
;
225
235
virtual
void
setDouble
(
int
index,
double
value);
236
245
virtual
std::string
getString
(
int
index)
const
;
246
256
virtual
void
setString
(
int
index,
const
std::string& value);
257
266
virtual
std::vector<unsigned char>
getByteArray
(
int
index)
const
;
267
277
virtual
void
setByteArray
(
int
index,
const
std::vector<unsigned char>& value);
278
279
};
280
281
}}
282
283
#endif
/*_ACTIVEMQ_UTIL_PRIMITIVELIST_H_*/
src
main
activemq
util
PrimitiveList.h
Generated on Mon Mar 4 2013 10:25:45 for activemq-cpp-3.6.0 by
1.8.1.2