Public Member Functions | List of all members
directoryIterator Class Reference

Public Member Functions

 directoryIterator (const fileName &dirName, bool allowHidden=false)
 
 ~directoryIterator ()
 
bool exists () const
 
bool good () const
 
void close ()
 
const std::string & val () const
 
bool next ()
 
 operator bool () const
 
const std::string & operator* () const
 
directoryIteratoroperator++ ()
 

Detailed Description

Definition at line 115 of file POSIX.C.

Constructor & Destructor Documentation

◆ directoryIterator()

directoryIterator ( const fileName dirName,
bool  allowHidden = false 
)
inline

Definition at line 141 of file POSIX.C.

References directoryIterator::next().

Here is the call graph for this function:

◆ ~directoryIterator()

~directoryIterator ( )
inline

Definition at line 158 of file POSIX.C.

References directoryIterator::close().

Here is the call graph for this function:

Member Function Documentation

◆ exists()

bool exists ( ) const
inline

Definition at line 167 of file POSIX.C.

Referenced by Foam::readDir(), and Foam::rmDir().

Here is the caller graph for this function:

◆ good()

bool good ( ) const
inline

Definition at line 173 of file POSIX.C.

Referenced by directoryIterator::operator bool().

Here is the caller graph for this function:

◆ close()

void close ( )
inline

Definition at line 179 of file POSIX.C.

Referenced by directoryIterator::next(), and directoryIterator::~directoryIterator().

Here is the caller graph for this function:

◆ val()

const std::string& val ( ) const
inline

Definition at line 189 of file POSIX.C.

Referenced by directoryIterator::operator*().

Here is the caller graph for this function:

◆ next()

bool next ( )
inline

Definition at line 197 of file POSIX.C.

References directoryIterator::close().

Referenced by directoryIterator::directoryIterator(), and directoryIterator::operator++().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator bool()

operator bool ( ) const
inline

Definition at line 219 of file POSIX.C.

References directoryIterator::good().

Here is the call graph for this function:

◆ operator*()

const std::string& operator* ( ) const
inline

Definition at line 225 of file POSIX.C.

References directoryIterator::val().

Here is the call graph for this function:

◆ operator++()

directoryIterator& operator++ ( )
inline

Definition at line 231 of file POSIX.C.

References directoryIterator::next().

Here is the call graph for this function:

The documentation for this class was generated from the following file: