paludis Version 3.0.2
The one true package mangler
paludis::PretendFetchAction Class Referenceabstract

#include <action.hh>

Inheritance diagram for paludis::PretendFetchAction:

Public Member Functions

virtual void will_fetch (const FSPath &destination, const unsigned long size_in_bytes)=0
 Signal that we will fetch a particular file.
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 FetchActionOptions & options
 Options for the FetchAction we will use.

Basic operations

 PretendFetchAction (const FetchActionOptions &)

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 PretendFetchAction is used to get information about a fetch that will take place on a PackageID.

Since
0.26

Member Function Documentation

◆ simple_name()

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

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

Since
0.44

Implements paludis::Action.

References PALUDIS_ATTRIBUTE.


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