OSB_LIB::CaStreamResult Class Reference

Inheritance diagram for OSB_LIB::CaStreamResult:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::CaStreamResult:

Collaboration graph
[legend]
List of all members.

Detailed Description

Structure to get the call accounting result for one record stream.

Definition at line 255 of file callaccounting.h.

Public Types

Public Member Functions

Private Attributes

Friends


Member Typedef Documentation

typedef std::map<ModuleId, CaCounts> OSB_LIB::CaStreamResult::ModuleCounts

Map module -> call accounting result.

Definition at line 261 of file callaccounting.h.


Constructor & Destructor Documentation

OSB_LIB::CaStreamResult::CaStreamResult ( const RsId rsId = RsId()  )  [explicit]

Default constructor with optional record stream id.

Parameters:
rsId Id of the record stream to query, it should be an incoming record stream (else no rows will be selected).
Sets numRecords_ to 0.


Member Function Documentation

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.

Parameters:
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]

The record stream of the result.

Definition at line 277 of file callaccounting.h.

References rsId_.


Friends And Related Function Documentation

friend class OSB_DB::CallAccountingGw [friend]

Allow the gateway to set the data members.

Definition at line 257 of file callaccounting.h.


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:13:48 2006 for OSB Library by  doxygen 1.4.7