/usr/include/trilinos/RTC_ExecutableRTC.hh is in libtrilinos-pamgen-dev 12.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef _EXECUTABLERTC_H
#define _EXECUTABLERTC_H
#include <iostream>
namespace PG_RuntimeCompiler {
class Value;
/**
* The Executable class is the parent of all classes of object that can
* be executed (run). They are executed by calling the execute() method
* which they must implement.
*/
class Executable
{
public:
/**
* Destructor -> Is a no-op.
*/
virtual ~Executable() {}
/**
* execute -> A pure virtual method. It will run the code inside of an
* executable object.
*/
virtual Value* execute() = 0;
virtual std::ostream& operator<<(std::ostream& os) const = 0;
};
std::ostream& operator<<(std::ostream& os, const Executable& obj);
}
#endif
|