NameList | Type of namelist to populate. |
Definition at line 326 of file namelist.h.
OSB_LIB::Id2InfoReader< NameList >::Id2InfoReader | ( | const std::string & | table, | |
const std::string & | colId1, | |||
const std::string & | colId2, | |||
const std::string & | colName = "NAME" , |
|||
const std::string & | colDes = "DES" | |||
) |
Constructor with table name, name of both id columns and optional names for name and des columns.
Definition at line 527 of file namelist.h.
References OSB_LIB::NameListReader::colDes_, OSB_LIB::NameListReader::colId1_, OSB_LIB::NameListReader::colId2_, OSB_LIB::NameListReader::colName_, and OSB_LIB::NameListReader::table_.
void OSB_LIB::Id2InfoReader< NameList >::addRow | ( | const Row & | row | ) |
Add a row to the namelist.
row | Data to add. |
Definition at line 554 of file namelist.h.
References OSB_LIB::Id2InfoReader< NameList >::namelist_.
void OSB_LIB::Id2InfoReader< NameList >::read | ( | const OSB_DB::Session & | session, | |
NameList & | dest | |||
) |
Read the objects from the database.
session | Database session to use. | |
dest | Namelist to populate. |
Definition at line 543 of file namelist.h.
References OSB_LIB::Id2InfoReader< NameList >::namelist_, and OSB_LIB::NameListReader::read().
NameList* OSB_LIB::Id2InfoReader< NameList >::namelist_ [private] |
Namelist to populate.
Definition at line 360 of file namelist.h.
Referenced by OSB_LIB::Id2InfoReader< NameList >::addRow(), and OSB_LIB::Id2InfoReader< NameList >::read().