Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

cafe::StageinlistExpander Class Reference
[CAF Environment (Cafe)]

Copy file from remote server to local disk before processing. More...

#include <StageinlistExpander.hpp>

Inheritance diagram for cafe::StageinlistExpander:

cafe::Expander List of all members.

Public Member Functions

 StageinlistExpander (const char *url)
 ~StageinlistExpander ()
virtual std::string nextFile ()

Private Member Functions

void clean ()
bool fileExists (const std::string &fileName) const
 ClassDef (StageinlistExpander, 0)

Private Attributes

std::string _stageinCommand
std::string _stageinDirectory
std::string _localFile
std::string _host
std::ifstream _file

Detailed Description

Copy file from remote server to local disk before processing.

For usage on the ClueD0 batch system, use the defaults.

For usage on CAB, use "/usr/krb5/bin/kbatch; rcp" for the .Stager: option, and "host-clued0" for the .Host: option.

Definition at line 29 of file StageinlistExpander.hpp.


Constructor & Destructor Documentation

cafe::StageinlistExpander::StageinlistExpander const char *  url  ) 
 

Definition at line 12 of file StageinlistExpander.cpp.

References _file, _host, _stageinCommand, _stageinDirectory, and cafe::Config::get().

cafe::StageinlistExpander::~StageinlistExpander  ) 
 

Definition at line 30 of file StageinlistExpander.cpp.

References _file, and clean().


Member Function Documentation

cafe::StageinlistExpander::ClassDef StageinlistExpander  ,
[private]
 

void cafe::StageinlistExpander::clean  )  [private]
 

Definition at line 44 of file StageinlistExpander.cpp.

References _localFile, and fileExists().

Referenced by nextFile(), and ~StageinlistExpander().

bool cafe::StageinlistExpander::fileExists const std::string &  fileName  )  const [private]
 

Definition at line 36 of file StageinlistExpander.cpp.

Referenced by clean(), and nextFile().

std::string cafe::StageinlistExpander::nextFile  )  [virtual]
 

Implements cafe::Expander.

Definition at line 50 of file StageinlistExpander.cpp.

References _file, _host, _localFile, _stageinCommand, _stageinDirectory, clean(), and fileExists().


Member Data Documentation

std::ifstream cafe::StageinlistExpander::_file [private]
 

Definition at line 43 of file StageinlistExpander.hpp.

Referenced by nextFile(), StageinlistExpander(), and ~StageinlistExpander().

std::string cafe::StageinlistExpander::_host [private]
 

Definition at line 42 of file StageinlistExpander.hpp.

Referenced by nextFile(), and StageinlistExpander().

std::string cafe::StageinlistExpander::_localFile [private]
 

Definition at line 41 of file StageinlistExpander.hpp.

Referenced by clean(), and nextFile().

std::string cafe::StageinlistExpander::_stageinCommand [private]
 

Definition at line 39 of file StageinlistExpander.hpp.

Referenced by nextFile(), and StageinlistExpander().

std::string cafe::StageinlistExpander::_stageinDirectory [private]
 

Definition at line 40 of file StageinlistExpander.hpp.

Referenced by nextFile(), and StageinlistExpander().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:11 2006 for CAF by doxygen 1.3.4