![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
00001 /* 00002 Copyright 2007 - 2008 MySQL AB, 2008 - 2009 Sun Microsystems, Inc. All rights reserved. 00003 00004 The MySQL Connector/C++ is licensed under the terms of the GPL 00005 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most 00006 MySQL Connectors. There are special exceptions to the terms and 00007 conditions of the GPL as it is applied to this software, see the 00008 FLOSS License Exception 00009 <http://www.mysql.com/about/legal/licensing/foss-exception.html>. 00010 */ 00011 00012 #ifndef _SQL_PARAMETER_METADATA_H_ 00013 #define _SQL_PARAMETER_METADATA_H_ 00014 00015 #include <string> 00016 00017 00018 namespace sql 00019 { 00020 00021 class ParameterMetaData 00022 { 00023 public: 00024 enum 00025 { 00026 parameterModeIn, 00027 parameterModeInOut, 00028 parameterModeOut, 00029 parameterModeUnknown 00030 }; 00031 enum 00032 { 00033 parameterNoNulls, 00034 parameterNullable, 00035 parameterNullableUnknown 00036 }; 00037 00038 virtual int getParameterCount() = 0; 00039 protected: 00040 virtual ~ParameterMetaData() {} 00041 }; 00042 00043 00044 } /* namespace sql */ 00045 00046 #endif /* _SQL_PARAMETER_METADATA_H_ */
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.