5#ifndef SAMPLE_HANDLER__DISK_LIST_SRM_H
6#define SAMPLE_HANDLER__DISK_LIST_SRM_H
65 DiskListSRM (
const std::string& val_dir,
const std::string& val_prefix);
80 virtual std::string
getPath ()
const;
DiskListSRM(const std::string &val_dir)
make the listing for the given directory
bool m_isDir
whether this is a directory
std::string m_dir
the directory we are reading
virtual bool getNext()
get the next list entry
std::string m_file
the last file we read
virtual std::string getDirname() const
the base path for the directory listed
void testInvariant() const
test the invariant of this object
virtual std::string getPath() const
the path for the current entry.
std::string m_list
the result of the directory listing
virtual DiskList * doOpenDir() const
make a new list object for the sub-directory
std::string m_prefix
the directory from with to read actual files
DiskList()
standard constructor
This module provides a lot of global definitions, forward declarations and includes that are used by ...