5#ifndef SAMPLE_HANDLER__DISK_LIST_XRD_H
6#define SAMPLE_HANDLER__DISK_LIST_XRD_H
56 DiskListXRD (
const std::string& val_server,
const std::string& val_dir,
57 bool val_laxParsing =
false);
72 virtual std::string
getPath ()
const;
virtual std::string getPath() const
the path for the current entry.
virtual DiskList * doOpenDir() const
make a new list object for the sub-directory
std::string m_server
the server from which we are reading
std::string m_context
the context (for error reporting)
virtual bool getNext()
get the next list entry
void testInvariant() const
test the invariant of this object
bool m_laxParser
whether we employ lax parsing
virtual std::string getDirname() const
the base path for the directory listed
std::string m_directory
the directory we are reading
std::string m_list
the result of the directory listing
bool m_isRead
whether the directory has been read
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
bool m_isDir
whether this is a directory
std::string m_file
the last file we read
DiskList()
standard constructor
This module provides a lot of global definitions, forward declarations and includes that are used by ...