OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4PropList::Iterator Class Reference

#include <C4PropList.h>

Public Member Functions

 Iterator ()
 
const C4Propertyoperator* () const
 
const C4Propertyoperator-> () const
 
void operator++ ()
 
void operator++ (int)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 

Friends

class C4PropList
 

Detailed Description

Definition at line 172 of file C4PropList.h.

Constructor & Destructor Documentation

C4PropList::Iterator::Iterator ( )
inline

Definition at line 184 of file C4PropList.h.

184 : properties(0) { }

Member Function Documentation

bool C4PropList::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 198 of file C4PropList.h.

199  {
200  return !(*this == other);
201  }
const C4Property* C4PropList::Iterator::operator* ( ) const
inline

Definition at line 186 of file C4PropList.h.

186 { return *iter; }
void C4PropList::Iterator::operator++ ( )
inline

Definition at line 188 of file C4PropList.h.

188 { ++iter; };
void C4PropList::Iterator::operator++ ( int  )
inline

Definition at line 189 of file C4PropList.h.

References operator++().

Referenced by operator++().

189 { operator++(); }

Here is the call graph for this function:

Here is the caller graph for this function:

const C4Property* C4PropList::Iterator::operator-> ( ) const
inline

Definition at line 187 of file C4PropList.h.

187 { return *iter; }
bool C4PropList::Iterator::operator== ( const Iterator other) const
inline

Definition at line 191 of file C4PropList.h.

192  {
193  if ((properties == 0 || iter == properties->end()) && (other.properties == 0 || other.iter == other.properties->end()))
194  return true;
195  return properties == other.properties && iter == other.iter;
196  }

Friends And Related Function Documentation

friend class C4PropList
friend

Definition at line 203 of file C4PropList.h.


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