paludis Version 3.0.2
The one true package mangler
paludis::PretendAction Class Reference

#include <action.hh>

Inheritance diagram for paludis::PretendAction:

Public Member Functions

bool failed () const PALUDIS_ATTRIBUTE((warn_unused_result))
 Did our pretend phase fail?
void set_failed ()
 Mark the action as failed.
const std::string simple_name () const override PALUDIS_ATTRIBUTE((warn_unused_result))
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
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< Action, Action::VisitableTypeList >
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

Static Public Member Functions

static const std::string class_simple_name () PALUDIS_ATTRIBUTE((warn_unused_result))

Public Attributes

const PretendActionOptions & options

Basic operations

 PretendAction (const PretendActionOptions &)

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
Public Types inherited from paludis::DeclareAbstractAcceptMethods< Action, Action::VisitableTypeList >
typedef Action::VisitableTypeList VisitableTypeList
typedef Action VisitableBaseClass

Detailed Description

A PretendAction is used by InstallTask to handle install-pretend-phase checks on a PackageID.

Since
0.26

Constructor & Destructor Documentation

◆ PretendAction()

paludis::PretendAction::PretendAction ( const PretendActionOptions & )
Since
0.36

References PretendAction().

Referenced by PretendAction().

Member Function Documentation

◆ failed()

bool paludis::PretendAction::failed ( ) const

Did our pretend phase fail?

References PALUDIS_ATTRIBUTE.

◆ set_failed()

void paludis::PretendAction::set_failed ( )

Mark the action as failed.

References set_failed().

Referenced by set_failed().

◆ simple_name()

const std::string paludis::PretendAction::simple_name ( ) const
overridevirtual

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

Since
0.44

Implements paludis::Action.

References PALUDIS_ATTRIBUTE, and simple_name().

Referenced by simple_name().

Member Data Documentation

◆ options

const PretendActionOptions& paludis::PretendAction::options
Since
0.36

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