Databaseconnectionclasses  0.5.3
hk_mysqlcolumn.h
1 // ****************************************************************************
2 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3 // This file is part of the hk_mysqlclasses 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_MYSQLCOLUMN
12 #define HK_MYSQLCOLUMN
13 #include "hk_storagecolumn.h"
14 class hk_mysqldatasource;
15 
17 
18 {
19  friend class hk_mysqldatasource;
20  friend class hk_mysqltable;
21 
22  public:
23 
24  protected:
25  hk_mysqlcolumn(hk_mysqldatasource* ds, const hk_string& TRUESTRING,const hk_string& FALSESTRING);
26  virtual ~hk_mysqlcolumn(void);
27  bool driver_specific_asstring(const hk_string& s);
28  const char* driver_specific_transformed_asstring_at(unsigned long position);
29  virtual bool driver_specific_asbinary(const char* b);
30 
31  private:
32 
33  hk_mysqldatasource* p_mysqldatasource;
34  hk_string p_resulttablename;
35 
36 } ;
37 #endif
Definition: hk_mysqldatasource.h:25
Definition: hk_mysqlcolumn.h:16
Definition: hk_storagecolumn.h:17
Definition: hk_mysqltable.h:19