paludis::MetadataCollectionKey< C_ > Class Template Reference
[Metadata Keys]

#include <metadata_key.hh>

Inheritance diagram for paludis::MetadataCollectionKey< C_ >:

paludis::MetadataKey paludis::PrivateImplementationPattern< C_ > paludis::LiteralMetadataFSEntrySequenceKey paludis::LiteralMetadataStringSequenceKey paludis::LiteralMetadataStringSetKey

List of all members.

Basic operations

 MetadataCollectionKey (const std::string &, const std::string &, const MetadataKeyType)

Public Member Functions

virtual const
std::tr1::shared_ptr< const C_ > 
value () const PALUDIS_ATTRIBUTE((warn_unused_result))=0
virtual std::string pretty_print_flat (const Formatter< typename std::tr1::remove_const< typename RemoveSharedPtr< typename C_::value_type >::Type >::type > &) const PALUDIS_ATTRIBUTE((warn_unused_result))=0


Detailed Description

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

A MetadataCollectionKey is a MetadataKey that holds a Set of some kind of item as its value.

Since:
0.26
Examples:

example_metadata_key.cc.


Member Function Documentation

template<typename C_>
virtual const std::tr1::shared_ptr<const C_> paludis::MetadataCollectionKey< C_ >::value (  )  const [pure virtual]

template<typename C_>
virtual std::string paludis::MetadataCollectionKey< C_ >::pretty_print_flat ( const Formatter< typename std::tr1::remove_const< typename RemoveSharedPtr< typename C_::value_type >::Type >::type > &   )  const [pure virtual]

Return a single-line formatted version of our value, using the supplied Formatter to format individual items.


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

Generated on Sun Nov 30 23:01:33 2008 for paludis by  doxygen 1.5.5