Backproject
Public Member Functions | List of all members
LoadHardCodedPointsOperation Class Reference

Loads a hardcoded set of points into a context. More...

#include <LoadHardCodedPointsOperation.h>

Inheritance diagram for LoadHardCodedPointsOperation:
ContextOperation

Public Member Functions

virtual bool IsPossible (const Context &context) const
 Indicates whether the operation can be performed given the current state of affairs. More...
 
virtual std::string getDescription () const
 Gives a short (infinitive verb) indication of what the operation does. More...
 
virtual std::string Perform (Context &context) const
 Performs the operation on the context. More...
 

Detailed Description

Loads a hardcoded set of points into a context.

Member Function Documentation

§ getDescription()

std::string LoadHardCodedPointsOperation::getDescription ( ) const
virtual

Gives a short (infinitive verb) indication of what the operation does.

Returns
e.g. "use the context to do something"

Implements ContextOperation.

§ IsPossible()

bool LoadHardCodedPointsOperation::IsPossible ( const Context context) const
virtual

Indicates whether the operation can be performed given the current state of affairs.

Parameters
contextthe context for which the operation may be runnable
Returns
true when the operation may be performed

Implements ContextOperation.

§ Perform()

std::string LoadHardCodedPointsOperation::Perform ( Context context) const
virtual

Performs the operation on the context.

Parameters
contextthe context onto which to perform the operatoin
Returns
a string detailing the results of the operation

Implements ContextOperation.


The documentation for this class was generated from the following files: