diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:19:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:19:25 +0200 |
commit | 55df757e98329e8e09afffe274ce2ceab269f8b3 (patch) | |
tree | 738b3a5b1c46e3b1b04184cfd9aeb32eb21af48a /odb/relational | |
parent | 6c01cad9cbfb6e69121d106226b2c50026f86fa9 (diff) |
Make processing top-level action, like validation and generation
Diffstat (limited to 'odb/relational')
-rw-r--r-- | odb/relational/processor.cxx (renamed from odb/relational/type-processor.cxx) | 6 | ||||
-rw-r--r-- | odb/relational/processor.hxx (renamed from odb/relational/type-processor.hxx) | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/odb/relational/type-processor.cxx b/odb/relational/processor.cxx index c6e8d41..cc3c695 100644 --- a/odb/relational/type-processor.cxx +++ b/odb/relational/processor.cxx @@ -1,4 +1,4 @@ -// file : odb/relational/type-processor.cxx +// file : odb/relational/processor.cxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v3; see accompanying LICENSE file @@ -13,7 +13,7 @@ #include <odb/common.hxx> #include <odb/relational/context.hxx> -#include <odb/relational/type-processor.hxx> +#include <odb/relational/processor.hxx> using namespace std; @@ -2208,7 +2208,7 @@ namespace relational } void - process_types () + process () { context ctx; diff --git a/odb/relational/type-processor.hxx b/odb/relational/processor.hxx index 00cb2c5..6ef2913 100644 --- a/odb/relational/type-processor.hxx +++ b/odb/relational/processor.hxx @@ -1,17 +1,17 @@ -// file : odb/relational/type-processor.hxx +// file : odb/relational/processor.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v3; see accompanying LICENSE file -#ifndef ODB_RELATIONAL_TYPE_PROCESSOR_HXX -#define ODB_RELATIONAL_TYPE_PROCESSOR_HXX +#ifndef ODB_RELATIONAL_PROCESSOR_HXX +#define ODB_RELATIONAL_PROCESSOR_HXX namespace relational { // Issues diagnostics and throws generation_failed in case of an error. // void - process_types (); + process (); } -#endif // ODB_RELATIONAL_TYPE_PROCESSOR_HXX +#endif // ODB_RELATIONAL_PROCESSOR_HXX |