diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 14:36:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 14:36:47 +0200 |
commit | 33cd64535d2307a2e7884ee0796e1aae42937aaf (patch) | |
tree | 6f20845b78387138def085377b3a07f984f09507 /odb/validator.hxx | |
parent | 7615f4dd87092aec82569bce68d75efcb82a90ae (diff) |
Add validator pass
Detect members with anonymous types.
Diffstat (limited to 'odb/validator.hxx')
-rw-r--r-- | odb/validator.hxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/odb/validator.hxx b/odb/validator.hxx new file mode 100644 index 0000000..623001c --- /dev/null +++ b/odb/validator.hxx @@ -0,0 +1,25 @@ +// file : odb/validator.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_VALIDATOR_HXX +#define ODB_VALIDATOR_HXX + +#include <odb/options.hxx> +#include <odb/semantics/unit.hxx> + +class validator +{ +public: + validator (); + + bool + validate (options const&, semantics::unit&, semantics::path const&); + +private: + validator (validator const&); + validator& operator= (validator const&); +}; + +#endif // ODB_VALIDATOR_HXX |