28 #ifndef CASA_DIRECTORYITERATOR_H
29 #define CASA_DIRECTORYITERATOR_H
170 #if defined(AIPS_CRAY_PGI)
173 dirent** itsNameList;
Traverse the contents of a directory.
DIR * itsDirectoryDescriptor
This variable is used for seeking in the directory.
void reset()
Reposition the directory stream on the first entry.
File file() const
Returns a File object for the file at the current position.
dirent * itsDirectoryEntry
This structure is used for information of the directory.
Directory itsDirectory
class directory
Get information about, and manipulate directories.
void init()
Initialize the iterator.
String name() const
Returns the file name at the current position.
Bool pastEnd() const
Checks if the iterator is past the end.
Regular expression class.
Class to get file information and a base for other file classes.
DirectoryIterator()
Construct the iterator for the working directory.
bool Bool
Define the standard types used by Casacore.
Bool itsEnd
Boolean to check if the directory stream has past the end.
String: the storage and methods of handling collections of characters.
void operator++()
Position on the next matching entry in the directory.
DirectoryIterator & operator=(const DirectoryIterator &that)
Assignment (copy semantics).
Regex itsExpression
Regular expression if given, with this variable it is possible to compare files with regular expressi...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.