paludis Version 3.0.2
The one true package mangler
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)
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
auto make_accept_returning (const Case_ &firstcase, const Cases_ &... cases) const -> CallResultType< Case_ >
void make_accept (const Cases_ &... cases) const

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

◆ simple_name()

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::ConfigAction, paludis::FetchAction, paludis::InfoAction, paludis::InstallAction, paludis::PretendAction, paludis::PretendFetchAction, and paludis::UninstallAction.

References PALUDIS_ATTRIBUTE.


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