Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

vdbl_types.h

Go to the documentation of this file.
00001 // Basic Types -*- C++ -*-
00002 
00003 // Copyright (C) 2003 Hermann Schichl
00004 //
00005 // This file is part of the Vienna Database Library.  This library is free
00006 // software; you can redistribute it and/or modify it under the
00007 // terms of the Library GNU General Public License as published by the
00008 // Free Software Foundation; either version 2, or (at your option)
00009 // any later version.
00010 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // Library GNU General Public License for more details.
00015 
00016 // As a special exception, you may use this file as part of a free software
00017 // library without restriction.  Specifically, if other files instantiate
00018 // templates or use macros or inline functions from this file, or you compile
00019 // this file and link it with other files to produce an executable, this
00020 // file does not by itself cause the resulting executable to be covered by
00021 // the Library GNU General Public License.  This exception does not however
00022 // invalidate any other reasons why the executable file might be covered by
00023 // the Library GNU General Public License.
00024 
00030 #ifndef __VDBL_TYPES_H
00031 #define __VDBL_TYPES_H
00032 
00033 #include <stdint.h>
00034 #include <vdbl_config.h>
00035 #include <string>
00036 #include <vector>
00037 #include <typeinfo>
00038 
00039 __VDBL_BEGIN_NAMESPACE
00040 
00041 #if defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
00042 #pragma set woff 1209
00043 #endif
00044 
00058 
00059 
00065 class _VDBL_colflags
00066 {
00067 public:
00069 
00070   bool master_index;
00071   bool has_default;
00073 
00075   _VDBL_colflags(bool __d = false, bool __mi = false)
00076                         : master_index(__mi), has_default(__d) {}
00078   ~_VDBL_colflags() {}
00079 };
00080 
00084 typedef uint32_t _VDBL_userid;
00088 typedef uint32_t _VDBL_viewid;
00092 typedef uint64_t _VDBL_colid;
00096 typedef uint64_t _VDBL_rowid;
00100 typedef uint32_t _VDBL_tableid;
00101 
00109 
00110 
00113 typedef _VDBL_userid userid;
00115 
00118 typedef _VDBL_viewid viewid;
00120 
00123 typedef _VDBL_colid colid;
00125 
00128 typedef _VDBL_rowid rowid;
00130 
00133 typedef _VDBL_tableid tableid;
00135 
00138 typedef _VDBL_colflags colflags;
00139 
00142 __VDBL_END_NAMESPACE
00143 
00144 #endif /* __VDBL_TYPES_H */
00145 
00146 // Local Variables:
00147 // mode:C++
00148 // End:

Generated on Tue Nov 4 01:29:11 2003 for Vienna Database Library by doxygen1.2.18