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

#include <package_id.hh>

Public Member Functions

bool operator() (const std::shared_ptr< const PackageID > &, const std::shared_ptr< const PackageID > &) const
 

Standard library typedefs

typedef bool result_type
 

Basic operations

 PackageIDComparator (const Environment *const)
 
 PackageIDComparator (const PackageIDComparator &)
 
 ~PackageIDComparator ()
 

Detailed Description

A comparison functor that provides a less-than comparison on PackageID instances according to, in order, their name, their version, their repository's importance according to the supplied Environment, and Environment::arbitrary_less_than_comparison.

Since
0.26

Member Function Documentation

bool paludis::PackageIDComparator::operator() ( const std::shared_ptr< const PackageID > &  ,
const std::shared_ptr< const PackageID > &   
) const

Perform the less-than comparison.


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