aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/validator.hxx
blob: 739ff70f18e3a7dd55bae5a8115a53d332bcb9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// file      : odb/relational/validator.hxx
// copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
// 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