The class create an associate of appropriate type based on the (hardcoded) type identifier of the associate class.
The class is purely static, no object of the class should be instantiated: The default and copy constructors are declared private and not implemented.
Definition at line 848 of file associate.h.
OSB_LIB::AssociateFactory::AssociateFactory | ( | ) | [private] |
Prevent construction: not implemented.
OSB_LIB::AssociateFactory::AssociateFactory | ( | const AssociateFactory & | rhs | ) | [private] |
Prevent construction: not implemented.
static Associate::AutoPtr OSB_LIB::AssociateFactory::create | ( | Associate::Type | type, | |
const Associate::Oid & | oid | |||
) | [static] |
Create an associate.
type | Identifies the type of associate to create. | |
oid | Object id of the new associate. |