Tramway SDK
serialization.h
Go to the documentation of this file.
1// Tramway Drifting and Dungeon Exploration Simulator SDK Runtime
2
3#ifndef TRAM_SDK_FRAMEWORK_SERIALIZATION_H
4#define TRAM_SDK_FRAMEWORK_SERIALIZATION_H
5
6#include <cassert>
7
8#include <framework/uid.h>
9#include <framework/value.h>
10
11#include <framework/math.h>
12
19namespace tram {
20
22/*class SerializedFieldArray {
23public:
24 SerializedFieldArray(const Value* first, size_t count) : first_field(first), field_count(count) {}
25 const Value& operator [](size_t n) const { assert(n < field_count); return first_field[n]; }
26private:
27 const Value* first_field;
28 size_t field_count;
29};*/
30
31}
32
33#endif // TRAM_SDK_FRAMEWORK_SERIALIZATION_H
Serialization, i.e.