The class maintains the list of status reasons.
Definition at line 312 of file status.h.
typedef Cont::const_iterator OSB_LIB::StatusReasons::ConstIterator |
typedef std::list<StatusReason> OSB_LIB::StatusReasons::Cont |
typedef Cont::iterator OSB_LIB::StatusReasons::Iterator |
typedef Cont::size_type OSB_LIB::StatusReasons::SizeType |
void OSB_LIB::StatusReasons::add | ( | const StatusReason & | reason | ) | [inline] |
ConstIterator OSB_LIB::StatusReasons::begin | ( | ) | const [inline] |
Iterator OSB_LIB::StatusReasons::begin | ( | ) | [inline] |
ConstIterator OSB_LIB::StatusReasons::end | ( | ) | const [inline] |
Iterator OSB_LIB::StatusReasons::end | ( | ) | [inline] |
const StatusReason* OSB_LIB::StatusReasons::find | ( | const StatusReason::Oid & | oid | ) |
Find a status reason by its id.
oid | Id of status reason to find. |
bool OSB_LIB::StatusReasons::get | ( | StatusReason & | dest, | |
const StatusReason::Oid & | oid | |||
) |
Find a status reason by id and copy.
dest | StatusReason to populate. The the status reason is not found in the list, the buffer is not modified. | |
oid | Id of status reason to find. |
const StatusReason& OSB_LIB::StatusReasons::get | ( | const StatusReason::Oid & | oid | ) |
Get a status reason by its id.
oid | Id of status reason to get. |
OsbException | 450 if not found. |
long OSB_LIB::StatusReasons::read | ( | const OSB_DB::Session & | session | ) |
Read all status reasons from the database.
session | Database session to use. |
const Cont& OSB_LIB::StatusReasons::reasons | ( | ) | const [inline] |
SizeType OSB_LIB::StatusReasons::size | ( | ) | const [inline] |
Cont OSB_LIB::StatusReasons::reasons_ [private] |