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

stores map from element id in[0, size) to T; More...

Inheritance diagram for MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat:

Classes

class  _InOptConst_Element
 This is used for optional parameters of class Element with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_Element. Usage:
class  _InOptMut_Element
 This is used for optional parameters of class Element with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_Element. Usage:
struct  _Underlying
class  Const_Element
 Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>Element. This is the const half of the class. More...
class  Element
 Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>Element. This is the non-const half of the class. More...

Public Member Functions

virtual void Dispose ()
unsafe Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std.Greater_Float pred=default)
 constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
unsafe Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
 Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
 Const_Heap_Float_MRGraphVertId_StdGreaterFloat (Const_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
 Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
 Const_Heap_Float_MRGraphVertId_StdGreaterFloat (Heap_Float_MRGraphVertId_StdGreaterFloat _other)
 Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
unsafe Const_Heap_Float_MRGraphVertId_StdGreaterFloat (ulong size, float? def=null, MR.Std.Greater_Float pred=default)
 constructs heap for given number of elements, assigning given default value to each element Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. Parameter def defaults to {}.
unsafe Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std._ByValue_Vector_MRHeapFloatMRGraphVertIdStdGreaterFloatElement elms, MR.Std.Greater_Float pred=default)
 constructs heap from given elements (id's shall not repeat and have spaces, but can be arbitrary shuffled) Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
unsafe ulong size ()
 returns the size of the heap Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>size.
unsafe float value (MR.GraphVertId elemId)
 returns the value associated with given element Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>value.
unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Element top ()
 returns the element with the largest value Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>top.

Static Public Member Functions

static unsafe implicit operator Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std.Greater_Float pred)
 constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

stores map from element id in[0, size) to T;

provides two operations: 1) change the value of any element; 2) find the element with the largest value Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [1/6]

unsafe MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( MR.Std.Greater_Float pred = default)
inline

constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [2/6]

unsafe MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [3/6]

MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( Const_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [4/6]

MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [5/6]

unsafe MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( ulong size,
float? def = null,
MR.Std.Greater_Float pred = default )
inline

constructs heap for given number of elements, assigning given default value to each element Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. Parameter def defaults to {}.

◆ Const_Heap_Float_MRGraphVertId_StdGreaterFloat() [6/6]

unsafe MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( MR.Std._ByValue_Vector_MRHeapFloatMRGraphVertIdStdGreaterFloatElement elms,
MR.Std.Greater_Float pred = default )
inline

constructs heap from given elements (id's shall not repeat and have spaces, but can be arbitrary shuffled) Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator Const_Heap_Float_MRGraphVertId_StdGreaterFloat()

unsafe implicit MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.operator Const_Heap_Float_MRGraphVertId_StdGreaterFloat ( MR.Std.Greater_Float pred)
inlinestatic

constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.

◆ size()

unsafe ulong MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.size ( )
inline

returns the size of the heap Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>size.

◆ top()

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Element MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.top ( )
inline

returns the element with the largest value Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>top.

◆ value()

unsafe float MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat.value ( MR.GraphVertId elemId)
inline

returns the value associated with given element Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>value.


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