a DiskList implementation for the SRM protocol More...
#include <DiskListSRM.h>
Public Member Functions | |
| void | testInvariant () const |
| test the invariant of this object | |
| DiskListSRM (const std::string &val_dir) | |
| make the listing for the given directory | |
| DiskListSRM (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 | |
Protected Member Functions | |
| virtual bool | getNext () |
| virtual std::string | getPath () const |
| virtual DiskList * | doOpenDir () const |
| virtual std::string | getDirname () const |
a DiskList implementation for the SRM protocol
| SH::DiskListSRM::DiskListSRM | ( | const std::string & | val_dir | ) |
make the listing for the given directory
| val_dir | the directory to list |
| SH::DiskListSRM::DiskListSRM | ( | 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 |
| DiskList * SH::DiskListSRM::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::DiskListSRM::getDirname | ( | ) | const [protected, virtual] |
the base path for the directory listed
Implements SH::DiskList.
| bool SH::DiskListSRM::getNext | ( | ) | [protected, virtual] |
get the next list entry
Implements SH::DiskList.
| std::string SH::DiskListSRM::getPath | ( | ) | const [protected, virtual] |
the path for the current entry.
Implements SH::DiskList.
| void SH::DiskListSRM::testInvariant | ( | ) | const |
1.6.1