paludis Version 3.0.2
The one true package mangler
Package IDs

Topics

 Actions
 Choices
 Masks

Files

file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/package_id-fwd.hh
file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/package_id.hh
file  examples/example_package_id.cc

Classes

class  paludis::PackageID
class  paludis::PackageIDSetComparator
class  paludis::PackageIDComparator

Typedefs

typedef Sequence< std::shared_ptr< const PackageID > > paludis::PackageIDSequence
typedef Set< std::shared_ptr< const PackageID >, PackageIDSetComparator > paludis::PackageIDSet

Functions

std::ostream & paludis::operator<< (std::ostream &, const PackageID &) PALUDIS_VISIBLE
bool paludis::operator== (const PackageID &, const PackageID &) PALUDIS_ATTRIBUTE((warn_unused_result)) PALUDIS_VISIBLE

Detailed Description

A PackageID represents a particular package version in a Repository. It has various pieces of associated information, including a name, a version, an owning repository, a slot, a collection of metadata keys and a collection of masks.

Examples

Typedef Documentation

◆ PackageIDSequence

typedef Sequence<std::shared_ptr<const PackageID> > paludis::PackageIDSequence

A PackageIDSequence holds a collection of PackageID instances that may or may not have been ordered in a meaningful way.

Since
0.26

◆ PackageIDSet

typedef Set<std::shared_ptr<const PackageID>, PackageIDSetComparator> paludis::PackageIDSet

A PackageIDSet holds a collection of PackageID instances that have no meaningful ordering.

Since
0.26

Function Documentation

◆ operator<<()

std::ostream & paludis::operator<< ( std::ostream & ,
const PackageID &  )

A PackageID can be written to a stream.

Since
0.26

References PALUDIS_VISIBLE.

◆ operator==()

bool paludis::operator== ( const PackageID & ,
const PackageID &  )

PackageID instances are equality-comparable.

Since
0.26

References PALUDIS_ATTRIBUTE, and PALUDIS_VISIBLE.