paludis
Version 2.6.0
|
#include <choice.hh>
Basic operations | |
virtual | ~ChoiceValue ()=0 |
Properties | |
virtual const UnprefixedChoiceName | unprefixed_name () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual const ChoiceNameWithPrefix | name_with_prefix () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual bool | enabled () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual bool | enabled_by_default () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual bool | presumed () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual bool | locked () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual const std::string | description () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual ChoiceOrigin | origin () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual const std::string | parameter () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
virtual const std::shared_ptr< const PermittedChoiceValueParameterValues > | permitted_parameter_values () const PALUDIS_ATTRIBUTE((warn_unused_result))=0 |
An individial Value in a ChoiceValue.
For example, the 'nls' flag in 'USE'.
Some choice values have an associated parameter. For example, build_options:jobs=4.
|
pure virtual |
The flag's description, or an empty string.
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Is this flag enabled?
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Would this flag be enabled by default (i.e. before considering any overrides from the Environment)?
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Is this flag locked (forced or masked)?
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Our name, with prefix if there is one (for example, 'nls' or 'linguas_en').
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
The origin of this choice.
Use this to avoid showing things like LINGUAS values that aren't listed in IUSE but that end up as a ChoiceValue anyway.
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
This flag's parameter, or an empty string if it doesn't have one.
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Permitted values for this flag's parameter, or null if there is no parameter.
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Does this flag have to be explicitly accepted when doing matching?
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.
|
pure virtual |
Our name, without an prefix (for example, 'nls' or 'en').
Implemented in paludis::ELikeDwarfCompressionChoiceValue, paludis::ELikeWorkChoiceValue, paludis::ELikeSymbolsChoiceValue, paludis::ELikeTraceChoiceValue, paludis::ELikeJobsChoiceValue, paludis::ELikeExpensiveTestsChoiceValue, paludis::ELikeRecommendedTestsChoiceValue, and paludis::ELikeOptionalTestsChoiceValue.