OSB_LIB::CallingCard Class Reference

Inheritance diagram for OSB_LIB::CallingCard:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Calling card as a resource.

Definition at line 64 of file callingcard.h.

Public Types

Public Member Functions

Read access to data members

Protected Attributes

Private Member Functions

Static Private Attributes

Friends


Member Typedef Documentation

typedef std::string OSB_LIB::CallingCard::SerialNumber

Datatype to store the unique serial number.

This is not the resource number, that is used by rating to identify the calling card.

Definition at line 77 of file callingcard.h.


Constructor & Destructor Documentation

OSB_LIB::CallingCard::CallingCard ( const Oid oid = Oid()  ) 

Default constructor with optional object id.

OSB_LIB::CallingCard::CallingCard ( const Number rn,
const Id< Network > &  nw = IdNetwork >() 
) [explicit]

Constructor with resource number and optional network.

Parameters:
rn Resource number.
nw Id of the network.

OSB_LIB::CallingCard::CallingCard ( const Number rn,
const Id2< NetworkElement > &  ne 
)

Constructor with resource number and network element.

Parameters:
rn Resource number.
ne Id of the network element.


Member Function Documentation

bool OSB_LIB::CallingCard::insert ( const OSB_DB::Session session  )  [private, virtual]

ToDo.

Implements OSB_LIB::Resource.

bool OSB_LIB::CallingCard::read ( const OSB_DB::Session session  )  [private, virtual]

ToDo.

Implements OSB_LIB::Resource.

bool OSB_LIB::CallingCard::remove ( const OSB_DB::Session session  )  [private, virtual]

ToDo.

Implements OSB_LIB::Resource.

const std::string& OSB_LIB::CallingCard::serialNumber (  )  const

Access serial number of calling card.

Type OSB_LIB::CallingCard::typeId (  )  const [virtual]

The type of the concrete resource.

Returns:
One of the values defined for Type, never rtUnknown.

Implements OSB_LIB::Resource.

void OSB_LIB::CallingCard::updData ( const OSB_DB::Session session  )  [private, virtual]

ToDo.

Implements OSB_LIB::Resource.


Friends And Related Function Documentation

friend class OSB_DB::CallingCardGw [friend]

Let the gateway set the serial number.

Definition at line 66 of file callingcard.h.


Member Data Documentation

SerialNumber OSB_LIB::CallingCard::serialNumber_ [protected]

Serial number of the calling card.

Definition at line 137 of file callingcard.h.

const Type OSB_LIB::CallingCard::typeId_ = rtCallingCard [static, private]

The resource type for calling cards.

Definition at line 69 of file callingcard.h.


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