paludis Version 3.0.2
The one true package mangler
paludis::BlockDepSpec Class Reference

#include <dep_spec.hh>

Inheritance diagram for paludis::BlockDepSpec:

Public Member Functions

const PackageDepSpec blocking () const PALUDIS_ATTRIBUTE((warn_unused_result))
const std::shared_ptr< const DepSpecAnnotations > maybe_annotations () const override PALUDIS_ATTRIBUTE((warn_unused_result))
void set_annotations (const std::shared_ptr< const DepSpecAnnotations > &) override
std::shared_ptr< DepSpec > clone () const override PALUDIS_ATTRIBUTE((warn_unused_result))
Public Member Functions inherited from paludis::StringDepSpec
std::string text () const
 DepSpec (const DepSpec &)=delete
DepSpec & operator= (const DepSpec &)=delete

Basic operations

 BlockDepSpec (const std::string &text, const PackageDepSpec &spec)
 BlockDepSpec (const BlockDepSpec &)

Additional Inherited Members

Protected Member Functions inherited from paludis::StringDepSpec
void set_text (const std::string &)
 StringDepSpec (const std::string &)

Detailed Description

A BlockDepSpec represents a block on a package name (for example, 'app-editors/vim'), possibly with associated version and SLOT restrictions.

Member Function Documentation

◆ blocking()

const PackageDepSpec paludis::BlockDepSpec::blocking ( ) const

Fetch the spec we're blocking.

Since
0.41

References PALUDIS_ATTRIBUTE.

◆ clone()

std::shared_ptr< DepSpec > paludis::BlockDepSpec::clone ( ) const
overridevirtual

Return a new copy of ourselves.

Implements paludis::Cloneable< DepSpec >.

References clone(), and PALUDIS_ATTRIBUTE.

Referenced by clone().

◆ maybe_annotations()

const std::shared_ptr< const DepSpecAnnotations > paludis::BlockDepSpec::maybe_annotations ( ) const
overridevirtual

Our annotations, may be null. Forwards to the underlying PackageDepSpec.

Since
0.73

Reimplemented from paludis::DepSpec.

References maybe_annotations(), and PALUDIS_ATTRIBUTE.

Referenced by maybe_annotations().

◆ set_annotations()

void paludis::BlockDepSpec::set_annotations ( const std::shared_ptr< const DepSpecAnnotations > & )
overridevirtual

Change our annotations, may be null. Forwards to the underlying PackageDepSpec.

Since
0.73

Reimplemented from paludis::DepSpec.

References set_annotations().

Referenced by set_annotations().


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