paludis  Version 2.6.0
Public Member Functions | List of all members
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))
 
virtual const std::shared_ptr< const DepSpecAnnotationsmaybe_annotations () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual void set_annotations (const std::shared_ptr< const DepSpecAnnotations > &)
 
virtual std::shared_ptr< DepSpecclone () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
- Public Member Functions inherited from paludis::StringDepSpec
std::string text () const
 
- Public Member Functions inherited from paludis::DepSpec
virtual ~DepSpec ()
 
 DepSpec (const DepSpec &)=delete
 
DepSpecoperator= (const DepSpec &)=delete
 
- Public Member Functions inherited from paludis::Cloneable< DepSpec >
virtual ~Cloneable ()
 

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 &)
 
 ~StringDepSpec ()
 

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

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

Fetch the spec we're blocking.

Since
0.41
virtual std::shared_ptr<DepSpec> paludis::BlockDepSpec::clone ( ) const
virtual

Return a new copy of ourselves.

Implements paludis::Cloneable< DepSpec >.

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

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

Since
0.73

Reimplemented from paludis::DepSpec.

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

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

Since
0.73

Reimplemented from paludis::DepSpec.


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