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

IDBrunnote.hxx

Go to the documentation of this file.
00001 #ifndef _IDBrunnote_HXX
00002 #define _IDBrunnote_HXX 1
00003 
00004 #include "CTBrange.hxx"
00005 #include "CTBcstring.hxx"
00006 
00007 #include "IDBconnect.hxx"
00008 
00009 //
00010 // $Id: IDBrunnote.hxx,v 1.4 1999/10/27 17:08:16 mueller Exp $
00011 //
00012 //
00013 class IDBrunnote {
00014 
00015   public: 
00016                     IDBrunnote();
00017                     IDBrunnote(IDBconnect& idbc);
00018 
00019                     ~IDBrunnote();
00020 
00021     bool            SelectUrn(int i_urn);
00022     bool            SelectUrn(const CTBrange& urns);
00023     bool            SelectUrn();
00024 
00025     bool            Execute();
00026     bool            Fetch();
00027 
00028     bool            GetID(int& i_id);
00029     bool            GetUrn(CTBrange& urns);
00030     bool            GetDateCreate(int& i_datecreate);
00031     bool            GetDateRevoke(int& i_datecreate);
00032     bool            GetUser(const char*& c_user);
00033     bool            GetNote(const char*& c_note);
00034 
00035     bool            Add(const CTBrange& urns, const char* c_note);
00036 
00037     bool            Revoke(int i_id);
00038 
00039   private:
00040 
00041     IDBconnect&     m_idbc;                 
00042     CTBodbcStatement* mp_stmt;              
00043     bool            mb_select_urn;          
00044     int             mi_urnbeg_sel;          
00045     int             mi_urnend_sel;          
00046 
00047     bool            mb_fetch_ok;            
00048     int             mi_id;                  
00049     CTBrange        m_urn_valid;            
00050     int             mi_datecreate;          
00051     int             mi_daterevoke;          
00052     CTBcstring<32>  mc_user;                
00053     CTBcstring<2000> mc_note;               
00054 };
00055 
00056 #endif

Generated at Fri Oct 24 18:17:34 2003 for IDBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001