DCMTK  Version 3.6.6
OFFIS DICOM Toolkit
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 &rhs)
 Private undefined assignment operator (singleton implementation) More...
 
 ~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

◆ create() [1/2]

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

◆ create() [2/2]

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

◆ instance()

static FGFactory& FGFactory::instance ( )
static

Return the single instance of the factory.

Returns
The instance of FGFactory

◆ operator=()

FGFactory& FGFactory::operator= ( const FGFactory rhs)
private

Private undefined assignment operator (singleton implementation)

Parameters
rhsRight hand side of assignment
Returns
Reference to this class

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


Generated on Thu Jan 14 2021 for DCMTK Version 3.6.6 by Doxygen 1.8.18