paludis::LabelsDepSpec< Labels_ > Class Template Reference
[Dependency specifications]

#include <dep_spec.hh>

Inheritance diagram for paludis::LabelsDepSpec< Labels_ >:

paludis::DepSpec paludis::PrivateImplementationPattern< C_ > paludis::PrivateImplementationPattern< C_ > paludis::MetadataKeyHolder paludis::Cloneable< T_ > paludis::PrivateImplementationPattern< C_ >

List of all members.

Contained labels

typedef WrappedForwardIterator
< ConstIteratorTag, const
std::tr1::shared_ptr< const
Labels_ > > 
ConstIterator
void add_label (const std::tr1::shared_ptr< const Labels_ > &)
ConstIterator begin () const PALUDIS_ATTRIBUTE((warn_unused_result))
ConstIterator end () const PALUDIS_ATTRIBUTE((warn_unused_result))

Basic operations

 LabelsDepSpec ()
 ~LabelsDepSpec ()

Public Member Functions

virtual std::tr1::shared_ptr
< DepSpec
clone () const PALUDIS_ATTRIBUTE((warn_unused_result))

Protected Member Functions

virtual void need_keys_added () const


Detailed Description

template<typename Labels_>
class paludis::LabelsDepSpec< Labels_ >

A LabelsDepSpec represents a labels entry using a particular visitor types class.

See also:
DependencyLabelsDepSpec

URILabelsDepSpec

Since:
0.26
Examples:

example_formatter.cc.


Member Function Documentation

template<typename Labels_>
virtual void paludis::LabelsDepSpec< Labels_ >::need_keys_added (  )  const [protected, virtual]

This method will be called before any of the metadata key iteration methods does its work. It can be used by subclasses to implement as-needed loading of keys.

Implements paludis::MetadataKeyHolder.

template<typename Labels_>
virtual std::tr1::shared_ptr<DepSpec> paludis::LabelsDepSpec< Labels_ >::clone (  )  const [virtual]

Return a new copy of ourselves.

Implements paludis::Cloneable< T_ >.


The documentation for this class was generated from the following file:
Generated on Mon Sep 21 10:36:10 2009 for paludis by  doxygen 1.5.4