HDK
|
#include <NanoVDB.h>
Public Types | |
using | Type = decltype(mFlags) |
Public Member Functions | |
BitFlags () | |
BitFlags (std::initializer_list< uint8_t > list) | |
template<typename MaskT > | |
BitFlags (std::initializer_list< MaskT > list) | |
__hostdev__ Type | data () const |
__hostdev__ Type & | data () |
__hostdev__ void | initBit (std::initializer_list< uint8_t > list) |
template<typename MaskT > | |
__hostdev__ void | initMask (std::initializer_list< MaskT > list) |
__hostdev__ Type | getFlags () const |
__hostdev__ void | setOn () |
__hostdev__ void | setOff () |
__hostdev__ void | setBitOn (uint8_t bit) |
__hostdev__ void | setBitOff (uint8_t bit) |
__hostdev__ void | setBitOn (std::initializer_list< uint8_t > list) |
__hostdev__ void | setBitOff (std::initializer_list< uint8_t > list) |
template<typename MaskT > | |
__hostdev__ void | setMaskOn (MaskT mask) |
template<typename MaskT > | |
__hostdev__ void | setMaskOff (MaskT mask) |
template<typename MaskT > | |
__hostdev__ void | setMaskOn (std::initializer_list< MaskT > list) |
template<typename MaskT > | |
__hostdev__ void | setMaskOff (std::initializer_list< MaskT > list) |
__hostdev__ void | setBit (uint8_t bit, bool on) |
template<typename MaskT > | |
__hostdev__ void | setMask (MaskT mask, bool on) |
__hostdev__ bool | isOn () const |
__hostdev__ bool | isOff () const |
__hostdev__ bool | isBitOn (uint8_t bit) const |
__hostdev__ bool | isBitOff (uint8_t bit) const |
template<typename MaskT > | |
__hostdev__ bool | isMaskOn (MaskT mask) const |
template<typename MaskT > | |
__hostdev__ bool | isMaskOff (MaskT mask) const |
template<typename MaskT > | |
__hostdev__ bool | isMaskOn (std::initializer_list< MaskT > list) const |
return true if any of the masks in the list are on More... | |
template<typename MaskT > | |
__hostdev__ bool | isMaskOff (std::initializer_list< MaskT > list) const |
return true if any of the masks in the list are off More... | |
__hostdev__ BitFlags & | operator= (Type n) |
required for backwards compatibility More... | |
using nanovdb::BitFlags< N >::Type = decltype(mFlags) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |