a DiskList implementation for the XRD protocol More...
#include <DiskListXRD.h>
Public Member Functions | |
void | testInvariant () const |
test the invariant of this object | |
DiskListXRD (const std::string &val_server, const std::string &val_dir, bool val_laxParsing=false) | |
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 XRD protocol
SH::DiskListXRD::DiskListXRD | ( | const std::string & | val_server, | |
const std::string & | val_dir, | |||
bool | val_laxParsing = false | |||
) |
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 | |
val_laxParsing | if true , graciously skip over any error messages. |
DiskList * SH::DiskListXRD::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::DiskListXRD::getDirname | ( | ) | const [protected, virtual] |
the base path for the directory listed
Implements SH::DiskList.
bool SH::DiskListXRD::getNext | ( | ) | [protected, virtual] |
get the next list entry
Implements SH::DiskList.
std::string SH::DiskListXRD::getPath | ( | ) | const [protected, virtual] |
the path for the current entry.
Implements SH::DiskList.
void SH::DiskListXRD::testInvariant | ( | ) | const |