aboutsummaryrefslogtreecommitdiff
path: root/odb/option-types.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/option-types.hxx')
-rw-r--r--odb/option-types.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/odb/option-types.hxx b/odb/option-types.hxx
index 09be4ee..0b6d47a 100644
--- a/odb/option-types.hxx
+++ b/odb/option-types.hxx
@@ -151,6 +151,26 @@ operator<< (std::ostream&, schema_format);
//
//
+struct name_case
+{
+ enum value
+ {
+ upper,
+ lower
+ };
+
+ name_case (value v = value (0)) : v_ (v) {}
+ operator value () const {return v_;}
+
+private:
+ value v_;
+};
+
+std::istream&
+operator>> (std::istream&, name_case&);
+
+//
+//
struct oracle_version
{
oracle_version (unsigned short major, unsigned short minor)