DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
FGFactory Class Reference

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

FGBasecreate (const DcmFGTypes::E_FGType fgtype)
 Create new functional group based on given type. More...
 
FGBasecreate (const DcmTagKey &fgSequenceKey)
 Create new functional group based its unique sequence tag key. More...
 

Static Public Member Functions

static FGFactoryinstance ()
 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)
 
FGFactoryoperator= (const FGFactory &)
 Private undefined assignment operator (singleton implementation)
 
 ~FGFactory ()
 Private undefined destructor (singleton implementation)
 

Static Private Attributes

static FGFactorym_Instance
 The instance of FGFactory handled by this singleton class.
 

Detailed Description

Singleton class that is used to create functional groups by knowing their type or other unique features, i.e. offering factory functionality.

Member Function Documentation

FGBase* FGFactory::create ( const DcmFGTypes::E_FGType  fgtype)

Create new functional group based on given type.

Parameters
fgtypeThe type of functional group to create
Returns
The functional group or NULL if error occurs
FGBase* FGFactory::create ( const DcmTagKey fgSequenceKey)

Create new functional group based its unique sequence tag key.

Parameters
fgSequenceKeyTag key of the functional groups sequence
Returns
The functional group or NULL if error occurs
static FGFactory& FGFactory::instance ( )
static

Return the single instance of the factory.

Returns
The instance of FGFactory

The documentation for this class was generated from the following file:


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8