#include <SysFileSystem.hpp>
Public Member Functions | |
| SysFileIterator (const char *pattern) | |
| ~SysFileIterator () | |
| void | close () |
| bool | hasNext () |
| void | next (char *buffer) |
| SysFileIterator (const char *pattern) | |
| ~SysFileIterator () | |
| void | close () |
| bool | hasNext () |
| void | next (char *buffer) |
Protected Attributes | |
| bool | completed |
| struct dirent * | entry |
| DIR * | handle |
| HANDLE | handle |
| WIN32_FIND_DATA | findFileData |
Definition at line 125 of file unix/SysFileSystem.hpp.
| SysFileIterator::SysFileIterator | ( | const char * | p | ) |
Create a new SysFileIterator instance.
| p | The directory we're iterating over. |
Definition at line 1061 of file unix/SysFileSystem.cpp.
| SysFileIterator::~SysFileIterator | ( | ) |
Destructor for the iteration operation.
Definition at line 1086 of file unix/SysFileSystem.cpp.
References close().
| SysFileIterator::SysFileIterator | ( | const char * | pattern | ) |
| SysFileIterator::~SysFileIterator | ( | ) |
| void SysFileIterator::close | ( | ) |
close the iterator.
Definition at line 1095 of file unix/SysFileSystem.cpp.
References handle.
Referenced by next(), and ~SysFileIterator().
| void SysFileIterator::close | ( | ) |
| bool SysFileIterator::hasNext | ( | ) |
Check if the iterator has new results it can return.
Definition at line 1111 of file unix/SysFileSystem.cpp.
References completed.
Referenced by RexxMethod1().
| bool SysFileIterator::hasNext | ( | ) |
| void SysFileIterator::next | ( | char * | buffer | ) |
Retrieve the next iteration value.
| buffer | The buffer used to return the value. |
Definition at line 1122 of file unix/SysFileSystem.cpp.
References close(), completed, entry, and handle.
Referenced by RexxMethod1().
| void SysFileIterator::next | ( | char * | buffer | ) |
|
protected |
Definition at line 134 of file unix/SysFileSystem.hpp.
Referenced by hasNext(), next(), and SysFileIterator().
|
protected |
Definition at line 135 of file unix/SysFileSystem.hpp.
Referenced by next(), and SysFileIterator().
|
protected |
Definition at line 117 of file windows/SysFileSystem.hpp.
|
protected |
Definition at line 136 of file unix/SysFileSystem.hpp.
Referenced by close(), next(), and SysFileIterator().
|
protected |
Definition at line 116 of file windows/SysFileSystem.hpp.