MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.TypedBitSet_Id_ICPElemtTag:

Public Member Functions

TypedBitSet_Id_ICPElemtTag __and__ (self, TypedBitSet_Id_ICPElemtTag b)
TypedBitSet_Id_ICPElemtTag __iand__ (self, TypedBitSet_Id_ICPElemtTag b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, BitSet src)
None __init__ (self, BitSet src)
None __init__ (self, TypedBitSet_Id_ICPElemtTag arg0)
TypedBitSet_Id_ICPElemtTag __ior__ (self, TypedBitSet_Id_ICPElemtTag b)
TypedBitSet_Id_ICPElemtTag __isub__ (self, TypedBitSet_Id_ICPElemtTag b)
typing.Iterator[Id_ICPElemtTag__iter__ (self)
TypedBitSet_Id_ICPElemtTag __ixor__ (self, TypedBitSet_Id_ICPElemtTag b)
TypedBitSet_Id_ICPElemtTag __or__ (self, TypedBitSet_Id_ICPElemtTag b)
str __repr__ (self)
TypedBitSet_Id_ICPElemtTag __sub__ (self, TypedBitSet_Id_ICPElemtTag b)
TypedBitSet_Id_ICPElemtTag __xor__ (self, TypedBitSet_Id_ICPElemtTag b)
None autoResizeSet (self, Id_ICPElemtTag pos, int len, bool val=True)
None autoResizeSet (self, Id_ICPElemtTag pos, bool val=True)
bool autoResizeTestSet (self, Id_ICPElemtTag pos, bool val=True)
Id_ICPElemtTag backId (self)
Id_ICPElemtTag endId (self)
Id_ICPElemtTag find_first (self)
Id_ICPElemtTag find_first_not_set (self)
Id_ICPElemtTag find_last (self)
Id_ICPElemtTag find_last_not_set (self)
Id_ICPElemtTag find_next (self, Id_ICPElemtTag pos)
Id_ICPElemtTag find_next_not_set (self, Id_ICPElemtTag pos)
TypedBitSet_Id_ICPElemtTag flip (self, Id_ICPElemtTag n, int len)
TypedBitSet_Id_ICPElemtTag flip (self, Id_ICPElemtTag n)
TypedBitSet_Id_ICPElemtTag flip (self)
TypedBitSet_Id_ICPElemtTag getMapping (self, Vector_Id_ICPElemtTag_Id_ICPElemtTag map)
TypedBitSet_Id_ICPElemtTag getMapping (self, BMap_Id_ICPElemtTag_Id_ICPElemtTag map)
TypedBitSet_Id_ICPElemtTag getMapping (self, phmap_flat_hash_map_Id_ICPElemtTag_Id_ICPElemtTag map)
TypedBitSet_Id_ICPElemtTag getMapping (self, Vector_Id_ICPElemtTag_Id_ICPElemtTag map, int resSize)
TypedBitSet_Id_ICPElemtTag getMapping (self, phmap_flat_hash_map_Id_ICPElemtTag_Id_ICPElemtTag map, int resSize)
bool intersects (self, TypedBitSet_Id_ICPElemtTag a)
bool is_subset_of (self, TypedBitSet_Id_ICPElemtTag a)
Id_ICPElemtTag nthSetBit (self, int n)
TypedBitSet_Id_ICPElemtTag reset (self, Id_ICPElemtTag n, int len)
TypedBitSet_Id_ICPElemtTag reset (self, Id_ICPElemtTag n)
TypedBitSet_Id_ICPElemtTag reset (self)
TypedBitSet_Id_ICPElemtTag set (self, Id_ICPElemtTag n, int len, bool val)
TypedBitSet_Id_ICPElemtTag set (self, Id_ICPElemtTag n, bool val)
TypedBitSet_Id_ICPElemtTag set (self, Id_ICPElemtTag n)
TypedBitSet_Id_ICPElemtTag set (self)
TypedBitSet_Id_ICPElemtTag subtract (self, TypedBitSet_Id_ICPElemtTag b, int bShiftInBlocks)
bool test (self, Id_ICPElemtTag n)
bool test_set (self, Id_ICPElemtTag n, bool val=True)
Public Member Functions inherited from mrmeshpy.BitSet
BitSet __and__ (self, BitSet b)
bool __eq__ (self, BitSet b)
BitSet __iand__ (self, BitSet b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, BitSet arg0)
BitSet __ior__ (self, BitSet b)
BitSet __isub__ (self, BitSet b)
typing.Iterator[int] __iter__ (self)
BitSet __ixor__ (self, BitSet b)
BitSet __or__ (self, BitSet b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any bs)
typing.Any __rrshift__ (self, typing.Any bs)
BitSet __sub__ (self, BitSet b)
BitSet __xor__ (self, BitSet b)
bool all (self)
bool any (self)
std_vector_unsigned_long bits (self)
int capacity (self)
None clear (self)
int count (self)
bool empty (self)
int heapBytes (self)
bool none (self)
int num_blocks (self)
None pop_back (self)
None push_back (self, bool val)
None reserve (self, int numBits)
None resize (self, int numBits, bool fillValue=False)
None resizeWithReserve (self, int newSize)
None reverse (self)
None shrink_to_fit (self)
int size (self)
bool uncheckedTest (self, int n)
bool uncheckedTestSet (self, int n, bool val=True)

Static Public Member Functions

None __init__ (*args, **kwargs)
Id_ICPElemtTag beginId ()
TypedBitSet_Id_ICPElemtTag operator (*args, **kwargs)
TypedBitSet_Id_ICPElemtTag operator (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.BitSet
None __init__ (*args, **kwargs)
BitSet fromBlocks (std_vector_unsigned_long blocks)

Static Public Attributes

 IndexType = Id_ICPElemtTag
 base = BitSet
Static Public Attributes inherited from mrmeshpy.BitSet
typing bits_per_block = 64
typing npos = 18446744073709551615

Detailed Description

Generated from:  MR::TypedBitSet<MR::Id<MR::ICPElemtTag>>
Aliases:  ICPElementBitSet, TaggedBitSet_ICPElemtTag

Vector<bool, I> like container (random-access, I - index type, bool - value type)
with all bits after size() considered off during testing

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( self)

◆ __init__() [3/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( self,
int numBits,
bool fillValue = False )
creates bitset of given size filled with given value

◆ __init__() [4/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( self,
BitSet src )
copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>)

◆ __init__() [5/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( self,
BitSet src )
moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>)

◆ __init__() [6/6]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.__init__ ( self,
TypedBitSet_Id_ICPElemtTag arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __and__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__and__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __iand__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__iand__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __ior__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__ior__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __isub__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__isub__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __iter__()

typing.Iterator[Id_ICPElemtTag] mrmeshpy.TypedBitSet_Id_ICPElemtTag.__iter__ ( self)

◆ __ixor__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__ixor__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __or__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__or__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __repr__()

str mrmeshpy.TypedBitSet_Id_ICPElemtTag.__repr__ ( self)

◆ __sub__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__sub__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ __xor__()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.__xor__ ( self,
TypedBitSet_Id_ICPElemtTag b )

◆ autoResizeSet() [1/2]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.autoResizeSet ( self,
Id_ICPElemtTag pos,
bool len = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None mrmeshpy.TypedBitSet_Id_ICPElemtTag.autoResizeSet ( self,
Id_ICPElemtTag pos,
int len,
bool val = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeTestSet()

bool mrmeshpy.TypedBitSet_Id_ICPElemtTag.autoResizeTestSet ( self,
Id_ICPElemtTag pos,
bool val = True )
same as \\ref autoResizeSet and returns previous value of pos-bit

Reimplemented from mrmeshpy.BitSet.

◆ backId()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.backId ( self)
returns the identifier of the back() element

Reimplemented from mrmeshpy.BitSet.

◆ beginId()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from mrmeshpy.BitSet.

◆ endId()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.endId ( self)

Reimplemented from mrmeshpy.BitSet.

◆ find_first()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_first ( self)
return the smallest index i such that bit i is set, or npos if *this has no on bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_first_not_set()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_first_not_set ( self)
return the smallest index i such that bit i is NOT set, or npos if *this has no off bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_last()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_last ( self)
return the highest index i such that bit i is set, or npos if *this has no on bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_last_not_set()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_last_not_set ( self)
return the highest index i such that bit i is NOT set, or npos if *this has no off bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_next()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_next ( self,
Id_ICPElemtTag n )
return the smallest index i>n such that bit i is set, or npos if *this has no on bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_next_not_set()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.find_next_not_set ( self,
Id_ICPElemtTag n )
return the smallest index i>n such that bit i is NOT set, or npos if *this has no off bits.

Reimplemented from mrmeshpy.BitSet.

◆ flip() [1/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.flip ( self)

Reimplemented from mrmeshpy.BitSet.

◆ flip() [2/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.flip ( self,
Id_ICPElemtTag n )

Reimplemented from mrmeshpy.BitSet.

◆ flip() [3/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.flip ( self,
Id_ICPElemtTag n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ getMapping() [1/5]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.getMapping ( self,
BMap_Id_ICPElemtTag_Id_ICPElemtTag map )

◆ getMapping() [2/5]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.getMapping ( self,
phmap_flat_hash_map_Id_ICPElemtTag_Id_ICPElemtTag map )

◆ getMapping() [3/5]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.getMapping ( self,
phmap_flat_hash_map_Id_ICPElemtTag_Id_ICPElemtTag map,
int resSize )

◆ getMapping() [4/5]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.getMapping ( self,
Vector_Id_ICPElemtTag_Id_ICPElemtTag map )

◆ getMapping() [5/5]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.getMapping ( self,
Vector_Id_ICPElemtTag_Id_ICPElemtTag map,
int resSize )

◆ intersects()

bool mrmeshpy.TypedBitSet_Id_ICPElemtTag.intersects ( self,
TypedBitSet_Id_ICPElemtTag a )
returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false.

Reimplemented from mrmeshpy.BitSet.

◆ is_subset_of()

bool mrmeshpy.TypedBitSet_Id_ICPElemtTag.is_subset_of ( self,
TypedBitSet_Id_ICPElemtTag a )
returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false.

Reimplemented from mrmeshpy.BitSet.

◆ nthSetBit()

Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.nthSetBit ( self,
int n )
returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set

Reimplemented from mrmeshpy.BitSet.

◆ operator() [1/2]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.BitSet.

◆ operator() [2/2]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.BitSet.

◆ reset() [1/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.reset ( self)

Reimplemented from mrmeshpy.BitSet.

◆ reset() [2/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.reset ( self,
Id_ICPElemtTag n )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [3/3]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.reset ( self,
Id_ICPElemtTag n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ set() [1/4]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.set ( self)

Reimplemented from mrmeshpy.BitSet.

◆ set() [2/4]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.set ( self,
Id_ICPElemtTag n )

Reimplemented from mrmeshpy.BitSet.

◆ set() [3/4]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.set ( self,
Id_ICPElemtTag n,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ set() [4/4]

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.set ( self,
Id_ICPElemtTag n,
int len,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ subtract()

TypedBitSet_Id_ICPElemtTag mrmeshpy.TypedBitSet_Id_ICPElemtTag.subtract ( self,
TypedBitSet_Id_ICPElemtTag b,
int bShiftInBlocks )
subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block

Reimplemented from mrmeshpy.BitSet.

◆ test()

bool mrmeshpy.TypedBitSet_Id_ICPElemtTag.test ( self,
Id_ICPElemtTag n )
all bits after size() we silently consider as not-set

Reimplemented from mrmeshpy.BitSet.

◆ test_set()

bool mrmeshpy.TypedBitSet_Id_ICPElemtTag.test_set ( self,
Id_ICPElemtTag n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.

Member Data Documentation

◆ base

mrmeshpy.TypedBitSet_Id_ICPElemtTag.base = BitSet
static

◆ IndexType

mrmeshpy.TypedBitSet_Id_ICPElemtTag.IndexType = Id_ICPElemtTag
static

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