![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Scripted save container for custom handling of storage. More...
Protected Member Functions | |
| void | Reset () |
| Reset the container to re-use for new data. | |
| string | GetDataExtension () |
| Data extension of the serialized format (e.g. txt, csv, yml) if stored in a filesystem. | |
| string | SaveToString () |
| Export the data as string to be written to disk etc. | |
| bool | StartObject () |
| bool | EndObject () |
| bool | StartArray (int count) |
| bool | EndArray () |
| bool | StartMap (int count) |
| bool | EndMap () |
| bool | WriteKey (string key) |
| Key writer for named properties in objects or map keys. | |
| bool | WriteNull () |
| Typed value writers. | |
| bool | WriteBool (bool value) |
| bool | WriteString (string value) |
| bool | WriteInt (int value) |
| bool | WriteFloat (float value) |
| bool | WriteVector (vector value) |
| void | Reset () |
| Reset the container to re-use for new data. | |
| string | GetDataExtension () |
| Data extension of the serialized format (e.g. txt, csv, yml) if stored in a filesystem. | |
| string | SaveToString () |
| Export the data as string to be written to disk etc. | |
| bool | StartObject () |
| bool | EndObject () |
| bool | StartArray (int count) |
| bool | EndArray () |
| bool | StartMap (int count) |
| bool | EndMap () |
| bool | WriteKey (string key) |
| Key writer for named properties in objects or map keys. | |
| bool | WriteNull () |
| Typed value writers. | |
| bool | WriteBool (bool value) |
| bool | WriteString (string value) |
| bool | WriteInt (int value) |
| bool | WriteFloat (float value) |
| bool | WriteVector (vector value) |
Scripted save container for custom handling of storage.
Definition at line 13 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 42 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 42 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 49 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 49 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 35 of file ScriptedSaveContainer.c.
|
inlineprotected |
Definition at line 35 of file ScriptedSaveContainer.c.
|
inlineprotected |
Data extension of the serialized format (e.g. txt, csv, yml) if stored in a filesystem.
Definition at line 18 of file ScriptedSaveContainer.c.
|
inlineprotected |
Data extension of the serialized format (e.g. txt, csv, yml) if stored in a filesystem.
Definition at line 18 of file ScriptedSaveContainer.c.
|
protected |
Reset the container to re-use for new data.
|
protected |
Reset the container to re-use for new data.
|
inlineprotected |
Export the data as string to be written to disk etc.
Definition at line 20 of file ScriptedSaveContainer.c.
|
inlineprotected |
Export the data as string to be written to disk etc.
Definition at line 20 of file ScriptedSaveContainer.c.
Arrays don't have named values and as such are only a sequence of value writes. Arrays may be nested, in which case StartArray is called while already inside an array. Sets are considered arrays for serialization.
Definition at line 41 of file ScriptedSaveContainer.c.
Arrays don't have named values and as such are only a sequence of value writes. Arrays may be nested, in which case StartArray is called while already inside an array. Sets are considered arrays for serialization.
Definition at line 41 of file ScriptedSaveContainer.c.
Maps are key value pairs which are written similar to objects, as sequence of WriteKey(key) + WriteXXX(value); Keys are converted automatically to strings for serialization for cases such as map<int, float>. The value type of the map is known one the first value write is called.
Definition at line 48 of file ScriptedSaveContainer.c.
Maps are key value pairs which are written similar to objects, as sequence of WriteKey(key) + WriteXXX(value); Keys are converted automatically to strings for serialization for cases such as map<int, float>. The value type of the map is known one the first value write is called.
Definition at line 48 of file ScriptedSaveContainer.c.
|
inlineprotected |
Objects are serialized as sequence of: StartObject() WriteKey("myValue"); WriteInt(42); WriteKey("anotherValue") WriteFloat(13.37); ... EndObject();
There may be sub-objects/arrays/maps. These will be written using a sequence of WriteKey(...) + StartObject/Array/Map(). Each nested object/array/map will be terminated by EndObject/Array/Map();
Definition at line 34 of file ScriptedSaveContainer.c.
|
inlineprotected |
Objects are serialized as sequence of: StartObject() WriteKey("myValue"); WriteInt(42); WriteKey("anotherValue") WriteFloat(13.37); ... EndObject();
There may be sub-objects/arrays/maps. These will be written using a sequence of WriteKey(...) + StartObject/Array/Map(). Each nested object/array/map will be terminated by EndObject/Array/Map();
Definition at line 34 of file ScriptedSaveContainer.c.
Definition at line 54 of file ScriptedSaveContainer.c.
Definition at line 54 of file ScriptedSaveContainer.c.
Definition at line 57 of file ScriptedSaveContainer.c.
Definition at line 57 of file ScriptedSaveContainer.c.
Definition at line 56 of file ScriptedSaveContainer.c.
Definition at line 56 of file ScriptedSaveContainer.c.
Key writer for named properties in objects or map keys.
Definition at line 51 of file ScriptedSaveContainer.c.
Key writer for named properties in objects or map keys.
Definition at line 51 of file ScriptedSaveContainer.c.
|
inlineprotected |
Typed value writers.
Definition at line 53 of file ScriptedSaveContainer.c.
|
inlineprotected |
Typed value writers.
Definition at line 53 of file ScriptedSaveContainer.c.
Definition at line 55 of file ScriptedSaveContainer.c.
Definition at line 55 of file ScriptedSaveContainer.c.
Definition at line 58 of file ScriptedSaveContainer.c.
Definition at line 58 of file ScriptedSaveContainer.c.