blob: b054f583309887a75557617d4e0fb04e683757db (
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
26
27
28
29
30
31
32
33
34
35
36
|
// file : odb/relational/validator.hxx
// copyright : Copyright (c) 2009-2013 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
{
class validator
{
public:
struct failed {};
// The first pass is performed before processing. The second -- after.
//
void
validate (options const&,
features&,
semantics::unit&,
semantics::path const&,
unsigned short pass);
validator () {}
private:
validator (validator const&);
validator& operator= (validator const&);
};
}
#endif // ODB_RELATIONAL_VALIDATOR_HXX
|