#include
<IParticleChannelTrueFalseIterator.h>
List of
all members.
Constructor & Destructor Documentation
: m_trueBlocks(trueBlocks)
, m_blockIndex(-1)
{
}
Member Function Documentation
void proc |
( |
int |
n |
) |
[inline, virtual] |
- Parameters:
- int n
This is the zero based index into the BitArray of the element which is
"1".
Implements BitArrayCallback.
{
int curMajorIndex = n & kMajorIndexMask;
if (m_blockIndex >= 0)
{
if (m_trueBlocks[m_blockIndex].GetMajorIndex() != curMajorIndex)
{
m_trueBlocks[++m_blockIndex].SetMajorIndex(curMajorIndex);
}
}
else
{
m_blockIndex = 0;
m_trueBlocks[0].SetMajorIndex(curMajorIndex);
}
m_trueBlocks[m_blockIndex].AddBlockIndex(n);
}
int NumBlocksSet |
( |
void |
|
) |
[inline] |
{ return m_blockIndex+1; }
{
if (this != &rhs)
{
m_trueBlocks = rhs.m_trueBlocks;
m_blockIndex = rhs.m_blockIndex;
}
return *this;
}
OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator OrbazTrueBlockEnumerator
OrbazTrueBlockEnumerator