paludis Version 3.0.2
The one true package mangler
paludis::MetadataSpecTreeKey< DependencySpecTree > Class Referenceabstract

#include <metadata_key.hh>

Inheritance diagram for paludis::MetadataSpecTreeKey< DependencySpecTree >:

Public Member Functions

virtual const std::shared_ptr< const DependencySpecTree > parse_value () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual const std::shared_ptr< const DependenciesLabelSequence > initial_labels () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
Public Member Functions inherited from paludis::PrettyPrintableMetadataKey
virtual const std::string pretty_print_value (const PrettyPrinter &, const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result))=0
Public Member Functions inherited from paludis::MetadataKey
virtual const std::string raw_name () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual const std::string human_name () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual MetadataKeyType type () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
 MetadataKey (const MetadataKey &)=delete
MetadataKey & operator= (const MetadataKey &)=delete
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::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
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MetadataKey::VisitableTypeList >
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< MetadataKey, MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::Type >
typedef MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::Type VisitableTypeList
typedef MetadataKey VisitableBaseClass
Public Types inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MetadataKey::VisitableTypeList >
typedef MetadataKey::VisitableTypeList VisitableTypeList
typedef MetadataKey VisitableBaseClass

Detailed Description

A MetadataSpecTreeKey<DependencySpecTree> is a MetadataKey that holds a FetchableURISpecTree as its value.

This specialisation of MetadataSpecTreeKey provides an additional initial_label method.

Since
0.26

Member Function Documentation

◆ initial_labels()

virtual const std::shared_ptr< const DependenciesLabelSequence > paludis::MetadataSpecTreeKey< DependencySpecTree >::initial_labels ( ) const
pure virtual

Return a DependenciesLabelSequence that represents the initial labels to use when deciding the behaviour of individual items in the heirarchy.

Implemented in paludis::FakeMetadataSpecTreeKey< DependencySpecTree >.

References initial_labels(), and PALUDIS_ATTRIBUTE.

Referenced by initial_labels().

◆ parse_value()

virtual const std::shared_ptr< const DependencySpecTree > paludis::MetadataSpecTreeKey< DependencySpecTree >::parse_value ( ) const
pure virtual

Fetch our value, parse not necessarily cached (so multiple calls may return different shared_ptrs).

Since
0.61

Implemented in paludis::FakeMetadataSpecTreeKey< DependencySpecTree >.

References PALUDIS_ATTRIBUTE.


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