Public Member Functions

OrbazTrueEnumerator Class Reference

Search for all occurrences

#include <IParticleChannelTrueFalseIterator.h>

Inheritance diagram for OrbazTrueEnumerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

OrbazTrueEnumerator ( int *&  iterIndices ) [inline]
        : m_iterIndices(iterIndices)
        , m_index(0)
    {
    }

Member Function Documentation

void proc ( int  n ) [inline, virtual]
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.

    {
        m_iterIndices[m_index++] = n;
    }
OrbazTrueEnumerator& operator= ( const OrbazTrueEnumerator rhs ) [inline]
    {
        if (this != & rhs)
        {
            m_iterIndices = rhs.m_iterIndices;
            m_index       = rhs.m_index;
        }
        return *this;
    }

OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator
OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator OrbazTrueEnumerator