A helper class for parsing with validation. More...
#include <schema.h>
Public Types | |
| typedef SchemaDocumentType::PointerType | PointerType |
| typedef InputStream::Ch | Ch |
| typedef GenericValue< SourceEncoding, StackAllocator > | ValueType |
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 |
| const ValueType & | GetError () 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. |