diff options
Diffstat (limited to 'odb/option-types.hxx')
-rw-r--r-- | odb/option-types.hxx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/odb/option-types.hxx b/odb/option-types.hxx index 966f5cf..642c149 100644 --- a/odb/option-types.hxx +++ b/odb/option-types.hxx @@ -65,4 +65,34 @@ operator>> (std::istream&, schema_format&); std::ostream& operator<< (std::ostream&, schema_format); +// +// +struct oracle_version +{ + unsigned short + ver_major () const + { + return major_; + } + + unsigned short + ver_minor () const + { + return minor_; + } + + friend std::istream& operator>> (std::istream&, oracle_version&); + friend std::ostream& operator<< (std::ostream&, oracle_version); + +private: + unsigned short major_; + unsigned short minor_; +}; + +std::istream& +operator>> (std::istream&, oracle_version&); + +std::ostream& +operator<< (std::ostream&, oracle_version); + #endif // ODB_OPTION_TYPES_HXX |