#include <BDir.h>
Inheritance diagram for BDir:
Public Member Functions | |
BDir () | |
BDir (BString name) | |
~BDir () | |
BError | open (BString name) |
Reads named directory. | |
BError | error () |
Current value of error. | |
BError | read () |
read/re-reads directory | |
void | clear () |
Clears list. | |
void | setWild (BString wild) |
Set wildcard filter string used on read. | |
void | setSort (int on) |
Set alpha sort on/off. | |
BString | entryName (BIter i) |
Get filename. | |
stat | entryStat (BIter i) |
Get file stats. | |
stat64 | entryStat64 (BIter i) |
Get file stats 64. | |
Private Attributes | |
BError | oerror |
BString | odirname |
BString | owild |
int | osort |
BDir::BDir | ( | ) |
BDir::BDir | ( | BString | name | ) |
BDir::~BDir | ( | ) |
BError BDir::error | ( | ) |
Current value of error.
BError BDir::read | ( | ) |
read/re-reads directory
void BDir::clear | ( | ) | [virtual] |
void BDir::setWild | ( | BString | wild | ) |
Set wildcard filter string used on read.
void BDir::setSort | ( | int | on | ) |
Set alpha sort on/off.
struct stat BDir::entryStat | ( | BIter | i | ) | [read] |
Get file stats.
struct stat64 BDir::entryStat64 | ( | BIter | i | ) | [read] |
Get file stats 64.
BError BDir::oerror [private] |
BString BDir::odirname [private] |
BString BDir::owild [private] |
int BDir::osort [private] |