|
3ds Max C++ API Reference
|
#include <bitarray.h>
Classes | |
| class | NumberSetProxy |
Friends | |
| class | NumberSetProxy |
|
inline |
|
inline |
| n | - The number of bits in to be in the array. If this value is a negative number, or equal to the current size of the BitArray then nothing will happen. |
| save | - If passed as 1, the old bit values will be preserved when the array is resized. |
|
inline |
|
inline |
|
inline |
| i | - The array index of the bit to set. |
| i | - The index of the bit to set. |
| b | - The value to set, either 1 or 0. |
| i | - The index of the bit. If the index is a negative or bigger than the array size, it returns 0 |
|
inline |
|
inline |
|
inline |
| void Compress | ( | ) |
| void Expand | ( | ) |
| void Reverse | ( | bool | keepZero = false | ) |
| void EnumSet | ( | BitArrayCallback & | cb | ) |
| UTILGEOMEXPORT IOResult Save | ( | ISave * | isave | ) |
| UTILGEOMEXPORT IOResult Load | ( | ILoad * | iload | ) |
|
inline |
|
inline |
Swap the contents of two bitarrays.
This is an efficient way of transfering the contents of a temporary bitarray object into a more permanent instance, such as a data member. For instance:
would be more efficient than using operator= in this case.
| [in,out] | other | The contents of 'other' will be swaped with the contents of 'this' |
|
friend |
| uint64_t* bits |
| uint64_t localBits |