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.
Definition at line 79 of file resourceitem.h.
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.
OSB_LIB::ResourceItem::ResourceItem | ( | const Oid & | oid, | |
const std::string & | name = "" , |
|||
const std::string & | des = "" | |||
) |
Constructor with object id, name and description.
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.
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.