C# Class BitMask, EgoCS

Show file Open project: andoowhy/EgoCS Class Usage Examples

Public Methods

Method Description
And ( BitMask, mask ) : BitMask,
BitMask ( BitMask, mask ) : System
BitMask ( int size ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
Not ( ) : BitMask,
Or ( BitMask, mask ) : BitMask,
SetAll ( bool b ) : void
ToString ( ) : string
Xor ( BitMask, mask ) : BitMask,
operator ( ) : bool
this ( int index ) : bool

Private Methods

Method Description
_isEqual ( BitMask, m1, BitMask, m2 ) : bool

Method Details

And() public method

public And ( BitMask, mask ) : BitMask,
mask BitMask,
return BitMask,

BitMask() public method

public BitMask ( BitMask, mask ) : System
mask BitMask,
return System

BitMask() public method

public BitMask ( int size ) : System
size int
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Not() public method

public Not ( ) : BitMask,
return BitMask,

Or() public method

public Or ( BitMask, mask ) : BitMask,
mask BitMask,
return BitMask,

SetAll() public method

public SetAll ( bool b ) : void
b bool
return void

ToString() public method

public ToString ( ) : string
return string

Xor() public method

public Xor ( BitMask, mask ) : BitMask,
mask BitMask,
return BitMask,

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int index ) : bool
index int
return bool