cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches

External command piping utility. More...

#include <CepGen/Utils/Caller.h>

Public Member Functions

 Caller ()
 
 ~Caller ()
 
std::string output () const
 Retrieve the (potential) output from the command.
 
std::string error () const
 Retrieve the (potential) error stream from the command.
 

Static Public Member Functions

static std::string call (const std::vector< std::string > &commands)
 Start a logged call command.
 
static std::string call (const std::string &command)
 Start a logged call command.
 

Detailed Description

Definition at line 29 of file Caller.h.

Constructor & Destructor Documentation

◆ Caller()

Caller ( )

Definition at line 30 of file Caller.cpp.

◆ ~Caller()

~Caller ( )

Definition at line 32 of file Caller.cpp.

Member Function Documentation

◆ call() [1/2]

std::string call ( const std::string &  command)
static
Parameters
[in]commandCommand path for the session

Definition at line 47 of file Caller.cpp.

◆ call() [2/2]

std::string call ( const std::vector< std::string > &  commands)
static
Parameters
[in]commandsCommand path for the session

Definition at line 45 of file Caller.cpp.

◆ error()

std::string error ( ) const

Definition at line 43 of file Caller.cpp.

◆ output()

std::string output ( ) const

Definition at line 41 of file Caller.cpp.