#include <mlDecomposeBaseList.h>

Public Member Functions | |
| DecomposeBaseList () | |
| Constructor. | |
| ~DecomposeBaseList () | |
| Destructor. | |
| void | decomposeBaseList () |
| Compose the input objects to an output BaseList object:. | |
Public Attributes | |
| BoolField * | useIdFld |
| Identify by id. | |
| IntField * | idFld |
| id to be found. | |
| BoolField * | useNameFld |
| Identify by name. | |
| BoolField * | useTypeFld |
| Identify by type. | |
| StringField * | nameFld |
| Object name to be found. | |
| StringField * | typeFld |
| Object type to be found. | |
| IntField * | posFld |
| Position in list filtered by id (when useId is checked) and name (when useName is checked). | |
| IntField * | outPosFld |
| Position in Global List of the item that is outputted. | |
| BaseField * | outputObjectFld |
| Base output 0: first item as base object. | |
| BaseField * | outputRestListFld |
| Base output 1: rest of list. | |
| BaseField * | inputBaseListFld |
| Base input:. | |
| IntField * | inputSizeFld |
| size (noElements) of the input list. | |
| BoolField * | inputValidFld |
| input is a valid BaseList? | |
| BoolField * | objectFoundFld |
| indicates if an object matching the selected criteria has been found. | |
| BoolField * | objectValidFld |
| indicates that the object found is valid (baseObjectP != NULL) | |
| IntField * | noItemsFoundFld |
| 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:. | |
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.
| ml::DecomposeBaseList::DecomposeBaseList | ( | ) |
Constructor.
| ml::DecomposeBaseList::~DecomposeBaseList | ( | ) |
Destructor.
| 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] |
Base* ml::DecomposeBaseList::_outputObject [protected] |
BaseList* ml::DecomposeBaseList::_outputRestList [protected] |
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 (baseObjectP != 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.
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.
1.5.8