Low level class to deal with the file iteration kernel calls.
More...
#include <path.h>
|
enum | { _readSize = 2048
} |
|
|
| IterBlock (const std::string &dirName, const char *wildCard) |
| Construct internal iterator block. More...
|
|
bool | next () |
| Move to next record in iterator block. More...
|
|
const char * | next_name () const |
| Get next name. More...
|
|
void | add_ref () |
| Increase reference count on this block.
|
|
void | release () |
| Decrease reference count on this block. More...
|
|
Low level class to deal with the file iteration kernel calls.
Path::Iterator::IterBlock::IterBlock |
( |
const std::string & |
dirName, |
|
|
const char * |
wildCard |
|
) |
| |
Construct internal iterator block.
- Parameters
-
dirName | name of directory |
wildCard | wild card string |
bool Path::Iterator::IterBlock::next |
( |
| ) |
|
Move to next record in iterator block.
- Returns
- true if there are more items
const char* tbx::Path::Iterator::IterBlock::next_name |
( |
| ) |
const |
|
inline |
Get next name.
- Returns
- next name found
void tbx::Path::Iterator::IterBlock::release |
( |
| ) |
|
|
inline |
Decrease reference count on this block.
If the reference count reaches zero it will be deleted
char* tbx::Path::Iterator::IterBlock::_dirName |
char* tbx::Path::Iterator::IterBlock::_nextName |
char tbx::Path::Iterator::IterBlock::_readData[_readSize] |
int tbx::Path::Iterator::IterBlock::_ref |
_kernel_swi_regs tbx::Path::Iterator::IterBlock::_regs |
int tbx::Path::Iterator::IterBlock::_toRead |
char* tbx::Path::Iterator::IterBlock::_wildCard |
The documentation for this class was generated from the following files: