Definition at line 616 of file productitem.h.
typedef List::const_iterator OSB_LIB::ProductItemTypes::ConstIterator |
typedef List::iterator OSB_LIB::ProductItemTypes::Iterator |
typedef std::vector<Info> OSB_LIB::ProductItemTypes::List |
typedef List::size_type OSB_LIB::ProductItemTypes::SizeType |
ConstIterator OSB_LIB::ProductItemTypes::begin | ( | ) | const |
Const iterator to the beginning of the list.
Iterator OSB_LIB::ProductItemTypes::begin | ( | ) |
Iterator to the beginning of the list.
ConstIterator OSB_LIB::ProductItemTypes::end | ( | ) | const |
Const iterator to the end of the list.
Iterator OSB_LIB::ProductItemTypes::end | ( | ) |
Iterator to the end of the list.
const Info* OSB_LIB::ProductItemTypes::find | ( | TypeId< ProductItemBase > | type | ) | const |
Find Info by type.
type | Identifies the type of product item. |
const Info& OSB_LIB::ProductItemTypes::get | ( | TypeId< ProductItemBase > | type | ) | const |
Type ProductItemType by type id.
type | Identifies the type of product item. |
OsbException | in case of an unsupported type. |
const List& OSB_LIB::ProductItemTypes::list | ( | ) | const |
Read access to the whole list.
long OSB_LIB::ProductItemTypes::read | ( | const OSB_DB::Session & | session | ) |
Read list from database.
The function calls OSB_DB::ProductGw::fetch to populate its type list with the entries in the database.
session | Database session to use. |
OsbException | as defined in the gateway class. |
SizeType OSB_LIB::ProductItemTypes::size | ( | ) | const |
The size of the list.
void OSB_LIB::ProductItemTypes::swap | ( | List & | other | ) |
Swap the list.
List OSB_LIB::ProductItemTypes::list_ [private] |