MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
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#include "mlListBase.h"
32#include "mlListContainer.h"
33
34
36
37
38// ------------------------------------------------------------------
39// Base object class StringList.
40// ------------------------------------------------------------------
41
45{
46public:
51
52private:
55};
56
57
58// ------------------------------------------------------------------
59// Base object class StringListContainer
60// ------------------------------------------------------------------
61
77
78
80
81
82#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:710
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)
Similar to 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.