SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
Dir Class Reference

#include <Dir.h>

Public Member Functions

 Dir ()
 
 Dir (const Dir &)
 
 Dir (const std::string &)
 
 ~Dir ()
 
Diroperator= (const Dir &)
 
void remove (bool throwOnError=true)
 
void forceRemove (bool throwOnError=true)
 
void remove (const std::string &filename, bool throwOnError=true)
 
void copy (Dir &destDir)
 
void move (Dir &destDir)
 
void copy (const std::string &filename, Dir &destDir)
 
void move (const std::string &filename, Dir &destDir)
 
Dir createSubdir (const std::string &name)
 
Dir getSubdir (const std::string &name)
 
bool exists ()
 
bool isfile ()
 
void getFilenamesBySuffix (const std::string &suffix, std::vector< std::string > &filenames)
 
std::string getName () const
 

Static Public Member Functions

static Dir create (const std::string &name)
 
static Dir current_directory ()
 
static bool removeDir (const char *dirName)
 

Constructor & Destructor Documentation

Dir ( )
Dir ( const Dir )
Dir ( const std::string &  )
~Dir ( )

Member Function Documentation

void copy ( Dir destDir)
void copy ( const std::string &  filename,
Dir destDir 
)
static Dir create ( const std::string &  name)
static
Dir createSubdir ( const std::string &  name)
static Dir current_directory ( )
static
bool exists ( )
void forceRemove ( bool  throwOnError = true)
void getFilenamesBySuffix ( const std::string &  suffix,
std::vector< std::string > &  filenames 
)
std::string getName ( ) const
inline
Dir getSubdir ( const std::string &  name)
bool isfile ( )
void move ( Dir destDir)
void move ( const std::string &  filename,
Dir destDir 
)
Dir& operator= ( const Dir )
void remove ( bool  throwOnError = true)
void remove ( const std::string &  filename,
bool  throwOnError = true 
)
static bool removeDir ( const char *  dirName)
static

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