MeVisLab Toolbox Reference
mlDicomModifyModuleFieldAddOnFactory.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
4 //
5 // NOTE:
6 // This file has been generated automatically by
7 // FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8 // using the template file
9 // FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDicomModifyFieldAddOns/templates/DicomModifyModuleFieldAddOnFactory.h
10 //
11 // Destination project:
12 // FMEwork/ReleaseMeVis/Sources/Shared/MLDicomModifyFieldAddOns
13 //
14 //----------------------------------------------------------------------------------
16 
21 //----------------------------------------------------------------------------------
22 #ifndef __mlDicomModifyModuleFieldAddOnFactory_H
23 #define __mlDicomModifyModuleFieldAddOnFactory_H
24 
27 
28 #include <mlFieldContainer.h>
29 #include <boost/shared_ptr.hpp>
30 
31 ML_START_NAMESPACE
32 
34 {
35 public:
42  ModuleFieldAddOnPtr createFieldAddOn(const std::string &moduleName,
43  FieldContainer &fieldContainer);
44 
45 private:
48  DicomModifyModuleFieldAddOnFactory &operator=(const DicomModifyModuleFieldAddOnFactory&) { return *this; };
49 
50  static boost::shared_ptr<DicomModifyModuleFieldAddOnFactory> _instance;
51 };
52 
53 typedef boost::shared_ptr<DicomModifyModuleFieldAddOnFactory> ModuleFieldAddOnFactoryPtr;
54 
55 ML_END_NAMESPACE
56 
57 #endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
static DicomModifyModuleFieldAddOnFactory & getInstance()
ModuleFieldAddOnPtr createFieldAddOn(const std::string &moduleName, FieldContainer &fieldContainer)
Creates ModuleFieldAddOn given module's name.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Extended DicomModifyFieldAddOnBase class providing additionally: -Method to set input dicom tree fiel...
boost::shared_ptr< DicomModifyModuleFieldAddOnBase > ModuleFieldAddOnPtr
boost::shared_ptr< DicomModifyModuleFieldAddOnFactory > ModuleFieldAddOnFactoryPtr