| genre | Fields |
| status | stable |
| author | Jan-Martin Kuhnigk |
| package | MeVisLab/Standard |
| dll | MLBase |
| definition | MLBase.def |
| see also | ComposeBaseList, ExtractObjectFromList, SaveBase, LoadBase |
| keywords | Base, BaseList, object, list, decompose, split, subtract, divide |
The module DecomposeBaseList is the counterpart to ComposeBaseList. It allows to extract objects previously composed to (using ComposeBaseList) from ml::BaseList structures identifying them via name, type or id.
A similar module is ExtractObjectFromList, but it can only extract objects from "ordinary" lists that can only hold objects of a single type.
Connect a ml::BaseList object to the input and specify search parameters for the object you want to extract. Verify that the output is valid and connect the left output to the operator where the object is needed.
The module has one base input that must be connected to a BaseList object. If the input object has incorrect type, the field Input List Valid will be shown as being disabled and the operator will not work.
The module has two base outputs. The outObject holds the extracted object or a null pointer if the search was unsuccessful. The outList always contains a BaseList object holding the rest of the elements from the input list.
Note that this is not the filtered list but simply the input list without the extracted object.
| Filter by ID: Bool | Look for (nameToFind): String |
| Filter by Name: Bool | Look for (typeToFind): String |
| Filter by Type: Bool | Number of Elements in Input List: Integer |
| Global List Index: Integer | objectFound: Bool |
| Index in Filtered List (starting with 1, negative for reversed order): Integer | Output Valid: Bool |
| Input List Valid: Bool | |
| Items Found: Integer | |
| Look for (idToFind): Integer |
If Filter by ID is checked, the object with the given id is filtered.
If Filter by Name is checked, the objects with the given name (substring, case-sensitive) is filtered.
If Filter by Type is checked, the objects with the given type (substring, case-sensitive) is filtered.
Sets a positive integer k to obtain the element at position k in the filtered list (starting with 1!). Enter a negative integer -k to obtain the element at position (sizeOfFilteredList - k + 1).
For example, to always obtain the last element of the filtered list, you have to specify -1 here.
Shows the position of the output object with reference to the input list.
Shows the number of elements in the input list.
Shows whether the input list is valid.