00001 00002 // FileValidator.h // 00004 00005 #ifndef FILEVALIDATOR_H 00006 #define FILEVALIDATOR_H 00007 00008 #include "X3DFileValidator.h" 00009 #include "FileValidatorGlobalVariables.h" 00010 #include "DFS.h" 00011 00012 namespace X3DTK { 00013 namespace X3D { 00014 00016 00017 class FileValidator : public X3DFileValidator 00018 { 00019 public: 00021 FileValidator(); 00023 virtual ~FileValidator(); 00024 00025 void setComponentVisitor(X3DComponentVisitor *component); 00026 00027 virtual bool validate(SFNode N) const; 00028 00029 protected: 00030 DFS *dfs; 00031 FileValidatorGlobalVariables *globalVariables; 00032 }; 00033 00034 } 00035 } 00036 00037 #endif