OpenClonk
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

◆ Iterator() [1/2]

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

Definition at line 533 of file StdMeshMaterial.h.

533 : iter_(iter) {}

◆ Iterator() [2/2]

StdMeshMatManager::Iterator::Iterator ( const Iterator iter)
default

Member Function Documentation

◆ operator!=()

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

Definition at line 539 of file StdMeshMaterial.h.

539 { return iter_ != other.iter_; }

◆ operator*()

const StdMeshMaterial& StdMeshMatManager::Iterator::operator* ( ) const
inline

Definition at line 541 of file StdMeshMaterial.h.

541 { return iter_->second; }

◆ operator++()

Iterator& StdMeshMatManager::Iterator::operator++ ( )
inline

Definition at line 537 of file StdMeshMaterial.h.

537 { ++iter_; return *this; }

◆ operator->()

const StdMeshMaterial* StdMeshMatManager::Iterator::operator-> ( ) const
inline

Definition at line 542 of file StdMeshMaterial.h.

542 { return &iter_->second; }

◆ operator=()

Iterator StdMeshMatManager::Iterator::operator= ( const Iterator iter)
inline

Definition at line 536 of file StdMeshMaterial.h.

536 { iter_ = iter.iter_; return *this; }

◆ operator==()

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

◆ StdMeshMatManager

friend class StdMeshMatManager
friend

Definition at line 531 of file StdMeshMaterial.h.


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