Databaseconnectionclasses  0.5.3
hk_storagecolumn.h
1 // ****************************************************************************
2 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3 // This file is part of the hk_storageclasses library.
4 // This file may be distributed and/or modified under the terms of the
5 // GNU Library Public License version 2 as published by the Free Software
6 // Foundation and appearing in the file COPYING included in the
7 // packaging of this file.
8 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10 // ****************************************************************************
11 #ifndef HK_STORAGECOLUMN
12 #define HK_STORAGECOLUMN
13 #include "hk_column.h"
14 using namespace std;
16 
18 
19 {
20  public:
21  void set_fieldnumber(unsigned int f);
22 
23  protected:
24  hk_storagecolumn(hk_storagedatasource* ds, const hk_string& TRUESTRING,const hk_string& FALSESTRING);
25  virtual ~hk_storagecolumn(void);
26  hk_string driver_specific_asstring_at(unsigned long a);
27  void driver_specific_asbool(bool b);
28  bool driver_specific_asbool_at(unsigned long a);
29  virtual bool driver_specific_is_nullvalue_at(unsigned long);
30  char* p_asstring;
31 
32  virtual const struct_raw_data* driver_specific_asbinary_at(unsigned long a);
33 
34  private:
35 
36  hk_storagedatasource* p_storagedatasource;
37 
38 } ;
39 #endif
Definition: hk_storagedatasource.h:22
Definition: hk_storagecolumn.h:17
Definition: hk_definitions.h:122
represents one column of a datasource.
Definition: hk_column.h:34