paludis  Version 2.6.0
Files | Classes | Typedefs | Enumerations | Functions
Names and Versions

Files

file  name-fwd.hh
 
file  name.hh
 
file  version_operator-fwd.hh
 
file  version_operator.hh
 
file  version_spec-fwd.hh
 
file  version_spec.hh
 
file  example_name.cc
 
file  example_version_operator.cc
 
file  example_version_spec.cc
 

Classes

class  paludis::PackageNamePartError
 
class  paludis::CategoryNamePartError
 
class  paludis::QualifiedPackageName
 
class  paludis::SlotNameError
 
class  paludis::RepositoryNameError
 
class  paludis::KeywordNameError
 
class  paludis::SetNameError
 
class  paludis::PartNameError
 
class  paludis::VersionOperator
 
class  paludis::BadVersionOperatorError
 
class  paludis::BadVersionSpecError
 
struct  paludis::VersionSpecComponent
 
class  paludis::VersionSpec
 
class  paludis::NameError
 

Typedefs

typedef WrappedValue< PackageNamePartTag > paludis::PackageNamePart
 
typedef WrappedValue< CategoryNamePartTag > paludis::CategoryNamePart
 
typedef WrappedValue< SlotNameTag > paludis::SlotName
 
typedef WrappedValue< RepositoryNameTag > paludis::RepositoryName
 
typedef WrappedValue< KeywordNameTag > paludis::KeywordName
 
typedef WrappedValue< SetNameTag > paludis::SetName
 
typedef WrappedValue< PartNameTag > paludis::PartName
 
typedef Options< VersionSpecOptionpaludis::VersionSpecOptions
 

Enumerations

enum  paludis::VersionOperatorValue {
  paludis::vo_less_equal, paludis::vo_less, paludis::vo_equal, paludis::vo_tilde,
  paludis::vo_greater, paludis::vo_greater_equal, paludis::vo_equal_star, paludis::vo_tilde_greater,
  paludis::last_vo
}
 
enum  VersionOperatorValue {
  vo_less_equal, vo_less, vo_equal, vo_tilde,
  vo_greater, vo_greater_equal, vo_equal_star, vo_tilde_greater,
  last_vo
}
 

Functions

std::ostream & paludis::operator<< (std::ostream &, const QualifiedPackageName &) PALUDIS_VISIBLE
 
const QualifiedPackageName paludis::operator+ (const CategoryNamePart &c, const PackageNamePart &p) PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::ostream & paludis::operator<< (std::ostream &s, const VersionOperator &) PALUDIS_VISIBLE
 
std::ostream & paludis::operator<< (std::ostream &, const VersionSpec &) PALUDIS_VISIBLE
 

Detailed Description

Paludis uses 'smart' classes for holding names and versions, allowing for substantially more static checking and much more convenient and useful runtime checking of data.

Examples

Typedef Documentation

typedef WrappedValue<CategoryNamePartTag> paludis::CategoryNamePart

A CategoryNamePart holds a std::string that is a valid name for the category part of a QualifiedPackageName.

Examples:
example_name.cc.
typedef WrappedValue<KeywordNameTag> paludis::KeywordName

A KeywordName holds a std::string that is a valid name for a KEYWORD.

typedef WrappedValue<PackageNamePartTag> paludis::PackageNamePart

A PackageNamePart holds a std::string that is a valid name for the package part of a QualifiedPackageName.

Examples:
example_name.cc.
typedef WrappedValue<PartNameTag> paludis::PartName

A PartName holds a std::string that is a valid name for a part.

typedef WrappedValue<RepositoryNameTag> paludis::RepositoryName

A RepositoryName holds a std::string that is a valid name for a Repository.

typedef WrappedValue<SetNameTag> paludis::SetName

A SetName holds a std::string that is a valid name for a set.

typedef WrappedValue<SlotNameTag> paludis::SlotName

A SlotName holds a std::string that is a valid name for a SLOT.

Options for parsing a VersionSpec.

Since
0.38

Enumeration Type Documentation

Represents an operator attached to a VersionSpec.

Enumerator
vo_less_equal 

<= dependency

vo_less 

< dependency

vo_equal 

= dependency

vo_tilde 

~ dependency

vo_greater 

dependency

vo_greater_equal 

>= dependency

vo_equal_star 

=* dependency

vo_tilde_greater 

~> dependency (gems)

last_vo 

Number of keys in paludis::VersionOperatorValue.

Represents an operator attached to a VersionSpec.

Enumerator
vo_less_equal 

<= dependency

vo_less 

< dependency

vo_equal 

= dependency

vo_tilde 

~ dependency

vo_greater 

dependency

vo_greater_equal 

>= dependency

vo_equal_star 

=* dependency

vo_tilde_greater 

~> dependency (gems)

last_vo 

Number of keys in paludis::VersionOperatorValue.

Function Documentation

const QualifiedPackageName paludis::operator+ ( const CategoryNamePart c,
const PackageNamePart p 
)
inline

A CategoryNamePart plus a PackageNamePart is a QualifiedPackageName.

std::ostream& paludis::operator<< ( std::ostream &  s,
const VersionOperator  
)

A VersionOperator can be written to an ostream.

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

Output a VersionSpec to a stream.

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

Output a QualifiedPackageName to a stream.