paludis Version 3.0.2
The one true package mangler
paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree > Class Reference
Inheritance diagram for paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >:

Public Member Functions

 FakeMetadataSpecTreeKey (const std::string &, const std::string &, const std::string &, const std::function< const std::shared_ptr< const FetchableURISpecTree >(const std::string &)> &, const MetadataKeyType)
const std::shared_ptr< const FetchableURISpecTree > parse_value () const override PALUDIS_ATTRIBUTE((warn_unused_result))
void set_from_string (const std::string &)
const std::shared_ptr< const URILabel > initial_label () const override PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string raw_name () const override PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string human_name () const override PALUDIS_ATTRIBUTE((warn_unused_result))
MetadataKeyType type () const override PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string pretty_print_value (const PrettyPrinter &, const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result))
 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

Member Function Documentation

◆ human_name()

const std::string paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::human_name ( ) const
overridevirtual

Fetch our human name.

Implements paludis::MetadataKey.

References human_name(), and PALUDIS_ATTRIBUTE.

Referenced by human_name().

◆ initial_label()

const std::shared_ptr< const URILabel > paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::initial_label ( ) const
overridevirtual

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

Implements paludis::MetadataSpecTreeKey< FetchableURISpecTree >.

References initial_label(), and PALUDIS_ATTRIBUTE.

Referenced by initial_label().

◆ parse_value()

const std::shared_ptr< const FetchableURISpecTree > paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::parse_value ( ) const
overridevirtual

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

Since
0.61

Implements paludis::MetadataSpecTreeKey< FetchableURISpecTree >.

References PALUDIS_ATTRIBUTE.

◆ pretty_print_value()

const std::string paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::pretty_print_value ( const PrettyPrinter & ,
const PrettyPrintOptions &  ) const
overridevirtual

Pretty print our value.

Since
0.58

Implements paludis::PrettyPrintableMetadataKey.

References PALUDIS_ATTRIBUTE, and pretty_print_value().

Referenced by pretty_print_value().

◆ raw_name()

const std::string paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::raw_name ( ) const
overridevirtual

Fetch our raw name.

Implements paludis::MetadataKey.

References PALUDIS_ATTRIBUTE, and raw_name().

Referenced by raw_name().

◆ type()

MetadataKeyType paludis::FakeMetadataSpecTreeKey< FetchableURISpecTree >::type ( ) const
overridevirtual

Fetch our key type.

Implements paludis::MetadataKey.

References PALUDIS_ATTRIBUTE, and type().

Referenced by type().


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