15 #include <vlutil/vlMachineTypes.h>
32 DtBitMask(
const char* bitMask,
unsigned int length );
50 virtual inline unsigned int length()
const;
53 virtual bool isEmpty()
const;
56 virtual unsigned int numSet()
const;
59 virtual void reset(
bool value=
false);
62 virtual void setBit(
unsigned int bitPosition,
bool isOn =
true );
65 virtual bool getBit(
unsigned int bitPosition )
const;
68 virtual unsigned int netSize()
const;
72 virtual void encode(
char* buffer )
const;
75 virtual void decode(
const char* buffer,
unsigned int numBytes);
79 virtual void print(
bool listHandles=
false)
const;
84 static unsigned int lengthToWords(
unsigned int length );
87 static unsigned int lengthToChars(
unsigned int length );
DtBitMask DT_DLL_RTIUTIL operator|(const DtBitMask &first, const DtBitMask &second)
virtual unsigned int length() const
Get number of data bits in field ( does not include padding )
Definition: bitMask.h:107
unsigned int myLength
The number of bits represented.
Definition: bitMask.h:97
DtBitMask DT_DLL_RTIUTIL operator&(const DtBitMask &first, const DtBitMask &second)
Bitwise AND and OR operators for DtBitMasks.
DtBitMask represents a variable length bit-field which may be used to represent an array of boolean d...
Definition: bitMask.h:24
MAKRti::DtU32 * myBitField
Data Members.
Definition: bitMask.h:94
#define DT_DLL_RTIUTIL
Definition: rtiMsConfig.h:127