3ds Max C++ API Reference
OrbazTrueEnumerator Class Reference

#include <IParticleChannelTrueFalseIterator.h>

+ Inheritance diagram for OrbazTrueEnumerator:

Public Member Functions

 OrbazTrueEnumerator (int *&iterIndices)
 
void proc (int n)
 
OrbazTrueEnumeratoroperator= (const OrbazTrueEnumerator &rhs)
 

Constructor & Destructor Documentation

◆ OrbazTrueEnumerator()

OrbazTrueEnumerator ( int *&  iterIndices)
inline
65  : m_iterIndices(iterIndices)
66  , m_index(0)
67  {
68  }

Member Function Documentation

◆ proc()

void proc ( int  n)
inlinevirtual
Remarks
This method is called for each "1" in the BitArray.
Parameters:
int n

This is the zero based index into the BitArray of the element which is "1".

Implements BitArrayCallback.

71  {
72  m_iterIndices[m_index++] = n;
73  }

◆ operator=()

OrbazTrueEnumerator& operator= ( const OrbazTrueEnumerator rhs)
inline
75  {
76  if (this != & rhs)
77  {
78  m_iterIndices = rhs.m_iterIndices;
79  m_index = rhs.m_index;
80  }
81  return *this;
82  }