MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Std.Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId Class Reference

Stores one of 2 objects: MR.EdgeMap, phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>. This is the non-const half of the class. More...

+ Inheritance diagram for MR.Std.Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId:

Public Member Functions

unsafe Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR.Std._ByValue_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe void assign (MR.Std._ByValue_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId other)
 Assigns the contents from another instance. Both objects remain alive after the call.
 
unsafe Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR._ByValue_EdgeMap value, MR.Std.VariantIndex_0 tag=default)
 Constructs the variant storing the element 0, of type MR.EdgeMap.
 
unsafe Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR.Phmap._ByValue_FlatHashMap_MREdgeId_MREdgeId value, MR.Std.VariantIndex_1 tag=default)
 Constructs the variant storing the element 1, of type phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>.
 
unsafe void assignAsMREdgeMap (MR._ByValue_EdgeMap value)
 Assigns to the variant, making it store the element 0, of type MR.EdgeMap.
 
unsafe void assignAsPhmapFlatHashMapMREdgeIdMREdgeId (MR.Phmap._ByValue_FlatHashMap_MREdgeId_MREdgeId value)
 Assigns to the variant, making it store the element 1, of type phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>.
 
unsafe new MR.? EdgeMap getMREdgeMap ()
 Returns the element 0, of type MR.EdgeMap, mutable. If it's not the active element, returns null.
 
unsafe new MR.Phmap.? FlatHashMap_MREdgeId_MREdgeId getPhmapFlatHashMapMREdgeIdMREdgeId ()
 Returns the element 1, of type phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>, mutable. If it's not the active element, returns null.
 
- Public Member Functions inherited from MR.Std.Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId
virtual void Dispose ()
 
unsafe Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR.Std._ByValue_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe ulong index ()
 Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception".
 
unsafe Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR._ByValue_EdgeMap value, MR.Std.VariantIndex_0 tag=default)
 Constructs the variant storing the element 0, of type MR.EdgeMap.
 
unsafe Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId (MR.Phmap._ByValue_FlatHashMap_MREdgeId_MREdgeId value, MR.Std.VariantIndex_1 tag=default)
 Constructs the variant storing the element 1, of type phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>.
 
unsafe MR.? Const_EdgeMap getMREdgeMap ()
 Returns the element 0, of type MR.EdgeMap, read-only. If it's not the active element, returns null.
 
unsafe MR.Phmap.? Const_FlatHashMap_MREdgeId_MREdgeId getPhmapFlatHashMapMREdgeIdMREdgeId ()
 Returns the element 1, of type phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>, read-only. If it's not the active element, returns null.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Std.Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_Variant_MREdgeMap_PhmapFlatHashMapMREdgeIdMREdgeId >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

Stores one of 2 objects: MR.EdgeMap, phmap.flat_hash_map<MR.EdgeId, MR.EdgeId>. This is the non-const half of the class.


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