COOPY » Guide  version 0.6.5
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_core/include/coopy/ColumnRef.h
Go to the documentation of this file.
00001 #ifndef COOPY_COLUMNREF_INC
00002 #define COOPY_COLUMNREF_INC
00003 
00004 namespace coopy {
00005   namespace store {
00006     class ColumnRef;
00007   }
00008 }
00009 
00013 class coopy::store::ColumnRef {
00014 private:
00015   int index;
00016 public:
00017   ColumnRef(int index = -1) {
00018     this->index = index;
00019   }
00020 
00021   bool isValid() const {
00022     return index>=0;
00023   }
00024 
00025   int getIndex() const {
00026     return index;
00027   }
00028 };
00029 
00030 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines