|
paludis
Version 1.4.0
|
#include <selection.hh>
Inheritance diagram for paludis::Selection:Public Member Functions | |
| std::string | as_string () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| std::shared_ptr < PackageIDSequence > | perform_select (const Environment *const) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Protected Member Functions | |
| Selection (const std::shared_ptr< const SelectionHandler > &) | |
Basic operations | |
| Selection (const Selection &) | |
| ~Selection () | |
| Selection & | operator= (const Selection &) |
A Selection subclass is passed to Environment::operator[] to obtain a set of PackageID instances with given properties.
Most Selection subclasses take a FilteredGenerator as a constructor parameter that specifies the required properties; the Selection itself is merely responsible for determining the format of the results.
| paludis::Selection::Selection | ( | const Selection & | ) |
| std::string paludis::Selection::as_string | ( | ) | const |
Return a string representation of our selection query.
| std::shared_ptr<PackageIDSequence> paludis::Selection::perform_select | ( | const Environment * | const | ) | const |
For use by Environment, not to be called directly.
1.8.3.1