MeVisLab Toolbox Reference
mlDicomMessageCollector.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 
12 #pragma once
13 
14 #include "MLDICOMCachedIOSystem.h"
16 #include "mlMessageCollector.h"
17 
18 ML_START_NAMESPACE
19 
22 {
23 public:
26 
28  virtual void setHandle(const DICOMCachedIOFileHandle &handleToSet);
29 
31  virtual const DICOMCachedIOFileHandle &getHandle() const;
32 
37 
38 protected:
41 
46 };
47 
48 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMCachedIO_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Class to collect messages and errors related to a given frame handle.
virtual void setHandle(const DICOMCachedIOFileHandle &handleToSet)
Sets the file handle.
DICOMCachedIOFileHandle _handle
If known, this is a handle related to a messages which can be useful to make information more specifi...
DicomMessageCollector(const DICOMCachedIOFileHandle &handle=DICOMCachedIOFileHandle(""))
Construction with empty fileHandle and empty messages.
DicomMessageCollector & operator=(const DicomMessageCollector &other)=default
virtual DicomMessageCollector * createDicomMessageCollectorClone()
DicomMessageCollector(const DicomMessageCollector &other)=default
Forbid copy constructor and assignment operator for others since often derived instances are passed; ...
virtual const DICOMCachedIOFileHandle & getHandle() const
Get the current a message string.
MessageCollector * createClone() override
Create a duplicate from *this.
Class to collect messages of different types.
Header of FileHandle class which should be used in DICOM importing modules to resolve the filename fo...
Header file of class to collect messages of different types.
DICOMCachedIOFileHandleBase< char > DICOMCachedIOFileHandle
"Forward" to DICOMCachedIOFileHandle.