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/context.hxx | |
parent | 6c01cad9cbfb6e69121d106226b2c50026f86fa9 (diff) |
Make processing top-level action, like validation and generation
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 1e6ccae..8f77645 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -13,6 +13,7 @@ #include <stack> #include <vector> #include <string> +#include <memory> // std::auto_ptr #include <ostream> #include <cstddef> // std::size_t #include <iostream> @@ -686,6 +687,11 @@ private: operator= (context const&); }; +// Create concrete database context. +// +std::auto_ptr<context> +create_context (std::ostream&, semantics::unit&, options const&); + // Checks if scope Y names any of X. // template <typename X, typename Y> |