File: validator.hxx

package info (click to toggle)
odb 2.4.0-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 10,716 kB
  • ctags: 6,755
  • sloc: cpp: 41,102; sh: 11,329; makefile: 35
file content (25 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
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-2015 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