Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Static Public Member Functions inherited from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId | |
| MapOrHashMap_EdgeId_EdgeId | createHashMap (int capacity=0) |
| MapOrHashMap_EdgeId_EdgeId | createMap (int size=0) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId | |
| typing | _offsetof_var = 0 |
Generated from: MR::MapOrHashMap<MR::EdgeId, MR::EdgeId> Aliases: EdgeMapOrHashMap, MapOrHashMap_Id_EdgeTag_Id_EdgeTag, MapOrHashMap_Id_EdgeTag_Id_EdgeTag, MapOrHashMap_Id_EdgeTag_Id_EdgeTag 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_EdgeId_EdgeId.__init__ | ( | self | ) |
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.__init__ | ( | self, | |
| ConstMapOrHashMap_EdgeId_EdgeId | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.__init__ | ( | self, | |
| Const_std_variant_Vector_Id_EdgeTag_Id_EdgeTag_phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag | var ) |
Implicit aggregate constructor.
| MapOrHashMap_EdgeId_EdgeId mrmeshpy.MapOrHashMap_EdgeId_EdgeId.assign | ( | self, | |
| ConstMapOrHashMap_EdgeId_EdgeId | other ) |
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.clear | ( | self | ) |
| Const_phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag mrmeshpy.MapOrHashMap_EdgeId_EdgeId.getHashMap | ( | ConstMapOrHashMap_EdgeId_EdgeId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.
| phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag mrmeshpy.MapOrHashMap_EdgeId_EdgeId.getHashMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.
| ConstEdgeMap mrmeshpy.MapOrHashMap_EdgeId_EdgeId.getMap | ( | ConstMapOrHashMap_EdgeId_EdgeId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.
| EdgeMap mrmeshpy.MapOrHashMap_EdgeId_EdgeId.getMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.pushBack | ( | self, | |
| ConstEdgeId | key, | ||
| ConstEdgeId | val ) |
appends one element in the map, in case of dense map, key must be equal to vector.endId()
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.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_EdgeId_EdgeId.setHashMap | ( | self, | |
| phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag | m ) |
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.setMap | ( | self, | |
| EdgeMap | m ) |
| std_variant_Vector_Id_EdgeTag_Id_EdgeTag_phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag mrmeshpy.MapOrHashMap_EdgeId_EdgeId.var | ( | self | ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.
| None mrmeshpy.MapOrHashMap_EdgeId_EdgeId.var | ( | self, | |
| Const_std_variant_Vector_Id_EdgeTag_Id_EdgeTag_phmap_flat_hash_map_Id_EdgeTag_Id_EdgeTag_phmap_Hash_Id_EdgeTag_phmap_EqualTo_Id_EdgeTag_Allocator_std_pair_Id_EdgeTag_const_Id_EdgeTag | arg1 ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.