Definition at line 412 of file ipaddress.h.
typedef std::auto_ptr<PersIpGroup> OSB_LIB::PersIpGroup::AutoPtr |
Short-cut for an auto pointer.
For details see quality manual, implementation patterns: Virtual copy construction.
Reimplemented from OSB_LIB::PersResource.
Definition at line 418 of file ipaddress.h.
OSB_LIB::PersIpGroup::PersIpGroup | ( | const PersIpGroup & | rhs | ) |
Copy constructor: copy create the assigned IP group.
OSB_LIB::PersIpGroup::~PersIpGroup | ( | ) |
Destructor: delete the assigned IP group.
void OSB_LIB::PersIpGroup::assign | ( | const IpGroup & | ipg | ) |
Assign an IP group resource.
bool OSB_LIB::PersIpGroup::canConfig | ( | ) | const [virtual] |
The configuration type of personalized IP group.
Implements OSB_LIB::PersProductItem.
AutoPtr OSB_LIB::PersIpGroup::clone | ( | ) | const |
Virtual copy construction.
For details see quality manual, implementation patterns.
Reimplemented from OSB_LIB::PersResource.
PersProductItem* OSB_LIB::PersIpGroup::clone_ | ( | ) | const [private, virtual] |
Internal virtual copy constructor.
For details see quality manual, implementation patterns.
Implements OSB_LIB::PersProductItem.
Resource* OSB_LIB::PersIpGroup::createResource | ( | const Resource::Oid & | resourceId | ) | [private] |
bool OSB_LIB::PersIpGroup::delSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
bool OSB_LIB::PersIpGroup::insSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Resource* OSB_LIB::PersIpGroup::oldResource | ( | ) | [private, virtual] |
Non-const access to the previous assigned resource.
Implements OSB_LIB::PersResource.
const Resource* OSB_LIB::PersIpGroup::oldResource | ( | ) | const [virtual] |
PersIpGroup& OSB_LIB::PersIpGroup::operator= | ( | const PersIpGroup & | rhs | ) |
Assignment operator: copy create the assigned IP group.
bool OSB_LIB::PersIpGroup::readSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Resource* OSB_LIB::PersIpGroup::resource | ( | ) | [private, virtual] |
Non-const access to the assigned resource.
Implements OSB_LIB::PersResource.
const Resource* OSB_LIB::PersIpGroup::resource | ( | ) | const [virtual] |
Access to the assigned resource.
Implements OSB_LIB::PersResource.
Type OSB_LIB::PersIpGroup::type | ( | ) | const [virtual] |
The type of the product item.
The function returns the type of the product item. It is needed for only one reason: Corba clients must provide a configuration window that depends on the actual type.
No appropriate design can be provided: Unless on-line clients use the real product item type through-out the whole live cycle of an object, there must be a way to determine the actual type of a product item. No matter how clever we make our design, for on-line clients there will always be one step where they need to determine a product item's type in a switch-like statement. For this step I personally perfer to work with an enumeration type (and compiler warnings) rather than relying on dynamic casts (where errors can be detected only during run-time).
Implements OSB_LIB::ProductItemBase.
bool OSB_LIB::PersIpGroup::updSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
IpGroup* OSB_LIB::PersIpGroup::pIpGroup_ [private] |
IpGroup* OSB_LIB::PersIpGroup::pOldIpGroup_ [private] |
const Type OSB_LIB::PersIpGroup::type_ [static] |