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

#include <StdMeshMaterial.h>

Public Member Functions

 Iterator (const MaterialMap::iterator &iter)
 
 Iterator (const Iterator &iter)=default
 
Iterator operator= (const Iterator &iter)
 
Iteratoroperator++ ()
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
const StdMeshMaterialoperator* () const
 
const StdMeshMaterialoperator-> () const
 

Friends

class StdMeshMatManager
 

Detailed Description

Definition at line 529 of file StdMeshMaterial.h.

Constructor & Destructor Documentation

StdMeshMatManager::Iterator::Iterator ( const MaterialMap::iterator &  iter)
inline

Definition at line 533 of file StdMeshMaterial.h.

533 : iter_(iter) {}
StdMeshMatManager::Iterator::Iterator ( const Iterator iter)
default

Member Function Documentation

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

Definition at line 539 of file StdMeshMaterial.h.

539 { return iter_ != other.iter_; }
const StdMeshMaterial& StdMeshMatManager::Iterator::operator* ( ) const
inline

Definition at line 541 of file StdMeshMaterial.h.

541 { return iter_->second; }
Iterator& StdMeshMatManager::Iterator::operator++ ( )
inline

Definition at line 537 of file StdMeshMaterial.h.

537 { ++iter_; return *this; }
const StdMeshMaterial* StdMeshMatManager::Iterator::operator-> ( ) const
inline

Definition at line 542 of file StdMeshMaterial.h.

542 { return &iter_->second; }
Iterator StdMeshMatManager::Iterator::operator= ( const Iterator iter)
inline

Definition at line 536 of file StdMeshMaterial.h.

536 { iter_ = iter.iter_; return *this; }
bool StdMeshMatManager::Iterator::operator== ( const Iterator other) const
inline

Definition at line 538 of file StdMeshMaterial.h.

538 { return iter_ == other.iter_; }

Friends And Related Function Documentation

friend class StdMeshMatManager
friend

Definition at line 531 of file StdMeshMaterial.h.


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