MeVisLab Toolbox Reference
mlStringList.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_STRING_LIST_H
14 #define ML_STRING_LIST_H
15 
16 
18 
19 // Defines the classes:
20 // - StringList: A list class for items of type BaseItem. Each item has an id and
21 // a name, which can be an arbitrary string.
22 // - StringListContainer: A container class for a StringList object.
23 // All the functionality is already present in the classes BaseItem, BaseListTemplate
24 // and ListContainerTemplate, so only runtime typing has to be defined.
25 
26 // ML-includes
27 #include "mlBaseInit.h"
28 #include "mlModuleIncludes.h"
29 
30 
31 
32 #include "mlListBase.h"
33 #include "mlListContainer.h"
34 
35 
36 
37 ML_START_NAMESPACE
38 
39 
40 
41 // ------------------------------------------------------------------
42 // Base object class StringList.
43 // ------------------------------------------------------------------
44 
47 class MLBASEEXPORT StringList : public BaseListTemplate<BaseItem>
48 {
49 public:
50 
53 
54 private:
55 
58 
59 };
60 
61 
62 
63 // ------------------------------------------------------------------
64 // Base object class StringListContainer
65 // ------------------------------------------------------------------
66 
70 {
71 public:
72 
75 
76 
77 private:
78 
81 
82 };
83 
84 
85 ML_END_NAMESPACE
86 
87 
88 #endif // __mlStringList_H
General Base object class for list items that have an id and a name.
Definition: mlBaseItem.h:38
Base object template list class for list item classes derived from BaseItem.
Definition: mlListBase.h:722
Template module class ListContainerTemplate for a specific list class.
Base object class StringListContainer managing a list of items of type StringList.
Definition: mlStringList.h:70
StringListContainer()
Constructor.
Definition: mlStringList.h:74
Base object class managing a list for items of type BaseItem usable for string storage.
Definition: mlStringList.h:48
StringList()
Constructor, enables persistence.
Definition: mlStringList.h:52
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
#define MLBASEEXPORT
defined Header file mlBaseInit.h
Definition: mlBaseInit.h:22