|
HDK
|
#include <GA_IteratorState.h>
Inheritance diagram for GA_IteratorState:Public Member Functions | |
| GA_IteratorState () | |
| ~GA_IteratorState () | |
| void | copyState (const GA_IteratorState &src) |
| Copy the POD state (not including nested state) More... | |
| GA_IteratorState & | createNestedState () |
| void | clearNestedState () |
| Clear the nested pointer. More... | |
| GA_IteratorState & | getNestedState () const |
| Access to the nested state. More... | |
Public Attributes | |
| void * | myPointer |
| GA_Offset | myOffset |
| GA_Index | myIndex |
| GA_Size | mySize |
Additional Inherited Members | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
| UT_NonCopyable ()=default | |
| ~UT_NonCopyable ()=default | |
| UT_NonCopyable (const UT_NonCopyable &)=delete | |
| UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
State information for a GA_Iterator. This stores unique information for each iterator which the GA_Range bound to the iterator can reference.
Definition at line 24 of file GA_IteratorState.h.
|
inline |
Definition at line 27 of file GA_IteratorState.h.
| GA_IteratorState::~GA_IteratorState | ( | ) |
| void GA_IteratorState::clearNestedState | ( | ) |
Clear the nested pointer.
|
inline |
Copy the POD state (not including nested state)
Definition at line 38 of file GA_IteratorState.h.
| GA_IteratorState& GA_IteratorState::createNestedState | ( | ) |
Some ranges contain nested ranges. These RTIs can create nested states. These nested states should be used to store the iteration state for the nested range. Call createNestedState() in GA_RangeTypeInterface::iterateCreate(). And it should only be called once. For example, a nested range might have code like:
| GA_IteratorState& GA_IteratorState::getNestedState | ( | ) | const |
Access to the nested state.
| GA_Index GA_IteratorState::myIndex |
Definition at line 51 of file GA_IteratorState.h.
| GA_Offset GA_IteratorState::myOffset |
Definition at line 50 of file GA_IteratorState.h.
| void* GA_IteratorState::myPointer |
These variables provide easy storage to GA_RangeTypeInterface without the style necessarily having to allocate state information (i.e. the named storage)
Definition at line 49 of file GA_IteratorState.h.
| GA_Size GA_IteratorState::mySize |
Definition at line 52 of file GA_IteratorState.h.