SDX::Helpers::Validator Class Reference

Class that validates documents with the help of a structure file. More...

#include <SDXValidator.h>

List of all members.

Classes

struct  InfoNode

Public Member Functions

 Validator ()
 Constructor.
void setDocumentStructure (SDX::ResourceReader *, bool deleteAfterReading=true)
 Set the document structure from a resource.
void setDocumentStructure (SDX::Document *)
 Set the document structure from a Document.
bool validate (SDX::Document *)
 Validate the given document with the help of the document structure set with setDocumentStructure().
std::string getError ()
 If validate returns false, you can call this method to find out why the document is invalid.


Detailed Description

Class that validates documents with the help of a structure file.

Todo:
Document the structure of a structure file.

Produce error messages that are actually helpful.

Definition at line 24 of file SDXValidator.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 27 16:55:50 2009 for SDX by  doxygen 1.5.8