00001 00002 00003 00005 00006 00011 00016 00021 // FileValidator.h // 00023 00024 #ifndef FILEVALIDATOR_H 00025 #define FILEVALIDATOR_H 00026 00027 #include "X3DFileValidator.h" 00028 #include "FileValidatorGlobalVariables.h" 00029 #include "DFS.h" 00030 00031 namespace X3DTK { 00032 namespace X3D { 00033 00035 00036 class FileValidator : public X3DFileValidator 00037 { 00038 public: 00040 FileValidator(); 00042 virtual ~FileValidator(); 00043 00044 void setComponentVisitor(X3DComponentVisitor *component); 00045 00046 virtual bool validate(SFNode N) const; 00047 00048 protected: 00049 DFS *dfs; 00050 FileValidatorGlobalVariables *globalVariables; 00051 }; 00052 00053 } 00054 } 00055 00056 #endif