MeVisLab Toolbox Reference
mlImageFormatInfo.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_IMAGE_FORMAT_INFO_H
14 #define ML_IMAGE_FORMAT_INFO_H
15 
16 
20 
21 #include "MLImageFormatSystem.h"
22 
23 // ML includes
24 #include "mlModuleIncludes.h"
25 
26 #include "mlImageFormatIOBase.h"
27 
28 
29 ML_START_NAMESPACE
30 
31 // ----------------------------------------------------------
33 // ----------------------------------------------------------
35 {
36 public:
37 
40 
41 protected:
42 
44  void activateAttachments() override;
45 
47  void handleNotification (Field *field) override;
48 
50  virtual void _update();
51 
53  virtual void _resetInfos();
54 
55 private:
56 
58  NotifyField *_updateFld;
59 
61  NotifyField *_resetInfosFld;
62 
65 
66 };
67 
68 
69 ML_END_NAMESPACE
70 
71 #endif // __mlImageFormatInfo_H
72 
73 
#define MLIMAGEFORMAT_EXPORT
Global and OS specific declarations for the MLImageFormat project.
Base class for all fields used in the ML.
Definition: mlField.h:73
IO base class to manage/save/load/modify .mlimage files and to derive specific save,...
Information retrieval module for the .mlimage MLImageFormat files.
virtual void _update()
Opens file and reads information and updates fields.
MLImageFormatInfo()
Constructor.
virtual void _resetInfos()
Reset all tags and compression fields to default state.
void handleNotification(Field *field) override
Handle field changes of the field field.
void activateAttachments() override
Update internal module state after load or clone.
Field without value for notifications.
Definition: mlFields.h:1049
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.