MeVisLab Toolbox Reference
mlDecomposeBaseList.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_DECOMPOSE_BASE_LIST_H
14#define ML_DECOMPOSE_BASE_LIST_H
15
16
20
21#include "mlBaseInit.h"
22#include "mlEngine.h"
23
24
25ML_START_NAMESPACE
26
27// fwd declaration
28class BaseList;
29
30// ------------------------------------------------------------------
31// Engine module DecomposeBaseList
32// ------------------------------------------------------------------
33
37
131
132
133ML_END_NAMESPACE
134
135
136#endif // MLDECOMPOSEBASELIST_H
137
Base object class BaseList which stores a list of BaseContainerItem entries.
Definition mlBaseList.h:185
BoolField * useNameFld
Identify by name.
IntField * outPosFld
Position in Global List of the item that is outputted.
BoolField * objectValidFld
indicates that the object found is valid (contained base object != NULL)
DecomposeBaseList()
Constructor.
BoolField * useTypeFld
Identify by type.
~DecomposeBaseList() override
Destructor.
IntField * inputSizeFld
size (noElements) of the input list.
void handleNotification(Field *field) override
handle field changes
BoolField * objectFoundFld
indicates if an object matching the selected criteria has been found.
BaseField * inputBaseListFld
Base input:
BoolField * inputValidFld
input is a valid BaseList?
void decomposeBaseList()
Compose the input objects to an output BaseList object:
IntField * noItemsFoundFld
shows how many objects matched the filter criteria (id, name, type).
BaseList * _outputRestList
Composed rest list:
BaseField * outputObjectFld
Base output 0: first item as base object.
StringField * typeFld
Object type to be found.
StringField * nameFld
Object name to be found.
Base * _outputObject
Extracted object.
BoolField * useIdFld
Identify by id.
IntField * idFld
id to be found.
BaseField * outputRestListFld
Base output 1: rest of list.
void activateAttachments() override
Engine(int numInputImages=0, int numOutputImages=0)
Constructor.
Definition mlEngine.h:35
#define ML_MODULE_CLASS_HEADER(className)
#define MLBASEEXPORT
defined Header file mlBaseInit.h
Definition mlBaseInit.h:22