paludis  Version 2.6.0
List of all members
paludis::SupportsActionTest< A_ > Class Template Reference

#include <action.hh>

+ Inheritance diagram for paludis::SupportsActionTest< A_ >:

Additional Inherited Members

- Public Types inherited from paludis::DeclareAbstractAcceptMethods< SupportsActionTestBase, MakeTypeList< SupportsActionTest< InstallAction >, SupportsActionTest< UninstallAction >, SupportsActionTest< PretendAction >, SupportsActionTest< ConfigAction >, SupportsActionTest< FetchAction >, SupportsActionTest< InfoAction >, SupportsActionTest< PretendFetchAction > >::Type >
typedef MakeTypeList< SupportsActionTest< InstallAction >, SupportsActionTest< UninstallAction >, SupportsActionTest< PretendAction >, SupportsActionTest< ConfigAction >, SupportsActionTest< FetchAction >, SupportsActionTest< InfoAction >, SupportsActionTest< PretendFetchAction > >::Type VisitableTypeList
 
typedef SupportsActionTestBase VisitableBaseClass
 
- Public Types inherited from paludis::DeclareAbstractAcceptMethods< SupportsActionTestBase, SupportsActionTestBase::VisitableTypeList >
typedef SupportsActionTestBase::VisitableTypeList VisitableTypeList
 
typedef SupportsActionTestBase VisitableBaseClass
 
- Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< SupportsActionTestBase, MakeTypeList< SupportsActionTest< InstallAction >, SupportsActionTest< UninstallAction >, SupportsActionTest< PretendAction >, SupportsActionTest< ConfigAction >, SupportsActionTest< FetchAction >, SupportsActionTest< InfoAction >, SupportsActionTest< 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
 
- Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< SupportsActionTestBase, SupportsActionTestBase::VisitableTypeList >
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
 

Detailed Description

template<typename A_>
class paludis::SupportsActionTest< A_ >

Instantiated with an Action subclass as its template parameter, SupportsActionTest<> is used by PackageID::supports_action and Repository::some_ids_might_support_action to query whether a particular action is supported by that PackageID or potentially supported by some IDs in that Repository.

Use of a separate class, rather than a mere Action, avoids the need to create bogus options for the more complicated Action subclasses.

Since
0.26
Examples:
example_action.cc, and example_package_id.cc.

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