paludis  Version 2.6.0
Public Member Functions | Protected Member Functions | List of all members
paludis::Filter Class Reference

#include <filter.hh>

+ Inheritance diagram for paludis::Filter:

Public Member Functions

std::string as_string () const PALUDIS_ATTRIBUTE((warn_unused_result))
 

Protected Member Functions

 Filter (const std::shared_ptr< const FilterHandler > &)
 

Basic operations

 Filter (const Filter &)
 
Filteroperator= (const Filter &)
 
 ~Filter ()
 

For use by Selection

const RepositoryContentMayExcludes may_excludes () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::shared_ptr< const RepositoryNameSetrepositories (const Environment *const, const std::shared_ptr< const RepositoryNameSet > &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::shared_ptr< const CategoryNamePartSetcategories (const Environment *const, const std::shared_ptr< const RepositoryNameSet > &, const std::shared_ptr< const CategoryNamePartSet > &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::shared_ptr< const QualifiedPackageNameSetpackages (const Environment *const, const std::shared_ptr< const RepositoryNameSet > &, const std::shared_ptr< const QualifiedPackageNameSet > &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::shared_ptr< const PackageIDSetids (const Environment *const, const std::shared_ptr< const PackageIDSet > &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 

Detailed Description

A Filter subclass can be used to further restrict the values picked by a Generator, which when combined together produces a FilteredGenerator which can be passed to a Selection subclass.

Constructor & Destructor Documentation

paludis::Filter::Filter ( const Filter )

Filter subclasses can be copied without losing information.

Member Function Documentation

std::string paludis::Filter::as_string ( ) const

A Filter can be represented as a string, for use by operator<<.

std::shared_ptr<const CategoryNamePartSet> paludis::Filter::categories ( const Environment const,
const std::shared_ptr< const RepositoryNameSet > &  ,
const std::shared_ptr< const CategoryNamePartSet > &   
) const

Filter candidate category names.

std::shared_ptr<const PackageIDSet> paludis::Filter::ids ( const Environment const,
const std::shared_ptr< const PackageIDSet > &   
) const

Filter candidate PackageID instances.

const RepositoryContentMayExcludes paludis::Filter::may_excludes ( ) const

Return any RepositoryContentMayExcludes that are implied by this filter.

Since
0.59
std::shared_ptr<const QualifiedPackageNameSet> paludis::Filter::packages ( const Environment const,
const std::shared_ptr< const RepositoryNameSet > &  ,
const std::shared_ptr< const QualifiedPackageNameSet > &   
) const

Filter candidate package names.

std::shared_ptr<const RepositoryNameSet> paludis::Filter::repositories ( const Environment const,
const std::shared_ptr< const RepositoryNameSet > &   
) const

Filter candidate repository names.


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