Static Public Member Functions | |
| MapOrHashMap_EdgeId_EdgeId | createHashMap (int capacity=0) |
| MapOrHashMap_EdgeId_EdgeId | createMap (int size=0) |
Static Protected Attributes | |
| 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
| mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId, arg0: meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId, var: meshlib.mrmeshpy.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) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId, : meshlib.mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId) -> None
|
static |
|
static |
| 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.ConstMapOrHashMap_EdgeId_EdgeId.getHashMap | ( | self | ) |
Reimplemented in mrmeshpy.MapOrHashMap_EdgeId_EdgeId, and mrmeshpy.MapOrHashMap_EdgeId_EdgeId.
| ConstEdgeMap mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.getMap | ( | self | ) |
Reimplemented in mrmeshpy.MapOrHashMap_EdgeId_EdgeId, and mrmeshpy.MapOrHashMap_EdgeId_EdgeId.
| 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 mrmeshpy.ConstMapOrHashMap_EdgeId_EdgeId.var | ( | self | ) |
default construction will select dense map
Reimplemented in mrmeshpy.MapOrHashMap_EdgeId_EdgeId, and mrmeshpy.MapOrHashMap_EdgeId_EdgeId.
|
staticprotected |