summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/validator.hxx
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:08 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:08 +0100
commitaad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (patch)
tree9cc224b059f248a6229ab0dcdc64eb4a73fa9800 /xsd/cxx/tree/validator.hxx
parentc1034fc5e99197f507caf450aa15bc178698b26e (diff)
New upstream version 4.2.0upstream/4.2.0upstream
Diffstat (limited to 'xsd/cxx/tree/validator.hxx')
-rw-r--r--xsd/cxx/tree/validator.hxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/xsd/cxx/tree/validator.hxx b/xsd/cxx/tree/validator.hxx
new file mode 100644
index 0000000..23f3f04
--- /dev/null
+++ b/xsd/cxx/tree/validator.hxx
@@ -0,0 +1,29 @@
+// file : xsd/cxx/tree/validator.hxx
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#ifndef XSD_CXX_TREE_VALIDATOR_HXX
+#define XSD_CXX_TREE_VALIDATOR_HXX
+
+#include <xsd/cxx/tree/elements.hxx>
+#include <xsd/cxx/tree/options.hxx>
+
+#include <xsd/xsd.hxx>
+
+namespace CXX
+{
+ namespace Tree
+ {
+ class Validator
+ {
+ public:
+ bool
+ validate (options const&,
+ SemanticGraph::Schema&,
+ SemanticGraph::Path const& tu,
+ const WarningSet& disabled_warnings,
+ Counts const& counts);
+ };
+ }
+}
+
+#endif // XSD_CXX_TREE_VALIDATOR_HXX