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
Input value
inDirectory Directory Input directory
Input value
inSortingOrder FileSortingOrder Sorting order
Input value
inRepeat Bool Determines whether to repeat reading directory after reading all files
Input value
inProcessSubdirectories Bool Flag indicating whether to enumerate files from the subdirectories or not
Input value
inInvert Bool Flag indicating whether to enumerate files backwards or not
Input value
inStreamMode StreamMode Binary or text format of the files.
Output value
outFilePath File Output file path
Output value
outFileName String Output file name
Output value
outObject <T>
Output value
outIsFirst Bool Flag indicating the first iteration
Output value
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