A YAML/JSON-like data format.
More...
#include <value.h>
|
|
typedef std::string | String |
| |
|
typedef offset_t | Integer |
| |
|
typedef bool | Logical |
| |
|
typedef std::vector< Value > | List |
| |
|
typedef std::map< std::string, Value > | Table |
| |
|
|
| Value (const Empty &content) |
| |
|
| Value (const String &content) |
| |
|
| Value (const char *content) |
| |
|
| Value (Integer content) |
| |
|
| Value (Logical content) |
| |
|
| Value (const List &content) |
| |
|
| Value (const Table &content) |
| |
|
bool | IsEmpty () const |
| |
|
String * | GetString () |
| |
|
const String * | GetString () const |
| |
|
Integer * | GetInteger () |
| |
|
const Integer * | GetInteger () const |
| |
|
Logical * | GetLogical () |
| |
|
const Logical * | GetLogical () const |
| |
|
List * | GetList () |
| |
|
const List * | GetList () const |
| |
|
Table * | GetTable () |
| |
|
const Table * | GetTable () const |
| |
|
String | ToString () |
| |
|
Integer | ToInteger () |
| |
|
Value & | operator[] (Value value) |
| |
|
const Value & | operator[] (Value value) const |
| |
|
|
static Value | MakeList () |
| |
|
static Value | MakeTable () |
| |
|
|
std::variant< Empty, String, Integer, Logical, List, Table > | content |
| |
A YAML/JSON-like data format.
The documentation for this class was generated from the following file: