paludis  Version 2.6.0
Modules | Files | Classes | Typedefs | Enumerations | Functions
Package IDs

Modules

 Actions
 
 Choices
 
 Masks
 
 

Files

file  package_id-fwd.hh
 
file  package_id.hh
 
file  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
 

Enumerations

enum  paludis::PackageIDCanonicalForm {
  paludis::idcf_full, paludis::idcf_version, paludis::idcf_no_version, paludis::idcf_no_name,
  paludis::last_idcf
}
 
enum  PackageIDCanonicalForm {
  idcf_full, idcf_version, idcf_no_version, idcf_no_name,
  last_idcf
}
 

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

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
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

Enumeration Type Documentation

What to include when generating the string for paludis::PackageID::canonical_form().

See also
PackageID
Since
0.26
Enumerator
idcf_full 

Everything.

idcf_version 

Version, and affix as appropriate.

idcf_no_version 

No version.

idcf_no_name 

No name.

Since
0.46
last_idcf 

Number of keys in paludis::PackageIDCanonicalForm.

What to include when generating the string for paludis::PackageID::canonical_form().

See also
PackageID
Since
0.26
Enumerator
idcf_full 

Everything.

idcf_version 

Version, and affix as appropriate.

idcf_no_version 

No version.

idcf_no_name 

No name.

Since
0.46
last_idcf 

Number of keys in paludis::PackageIDCanonicalForm.

Function Documentation

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

A PackageID can be written to a stream.

Since
0.26
bool paludis::operator== ( const PackageID ,
const PackageID  
)

PackageID instances are equality-comparable.

Since
0.26