
Definition at line 126 of file osbunit.h.
| typedef Cont::const_iterator OSB_LIB::UnitList::ConstIterator |
| typedef std::map<Unit::Oid, Unit> OSB_LIB::UnitList::Cont |
| ConstIterator OSB_LIB::UnitList::begin | ( | ) | const |
Get const iterator to begin of list.
| ConstIterator OSB_LIB::UnitList::end | ( | ) | const |
Get const iterator to end of list.
| Unit::Oid OSB_LIB::UnitList::getUnit | ( | const std::string & | name | ) | const |
Find the object id of a unit by its name.
| name | Name to search for. |
Find the name of a unit by its object id.
| oid | Object id of the unit to search. |
| ObjectNotFound |
| size_t OSB_LIB::UnitList::read | ( | const OSB_DB::Session & | session | ) |
Read all units from the database.
| session | Database session to use. |
| size_t OSB_LIB::UnitList::size | ( | ) | const |
Get number of units.
friend class OSB_DB::UnitGw [friend] |
Cont OSB_LIB::UnitList::cont_ [private] |
1.4.7