OSB_LIB::ResourceItem Class Reference

Inheritance diagram for OSB_LIB::ResourceItem:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Resource as product item.

As a product item a resource is a mere generator of personalized resources, i.e., objects of classes derived from PersResource.

Database operations:
No common database operations for ResourceItem exist. By this it is up to the derived concrete classes to implement the pure virtual I/O operations required by ProductItem, e.g., readSpecific.

Remarks:
Copy constructor and assignment by compiler.

Definition at line 79 of file resourceitem.h.

Public Types

Public Member Functions

Protected Member Functions

Private Member Functions


Member Typedef Documentation

typedef std::auto_ptr<ResourceItem> OSB_LIB::ResourceItem::AutoPtr

Short-cut for an auto pointer.

For details see quality manual, implementation patterns: Virtual copy construction.

Reimplemented from OSB_LIB::ProductItem.

Reimplemented in OSB_LIB::AnItem, OSB_LIB::CallingCardItem, OSB_LIB::E164Item, OSB_LIB::IpGroupItem, and OSB_LIB::TrunkItem.

Definition at line 82 of file resourceitem.h.


Constructor & Destructor Documentation

OSB_LIB::ResourceItem::ResourceItem ( const Oid oid,
const std::string &  name = "",
const std::string &  des = "" 
)

Constructor with object id, name and description.

Parameters:
oid Product item object id.
name Name of the resource item.
des Description of the resource item.

OSB_LIB::ResourceItem::ResourceItem ( const ResourceItem rhs  )  [protected]

Copying for base classes only.


Member Function Documentation

AutoPtr OSB_LIB::ResourceItem::clone (  )  const

Virtual copy construction.

For details see quality manual, implementation patterns.

Reimplemented from OSB_LIB::ProductItem.

Reimplemented in OSB_LIB::AnItem, OSB_LIB::CallingCardItem, OSB_LIB::E164Item, OSB_LIB::IpGroupItem, and OSB_LIB::TrunkItem.

virtual ProductItem* OSB_LIB::ResourceItem::clone_ (  )  const [private, pure virtual]

Virtual copy construction.

For details see quality manual, implementation patterns.

Implements OSB_LIB::ProductItem.

Implemented in OSB_LIB::AnItem, OSB_LIB::CallingCardItem, OSB_LIB::E164Item, OSB_LIB::IpGroupItem, and OSB_LIB::TrunkItem.

ResourceItem& OSB_LIB::ResourceItem::operator= ( const ResourceItem rhs  )  [protected]

Assignment for base classes only.


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