DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
Singleton class that is used to create functional groups by knowing their type or other unique features, i.e. offering factory functionality. More...
Public Member Functions | |
FGBase * | create (const DcmFGTypes::E_FGType fgtype) |
Create new functional group based on given type. More... | |
FGBase * | create (const DcmTagKey &fgSequenceKey) |
Create new functional group based its unique sequence tag key. More... | |
Static Public Member Functions | |
static FGFactory & | instance () |
Return the single instance of the factory. More... | |
Private Member Functions | |
FGFactory () | |
Private undefined constructor (singleton implementation) | |
FGFactory (const FGFactory &) | |
Private undefined copy constructor (singleton implementation) | |
FGFactory & | operator= (const FGFactory &) |
Private undefined assignment operator (singleton implementation) | |
~FGFactory () | |
Private undefined destructor (singleton implementation) | |
Static Private Attributes | |
static FGFactory * | m_Instance |
The instance of FGFactory handled by this singleton class. | |
Singleton class that is used to create functional groups by knowing their type or other unique features, i.e. offering factory functionality.
FGBase* FGFactory::create | ( | const DcmFGTypes::E_FGType | fgtype | ) |
Create new functional group based on given type.
fgtype | The type of functional group to create |
Create new functional group based its unique sequence tag key.
fgSequenceKey | Tag key of the functional groups sequence |
|
static |
Return the single instance of the factory.