The RDir
class reads through a directory, one entry at a
time. Often, it is more efficient to read a directory many entries at a time,
to minimise client-server interaction. RFs
functions and the
associated CDir
class support this requirement.
A directory entry is represented by the TEntry
class
which may represent a directory, file or even a volume label. Attributes such
as archive, hidden, system and read-only are available, as in
VFAT.