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

Removes all the images that a context has. More...

#include <RemoveAllImagesOperation.h>

Inheritance diagram for RemoveAllImagesOperation:
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

Removes all the images that a context has.

Member Function Documentation

§ getDescription()

std::string RemoveAllImagesOperation::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 RemoveAllImagesOperation::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 RemoveAllImagesOperation::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: