hk_mysqlcolumn.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
00003 // This file is part of the hk_mysqlclasses library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file COPYING included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00010 // ****************************************************************************
00011 #ifndef HK_MYSQLCOLUMN
00012 #define HK_MYSQLCOLUMN
00013 #include "hk_storagecolumn.h"
00014 class hk_mysqldatasource;
00015 
00016 class hk_mysqlcolumn:public hk_storagecolumn
00017 
00018 {
00019     friend class hk_mysqldatasource;
00020     friend class hk_mysqltable;
00021 
00022     public:
00023 
00024     protected:
00025         hk_mysqlcolumn(hk_mysqldatasource* ds, const hk_string& TRUESTRING,const hk_string& FALSESTRING);
00026         virtual ~hk_mysqlcolumn(void);
00027         bool    driver_specific_asstring(const hk_string& s);
00028         const char* driver_specific_transformed_asstring_at(unsigned long position);
00029         virtual bool    driver_specific_asbinary(const char* b);
00030 
00031     private:
00032 
00033         hk_mysqldatasource* p_mysqldatasource;
00034         hk_string p_resulttablename;
00035 
00036 } ;
00037 #endif

Generated on Tue Nov 28 02:48:08 2006 for Databaseconnectionclasses by  doxygen 1.5.0