Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Static Public Member Functions inherited from mrmeshpy.ConstMapOrHashMap_VertId_VertId | |
| MapOrHashMap_VertId_VertId | createHashMap (int capacity=0) |
| MapOrHashMap_VertId_VertId | createMap (int size=0) |
Additional Inherited Members | |
| Static Public Attributes inherited from mrmeshpy.ConstMapOrHashMap_VertId_VertId | |
| ConstDense = ConstVertMap | |
| ConstHash = Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag | |
| Dense = VertMap | |
| Hash = phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag | |
| Static Protected Attributes inherited from mrmeshpy.ConstMapOrHashMap_VertId_VertId | |
| typing | _offsetof_var = 0 |
Generated from: MR::MapOrHashMap<MR::VertId, MR::VertId> Aliases: VertMapOrHashMap stores a mapping from keys K to values V in one of two forms: 1) as dense map (vector) preferable when there are few missing keys in a range [0, endKey) 2) as hash map preferable when valid keys are a small subset of the range
|
static |
| None mrmeshpy.MapOrHashMap_VertId_VertId.__init__ | ( | self | ) |
| None mrmeshpy.MapOrHashMap_VertId_VertId.__init__ | ( | self, | |
| ConstMapOrHashMap_VertId_VertId | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.MapOrHashMap_VertId_VertId.__init__ | ( | self, | |
| Const_std_variant_Vector_Id_VertTag_Id_VertTag_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag | var ) |
Implicit aggregate constructor.
| MapOrHashMap_VertId_VertId mrmeshpy.MapOrHashMap_VertId_VertId.assign | ( | self, | |
| ConstMapOrHashMap_VertId_VertId | other ) |
| None mrmeshpy.MapOrHashMap_VertId_VertId.clear | ( | self | ) |
| Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag mrmeshpy.MapOrHashMap_VertId_VertId.getHashMap | ( | ConstMapOrHashMap_VertId_VertId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.
| phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag mrmeshpy.MapOrHashMap_VertId_VertId.getHashMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.
| ConstVertMap mrmeshpy.MapOrHashMap_VertId_VertId.getMap | ( | ConstMapOrHashMap_VertId_VertId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.
| VertMap mrmeshpy.MapOrHashMap_VertId_VertId.getMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.
| None mrmeshpy.MapOrHashMap_VertId_VertId.pushBack | ( | self, | |
| ConstVertId | key, | ||
| ConstVertId | val ) |
appends one element in the map, in case of dense map, key must be equal to vector.endId()
| None mrmeshpy.MapOrHashMap_VertId_VertId.resizeReserve | ( | self, | |
| int | denseTotalSize, | ||
| int | hashAdditionalCapacity ) |
if this stores dense map then resizes it to denseTotalSize; if this stores hash map then sets its capacity to size()+hashAdditionalCapacity
| None mrmeshpy.MapOrHashMap_VertId_VertId.setHashMap | ( | self, | |
| phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag | m ) |
| None mrmeshpy.MapOrHashMap_VertId_VertId.setMap | ( | self, | |
| VertMap | m ) |
| std_variant_Vector_Id_VertTag_Id_VertTag_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag mrmeshpy.MapOrHashMap_VertId_VertId.var | ( | self | ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.
| None mrmeshpy.MapOrHashMap_VertId_VertId.var | ( | self, | |
| Const_std_variant_Vector_Id_VertTag_Id_VertTag_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag | arg1 ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_VertId_VertId.