a DiskList implementation for local directories More...
#include <DiskListLocal.h>
 
  
 | Public Member Functions | |
| void | testInvariant () const | 
| test the invariant of this object | |
| DiskListLocal (const std::string &val_dir) | |
| make the listing for the given directory | |
| DiskListLocal (const std::string &val_dir, const std::string &val_prefix) | |
| make the listing for the given directory, but replacing the directory with prefix for the path | |
| virtual | ~DiskListLocal () | 
| standard destructor | |
| Protected Member Functions | |
| virtual bool | getNext () | 
| virtual std::string | getPath () const | 
| virtual DiskList * | doOpenDir () const | 
| virtual std::string | getDirname () const | 
a DiskList implementation for local directories
| SH::DiskListLocal::DiskListLocal | ( | const std::string & | val_dir | ) | 
make the listing for the given directory
| val_dir | the directory to list | 
| SH::DiskListLocal::DiskListLocal | ( | const std::string & | val_dir, | |
| const std::string & | val_prefix | |||
| ) | 
make the listing for the given directory, but replacing the directory with prefix for the path
| val_dir | the directory to list | |
| val_prefix | the prefix with which val_dir will be replaced in the reported paths | 
| SH::DiskListLocal::~DiskListLocal | ( | ) |  [virtual] | 
standard destructor
| DiskList * SH::DiskListLocal::doOpenDir | ( | ) | const  [protected, virtual] | 
make a new list object for the sub-directory
NULL if it is not a directory Implements SH::DiskList.
| std::string SH::DiskListLocal::getDirname | ( | ) | const  [protected, virtual] | 
the base path for the directory listed
Implements SH::DiskList.
| bool SH::DiskListLocal::getNext | ( | ) |  [protected, virtual] | 
get the next list entry
Implements SH::DiskList.
| std::string SH::DiskListLocal::getPath | ( | ) | const  [protected, virtual] | 
the path for the current entry.
Implements SH::DiskList.
| void SH::DiskListLocal::testInvariant | ( | ) | const | 
 1.6.1
 1.6.1