A helper class for parsing with validation. Plus de détails...
#include <arcane/utils/internal/json/rapidjson/schema.h>
Types publics | |
typedef SchemaDocumentType::PointerType | PointerType |
typedef InputStream::Ch | Ch |
typedef GenericValue< SourceEncoding, StackAllocator > | ValueType |
Fonctions membres publiques | |
SchemaValidatingReader (InputStream &is, const SchemaDocumentType &sd) | |
Constructor. | |
template<typename Handler> | |
bool | operator() (Handler &handler) |
const ParseResult & | GetParseResult () const |
bool | IsValid () const |
const PointerType & | GetInvalidSchemaPointer () const |
const Ch * | GetInvalidSchemaKeyword () const |
const PointerType & | GetInvalidDocumentPointer () const |
const ValueType & | GetError () const |
Attributs privés | |
InputStream & | is_ |
const SchemaDocumentType & | sd_ |
ParseResult | parseResult_ |
PointerType | invalidSchemaPointer_ |
const Ch * | invalidSchemaKeyword_ |
PointerType | invalidDocumentPointer_ |
StackAllocator | allocator_ |
ValueType | error_ |
bool | isValid_ |
A helper class for parsing with validation.
This helper class is a functor, designed as a parameter of GenericDocument::Populate().
typedef InputStream::Ch SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator >::Ch |
typedef SchemaDocumentType::PointerType SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator >::PointerType |
typedef GenericValue<SourceEncoding, StackAllocator> SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator >::ValueType |
|
inline |
Constructor.
is | Input stream. |
sd | Schema document. |
Définition à la ligne 2449 du fichier schema.h.
Références kObjectType.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |