OSB_LIB::RatingFnFactory Class Reference

List of all members.

Detailed Description

Factory for rating function.

The class creates a rating function based on RatingFn::Type.

It is purely static: the default and copy constructors are not implemented.

Definition at line 1156 of file ratingfn.h.

Static Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_LIB::RatingFnFactory::RatingFnFactory (  )  [private]

Prevent construction: not implemented.

OSB_LIB::RatingFnFactory::RatingFnFactory ( const RatingFnFactory rhs  )  [private]

Prevent construction: not implemented.


Member Function Documentation

static RatingFn::AutoPtr OSB_LIB::RatingFnFactory::create ( const RatingFn::Type rfType,
const RatingFn::Oid oid = RatingFn::Oid() 
) [static]

Create a rating function.

Parameters:
rfType Identifies the type of rating function to create.
oid Object id of the new rating function.
Returns:
An auto pointer that owns a rating function of the requested type. If the rating function type is not supported, the pointer is 0.
Remarks:
The caller of the function should check the content of the returned auto pointer and take appropriate action (e.g. throw an exception) if it is 0.


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