paludis  Version 1.4.0
Public Member Functions | List of all members
paludis::MetadataSpecTreeKey< C_ > Class Template Referenceabstract

#include <metadata_key.hh>

+ Inheritance diagram for paludis::MetadataSpecTreeKey< C_ >:

Public Member Functions

virtual const std::shared_ptr
< const C_ > 
parse_value () 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 ()=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
 

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

template<typename C_>
class paludis::MetadataSpecTreeKey< C_ >

A MetadataSpecTreeKey<> is a MetadataKey that holds a spec tree of some kind as its value.

Since
0.26
Examples:
example_dep_spec_flattener.cc, and example_metadata_key.cc.

Member Function Documentation

template<typename C_>
virtual const std::shared_ptr<const C_> paludis::MetadataSpecTreeKey< C_ >::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< C_ >.


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