#ifndef ACTIONH #define ACTIONH #include using namespace std; class action { //a term from jurisprudence const char *p; public: action(const char *initial_p) {p = initial_p;} void plain() const {cout << p << " plain\n";} void shifted() const {cout << p << " shifted\n";} void controlled() const {cout << p << " controlled\n";} }; #endif