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
38
39
40
41// ------------------------------------------------------------------
42// Base object class StringList.
43// ------------------------------------------------------------------
44
48{
49public:
50
53
54private:
55
58
59};
60
61
62
63// ------------------------------------------------------------------
64// Base object class StringListContainer
65// ------------------------------------------------------------------
66
70{
71public:
72
75
76
77private:
78
81
82};
83
84
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:654
Template module class ListContainerTemplate for a specific list class.
Base object class StringListContainer managing a list of items of type StringList.
StringListContainer()
Constructor.
Base object class managing a list for items of type BaseItem usable for string storage.
StringList()
Constructor, enables persistence.
#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
Target mlrange_cast(Source arg)
Generic version of checked ML casts.