paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::Action Class Referenceabstract

#include <action.hh>

+ Inheritance diagram for paludis::Action:

Public Member Functions

virtual const std::string simple_name () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
 
- Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< Action, MakeTypeList< InstallAction, UninstallAction, PretendAction, ConfigAction, FetchAction, InfoAction, PretendFetchAction >::Type >
void accept (UnwrappedVisitor_ &v)
 
void accept (UnwrappedVisitor_ &v) const
 
void accept (const UnwrappedVisitor_ &v)
 
void accept (const UnwrappedVisitor_ &v) const
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
auto make_accept_returning (const Case_ &firstcase, const Cases_ &...cases) const -> CallResultType< Case_ >
 
void make_accept (const Cases_ &...cases) const
 

Basic operations

virtual ~Action ()=0
 

Additional Inherited Members

- Public Types inherited from paludis::DeclareAbstractAcceptMethods< Action, MakeTypeList< InstallAction, UninstallAction, PretendAction, ConfigAction, FetchAction, InfoAction, PretendFetchAction >::Type >
typedef MakeTypeList< InstallAction, UninstallAction, PretendAction, ConfigAction, FetchAction, InfoAction, PretendFetchAction >::Type VisitableTypeList
 
typedef Action VisitableBaseClass
 

Detailed Description

An Action represents an action that can be executed by a PackageID via PackageID::perform_action.

Since
0.26
Examples:
example_action.cc.

Member Function Documentation

virtual const std::string paludis::Action::simple_name ( ) const
pure virtual

A simple string name (install, uninstall, pretend-fetch etc).

Since
0.44

Implemented in paludis::InfoAction, paludis::ConfigAction, paludis::PretendFetchAction, paludis::PretendAction, paludis::UninstallAction, paludis::FetchAction, and paludis::InstallAction.


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