Start » Filter Reference » System » File System » EnumerateObjects
EnumerateObjects
Module: | FoundationLite |
---|
Enumerates the avdata files present in a disk directory and sorts them according to the specified order and loads an object from a file.
Name | Type | Description | |
---|---|---|---|
inDirectory | Directory | Input directory | |
inSortingOrder | FileSortingOrder | Sorting order | |
inRepeat | Bool | Determines whether to repeat reading directory after reading all files | |
inProcessSubdirectories | Bool | Flag indicating whether to enumerate files from the subdirectories or not | |
inInvert | Bool | Flag indicating whether to enumerate files backwards or not | |
inStreamMode | StreamMode | Binary or text format of the files. | |
outFilePath | File | Output file path | |
outFileName | String | Output file name | |
outObject | <T> | ||
outIsFirst | Bool | Flag indicating the first iteration | |
outIsLast | Bool | Flag indicating the last iteration |
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Remarks
Linux
Sorting output by file creation date when running AVL on Linux is not possible due to file system restrictions. When requested to do so EnumerateFiles will throw an exception.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported stream mode in EnumerateObjects function. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- LoadObject – Loads an object from a file.