BDir Class Reference

File system directory class. More...

#include <BDir.h>

Inheritance diagram for BDir:

BList< T > List of all members.

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

Detailed Description

File system directory class.


Constructor & Destructor Documentation

BDir::BDir (  ) 

BDir::BDir ( BString  name  ) 

BDir::~BDir (  ) 


Member Function Documentation

void BDir::clear (  )  [virtual]

Clears list.

Reimplemented from BList< T >.

BString BDir::entryName ( BIter  i  ) 

Get filename.

struct stat BDir::entryStat ( BIter  i  ) 

Get file stats.

struct stat64 BDir::entryStat64 ( BIter  i  ) 

Get file stats 64.

BError BDir::error (  ) 

Current value of error.

BError BDir::open ( BString  name  ) 

Reads named directory.

BError BDir::read (  ) 

read/re-reads directory

void BDir::setSort ( int  on  ) 

Set alpha sort on/off.

void BDir::setWild ( BString  wild  ) 

Set wildcard filter string used on read.


Member Data Documentation

BString BDir::odirname [private]

BError BDir::oerror [private]

int BDir::osort [private]

BString BDir::owild [private]


The documentation for this class was generated from the following files:
Generated on Fri Jul 16 11:26:36 2010 for LibBeamApi by  doxygen 1.4.7