libzypp  15.28.6
zypp::sat::LookupAttr::TransformIterator< TResult, TAttr > Class Template Reference

TransformIterator returning an iterator vaue of type TResult. More...

#include <LookupAttr.h>

Inheritance diagram for zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >:

Public Member Functions

 TransformIterator ()
 
 TransformIterator (const LookupAttr::iterator &val_r)
 
Moving fast forward.
void nextSkipSolvAttr ()
 On the next call to operator++ advance to the next SolvAttr. More...
 
void nextSkipSolvable ()
 On the next call to operator++ advance to the next Solvable. More...
 
void nextSkipRepo ()
 On the next call to operator++ advance to the next Repository. More...
 
void skipSolvAttr ()
 Immediately advance to the next SolvAttr. More...
 
void skipSolvable ()
 Immediately advance to the next Solvable. More...
 
void skipRepo ()
 Immediately advance to the next Repository. More...
 
Current position info.
Repository inRepo () const
 The current Repository. More...
 
Solvable inSolvable () const
 The current Solvabele. More...
 
SolvAttr inSolvAttr () const
 The current SolvAttr. More...
 

Private Member Functions

TResult dereference () const
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<class TResult, class TAttr = TResult>
class zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >

TransformIterator returning an iterator vaue of type TResult.

TransformIterator returning an iterator value of type TResult.

The underlying LookupAttr::iterators value is retrieved asType<TAttr> and the returned ResultT is constructed fron that value.

class Keywords
{
public:
Keywords( sat::Solvable solv_r )
: _q( sat::SolvAttr::keywords, solv_r )
{}
public:
typedef sat::LookupAttr::TransformIterator<PackageKeyword,IdString> iterator;
iterator begin() const { return iterator( _q.begin() ); }
iterator end() const { return iterator( _q.end() ); }
private:
sat::LookupAttr _q;
};
See Also
ArrayAttr.

Definition at line 162 of file LookupAttr.h.

Constructor & Destructor Documentation

template<class TResult , class TAttr = TResult>
zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::TransformIterator ( )
inline

Definition at line 65 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::TransformIterator ( const LookupAttr::iterator val_r)
inlineexplicit

Definition at line 69 of file LookupAttrTools.h.

Member Function Documentation

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::nextSkipSolvAttr ( )
inline

On the next call to operator++ advance to the next SolvAttr.

Definition at line 77 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::nextSkipSolvable ( )
inline

On the next call to operator++ advance to the next Solvable.

Definition at line 81 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::nextSkipRepo ( )
inline

On the next call to operator++ advance to the next Repository.

Definition at line 85 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::skipSolvAttr ( )
inline

Immediately advance to the next SolvAttr.

Definition at line 89 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::skipSolvable ( )
inline

Immediately advance to the next Solvable.

Definition at line 93 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
void zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::skipRepo ( )
inline

Immediately advance to the next Repository.

Definition at line 97 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
Repository zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::inRepo ( ) const
inline

The current Repository.

Definition at line 104 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
Solvable zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::inSolvable ( ) const
inline

The current Solvabele.

Definition at line 108 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
SolvAttr zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::inSolvAttr ( ) const
inline

The current SolvAttr.

Definition at line 112 of file LookupAttrTools.h.

template<class TResult , class TAttr = TResult>
TResult zypp::sat::LookupAttr::TransformIterator< TResult, TAttr >::dereference ( ) const
inlineprivate

Definition at line 119 of file LookupAttrTools.h.

Friends And Related Function Documentation

template<class TResult , class TAttr = TResult>
friend class boost::iterator_core_access
friend

Definition at line 117 of file LookupAttrTools.h.


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