39 #include <drain/Sprinter.h>
54 typedef std::list<T> list_t;
61 operator bool(){
return !this->empty(); };
89 typename list_t::value_type & add(
const std::string & key,
const std::string & params=
"");
110 std::cerr <<
"Program copy ctor: ctx?\n";
A base class for Script and Program.
Definition: Program.h:48
Base class for commands: typically actions taking parameters but also plain variable assignments and ...
Definition: Command.h:54
Definition: Context.h:245
void setExternalContext(Context &ctx)
Sets internal contextPtr to outside target.
Definition: Context.h:274
Structure for implementing threads in parallelized OpenMP for loop.
Definition: Program.h:128
Program & add(Context &ctx)
Adds a new, empty program to thread vector.
Definition: Program.cpp:86
Sequence consisting of Command:s retrieved from a CommandBank.
Definition: Program.h:101
void run() const
Main.
Definition: Program.cpp:61
static std::ostream & sequenceToStream(std::ostream &ostr, const T &x, const SprinterLayout &layout)
Convenience: if sequence type (array, list, set, map) not given, assume array.
Definition: Sprinter.h:321
Definition: DataSelector.cpp:1277
Definition: Sprinter.h:137