RetroArch
|
A helper class for parsing with validation. More...
#include <schema.h>
Public Types | |
typedef SchemaDocumentType::PointerType | PointerType |
typedef InputStream::Ch | Ch |
Public Member Functions | |
SchemaValidatingReader (InputStream &is, const SchemaDocumentType &sd) | |
Constructor. More... | |
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 |
Private Attributes | |
InputStream & | is_ |
const SchemaDocumentType & | sd_ |
ParseResult | parseResult_ |
PointerType | invalidSchemaPointer_ |
const Ch * | invalidSchemaKeyword_ |
PointerType | invalidDocumentPointer_ |
bool | isValid_ |
A helper class for parsing with validation.
This helper class is a functor, designed as a parameter of GenericDocument::Populate().
parseFlags | Combination of ParseFlag. |
InputStream | Type of input stream, implementing Stream concept. |
SourceEncoding | Encoding of the input stream. |
SchemaDocumentType | Type of schema document. |
StackAllocator | Allocator type for stack. |
typedef InputStream::Ch SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator >::Ch |
typedef SchemaDocumentType::PointerType SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator >::PointerType |
|
inline |
Constructor.
is | Input stream. |
sd | Schema document. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |