diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-30 11:05:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-30 11:05:46 +0200 |
commit | b143a4a1a028d3147b9b603e77866780b34ee828 (patch) | |
tree | 521e0d3602a08970cf477e3f139cc40f9dd01af2 /odb/generator.hxx | |
parent | cf80396f8b6147e9048c1f3bd50b3086f754d037 (diff) |
Add code generator infrastructure
Diffstat (limited to 'odb/generator.hxx')
-rw-r--r-- | odb/generator.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/odb/generator.hxx b/odb/generator.hxx new file mode 100644 index 0000000..42f7bed --- /dev/null +++ b/odb/generator.hxx @@ -0,0 +1,29 @@ +// file : odb/generator.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_GENERATOR_HXX +#define ODB_GENERATOR_HXX + +#include <options.hxx> +#include <semantics/unit.hxx> + +class generator +{ +public: + generator (); + + class failed {}; + + void + generate (options const&, semantics::unit&, semantics::path const&); + +private: + generator (generator const&); + + generator& + operator= (generator const&); +}; + +#endif // ODB_GENERATOR_HXX |