Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::Dir Class Reference

A low level portable directory class. low level directory access class. More...

#include <file.h>

Inheritance diagram for ost::Dir::

ost::File List of all members.

Public Methods

 Dir (const char *name=NULL)
void open (const char *name)
void close (void)
virtual ~Dir ()
const char* getName (void)
const char* operator++ ()
const char* operator++ (int)
const char* operator * ()
bool rewind (void)
bool operator! ()
bool isValid (void)

Static Public Methods

bool create (const char *path, Attr attr=attrGroup)
bool remove (const char *path)
bool setPrefix (const char *path)
bool getPrefix (char *path, size_t size=256)

Detailed Description

A low level portable directory class. low level directory access class.

Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

ost::Dir::Dir ( const char * name = NULL )
 

ost::Dir::~Dir ( ) [virtual]
 


Member Function Documentation

void ost::Dir::close ( void )
 

bool ost::Dir::create ( const char * path,
Attr attr = attrGroup ) [static]
 

const char * ost::Dir::getName ( void )
 

bool ost::Dir::getPrefix ( char * path,
size_t size = 256 ) [static]
 

bool ost::Dir::isValid ( void )
 

void ost::Dir::open ( const char * name )
 

const char * ost::Dir::operator * ( )
 

bool ost::Dir::operator! ( ) [inline]
 

const char * ost::Dir::operator++ ( int ) [inline]
 

const char * ost::Dir::operator++ ( ) [inline]
 

bool ost::Dir::remove ( const char * path ) [static]
 

bool ost::Dir::rewind ( void )
 

bool ost::Dir::setPrefix ( const char * path ) [static]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:02 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001