Public Member Functions | Private Attributes | List of all members
CompoundIdIterator Class Reference
Inheritance diagram for CompoundIdIterator:
ICompoundIterator QListIterator< QString > QGListIterator

Public Member Functions

 CompoundIdIterator (const MainHandler *m, const QList< QString > &list)
 
virtual ~CompoundIdIterator ()
 
virtual void toFirst ()
 
virtual void toLast ()
 
virtual void toNext ()
 
virtual void toPrev ()
 
virtual ICompoundcurrent () const
 
virtual void release ()
 
- Public Member Functions inherited from QListIterator< QString >
 QListIterator (const QList< QString > &l)
 
 ~QListIterator ()
 
uint count () const
 
bool isEmpty () const
 
bool atFirst () const
 
bool atLast () const
 
QStringtoFirst ()
 
QStringtoLast ()
 
 operator QString * () const
 
QStringoperator* ()
 
QStringcurrent () const
 
QStringoperator() ()
 
QStringoperator++ ()
 
QStringoperator+= (uint j)
 
QStringoperator-- ()
 
QStringoperator-= (uint j)
 
QListIterator< QString > & operator= (const QListIterator< QString > &it)
 

Private Attributes

const MainHandlerm_mainHandler
 

Additional Inherited Members

- Protected Member Functions inherited from QGListIterator
 QGListIterator (const QGList &)
 
 QGListIterator (const QGListIterator &)
 
QGListIteratoroperator= (const QGListIterator &)
 
 ~QGListIterator ()
 
bool atFirst () const
 
bool atLast () const
 
QCollection::Item toFirst ()
 
QCollection::Item toLast ()
 
QCollection::Item get () const
 
QCollection::Item operator() ()
 
QCollection::Item operator++ ()
 
QCollection::Item operator+= (uint)
 
QCollection::Item operator-- ()
 
QCollection::Item operator-= (uint)
 
- Protected Attributes inherited from QGListIterator
QGListlist
 

Detailed Description

Definition at line 55 of file compoundhandler.cpp.

Constructor & Destructor Documentation

CompoundIdIterator::CompoundIdIterator ( const MainHandler m,
const QList< QString > &  list 
)
inline

Definition at line 59 of file compoundhandler.cpp.

virtual CompoundIdIterator::~CompoundIdIterator ( )
inlinevirtual

Definition at line 61 of file compoundhandler.cpp.

61 {}

Member Function Documentation

virtual ICompound* CompoundIdIterator::current ( ) const
inlinevirtual

Implements ICompoundIterator.

Definition at line 79 of file compoundhandler.cpp.

80  {
82  return id ? m_mainHandler->compoundById(id->utf8()) : 0;
83  }
const MainHandler * m_mainHandler
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
type * current() const
Definition: qlist.h:146
ICompound * compoundById(const char *id) const
QCString utf8() const
Definition: qstring.cpp:14507
virtual void CompoundIdIterator::release ( )
inlinevirtual

Implements ICompoundIterator.

Definition at line 84 of file compoundhandler.cpp.

85  { delete this; }
virtual void CompoundIdIterator::toFirst ( )
inlinevirtual

Implements ICompoundIterator.

Definition at line 63 of file compoundhandler.cpp.

64  {
66  }
type * toFirst()
Definition: qlist.h:135
virtual void CompoundIdIterator::toLast ( )
inlinevirtual

Implements ICompoundIterator.

Definition at line 67 of file compoundhandler.cpp.

68  {
70  }
type * toLast()
Definition: qlist.h:136
virtual void CompoundIdIterator::toNext ( )
inlinevirtual

Implements ICompoundIterator.

Definition at line 71 of file compoundhandler.cpp.

72  {
74  }
type * operator++()
Definition: qlist.h:148
virtual void CompoundIdIterator::toPrev ( )
inlinevirtual

Implements ICompoundIterator.

Definition at line 75 of file compoundhandler.cpp.

76  {
78  }
type * operator--()
Definition: qlist.h:150

Member Data Documentation

const MainHandler* CompoundIdIterator::m_mainHandler
private

Definition at line 88 of file compoundhandler.cpp.


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