A helper class for parsing with validation. 更多...
#include <schema.h>
Public 类型 | |
typedef SchemaDocumentType::PointerType | PointerType |
typedef InputStream::Ch | Ch |
typedef GenericValue< SourceEncoding, StackAllocator > | ValueType |
Public 成员函数 | |
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 |
ValidateErrorCode | GetInvalidSchemaCode () const |
A helper class for parsing with validation.
This helper class is a functor, designed as a parameter of GenericDocument::Populate().
|
inline |
Constructor
is | Input stream. |
sd | Schema document. |