![]() |
SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
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 |
ValidateErrorCode | GetInvalidSchemaCode () const |
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. |
|
inline |
Constructor.
is | Input stream. |
sd | Schema document. |