10 virtual ~Value() = 0; // meniks tää näin..
14 class Integer : public Value {
22 void setValue(int value);
31 class Array : public Value {
33 virtual int size() = 0;
34 virtual Value get(int index) = 0;
39 class GenericArray : public Array {
41 Value get(int index) { return values.get(index); }
43 std::vector<Value> values;
47 class ByteArray : public Array {
49 Value get(int index) { return null; }
50 char* getPrimitiveArray() { return null; }
52 std::vector<char> values;
55 class Double : public Value {
57 double getValue() { return value; }