OSB_LIB::PiType Struct Reference

Inheritance diagram for OSB_LIB::PiType:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Conversion between ProductItemBase::Type and enumerated values.

This structure defines the different types of product items supported by OSB.

See also:
OSB_LIB::ProductItemBase.

Definition at line 59 of file productitemtype.h.

Public Types

Public Member Functions

Related Functions

(Note that these are not member functions.)

Member Enumeration Documentation

enum OSB_LIB::PiType::Type

Supported types of product items.

The values must correspond with the database table PRODUCT_ITEM_TYPE.

The class ProductItemTypeList provides the name and description for each type as configured in the database.

For each concrete product item class a TypeId must be defined and ProductItemFactory::create needs to support the new value accordingly.

Enumerator:
piDescItem  DescriptionItem.
piCallingCard  CallingCard item.
piService  Service item.
piCredit  Credit item.
piTariffSystem  Tariff system item.
piTrunkItem  Trunk item.
piAnItem  Access number item.
piE164Item  E164 item.
piIp4Item  IP4 address item: reserved, not in use.
piIpGroup  IP Group item.
piImsiItem  IMSI item.
piPricelist  Price list item.
piDevice  Device item.
piUimCard  UIM card item.
piMaxType  Max. known type.

Definition at line 73 of file productitemtype.h.


Constructor & Destructor Documentation

OSB_LIB::PiType::PiType ( const ProductItemBase::Type type = ProductItemBase::Type()  ) 

Implicit construction with optional product item type.

OSB_LIB::PiType::PiType ( Type  type  ) 

Implicit construction from Type.


Member Function Documentation

OSB_LIB::PiType::operator Type (  )  const

Conversion to Type.

bool OSB_LIB::PiType::operator== ( const ProductItemBase::Type rhs  )  const

Compare against product item type.


Friends And Related Function Documentation

bool operator== ( const ProductItemBase::Type lhs,
const PiType rhs 
) [related]

Compare a ProductItemBase::Type against PiType.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:12:51 2006 for OSB Library by  doxygen 1.4.7