|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
std::string m_file
the last file we read
virtual bool getNext()
get the next list entry
virtual std::string getPath() const
the path for the current entry.
std::string m_list
the result of the directory listing
bool m_isDir
whether this is a directory
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
std::string m_directory
the directory we are reading
void testInvariant() const
test the invariant of this object
virtual DiskList * doOpenDir() const
make a new list object for the sub-directory
an interface for listing directory contents, locally or on a file server
bool m_isRead
whether the directory has been read
virtual std::string getDirname() const
the base path for the directory listed
std::string m_server
the server from which we are reading
std::string m_context
the context (for error reporting)
bool m_laxParser
whether we employ lax parsing
This module provides a lot of global definitions, forward declarations and includes that are used by ...
a DiskList implementation for the XRD protocol