CppDB
|
00001 00002 // 00003 // Copyright (C) 2010-2011 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com> 00004 // 00005 // Distributed under: 00006 // 00007 // the Boost Software License, Version 1.0. 00008 // (See accompanying file LICENSE_1_0.txt or copy at 00009 // http://www.boost.org/LICENSE_1_0.txt) 00010 // 00011 // or (at your opinion) under: 00012 // 00013 // The MIT License 00014 // (See accompanying file MIT.txt or a copy at 00015 // http://www.opensource.org/licenses/mit-license.php) 00016 // 00018 #ifndef CPPDB_CONNECTION_SPECIFIC_H 00019 #define CPPDB_CONNECTION_SPECIFIC_H 00020 00021 #include <cppdb/defs.h> 00022 #include <memory> 00023 00024 namespace cppdb { 00031 class CPPDB_API connection_specific_data { 00032 connection_specific_data(connection_specific_data const &); 00033 void operator=(connection_specific_data const &); 00034 public: 00035 connection_specific_data(); 00036 virtual ~connection_specific_data(); 00037 00038 private: 00039 struct data; 00040 std::auto_ptr<data> d; 00041 }; 00042 00043 00044 } // cppdb 00045 00046 #endif