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

#include <dep_label.hh>

Inheritance diagram for paludis::DependenciesLabel:

Public Member Functions

virtual const std::string text () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
 Our text.
virtual bool enabled (const Environment *const, const std::shared_ptr< const PackageID > &) const PALUDIS_ATTRIBUTE((warn_unused_result))=0
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< DependenciesLabel, MakeTypeList< DependenciesBuildLabel, DependenciesRunLabel, DependenciesPostLabel, DependenciesCompileAgainstLabel, DependenciesFetchLabel, DependenciesInstallLabel, DependenciesSuggestionLabel, DependenciesRecommendationLabel, DependenciesTestLabel >::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

Basic operations

 DependenciesLabel (const DependenciesLabel &)=delete
DependenciesLabel & operator= (const DependenciesLabel &)=delete

Additional Inherited Members

Public Types inherited from paludis::DeclareAbstractAcceptMethods< DependenciesLabel, MakeTypeList< DependenciesBuildLabel, DependenciesRunLabel, DependenciesPostLabel, DependenciesCompileAgainstLabel, DependenciesFetchLabel, DependenciesInstallLabel, DependenciesSuggestionLabel, DependenciesRecommendationLabel, DependenciesTestLabel >::Type >
typedef MakeTypeList< DependenciesBuildLabel, DependenciesRunLabel, DependenciesPostLabel, DependenciesCompileAgainstLabel, DependenciesFetchLabel, DependenciesInstallLabel, DependenciesSuggestionLabel, DependenciesRecommendationLabel, DependenciesTestLabel >::Type VisitableTypeList
typedef DependenciesLabel VisitableBaseClass

Detailed Description

Dependencies label base class.

Since
0.42

Member Function Documentation

◆ enabled()

virtual bool paludis::DependenciesLabel::enabled ( const Environment * const ,
const std::shared_ptr< const PackageID > &  ) const
pure virtual

Are we enabled?

Since
0.58 takes env, package_id

Implemented in paludis::AlwaysEnabledDependencyLabel< Label_ >.

References enabled(), and PALUDIS_ATTRIBUTE.

Referenced by enabled().

◆ text()

virtual const std::string paludis::DependenciesLabel::text ( ) const
pure virtual

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