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

IDBrunmap Class Reference

Read-only interface to runmap table. **. More...

#include "IDBrunmap.hxx"

Collaboration diagram for IDBrunmap:

Collaboration graph
[legend]
List of all members.

Public Methods

 IDBrunmap ()
 IDBrunmap (IDBconnect &idbc)
 ~IDBrunmap ()
int UrnFromHeadTime (const char *c_headtime)
const char * HeadTimeFromUrn (int i_urn)
int OrnFromUrn (int i_urn)
int TheadFromUrn (int i_urn)

Private Attributes

IDBconnectm_idbc
CTBcstring< 19 > mc_headtime

Detailed Description

Read-only interface to runmap table. **.

Definition at line 12 of file IDBrunmap.hxx.


Constructor & Destructor Documentation

IDBrunmap::IDBrunmap
 

Default constructor.

Definition at line 22 of file IDBrunmap.cxx.

IDBrunmap::IDBrunmap IDBconnect & idbc
 

Construct with explicit connection.

Definition at line 29 of file IDBrunmap.cxx.

IDBrunmap::~IDBrunmap
 

Destructor.

Definition at line 36 of file IDBrunmap.cxx.


Member Function Documentation

int IDBrunmap::UrnFromHeadTime const char * c_headtime
 

Returns URN for a given HeadTime.

Using the HeadTime c_headtime as key the URN is inqired and returned. . If no matching record is found, a -1 is returned.

Definition at line 46 of file IDBrunmap.cxx.

const char * IDBrunmap::HeadTimeFromUrn int i_urn
 

Returns HeadTime for a given URN.

Using the URN i_urn as key the HeadTime is inqired and returned as character string. If no matching record is found, a pointer to an empty string ("") is returned.

Definition at line 75 of file IDBrunmap.cxx.

int IDBrunmap::OrnFromUrn int i_urn
 

Returns ORN for a given URN.

Using the URN i_urn as key the ORN is inqired and returned. . If no matching record is found, a -1 is returned.

Definition at line 99 of file IDBrunmap.cxx.

int IDBrunmap::TheadFromUrn int i_urn
 

Returns Thead for a given URN.

Using the URN i_urn as key Thead, the header time as interger Unix time is inqired and returned. If no matching record is found, a -1 is returned.

Definition at line 124 of file IDBrunmap.cxx.


Member Data Documentation

IDBconnect& IDBrunmap::m_idbc [private]
 

dbc.

Definition at line 28 of file IDBrunmap.hxx.

CTBcstring<19> IDBrunmap::mc_headtime [private]
 

buffer for headtime.

Definition at line 29 of file IDBrunmap.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