paludis Version 3.0.2
The one true package mangler
paludis::Mask Class Referenceabstract

#include <mask.hh>

Inheritance diagram for paludis::Mask:

Public Member Functions

virtual char key () const =0
virtual const std::string description () const =0
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< Mask, MakeTypeList< UserMask, UnacceptedMask, RepositoryMask, UnsupportedMask >::Type >
void accept (UnwrappedVisitor_ &v)
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
auto make_accept_returning (const Case_ &firstcase, const Cases_ &... cases) const -> CallResultType< Case_ >
void make_accept (const Cases_ &... cases) const

Additional Inherited Members

Public Types inherited from paludis::DeclareAbstractAcceptMethods< Mask, MakeTypeList< UserMask, UnacceptedMask, RepositoryMask, UnsupportedMask >::Type >
typedef MakeTypeList< UserMask, UnacceptedMask, RepositoryMask, UnsupportedMask >::Type VisitableTypeList
typedef Mask VisitableBaseClass

Detailed Description

A Mask represents one reason why a PackageID is masked (not available to be installed).

A basic Mask has:

  • A single character key, which can be used by clients if they need a very compact way of representing a mask.
  • A description.

Subclasses provide additional information.

Since
0.26

Member Function Documentation

◆ description()

virtual const std::string paludis::Mask::description ( ) const
pure virtual

A description of the mask.

Implemented in paludis::FakeUnacceptedMask, and paludis::FakeUnsupportedMask.

◆ key()

virtual char paludis::Mask::key ( ) const
pure virtual

A single character key, which can be used by clients if they need a very compact way of representing a mask.

Implemented in paludis::FakeUnacceptedMask, and paludis::FakeUnsupportedMask.


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