cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator

External command piping utility. More...

#include <include/CepGen/Utils/Piper.h>

Classes

struct  Commands
 A collection of commands to pipe to the session. More...
 

Public Member Functions

 Piper (const std::string &command)
 Start a piped command.
 
const Piperexecute (const Commands &cmds) const
 Execute a chain of commands.
 

Detailed Description

Definition at line 28 of file Piper.h.

Constructor & Destructor Documentation

◆ Piper()

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

Definition at line 32 of file Piper.h.

Member Function Documentation

◆ execute()

const Piper & execute ( const Commands & cmds) const

Definition at line 57 of file Piper.h.