hk_storagecolumn.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_storageclasses 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_STORAGECOLUMN
00012 #define HK_STORAGECOLUMN
00013 #include "hk_column.h"
00014 using namespace std;
00015 class hk_storagedatasource;
00016 
00017 class hk_storagecolumn:public hk_column
00018 
00019 {
00020     public:
00021         void     set_fieldnumber(unsigned int f);
00022 
00023     protected:
00024         hk_storagecolumn(hk_storagedatasource* ds, const hk_string& TRUESTRING,const hk_string& FALSESTRING);
00025         virtual ~hk_storagecolumn(void);
00026         hk_string   driver_specific_asstring_at(unsigned long a);
00027         void    driver_specific_asbool(bool b);
00028         bool    driver_specific_asbool_at(unsigned long a);
00029         virtual bool        driver_specific_is_nullvalue_at(unsigned long);
00030         char*   p_asstring;
00031 
00032         virtual const struct_raw_data* driver_specific_asbinary_at(unsigned long a);
00033 
00034     private:
00035 
00036         hk_storagedatasource*   p_storagedatasource;
00037 
00038 } ;
00039 #endif

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