MeVisLabToolboxReference
ml::DecomposeBaseList Class Reference

Engine module decomposing a BaseList into one base object and a so-called rest list. More...

#include <mlDecomposeBaseList.h>

Inheritance diagram for ml::DecomposeBaseList:
ml::Engine ml::Module ml::FieldContainer ml::Base

List of all members.

Public Member Functions

 DecomposeBaseList ()
 Constructor.
 ~DecomposeBaseList ()
 Destructor.
void decomposeBaseList ()
 Compose the input objects to an output BaseList object:

Public Attributes

BoolFielduseIdFld
 Identify by id.
IntFieldidFld
 id to be found.
BoolFielduseNameFld
 Identify by name.
BoolFielduseTypeFld
 Identify by type.
StringFieldnameFld
 Object name to be found.
StringFieldtypeFld
 Object type to be found.
IntFieldposFld
 Position in list filtered by id (when useId is checked) and name (when useName is checked).
IntFieldoutPosFld
 Position in Global List of the item that is outputted.
BaseFieldoutputObjectFld
 Base output 0: first item as base object.
BaseFieldoutputRestListFld
 Base output 1: rest of list.
BaseFieldinputBaseListFld
 Base input:
IntFieldinputSizeFld
 size (noElements) of the input list.
BoolFieldinputValidFld
 input is a valid BaseList?
BoolFieldobjectFoundFld
 indicates if an object matching the selected criteria has been found.
BoolFieldobjectValidFld
 indicates that the object found is valid (contained base object != NULL)
IntFieldnoItemsFoundFld
 shows how many objects matched the filter criteria (id, name, type).

Protected Member Functions

virtual void activateAttachments ()
 calls handleNotification once after the module is loaded on the network and all field values are assigned.
virtual void handleNotification (Field *field)
 handle field changes

Protected Attributes

Base_outputObject
 Extracted object.
BaseList_outputRestList
 Composed rest list:

Detailed Description

Engine module decomposing a BaseList into one base object and a so-called rest list.

The object can be identified by its name, its id and its position in the list.

output0 will contain the extracted object while output1 holds the rest list.

Definition at line 50 of file mlDecomposeBaseList.h.


Constructor & Destructor Documentation

ml::DecomposeBaseList::DecomposeBaseList ( )

Constructor.

ml::DecomposeBaseList::~DecomposeBaseList ( )

Destructor.


Member Function Documentation

virtual void ml::DecomposeBaseList::activateAttachments ( ) [protected, virtual]

calls handleNotification once after the module is loaded on the network and all field values are assigned.

Reimplemented from ml::FieldContainer.

void ml::DecomposeBaseList::decomposeBaseList ( )

Compose the input objects to an output BaseList object:

virtual void ml::DecomposeBaseList::handleNotification ( Field field) [protected, virtual]

handle field changes

Reimplemented from ml::Module.


Member Data Documentation

Extracted object.

Definition at line 123 of file mlDecomposeBaseList.h.

Composed rest list:

Definition at line 126 of file mlDecomposeBaseList.h.

id to be found.

Definition at line 64 of file mlDecomposeBaseList.h.

size (noElements) of the input list.

Definition at line 96 of file mlDecomposeBaseList.h.

input is a valid BaseList?

Definition at line 99 of file mlDecomposeBaseList.h.

Object name to be found.

Definition at line 73 of file mlDecomposeBaseList.h.

shows how many objects matched the filter criteria (id, name, type).

Definition at line 108 of file mlDecomposeBaseList.h.

indicates if an object matching the selected criteria has been found.

Definition at line 102 of file mlDecomposeBaseList.h.

indicates that the object found is valid (contained base object != NULL)

Definition at line 105 of file mlDecomposeBaseList.h.

Position in Global List of the item that is outputted.

Definition at line 84 of file mlDecomposeBaseList.h.

Base output 0: first item as base object.

Definition at line 87 of file mlDecomposeBaseList.h.

Base output 1: rest of list.

Definition at line 90 of file mlDecomposeBaseList.h.

Position in list filtered by id (when useId is checked) and name (when useName is checked).

If neither one is checked, the overall list will be used. When the first occurence is requested, the value of choice is "1", whilst "-1" will be interpreted as a request to extract the last item.

Definition at line 81 of file mlDecomposeBaseList.h.

Object type to be found.

Definition at line 76 of file mlDecomposeBaseList.h.

Identify by id.

Definition at line 61 of file mlDecomposeBaseList.h.

Identify by name.

Definition at line 67 of file mlDecomposeBaseList.h.

Identify by type.

Definition at line 70 of file mlDecomposeBaseList.h.


The documentation for this class was generated from the following file: