Definition at line 255 of file callaccounting.h.
typedef std::map<ModuleId, CaCounts> OSB_LIB::CaStreamResult::ModuleCounts |
Default constructor with optional record stream id.
rsId | Id of the record stream to query, it should be an incoming record stream (else no rows will be selected). |
long OSB_LIB::CaStreamResult::numRecords | ( | ) | const [inline] |
The orignal number of records in the stream.
Definition at line 283 of file callaccounting.h.
References numRecords_.
void OSB_LIB::CaStreamResult::read | ( | const OSB_DB::Session & | session | ) |
Read call accounting of one record stream from database.
session | Database session to use. |
const ModuleCounts OSB_LIB::CaStreamResult::resNotZero | ( | ) | const |
Get the result without counters that are 0.
const ModuleCounts& OSB_LIB::CaStreamResult::result | ( | ) | const [inline] |
The whole call accounting for rsId().
Definition at line 289 of file callaccounting.h.
References result_.
const RsId OSB_LIB::CaStreamResult::rsId | ( | ) | const [inline] |
friend class OSB_DB::CallAccountingGw [friend] |
long OSB_LIB::CaStreamResult::numRecords_ [private] |
The orignal number of records in the stream.
Definition at line 312 of file callaccounting.h.
Referenced by numRecords().
ModuleCounts OSB_LIB::CaStreamResult::result_ [private] |
The whole call accounting for rsId_.
Definition at line 314 of file callaccounting.h.
Referenced by result().
RsId OSB_LIB::CaStreamResult::rsId_ [private] |
The record stream of the result.
Definition at line 310 of file callaccounting.h.
Referenced by rsId().