BitArray Class Reference

Class Description

A set of bit flags that may be treated as a virtual array and are stored in an efficient manner.
+ Inheritance diagram for BitArray:

Public Member Functions

def AnyBitSet (self)
 
def Clear (self, args)
 
def ClearAll (self)
 
def Compress (self)
 
def DeleteSet (self, args)
 
def Expand (self)
 
def GetSize (self)
 
def IsEmpty (self)
 
def kMAX_LOCALBITS ()
 
def Reverse
 
def Rotate (self, args)
 
def Set (self, args)
 
def SetAll (self)
 
def SetSize (self, args)
 
def Shift (self, args)
 
def Swap (self, args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Public Attributes

 this
 

Static Public Attributes

tuple kMAX_LOCALBITS = staticmethod(kMAX_LOCALBITS)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def AnyBitSet (   self)
AnyBitSet(BitArray self) -> bool
def Clear (   self,
  args 
)
Clear(BitArray self, int i)
def ClearAll (   self)
ClearAll(BitArray self)
def Compress (   self)
Compress(BitArray self)
def DeleteSet (   self,
  args 
)
DeleteSet(BitArray self, BitArray dset, int mult=1)
DeleteSet(BitArray self, BitArray dset)
def Expand (   self)
Expand(BitArray self)
def GetSize (   self)
GetSize(BitArray self) -> int
def IsEmpty (   self)
IsEmpty(BitArray self) -> bool
def kMAX_LOCALBITS ( )
kMAX_LOCALBITS() -> int const
def Reverse (   self,
  keepZero = True 
)
Reverse(BitArray self, bool keepZero=True)
Reverse(BitArray self)
def Rotate (   self,
  args 
)
Rotate(BitArray self, int direction, int count)
def Set (   self,
  args 
)
Set(BitArray self, int i)
Set(BitArray self, int i, bool b)
def SetAll (   self)
SetAll(BitArray self)
def SetSize (   self,
  args 
)
SetSize(BitArray self, int n, int save=0)
SetSize(BitArray self, int n)
def Shift (   self,
  args 
)
Shift(BitArray self, int direction, int count, int where=0)
Shift(BitArray self, int direction, int count)
def Swap (   self,
  args 
)
Swap(BitArray self, BitArray other)