|
paludis
Version 1.4.0
|
#include <dep_spec.hh>
Inheritance diagram for paludis::ConditionalDepSpec:Public Member Functions | |
| bool | condition_met (const Environment *const, const std::shared_ptr< const PackageID > &) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| bool | condition_would_be_met_when (const Environment *const, const std::shared_ptr< const PackageID > &, const ChangedChoices &) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| bool | condition_meetable (const Environment *const, const std::shared_ptr< const PackageID > &) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| const std::shared_ptr< const ConditionalDepSpecData > | data () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Public Member Functions inherited from paludis::DepSpec | |
| virtual const std::shared_ptr < const DepSpecAnnotations > | maybe_annotations () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| virtual void | set_annotations (const std::shared_ptr< const DepSpecAnnotations > &) |
| virtual | ~DepSpec () |
| DepSpec (const DepSpec &)=delete | |
| DepSpec & | operator= (const DepSpec &)=delete |
Public Member Functions inherited from paludis::Cloneable< DepSpec > | |
| virtual | ~Cloneable () |
Public Member Functions inherited from paludis::CloneUsingThis< DepSpec, ConditionalDepSpec > | |
| virtual std::shared_ptr< DepSpec > | clone () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| virtual | ~CloneUsingThis () |
Friends | |
| std::ostream & | operator<< (std::ostream &, const ConditionalDepSpec &) |
Basic operations | |
| ConditionalDepSpec (const std::shared_ptr< const ConditionalDepSpecData > &) | |
| ConditionalDepSpec (const ConditionalDepSpec &) | |
| ~ConditionalDepSpec () | |
Represents a dependency spec whose children should only be considered upon a certain condition (for example, a use dependency block).
| bool paludis::ConditionalDepSpec::condition_meetable | ( | const Environment * | const, |
| const std::shared_ptr< const PackageID > & | |||
| ) | const |
Is our condition meetable?
This takes into account inverses, masks, forces etc.
| bool paludis::ConditionalDepSpec::condition_met | ( | const Environment * | const, |
| const std::shared_ptr< const PackageID > & | |||
| ) | const |
Is our condition met?
This takes into account inverses etc.
| bool paludis::ConditionalDepSpec::condition_would_be_met_when | ( | const Environment * | const, |
| const std::shared_ptr< const PackageID > & | , | ||
| const ChangedChoices & | |||
| ) | const |
Would our condition met, if certain choices were changed?
| const std::shared_ptr<const ConditionalDepSpecData> paludis::ConditionalDepSpec::data | ( | ) | const |
Fetch our data.
This shouldn't generally be used by clients, but some repositories use it to gain access to additional data stored in the ConditionalDepSpecData.
|
friend |
A ConditionalDepSpec can be written to an ostream.
1.8.3.1