Parsnip
parsing library
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs
parsnip_schema.h File Reference

Parsnip serialization schemas. More...

#include <config.h>
#include <map>
#include <unordered_map>
#include <string>
#include <set>
#include <limits>
#include <regex>
#include "parsnip.h"
#include "parsnip_command.h"

Go to the source code of this file.

Data Structures

class  Parsnip::SchemaBase
 
class  Parsnip::UncheckedSchema
 Schema component requiring data be a particular type. More...
 
class  Parsnip::TypeSchema
 Schema component requiring data be a particular type. More...
 
class  Parsnip::StringSchema
 Schema component requiring data be a string of characters (no control characters). More...
 
class  Parsnip::RegExSchema
 Schema component requiring data be a string of characters matching a regular expression. More...
 
class  Parsnip::KeywordSchema
 Schema component accepting strings with certain values. More...
 
class  Parsnip::RangeSchema< NumericType >
 Schema component for numeric data, either Integer or Real. More...
 
class  Parsnip::IntegerSchema
 
class  Parsnip::OptionSchema
 Schema adapter component that allows use of schemas from option parsers. More...
 
class  Parsnip::ListSchema
 Schema component for lists. More...
 
class  Parsnip::DictionarySchema
 Schema component for validating dictionaries. More...
 
class  Parsnip::DictionarySchema::DictionaryMember
 
class  Parsnip::ConjunctionSchema
 A meta-schema that determines if any, all, or exactly one or none of its subschemas are valid. More...
 
class  Parsnip::InvalidSchema
 Parsing/command patterns produce schema inconsistency. More...
 

Namespaces

namespace  Parsnip
 Serialization and parsing library.
 

Typedefs

using Parsnip::SchemaIntegratorCallback = std::function< void(const int, const class DictionarySchema &)>
 
using Parsnip::NumberSchema = RangeSchema< double >
 

Detailed Description

Parsnip serialization schemas.

Structures for describing the structure of data.