COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
covise::coDirectory Class Reference

#include <coFileUtil.h>

Collaboration diagram for covise::coDirectory:
Collaboration graph
[legend]

Public Member Functions

virtual ~coDirectory ()
 
virtual void close ()
 
virtual const char * path () const
 
virtual int count () const
 
virtual const char * name (int index) const
 
virtual char * full_name (int index)
 
virtual int index (const char *) const
 
virtual int is_directory (int index) const
 
virtual int is_exe (int index) const
 
virtual int getSize (int index) const
 
virtual time_t getDate (int index) const
 

Static Public Member Functions

static coDirectorycurrent ()
 
static coDirectoryopen (const char *)
 
static char * canonical (const char *)
 
static int match (const char *name, const char *pattern)
 
static char * fileOf (const char *)
 
static char * dirOf (const char *)
 return the filename of a canonical file with absolute path More...
 

Protected Member Functions

 coDirectory ()
 

Private Member Functions

 coDirectory (const coDirectory &)
 
void operator= (const coDirectory &)
 

Private Attributes

coDirectoryImplimpl_
 return the directory (without ending / ) of a canonical file with absolute path More...
 

Friends

class coDirectoryImpl
 

Constructor & Destructor Documentation

coDirectory::coDirectory ( )
protected
coDirectory::~coDirectory ( )
virtual
covise::coDirectory::coDirectory ( const coDirectory )
private

Member Function Documentation

char * coDirectory::canonical ( const char *  name)
static
void coDirectory::close ( )
virtual
int coDirectory::count ( ) const
virtual
coDirectory * coDirectory::current ( void  )
static
char * coDirectory::dirOf ( const char *  name)
static

return the filename of a canonical file with absolute path

char * coDirectory::fileOf ( const char *  name)
static
char * coDirectory::full_name ( int  index)
virtual
time_t coDirectory::getDate ( int  index) const
virtual
int coDirectory::getSize ( int  index) const
virtual
int coDirectory::index ( const char *  fname) const
virtual
int coDirectory::is_directory ( int  index) const
virtual
int coDirectory::is_exe ( int  index) const
virtual
int coDirectory::match ( const char *  name,
const char *  pattern 
)
static

loop over multiple patterns

const char * coDirectory::name ( int  index) const
virtual
coDirectory * coDirectory::open ( const char *  name)
static
void covise::coDirectory::operator= ( const coDirectory )
private
const char * coDirectory::path ( ) const
virtual

Friends And Related Function Documentation

friend class coDirectoryImpl
friend

Member Data Documentation

coDirectoryImpl* covise::coDirectory::impl_
private

return the directory (without ending / ) of a canonical file with absolute path


The documentation for this class was generated from the following files: