paludis  Version 1.4.2
Public Member Functions | List of all members
paludis::FakeMetadataSpecTreeKey< C_ > Class Template Reference
+ Inheritance diagram for paludis::FakeMetadataSpecTreeKey< C_ >:

Public Member Functions

 FakeMetadataSpecTreeKey (const std::string &, const std::string &, const std::string &, const std::function< const std::shared_ptr< const C_ >(const std::string &)> &, const MetadataKeyType)
 
virtual const std::shared_ptr
< const C_ > 
parse_value () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
void set_from_string (const std::string &)
 
virtual const std::string raw_name () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual const std::string human_name () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual MetadataKeyType type () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
virtual const std::string pretty_print_value (const PrettyPrinter &, const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
- Public Member Functions inherited from paludis::MetadataKey
 MetadataKey ()=default
 
virtual ~MetadataKey ()=0
 
 MetadataKey (const MetadataKey &)=delete
 
MetadataKeyoperator= (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)
 
void accept (UnwrappedVisitor_ &v) const
 
void accept (const UnwrappedVisitor_ &v)
 
void accept (const UnwrappedVisitor_ &v) const
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
- Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MetadataKey::VisitableTypeList >
void accept (UnwrappedVisitor_ &v)
 
void accept (UnwrappedVisitor_ &v) const
 
void accept (const UnwrappedVisitor_ &v)
 
void accept (const UnwrappedVisitor_ &v) const
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_()) 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

template<typename C_ >
virtual const std::string paludis::FakeMetadataSpecTreeKey< C_ >::human_name ( ) const
virtual

Fetch our human name.

Implements paludis::MetadataKey.

template<typename C_ >
virtual const std::shared_ptr<const C_> paludis::FakeMetadataSpecTreeKey< C_ >::parse_value ( ) const
virtual

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

Since
0.61

Implements paludis::MetadataSpecTreeKey< C_ >.

template<typename C_ >
virtual const std::string paludis::FakeMetadataSpecTreeKey< C_ >::pretty_print_value ( const PrettyPrinter ,
const PrettyPrintOptions  
) const
virtual

Pretty print our value.

Since
0.58

Implements paludis::PrettyPrintableMetadataKey.

template<typename C_ >
virtual const std::string paludis::FakeMetadataSpecTreeKey< C_ >::raw_name ( ) const
virtual

Fetch our raw name.

Implements paludis::MetadataKey.

template<typename C_ >
virtual MetadataKeyType paludis::FakeMetadataSpecTreeKey< C_ >::type ( ) const
virtual

Fetch our key type.

Implements paludis::MetadataKey.


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