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

IDBrunnote Class Reference

Read-write interface to runnote table. **. More...

#include "IDBrunnote.hxx"

Collaboration diagram for IDBrunnote:

Collaboration graph
[legend]
List of all members.

Public Methods

 IDBrunnote ()
 IDBrunnote (IDBconnect &idbc)
 ~IDBrunnote ()
bool SelectUrn (int i_urn)
bool SelectUrn (const CTBrange &urns)
bool SelectUrn ()
bool Execute ()
bool Fetch ()
bool GetID (int &i_id)
bool GetUrn (CTBrange &urns)
bool GetDateCreate (int &i_datecreate)
bool GetDateRevoke (int &i_datecreate)
bool GetUser (const char *&c_user)
bool GetNote (const char *&c_note)
bool Add (const CTBrange &urns, const char *c_note)
bool Revoke (int i_id)

Private Attributes

IDBconnectm_idbc
CTBodbcStatementmp_stmt
bool mb_select_urn
int mi_urnbeg_sel
int mi_urnend_sel
bool mb_fetch_ok
int mi_id
CTBrange m_urn_valid
int mi_datecreate
int mi_daterevoke
CTBcstring< 32 > mc_user
CTBcstring< 2000 > mc_note

Detailed Description

Read-write interface to runnote table. **.

Definition at line 13 of file IDBrunnote.hxx.


Constructor & Destructor Documentation

IDBrunnote::IDBrunnote
 

Default constructor.

Definition at line 22 of file IDBrunnote.cxx.

IDBrunnote::IDBrunnote IDBconnect & idbc
 

Construct with explicit connection.

Definition at line 32 of file IDBrunnote.cxx.

IDBrunnote::~IDBrunnote
 

Destructor.

Definition at line 42 of file IDBrunnote.cxx.


Member Function Documentation

bool IDBrunnote::SelectUrn int i_urn
 

Select single URN.

Definition at line 50 of file IDBrunnote.cxx.

bool IDBrunnote::SelectUrn const CTBrange & urns
 

Select URN range.

Definition at line 62 of file IDBrunnote.cxx.

bool IDBrunnote::SelectUrn
 

Select all URN's.

Definition at line 74 of file IDBrunnote.cxx.

bool IDBrunnote::Execute
 

Execute query.

Definition at line 84 of file IDBrunnote.cxx.

bool IDBrunnote::Fetch
 

Fetch next note.

Definition at line 115 of file IDBrunnote.cxx.

bool IDBrunnote::GetID int & i_id
 

Get note ID.

Definition at line 149 of file IDBrunnote.cxx.

bool IDBrunnote::GetUrn CTBrange & urns
 

Get URN validity range.

Definition at line 159 of file IDBrunnote.cxx.

bool IDBrunnote::GetDateCreate int & i_datecreate
 

Get creation date.

Definition at line 169 of file IDBrunnote.cxx.

bool IDBrunnote::GetDateRevoke int & i_daterevoke
 

Get revoke date.

Definition at line 179 of file IDBrunnote.cxx.

bool IDBrunnote::GetUser const char *& c_user
 

Get user name.

Definition at line 189 of file IDBrunnote.cxx.

bool IDBrunnote::GetNote const char *& c_note
 

Get note text.

Definition at line 199 of file IDBrunnote.cxx.

bool IDBrunnote::Add const CTBrange & urns,
const char * c_note
 

Add a new note.

Definition at line 209 of file IDBrunnote.cxx.

bool IDBrunnote::Revoke int i_id
 

Revoke a new note.

Definition at line 219 of file IDBrunnote.cxx.


Member Data Documentation

IDBconnect& IDBrunnote::m_idbc [private]
 

dbc.

Definition at line 41 of file IDBrunnote.hxx.

CTBodbcStatement* IDBrunnote::mp_stmt [private]
 

Statement.

Definition at line 42 of file IDBrunnote.hxx.

bool IDBrunnote::mb_select_urn [private]
 

URN selection wanted.

Definition at line 43 of file IDBrunnote.hxx.

int IDBrunnote::mi_urnbeg_sel [private]
 

Select range begin.

Definition at line 44 of file IDBrunnote.hxx.

int IDBrunnote::mi_urnend_sel [private]
 

Select range end.

Definition at line 45 of file IDBrunnote.hxx.

bool IDBrunnote::mb_fetch_ok [private]
 

Last fetch successful.

Definition at line 47 of file IDBrunnote.hxx.

int IDBrunnote::mi_id [private]
 

Note id.

Definition at line 48 of file IDBrunnote.hxx.

CTBrange IDBrunnote::m_urn_valid [private]
 

Validity range.

Definition at line 49 of file IDBrunnote.hxx.

int IDBrunnote::mi_datecreate [private]
 

Creation date.

Definition at line 50 of file IDBrunnote.hxx.

int IDBrunnote::mi_daterevoke [private]
 

Revoke date.

Definition at line 51 of file IDBrunnote.hxx.

CTBcstring<32> IDBrunnote::mc_user [private]
 

User name.

Definition at line 52 of file IDBrunnote.hxx.

CTBcstring<2000> IDBrunnote::mc_note [private]
 

Note text.

Definition at line 53 of file IDBrunnote.hxx.


The documentation for this class was generated from the following files:
Generated at Fri Oct 24 18:17:37 2003 for IDBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001