paludis::DepSpecFlattener< Heirarchy_, Item_ > Class Template Reference
[Dependency specifications]

#include <dep_spec_flattener.hh>

Inheritance diagram for paludis::DepSpecFlattener< Heirarchy_, Item_ >:

paludis::PrivateImplementationPattern< C_ >

List of all members.

Iterate over our dep specs

typedef WrappedForwardIterator
< ConstIteratorTag, const
std::tr1::shared_ptr< const
Item_ > > 
ConstIterator
ConstIterator begin () const
ConstIterator end () const

Visit operations

void visit (const typename Heirarchy_::template NodeType< NamedSetDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< PlainTextDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< PackageDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< SimpleURIDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< PlainTextLabelDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< AllDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< AnyDepSpec >::Type &node)
void visit (const typename Heirarchy_::template NodeType< ConditionalDepSpec >::Type &node)

Visit implementation operations

template<bool b_>
void handle_named_set (const NamedSetDepSpec &spec)
void handle_item (const Item_ &spec)

Basic operations

 DepSpecFlattener (const Environment *const)
 ~DepSpecFlattener ()


Detailed Description

template<typename Heirarchy_, typename Item_>
class paludis::DepSpecFlattener< Heirarchy_, Item_ >

Extract the enabled components of a dep heirarchy for a particular package. Sets, via NamedSetDepSpec, are automatically expanded.

This template can be instantiated as:

It is not suitable for heirarchies that can contain AnyDepSpec. Any labels are discarded.

Since:
0.26
Examples:

example_dep_spec_flattener.cc, and example_dep_tag.cc.


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