template <unsigned parseFlags, typename InputStream, typename SourceEncoding, typename SchemaDocumentType = SchemaDocument, typename StackAllocator = CrtAllocator>

class SchemaValidatingReader

Defined at line 3200 of file ../../third_party/rapidjson/include/rapidjson/schema.h

A helper class for parsing with validation.

This helper class is a functor, designed as a parameter of

Template Parameters

parseFlags Combination of
InputStream Type of input stream, implementing Stream concept.
SourceEncoding Encoding of the input stream.
SchemaDocumentType Type of schema document.
StackAllocator Allocator type for stack.

Public Methods

void SchemaValidatingReader<parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator> (InputStream & is, const SchemaDocumentType & sd)

Constructor

Parameters

is Input stream.
sd Schema document.

Defined at line 3211 of file ../../third_party/rapidjson/include/rapidjson/schema.h

template <typename Handler>
bool operator() (Handler & handler)

Defined at line 3214 of file ../../third_party/rapidjson/include/rapidjson/schema.h

const ParseResult & GetParseResult ()

Defined at line 3237 of file ../../third_party/rapidjson/include/rapidjson/schema.h

bool IsValid ()

Defined at line 3238 of file ../../third_party/rapidjson/include/rapidjson/schema.h

const PointerType & GetInvalidSchemaPointer ()

Defined at line 3239 of file ../../third_party/rapidjson/include/rapidjson/schema.h

const Ch * GetInvalidSchemaKeyword ()

Defined at line 3240 of file ../../third_party/rapidjson/include/rapidjson/schema.h

const PointerType & GetInvalidDocumentPointer ()

Defined at line 3241 of file ../../third_party/rapidjson/include/rapidjson/schema.h

const ValueType & GetError ()

Defined at line 3242 of file ../../third_party/rapidjson/include/rapidjson/schema.h

ValidateErrorCode GetInvalidSchemaCode ()

Defined at line 3243 of file ../../third_party/rapidjson/include/rapidjson/schema.h