paludis::SupportsActionTest< A_ > Class Template Reference
[Actions]

#include <action.hh>

Inheritance diagram for paludis::SupportsActionTest< A_ >:

paludis::SupportsActionTestBase

List of all members.


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:
Generated on Mon Sep 21 10:36:09 2009 for paludis by  doxygen 1.5.4