zypp::ui::PatternExpander Class Reference

Recursively expand a Pattern. More...

#include <PatternExpander.h>

Inheritance diagram for zypp::ui::PatternExpander:

NonCopyable List of all members.

Public Types

typedef PatternMap::size_type size_type
typedef PatternMap::key_type value_type
typedef MapKVIteratorTraits<
PatternMap >::Key_const_iterator 
const_iterator

Public Member Functions

 PatternExpander (const ResPool &pool_r)
 Ctor taking the ResPool to use.
Expand a Pattern.
Returns:
Number of Patterns after expansion.


size_type expand (const ResObject::constPtr &obj_r)
size_type expand (const Pattern::constPtr &pat_r)
Access result of last expansion..
size_type size () const
bool empty () const
const_iterator begin () const
const_iterator end () const

Private Types

typedef std::map< Pattern::constPtr,
DefaultIntegral< bool, false > > 
PatternMap

Private Attributes

RW_pointer< Impl_pimpl
 Pointer to implementation.

Classes

class  Impl
 PatternExpander implementation. More...

Detailed Description

Recursively expand a Pattern.

This means recursively expanding Patterns included by this or extending this. The result is a set of Pattern::constPtr accessible via iterator.

Definition at line 45 of file PatternExpander.h.


Member Typedef Documentation

typedef std::map<Pattern::constPtr, DefaultIntegral<bool, false> > zypp::ui::PatternExpander::PatternMap [private]
 

Definition at line 48 of file PatternExpander.h.

typedef PatternMap::size_type zypp::ui::PatternExpander::size_type
 

Definition at line 53 of file PatternExpander.h.

typedef PatternMap::key_type zypp::ui::PatternExpander::value_type
 

Definition at line 54 of file PatternExpander.h.

typedef MapKVIteratorTraits<PatternMap>::Key_const_iterator zypp::ui::PatternExpander::const_iterator
 

Definition at line 55 of file PatternExpander.h.


Constructor & Destructor Documentation

zypp::ui::PatternExpander::PatternExpander const ResPool pool_r  ) 
 

Ctor taking the ResPool to use.

Definition at line 169 of file PatternExpander.cc.


Member Function Documentation

PatternExpander::size_type zypp::ui::PatternExpander::expand const ResObject::constPtr obj_r  )  [inline]
 

Definition at line 66 of file PatternExpander.h.

Referenced by zypp::ui::PatternContents::Impl::install_packages().

size_type zypp::ui::PatternExpander::expand const Pattern::constPtr pat_r  ) 
 

PatternExpander::size_type zypp::ui::PatternExpander::size  )  const
 

Definition at line 176 of file PatternExpander.cc.

References _pimpl.

bool zypp::ui::PatternExpander::empty  )  const
 

Definition at line 179 of file PatternExpander.cc.

References _pimpl.

PatternExpander::const_iterator zypp::ui::PatternExpander::begin  )  const
 

Definition at line 182 of file PatternExpander.cc.

References _pimpl, and zypp::make_map_key_begin().

Referenced by zypp::ui::PatternContents::Impl::install_packages().

PatternExpander::const_iterator zypp::ui::PatternExpander::end  )  const
 

Definition at line 185 of file PatternExpander.cc.

References _pimpl, and zypp::make_map_key_end().

Referenced by zypp::ui::PatternContents::Impl::install_packages().


Member Data Documentation

RW_pointer<Impl> zypp::ui::PatternExpander::_pimpl [private]
 

Pointer to implementation.

Definition at line 85 of file PatternExpander.h.

Referenced by begin(), empty(), end(), and size().


The documentation for this class was generated from the following files:
Generated on Thu Apr 24 02:25:16 2008 for zypp by  doxygen 1.4.6