#include <Dirent_Selector.h>
Public Member Functions | |
| ACE_Dirent_Selector (void) | |
| Constructor. | |
| virtual | ~ACE_Dirent_Selector (void) |
| Destructor. | |
| int | length (void) const |
| Return the length of the list of matching directory entries. | |
| ACE_DIRENT * | operator[] (const int index) const |
| Return the entry at index. | |
| int | close (void) |
| Free up resources. | |
| int | open (const ACE_TCHAR *dir, int(*selector)(const ACE_DIRENT *d)=0, int(*comparator)(const ACE_DIRENT **d1, const ACE_DIRENT **d2)=0) |
Protected Attributes | |
| ACE_DIRENT ** | namelist_ |
| Ptr to the namelist array. | |
| int | n_ |
| Number of entries in the array. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Free up resources.
|
|
|
Return the length of the list of matching directory entries.
|
|
||||||||||||||||
|
Open the directory dir and populate the <namelist_> array with directory entries that match the selector and comparator. |
|
|
Return the entry at index.
|
|
|
Number of entries in the array.
|
|
|
Ptr to the namelist array.
|
1.3.9.1