1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
.TH ACE_Dirent_Selector 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Dirent_Selector \-
.SH SYNOPSIS
.br
.PP
\fC#include <Dirent_Selector.h>\fR
.PP
.SS Public Methods
.in +1c
.ti -1c
.RI "\fBACE_Dirent_Selector\fR (void)"
.br
.RI "\fIConstructor.\fR"
.ti -1c
.RI "virtual \fB~ACE_Dirent_Selector\fR (void)"
.br
.RI "\fIDestructor.\fR"
.ti -1c
.RI "int \fBlength\fR (void) const"
.br
.RI "\fIReturn the length of the list of matching directory entries.\fR"
.ti -1c
.RI "\fBdirent\fR* \fBoperator[]\fR (const int index) const"
.br
.RI "\fIReturn the entry at <index>.\fR"
.ti -1c
.RI "int \fBclose\fR (void)"
.br
.RI "\fIFree up resources.\fR"
.ti -1c
.RI "int \fBopen\fR (const \fBACE_TCHAR\fR *dir, int (*selector)(const \fBdirent\fR *d) = 0, int (*comparator)(const \fBdirent\fR **d1, const \fBdirent\fR **d2) = 0)"
.br
.RI "\fIOpen the director <dir> and populate the <namelist_> array with directory entries that match the <selector> and <comparator>.\fR"
.in -1c
.SS Protected Attributes
.in +1c
.ti -1c
.RI "\fBdirent\fR** \fBnamelist_\fR"
.br
.RI "\fIPtr to the namelist array.\fR"
.ti -1c
.RI "int \fBn_\fR"
.br
.RI "\fI# of entries in the array.\fR"
.in -1c
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP
.SS ACE_Dirent_Selector::ACE_Dirent_Selector (void)
.PP
Constructor.
.PP
.SS ACE_Dirent_Selector::~ACE_Dirent_Selector (void)\fC [virtual]\fR
.PP
Destructor.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP
.SS int ACE_Dirent_Selector::close (void)
.PP
Free up resources.
.PP
.SS int ACE_Dirent_Selector::length (void) const
.PP
Return the length of the list of matching directory entries.
.PP
.SS int ACE_Dirent_Selector::open (const \fBACE_TCHAR\fR * dir, int(* selector)(const \fBdirent\fR *d) = 0, int(* comparator)(const \fBdirent\fR **d1,const \fBdirent\fR **d2) = 0)
.PP
Open the director <dir> and populate the <namelist_> array with directory entries that match the <selector> and <comparator>.
.PP
.SS \fBdirent\fR * ACE_Dirent_Selector::operator[] (const int index) const
.PP
Return the entry at <index>.
.PP
.SH MEMBER DATA DOCUMENTATION
.PP
.SS int ACE_Dirent_Selector::n_\fC [protected]\fR
.PP
# of entries in the array.
.PP
.SS \fBdirent\fR ** ACE_Dirent_Selector::namelist_\fC [protected]\fR
.PP
Ptr to the namelist array.
.PP
.SH AUTHOR
.PP
Generated automatically by Doxygen for ACE from the source code.
|