paludis  Version 1.4.0
Public Member Functions | List of all members
paludis::LiteralMetadataStringSetKey Class Reference

#include <literal_metadata_key.hh>

+ Inheritance diagram for paludis::LiteralMetadataStringSetKey:

Public Member Functions

virtual const std::shared_ptr
< const Set< std::string > > 
parse_value () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
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))
 

Basic operations

 LiteralMetadataStringSetKey (const std::string &, const std::string &, const MetadataKeyType, const std::shared_ptr< const Set< std::string > > &)
 
 ~LiteralMetadataStringSetKey ()
 

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 LiteralMetadataStringSetKey is a MetadataCollectionKey<Set<std::string> > whose value is known at construction time.

Since
0.26

Member Function Documentation

virtual const std::string paludis::LiteralMetadataStringSetKey::human_name ( ) const
virtual

Fetch our human name.

Implements paludis::MetadataKey.

virtual const std::shared_ptr<const Set<std::string> > paludis::LiteralMetadataStringSetKey::parse_value ( ) const
virtual

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

Since
0.61

Implements paludis::MetadataCollectionKey< Set< std::string > >.

virtual const std::string paludis::LiteralMetadataStringSetKey::pretty_print_value ( const PrettyPrinter ,
const PrettyPrintOptions  
) const
virtual

Pretty print our value.

Since
0.58

Implements paludis::PrettyPrintableMetadataKey.

virtual const std::string paludis::LiteralMetadataStringSetKey::raw_name ( ) const
virtual

Fetch our raw name.

Implements paludis::MetadataKey.

virtual MetadataKeyType paludis::LiteralMetadataStringSetKey::type ( ) const
virtual

Fetch our key type.

Implements paludis::MetadataKey.


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