paludis Version 3.0.2
The one true package mangler
paludis::LiteralMetadataMaintainersKey Class Reference

#include <literal_metadata_key.hh>

Inheritance diagram for paludis::LiteralMetadataMaintainersKey:

Public Member Functions

const std::shared_ptr< const Maintainers > parse_value () 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

Basic operations

 LiteralMetadataMaintainersKey (const std::string &, const std::string &, const MetadataKeyType, const std::shared_ptr< const Maintainers > &)

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 LiteralMetadataMaintainersKey is a MetadataCollectionKey<Maintainers> whose value is known at construction time.

Since
0.68

Member Function Documentation

◆ human_name()

const std::string paludis::LiteralMetadataMaintainersKey::human_name ( ) const
overridevirtual

Fetch our human name.

Implements paludis::MetadataKey.

References human_name(), and PALUDIS_ATTRIBUTE.

Referenced by human_name().

◆ parse_value()

const std::shared_ptr< const Maintainers > paludis::LiteralMetadataMaintainersKey::parse_value ( ) const
overridevirtual

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

Since
0.61

Implements paludis::MetadataCollectionKey< Maintainers >.

References PALUDIS_ATTRIBUTE.

◆ pretty_print_value()

const std::string paludis::LiteralMetadataMaintainersKey::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::LiteralMetadataMaintainersKey::raw_name ( ) const
overridevirtual

Fetch our raw name.

Implements paludis::MetadataKey.

References PALUDIS_ATTRIBUTE, and raw_name().

Referenced by raw_name().

◆ type()

MetadataKeyType paludis::LiteralMetadataMaintainersKey::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: