_Dataiterator
.
More...
#include <LookupAttr.h>
Public Member Functions | |
DIWrap () | |
NULL _Dataiterator | |
DIWrap (RepoIdType repoId_r, SolvableIdType solvId_r, IdType attrId_r, const std::string &mstring_r=std::string(), int flags_r=0) | |
Initializes. | |
DIWrap (RepoIdType repoId_r, SolvableIdType solvId_r, IdType attrId_r, const char *mstring_r, int flags_r=0) | |
DIWrap (const DIWrap &rhs) | |
~DIWrap () | |
void | swap (DIWrap &rhs) |
DIWrap & | operator= (const DIWrap &rhs) |
void | reset () |
::_Dataiterator * | operator-> () const |
::_Dataiterator * | get () const |
const std::string & | getstr () const |
Private Member Functions | |
friend | base::SafeBool () const |
bool | boolTest () const |
Private Attributes | |
::_Dataiterator * | _dip |
std::string | _mstring |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const DIWrap &obj) |
_Dataiterator
.
Manages copy and assign, and release of allocated resources like datamatcher inside the dataiterator. Also maintains a copy of the matchstring in order to keep the char* passed to the dataiterator valid.
Definition at line 296 of file LookupAttr.h.
zypp::sat::detail::DIWrap::DIWrap | ( | ) | [inline] |
NULL
_Dataiterator
Definition at line 300 of file LookupAttr.h.
Referenced by operator=(), and reset().
zypp::sat::detail::DIWrap::DIWrap | ( | RepoIdType | repoId_r, | |
SolvableIdType | solvId_r, | |||
IdType | attrId_r, | |||
const std::string & | mstring_r = std::string() , |
|||
int | flags_r = 0 | |||
) |
Initializes.
Definition at line 298 of file LookupAttr.cc.
References _dip, _mstring, zypp::sat::Pool::get(), and zypp::sat::Pool::instance().
zypp::sat::detail::DIWrap::DIWrap | ( | RepoIdType | repoId_r, | |
SolvableIdType | solvId_r, | |||
IdType | attrId_r, | |||
const char * | mstring_r, | |||
int | flags_r = 0 | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 307 of file LookupAttr.cc.
References _dip, _mstring, zypp::sat::Pool::get(), and zypp::sat::Pool::instance().
zypp::sat::detail::DIWrap::DIWrap | ( | const DIWrap & | rhs | ) |
zypp::sat::detail::DIWrap::~DIWrap | ( | ) |
void zypp::sat::detail::DIWrap::swap | ( | DIWrap & | rhs | ) | [inline] |
Definition at line 312 of file LookupAttr.h.
References _dip, and _mstring.
Referenced by zypp::sat::LookupAttr::iterator::iterator().
void zypp::sat::detail::DIWrap::reset | ( | ) | [inline] |
Definition at line 326 of file LookupAttr.h.
References DIWrap().
Referenced by zypp::sat::LookupAttr::iterator::increment().
::_Dataiterator* zypp::sat::detail::DIWrap::operator-> | ( | ) | const [inline] |
::_Dataiterator* zypp::sat::detail::DIWrap::get | ( | ) | const [inline] |
Definition at line 335 of file LookupAttr.h.
References _dip.
Referenced by zypp::sat::LookupAttr::iterator::get(), zypp::sat::LookupAttr::iterator::increment(), zypp::sat::LookupAttr::iterator::iterator(), zypp::sat::LookupAttr::iterator::nextSkipRepo(), zypp::sat::LookupAttr::iterator::nextSkipSolvable(), zypp::sat::LookupAttr::iterator::nextSkipSolvAttr(), zypp::sat::detail::operator<<(), zypp::sat::LookupAttr::iterator::operator=(), zypp::sat::LookupAttr::iterator::stayInThisRepo(), zypp::sat::LookupAttr::iterator::stayInThisSolvable(), and zypp::sat::LookupAttr::iterator::subBegin().
const std::string& zypp::sat::detail::DIWrap::getstr | ( | ) | const [inline] |
zypp::sat::detail::DIWrap::base::SafeBool | ( | ) | const [private] |
bool zypp::sat::detail::DIWrap::boolTest | ( | ) | const [inline, private] |
std::ostream & operator<< | ( | std::ostream & | str, | |
const DIWrap & | obj | |||
) | [related] |
Stream output.
Definition at line 336 of file LookupAttr.cc.
::_Dataiterator* zypp::sat::detail::DIWrap::_dip [private] |
Definition at line 342 of file LookupAttr.h.
Referenced by boolTest(), DIWrap(), get(), operator->(), swap(), and ~DIWrap().
std::string zypp::sat::detail::DIWrap::_mstring [private] |