46#include <drain/util/FilePath.h> 
   68    Output(
const std::string & filename){
 
 
   90    void open(
const std::string & filename);
 
   92    operator std::ostream & ();
 
   95    operator std::ofstream & (){
 
  101        return static_cast<bool>(ofstr);
 
  105    std::ostream & getStream(){
 
  106        if (ofstr.is_open()){
 
 
  125Output & operator<<(Output & output, 
const T& value){
 
  126    output.getStream() << value;
 
Extracts and stores directory path, base filename and extension.
Definition FilePath.h:58
Output utility. Opens stdout with "-". Closes upon destruction.
Definition Output.h:56
Output(const std::string &filename)
Constructor that directly opens a file, or stdout with "-".
Definition Output.h:68
~Output()
Closes upon destruction.
Definition Output.cpp:62
Output(const char *filename)
Constructor that directly opens a file, or stdout with "-".
Definition Output.h:74
Output(const drain::FilePath &filePath)
Constructor that directly opens a file.
Definition Output.h:80
Definition DataSelector.cpp:1277