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

Stores one of 4 objects: std.monostate, MR.MeshTriPoint, MR.EdgePoint, MR.VertId. This is the non-const half of the class. More...

+ Inheritance diagram for MR.Std.Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId:

Public Member Functions

unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Std.Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe void assign (MR.Std.Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId other)
 Assigns the contents from another instance. Both objects remain alive after the call.
 
unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Std.Monostate value, MR.Std.VariantIndex_0 tag=default)
 Constructs the variant storing the element 0, of type std.monostate.
 
unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Const_MeshTriPoint value, MR.Std.VariantIndex_1 tag=default)
 Constructs the variant storing the element 1, of type MR.MeshTriPoint.
 
unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Const_EdgePoint value, MR.Std.VariantIndex_2 tag=default)
 Constructs the variant storing the element 2, of type MR.EdgePoint.
 
unsafe Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.VertId value, MR.Std.VariantIndex_3 tag=default)
 Constructs the variant storing the element 3, of type MR.VertId.
 
unsafe void assignAsStdMonostate (MR.Std.Monostate value)
 Assigns to the variant, making it store the element 0, of type std.monostate.
 
unsafe void assignAsMRMeshTriPoint (MR.Const_MeshTriPoint value)
 Assigns to the variant, making it store the element 1, of type MR.MeshTriPoint.
 
unsafe void assignAsMREdgePoint (MR.Const_EdgePoint value)
 Assigns to the variant, making it store the element 2, of type MR.EdgePoint.
 
unsafe void assignAsMRVertId (MR.VertId value)
 Assigns to the variant, making it store the element 3, of type MR.VertId.
 
unsafe new MR.? MeshTriPoint getMRMeshTriPoint ()
 Returns the element 1, of type MR.MeshTriPoint, mutable. If it's not the active element, returns null.
 
unsafe new MR.? EdgePoint getMREdgePoint ()
 Returns the element 2, of type MR.EdgePoint, mutable. If it's not the active element, returns null.
 
unsafe new MR.Misc.? Ref< MR.VertIdgetMRVertId ()
 Returns the element 3, of type MR.VertId, mutable. If it's not the active element, returns null.
 
- Public Member Functions inherited from MR.Std.Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId
virtual void Dispose ()
 
unsafe Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Std.Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId 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_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Std.Monostate value, MR.Std.VariantIndex_0 tag=default)
 Constructs the variant storing the element 0, of type std.monostate.
 
unsafe Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Const_MeshTriPoint value, MR.Std.VariantIndex_1 tag=default)
 Constructs the variant storing the element 1, of type MR.MeshTriPoint.
 
unsafe Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.Const_EdgePoint value, MR.Std.VariantIndex_2 tag=default)
 Constructs the variant storing the element 2, of type MR.EdgePoint.
 
unsafe Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId (MR.VertId value, MR.Std.VariantIndex_3 tag=default)
 Constructs the variant storing the element 3, of type MR.VertId.
 
unsafe MR.Std.? Monostate getStdMonostate ()
 Returns the element 0, of type std.monostate, read-only. If it's not the active element, returns null.
 
unsafe MR.? Const_MeshTriPoint getMRMeshTriPoint ()
 Returns the element 1, of type MR.MeshTriPoint, read-only. If it's not the active element, returns null.
 
unsafe MR.? Const_EdgePoint getMREdgePoint ()
 Returns the element 2, of type MR.EdgePoint, read-only. If it's not the active element, returns null.
 
unsafe MR.? VertId getMRVertId ()
 Returns the element 3, of type MR.VertId, read-only. If it's not the active element, returns null.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Std.Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_Variant_StdMonostate_MRMeshTriPoint_MREdgePoint_MRVertId >
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 4 objects: std.monostate, MR.MeshTriPoint, MR.EdgePoint, MR.VertId. This is the non-const half of the class.


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