3ds Max C++ API Reference
Loading...
Searching...
No Matches
PatchSubHitRec::Iterator Struct Reference

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/patch.h>

Public Member Functions

 Iterator ()
PatchSubHitRecoperator* ()
PatchSubHitRecoperator-> ()
Iterator operator++ ()
Iterator operator++ (int)
bool operator== (const Iterator &ref) const
bool operator!= (const Iterator &ref) const

Public Attributes

PatchSubHitReccurPtr

Detailed Description

Remarks
To make this class compatible with C++ range based for loop.

Constructor & Destructor Documentation

◆ Iterator()

Iterator ( )
inline
911{ curPtr = nullptr; }
PatchSubHitRec * curPtr
Definition patch.h:909

Member Function Documentation

◆ operator*()

PatchSubHitRec & operator* ( )
inline
912{ return *curPtr; }

◆ operator->()

PatchSubHitRec * operator-> ( )
inline
913{ return curPtr; }

◆ operator++() [1/2]

Iterator operator++ ( )
inline
914{ Iterator ret = *this; curPtr = curPtr->next; return ret; }
Iterator()
Definition patch.h:911

◆ operator++() [2/2]

Iterator operator++ ( int )
inline
915{ curPtr = curPtr->next; return *this; }

◆ operator==()

bool operator== ( const Iterator & ref) const
inline
916{ return curPtr == ref.curPtr; }

◆ operator!=()

bool operator!= ( const Iterator & ref) const
inline
917{ return !(*this == ref); }

Member Data Documentation

◆ curPtr

PatchSubHitRec* curPtr