midday-commander
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
ForEachAction Class Referenceabstract

A base class for Actions that are supposed to iterate over State.selected. More...

#include <ForEachAction.h>

Inheritance diagram for ForEachAction:
[legend]
Collaboration diagram for ForEachAction:
[legend]

Public Member Functions

void execute (FileView &, State &) override
 
- Public Member Functions inherited from Action
 Action ()=default
 
virtual ~Action ()=default
 
virtual void execute (FileView &, State &)=0
 
virtual std::unique_ptr< Actionclone () const =0
 

Private Member Functions

virtual void executeAction (FileView &, std::shared_ptr< Entry >)=0
 

Detailed Description

A base class for Actions that are supposed to iterate over State.selected.

Member Function Documentation

◆ execute()

void ForEachAction::execute ( FileView fileView,
State state 
)
overridevirtual

Implements Action.

Here is the call graph for this function:

◆ executeAction()

virtual void ForEachAction::executeAction ( FileView ,
std::shared_ptr< Entry  
)
privatepure virtual

Implemented in CopyAction, DeleteAction, and MoveAction.

Here is the caller graph for this function:

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