diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-20 14:08:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-07-20 14:08:09 +0200 |
commit | 5f71c55a1c24c23af1eeb0d664922497a0e5c071 (patch) | |
tree | b9d871f01893d515f0a5bf62995b75b4fc43d246 /odb/context.hxx | |
parent | 0e595e5d7bcc25b18027f3bda5d4508d42dacb39 (diff) |
Add mapping of basic C++ types to DB types
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 064b0d5..700e604 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -6,6 +6,7 @@ #ifndef ODB_CONTEXT_HXX #define ODB_CONTEXT_HXX +#include <map> #include <set> #include <string> #include <ostream> @@ -61,10 +62,13 @@ public: typedef std::set<string> keyword_set_type; keyword_set_type const& keyword_set; + typedef std::map<string, string> type_map_type; + private: struct data { keyword_set_type keyword_set_; + type_map_type type_map_; }; public: |