paludis  Version 2.6.0
List of all members
paludis::DepSpecFlattener< Heirarchy_, Item_ > Class Template Reference

#include <dep_spec_flattener.hh>

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, const std::shared_ptr< const PackageID > &=typename std::enable_if< std::is_same< Heirarchy_, SetSpecTree >::value, std::shared_ptr< const PackageID > >::type())
 
 ~DepSpecFlattener ()
 
 DepSpecFlattener (const DepSpecFlattener &)=delete
 
DepSpecFlatteneroperator= (const DepSpecFlattener &)=delete
 

Iterate over our dep specs

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

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.

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