|
pianod2
multisource multiuser scriptable networked music player
|
#include <string>#include <vector>#include <set>#include <unordered_map>#include <type_traits>#include <cctype>#include <cstring>#include <algorithm>#include "parsnip.h"#include "parsnip_command.h"#include "parsnip_schema.h"#include "parsnip_evaluate.h"#include "parsnip_helpers.h"
Namespaces | |
| Parsnip | |
| Serialization and parsing library. | |
Macros | |
| #define | REGEX_DATE "[0-9]{4}-(0[1-9]|1[0-2])-[0-4][0-9]" |
| #define | REGEX_TIME "([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\\+(0[0-9]|1[0-3]):[0-5][0-9]" |
Functions | |
| static SchemaBase * | Parsnip::construct_schema (const Parsnip::Data &schema_spec) |
| Assemble a schema from a specification. More... | |
| static DictionarySchema * | Parsnip::asDictionary (const SchemaBaseRef &schema) |
| Verify the schema is the dictionary we expect, and return it typecast as such. More... | |
Variables | |
| static const std::unordered_map< std::string, std::string > | Parsnip::RegExForFormat |
Regular expressions for JSON strings that specify a format. More... | |
| #define REGEX_DATE "[0-9]{4}-(0[1-9]|1[0-2])-[0-4][0-9]" |
| #define REGEX_TIME "([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\\+(0[0-9]|1[0-3]):[0-5][0-9]" |