OSB_LIB::NameListReader Struct Reference

Inheritance diagram for OSB_LIB::NameListReader:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::NameListReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

Support to read a NameList from the database.

Definition at line 198 of file namelist.h.

Public Member Functions

Public Attributes

Database table settings.

Protected Member Functions

Classes


Constructor & Destructor Documentation

OSB_LIB::NameListReader::NameListReader (  ) 

Empty cestructor.

virtual OSB_LIB::NameListReader::~NameListReader (  )  [virtual]

Empty virtual destructor.

OSB_LIB::NameListReader::NameListReader ( const NameListReader rhs  )  [protected]

Copying for derived classes only.


Member Function Documentation

virtual void OSB_LIB::NameListReader::addRow ( const Row row  )  [pure virtual]

Add a row to the name list.

NameListReader& OSB_LIB::NameListReader::operator= ( const NameListReader rhs  )  [protected]

Assignment for derived classes only.

void OSB_LIB::NameListReader::read ( const OSB_DB::Session session  ) 

Read all entries from the database.

Parameters:
session Database session to use.
For each fetched row addRow() is called.

Referenced by OSB_LIB::Id2InfoReader< NameList >::read(), and OSB_LIB::Id1InfoReader< NameList >::read().


Member Data Documentation

std::string OSB_LIB::NameListReader::colDes_

The name of the description column.

If empty the column is not selected.

Definition at line 244 of file namelist.h.

Referenced by OSB_LIB::Id1InfoReader< NameList >::Id1InfoReader(), and OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader().

std::string OSB_LIB::NameListReader::colId1_

The name of the 1st id column.

Definition at line 230 of file namelist.h.

Referenced by OSB_LIB::Id1InfoReader< NameList >::Id1InfoReader(), and OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader().

std::string OSB_LIB::NameListReader::colId2_

The name of the 2nd id column.

If empty the column is not selected.

Definition at line 236 of file namelist.h.

Referenced by OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader().

std::string OSB_LIB::NameListReader::colName_

The name of the name column.

Definition at line 238 of file namelist.h.

Referenced by OSB_LIB::Id1InfoReader< NameList >::Id1InfoReader(), and OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader().

std::string OSB_LIB::NameListReader::table_

The name of the database table.

Definition at line 228 of file namelist.h.

Referenced by OSB_LIB::Id1InfoReader< NameList >::Id1InfoReader(), and OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader().


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:11:42 2006 for OSB Library by  doxygen 1.4.7