// file : odb/oracle/statements-base.hxx // copyright : Copyright (c) 2005-2012 Code Synthesis Tools CC // license : ODB NCUEL; see accompanying LICENSE file #ifndef ODB_ORACLE_STATEMENTS_BASE_HXX #define ODB_ORACLE_STATEMENTS_BASE_HXX #include #include #include #include // connection #include namespace odb { namespace oracle { class LIBODB_ORACLE_EXPORT statements_base: public details::shared_base { public: typedef oracle::connection connection_type; connection_type& connection () { return conn_; } public: virtual ~statements_base (); protected: statements_base (connection_type& conn) : conn_ (conn) { } protected: connection_type& conn_; }; } } #include #endif // ODB_ORACLE_STATEMENTS_BASE_HXX