File: hk_storagecolumn.h

package info (click to toggle)
hk-classes 0.8.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,872 kB
  • ctags: 16,819
  • sloc: cpp: 90,990; ansic: 78,016; sh: 8,385; python: 3,793; makefile: 292
file content (39 lines) | stat: -rw-r--r-- 1,506 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// ****************************************************************************
// copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>  
// This file is part of the hk_storageclasses library.
// This file may be distributed and/or modified under the terms of the
// GNU Library Public License version 2 as published by the Free Software
// Foundation and appearing in the file COPYING included in the
// packaging of this file.
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
#ifndef HK_STORAGECOLUMN
#define HK_STORAGECOLUMN
#include "hk_column.h"
using namespace std;
class hk_storagedatasource;

class hk_storagecolumn:public hk_column

{
    public:
        void     set_fieldnumber(unsigned int f);

    protected:
        hk_storagecolumn(hk_storagedatasource* ds, const hk_string& TRUESTRING,const hk_string& FALSESTRING);
        virtual ~hk_storagecolumn(void);
        hk_string   driver_specific_asstring_at(unsigned long a);
        void    driver_specific_asbool(bool b);
        bool    driver_specific_asbool_at(unsigned long a);
        virtual bool        driver_specific_is_nullvalue_at(unsigned long);
        char*   p_asstring;

        virtual const struct_raw_data* driver_specific_asbinary_at(unsigned long a);

    private:

        hk_storagedatasource*   p_storagedatasource;

} ;
#endif