Represents an operation that can be performed based on the 'Context' (This is an abstract class...
Definition: ContextOperation.h:19
std::string Perform(Context &context) const
33% of time, this method works every time.
Definition: PurposelyBrokenOperation.cpp:19
A context; keeps track of overal program state in a way that is easily accessed by multiple functions...
Definition: Context.h:19
bool IsPossible(const Context &context) const
Indicates whether the operation can be performed given the current state of affairs.
Definition: PurposelyBrokenOperation.cpp:11