summaryrefslogtreecommitdiff
path: root/odb/odb/relational/validator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/odb/relational/validator.hxx')
-rw-r--r--odb/odb/relational/validator.hxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/odb/odb/relational/validator.hxx b/odb/odb/relational/validator.hxx
new file mode 100644
index 0000000..d6602f7
--- /dev/null
+++ b/odb/odb/relational/validator.hxx
@@ -0,0 +1,24 @@
+// file : odb/relational/validator.hxx
+// license : GNU GPL v3; see accompanying LICENSE file
+
+#ifndef ODB_RELATIONAL_VALIDATOR_HXX
+#define ODB_RELATIONAL_VALIDATOR_HXX
+
+#include <odb/options.hxx>
+#include <odb/features.hxx>
+#include <odb/semantics/unit.hxx>
+
+namespace relational
+{
+ // The first pass is performed before processing. The second -- after.
+ // Throws operation_failed to signal a failure.
+ //
+ void
+ validate (options const&,
+ features&,
+ semantics::unit&,
+ semantics::path const&,
+ unsigned short pass);
+}
+
+#endif // ODB_RELATIONAL_VALIDATOR_HXX