Space Engineers
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
VRage.Library.Collections.SmallBitField Struct Reference

Bit field with up to 64 bits. More...

Public Member Functions

 SmallBitField (bool value)
 
void Reset (bool value)
 

Public Attributes

const int BitCount = sizeof(ulong) * 8
 
const ulong BitsEmpty = 0
 
const ulong BitsFull = ulong.MaxValue
 
ulong Bits
 

Static Public Attributes

static readonly SmallBitField Empty = new SmallBitField(false)
 
static readonly SmallBitField Full = new SmallBitField(true)
 

Properties

bool this[int index] [get, set]
 

Detailed Description

Bit field with up to 64 bits.

Definition at line 11 of file SmallBitField.cs.

Constructor & Destructor Documentation

VRage.Library.Collections.SmallBitField.SmallBitField ( bool  value)
inline

Definition at line 22 of file SmallBitField.cs.

Member Function Documentation

void VRage.Library.Collections.SmallBitField.Reset ( bool  value)
inline

Definition at line 27 of file SmallBitField.cs.

Member Data Documentation

const int VRage.Library.Collections.SmallBitField.BitCount = sizeof(ulong) * 8

Definition at line 13 of file SmallBitField.cs.

ulong VRage.Library.Collections.SmallBitField.Bits

Definition at line 20 of file SmallBitField.cs.

const ulong VRage.Library.Collections.SmallBitField.BitsEmpty = 0

Definition at line 14 of file SmallBitField.cs.

const ulong VRage.Library.Collections.SmallBitField.BitsFull = ulong.MaxValue

Definition at line 15 of file SmallBitField.cs.

readonly SmallBitField VRage.Library.Collections.SmallBitField.Empty = new SmallBitField(false)
static

Definition at line 17 of file SmallBitField.cs.

readonly SmallBitField VRage.Library.Collections.SmallBitField.Full = new SmallBitField(true)
static

Definition at line 18 of file SmallBitField.cs.

Property Documentation

bool VRage.Library.Collections.SmallBitField.this[int index]
getset

Definition at line 33 of file SmallBitField.cs.


The documentation for this struct was generated from the following file: