|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   40     : 
m_dir (val_dir), m_prefix (val_dir)
 
   48   DiskListSRM (
const std::string& val_dir, 
const std::string& val_prefix)
 
   49     : 
m_dir (val_dir), m_prefix (val_prefix)
 
   64       std::string::size_type split1 = 
m_list.find (
'\n');
 
   65       if (split1 == std::string::npos)
 
   72       std::string::size_type split1 = 
m_list.find (
'\n');
 
   73       if (split1 == std::string::npos)
 
   76       const std::string 
line = 
m_list.substr (0, split1);
 
   80     std::string::size_type split2 = 
line.rfind (
'/', 
line.size()-2);
 
   81     if (split2 != std::string::npos)
 
  
std::string m_dir
the directory we are reading
virtual std::string getPath() const
the path for the current entry.
TDirectory & m_dir
The directory we need to return to.
std::string m_list
the result of the directory listing
virtual std::string getDirname() const
the base path for the directory listed
bool m_isDir
whether this is a directory
std::string m_file
the last file we read
an interface for listing directory contents, locally or on a file server
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
std::string exec_read(const std::string &cmd)
effects: execute the given command and return the output returns: the output of the command guarantee...
virtual bool getNext()
get the next list entry
#define RCU_CHANGE_INVARIANT(x)
This module provides a lot of global definitions, forward declarations and includes that are used by ...
#define RCU_READ_INVARIANT(x)
DiskListSRM(const std::string &val_dir)
make the listing for the given directory
void testInvariant() const
test the invariant of this object
#define RCU_NEW_INVARIANT(x)