Define a portable C++ directory-entry iterator based on the POSIX scandir API.
More...
#include <Dirent_Selector.h>
Protected Attributes |
| ACE_DIRENT ** | namelist_ |
| | Ptr to the namelist array.
|
| int | n_ |
| | Number of entries in the array.
|
Detailed Description
Define a portable C++ directory-entry iterator based on the POSIX scandir API.
Constructor & Destructor Documentation
| ACE_Dirent_Selector::ACE_Dirent_Selector |
( |
void |
| ) |
|
| ACE_Dirent_Selector::~ACE_Dirent_Selector |
( |
void |
| ) |
|
|
virtual |
Member Function Documentation
| int ACE_Dirent_Selector::close |
( |
void |
| ) |
|
| int ACE_Dirent_Selector::length |
( |
void |
| ) |
const |
|
inline |
Return the length of the list of matching directory entries.
Open the directory dir and populate the current list of names with directory entries that match the selector and comparator.
| ACE_DIRENT * ACE_Dirent_Selector::operator[] |
( |
const int |
index | ) |
const |
|
inline |
Return the entry at index.
Member Data Documentation
| int ACE_Dirent_Selector::n_ |
|
protected |
Number of entries in the array.
Ptr to the namelist array.
The documentation for this class was generated from the following files: