OSB_LIB::PcatMgr Class Reference

Collaboration diagram for OSB_LIB::PcatMgr:

Collaboration graph
[legend]
List of all members.

Detailed Description

Singleton class to designate a global ProductCatalogue.

The OSB library internally uses only this product catalogue. However, it does not prevent clients from defining and using their own local ProductCatalogue objects.

This class is purely static, no object of the class should be instantiated: The default and copy constructors are declared private and are not implemented.

Note: The current implementation does not enforce read-only access to the global product catalogue.

Definition at line 467 of file productcat.h.

Static Public Member Functions

Private Member Functions

Static Private Attributes


Constructor & Destructor Documentation

OSB_LIB::PcatMgr::PcatMgr (  )  [private]

Prevent construction: not implemented.

OSB_LIB::PcatMgr::PcatMgr ( const PcatMgr  )  [private]

Prevent construction: not implemented.


Member Function Documentation

static ProductCatalogue& OSB_LIB::PcatMgr::pcat (  )  [static]

Controls all access to the global ProductCatalogue instance.

Returns:
Reference to the global ProductCatalogue instance.


Member Data Documentation

ProductCatalogue* OSB_LIB::PcatMgr::pcat_ [static, private]

Pointer to the global ProductCatalogue object.

Definition at line 484 of file productcat.h.


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