aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/validator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/hybrid/validator.hxx')
-rw-r--r--xsde/cxx/hybrid/validator.hxx35
1 files changed, 35 insertions, 0 deletions
diff --git a/xsde/cxx/hybrid/validator.hxx b/xsde/cxx/hybrid/validator.hxx
new file mode 100644
index 0000000..0fb6df6
--- /dev/null
+++ b/xsde/cxx/hybrid/validator.hxx
@@ -0,0 +1,35 @@
+// file : xsde/cxx/hybrid/validator.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#ifndef CXX_HYBRID_VALIDATOR_HXX
+#define CXX_HYBRID_VALIDATOR_HXX
+
+#include <cult/types.hxx>
+
+#include <xsd-frontend/semantic-graph/schema.hxx>
+
+#include <cxx/hybrid/cli.hxx>
+
+#include <xsde.hxx>
+
+namespace CXX
+{
+ namespace Hybrid
+ {
+ using namespace Cult::Types;
+
+ class Validator
+ {
+ public:
+ Boolean
+ validate (CLI::Options const& options,
+ XSDFrontend::SemanticGraph::Schema&,
+ XSDFrontend::SemanticGraph::Path const& tu,
+ const WarningSet& disabled_warnings);
+ };
+ }
+}
+
+#endif // CXX_HYBRID_VALIDATOR_HXX