herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::RunDirectories Class Reference

Handle directories for external library and grid storage. More...

#include <RunDirectories.h>

Public Member Functions

 RunDirectories ()
 Default constructor fills the directory list to test.
 
 operator bool () const
 Return true, if there are run directories still to be considered.
 
bool operator! () const
 Return true, if there are no run directories still to be considered.
 
std::string nextRunStorage ()
 Return the next run directory to be considered and pop it from the stack.
 

Static Public Member Functions

static void prefix (std::string p)
 Set a prefix for storing details of this run.
 
static const std::string & prefix ()
 Return the prefix for storing details of this run.
 
static const std::string & buildStorage ()
 Return the name (and possibly create) a storage for build data.
 
static bool empty ()
 Return true, if no run directories have been pushed yet.
 
static void pushRunId (std::string)
 Push a run identifier onto the run directories stack.
 
static const std::string & runStorage ()
 Return (and possibly create) the top of the run directory stack to be used for storage.
 
static const std::string & interfaceStorage ()
 Return the storage to be used for interface order/contract files.
 

Static Private Member Functions

static std::string & thePrefix ()
 The prefix for storing details of this run.
 
static std::string & theBuildStorage ()
 The build storage.
 
static std::list< std::string > & theRunDirectories ()
 The list of run storage directories to be considered.
 

Private Attributes

std::list< std::string > directoriesLeft
 The current run directory stack under consideration.
 

Detailed Description

Handle directories for external library and grid storage.

Author
Simon Platzer

Definition at line 26 of file RunDirectories.h.

Member Function Documentation

◆ operator bool()

Herwig::RunDirectories::operator bool ( ) const
inline

Return true, if there are run directories still to be considered.

Definition at line 76 of file RunDirectories.h.

References directoriesLeft.

◆ operator!()

bool Herwig::RunDirectories::operator! ( ) const
inline

Return true, if there are no run directories still to be considered.

Definition at line 81 of file RunDirectories.h.

References directoriesLeft.

Member Data Documentation

◆ directoriesLeft

std::list<std::string> Herwig::RunDirectories::directoriesLeft
private

The current run directory stack under consideration.

Definition at line 109 of file RunDirectories.h.

Referenced by operator bool(), and operator!().


The documentation for this class was generated from the following file: