Definition at line 261 of file address.h.
typedef List::const_iterator OSB_LIB::AddressTypeList::ConstIterator |
typedef List::iterator OSB_LIB::AddressTypeList::Iterator |
typedef List::key_type OSB_LIB::AddressTypeList::KeyType |
typedef std::map<AddressType, AddressTypeInfo> OSB_LIB::AddressTypeList::List |
typedef List::size_type OSB_LIB::AddressTypeList::SizeType |
ConstIterator OSB_LIB::AddressTypeList::begin | ( | ) | const [inline] |
Iterator OSB_LIB::AddressTypeList::begin | ( | ) | [inline] |
ConstIterator OSB_LIB::AddressTypeList::end | ( | ) | const [inline] |
Iterator OSB_LIB::AddressTypeList::end | ( | ) | [inline] |
ConstIterator OSB_LIB::AddressTypeList::find | ( | const KeyType & | k | ) | const [inline] |
const AddressTypeInfo* OSB_LIB::AddressTypeList::findAddressType | ( | AddressType | typeId | ) | const |
Find AddressType by type id.
typeId | Identifies the type of address. |
const AddressTypeInfo& OSB_LIB::AddressTypeList::getAddressType | ( | AddressType | typeId | ) | const |
Get AddressType by type id. Similar to the find AddressType function, except that it throws if the type is not found.
typeId | Identifies the type of address. |
OsbException |
|
const List& OSB_LIB::AddressTypeList::list | ( | ) | const [inline] |
long OSB_LIB::AddressTypeList::read | ( | const OSB_DB::Session & | session | ) |
Read list from database.
The function calls OSB_DB::AddressGw::fetch to populate its type list with the entries in the database.
session | Database session to use. |
OsbException |
|
SizeType OSB_LIB::AddressTypeList::size | ( | ) | const [inline] |
List OSB_LIB::AddressTypeList::list_ [private] |