Iterator used to iterate through a directory.
More...
#include <path.h>
|
class | IterBlock |
| Low level class to deal with the file iteration kernel calls. More...
|
|
|
| Iterator (const std::string &dirName, const char *wildCard) |
| Construct new iterator to iterate through a directory. More...
|
|
Iterator used to iterate through a directory.
use the tbx::PathInfo::begin and tbx::PathInfo::end methods to return this iterator
PathInfo::Iterator::Iterator |
( |
const std::string & |
dirName, |
|
|
const char * |
wildCard |
|
) |
| |
|
protected |
Construct new iterator to iterate through a directory.
Call the PathInfo::begin method to get this
- Parameters
-
dirName | directory name to iterate |
wildCard | wild card to select certain paths |
PathInfo::Iterator::Iterator |
( |
const Iterator & |
other | ) |
|
Construct an the iterator as a copy of another.
- Parameters
-
bool PathInfo::Iterator::operator!= |
( |
const Iterator & |
other | ) |
|
Check if this iterator and another are different.
- Parameters
-
other | iterator to compare to |
- Returns
- true if iterators are not the same
PathInfo & PathInfo::Iterator::operator* |
( |
| ) |
|
Get the PathInfo for the iterator.
- Returns
- PathInfo for the iterators current position
Move iterator to next item.
- Returns
- *this
Move iterator to next item.
- Returns
- copy of iterator before it was moved
PathInfo * PathInfo::Iterator::operator-> |
( |
| ) |
|
Get the PathInfo for the iterator.
- Returns
- PathInfo for the iterators current position
Assign this iterator to another.
- Parameters
-
- Returns
- *this
bool PathInfo::Iterator::operator== |
( |
const Iterator & |
other | ) |
|
Check if this iterator is the same as another.
- Parameters
-
other | iterator to compare to |
- Returns
- true if iterators are the same
PathInfo* tbx::PathInfo::Iterator::_info |
|
protected |
Information on item iterator is pointing to
The documentation for this class was generated from the following files: