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

Vector<T> is indexed by size_t Generated from class MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;. This is the non-const half of the class. More...

Inheritance diagram for MR.Vector_MRGraphVertId_MRGraphVertId:

Public Member Functions

unsafe Vector_MRGraphVertId_MRGraphVertId ()
 creates empty vector
unsafe Vector_MRGraphVertId_MRGraphVertId (MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
 Vector_MRGraphVertId_MRGraphVertId (Const_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
 Vector_MRGraphVertId_MRGraphVertId (Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe Vector_MRGraphVertId_MRGraphVertId (nuint size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe Vector_MRGraphVertId_MRGraphVertId (nuint size, in MR.GraphVertId val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe MR.Vector_MRGraphVertId_MRGraphVertId assign (MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::operator=.
unsafe void assign (nuint count, in MR.GraphVertId val)
 replaces the contents with count copies of val Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;assign.
unsafe void clear ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;clear.
unsafe void resize (nuint newSize)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resize.
unsafe void resize (nuint newSize, in MR.GraphVertId t)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resize.
unsafe void resizeNoInit (nuint targetSize, MR.ReserveMode? mode=null)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.
unsafe void reserve (nuint capacity)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;reserve.
unsafe void shrinkToFit ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::shrink_to_fit.
unsafe void resizeWithReserve (nuint newSize)
 same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeWithReserve.
unsafe void resizeWithReserve (nuint newSize, in MR.GraphVertId value)
 same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeWithReserve.
unsafe void autoResizeSet (MR.GraphVertId pos, nuint len, MR.GraphVertId val)
 sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeSet.
unsafe void autoResizeSet (MR.GraphVertId i, MR.GraphVertId val)
 sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeSet.
unsafe ref MR.GraphVertId autoResizeAt (MR.GraphVertId i)
 this accessor automatically adjusts the size of the vector Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeAt.
unsafe void pushBack (in MR.GraphVertId t)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::push_back.
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.GraphVertId t)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::push_back.
unsafe void popBack ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::pop_back.
unsafe new ref MR.GraphVertId front ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;front.
unsafe new ref MR.GraphVertId back ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;back.
unsafe new MR.Misc.? Ref< MR.GraphVertId > data ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;data.
unsafe void swap (MR.Vector_MRGraphVertId_MRGraphVertId b)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;swap.
Public Member Functions inherited from MR.Const_Vector_MRGraphVertId_MRGraphVertId
virtual void Dispose ()
unsafe Const_Vector_MRGraphVertId_MRGraphVertId ()
 creates empty vector
unsafe Const_Vector_MRGraphVertId_MRGraphVertId (MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
 Const_Vector_MRGraphVertId_MRGraphVertId (Const_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
 Const_Vector_MRGraphVertId_MRGraphVertId (Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe Const_Vector_MRGraphVertId_MRGraphVertId (nuint size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe Const_Vector_MRGraphVertId_MRGraphVertId (nuint size, in MR.GraphVertId val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.
unsafe bool empty ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;empty.
unsafe nuint size ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;size.
unsafe nuint maxSize ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::max_size.
unsafe nuint capacity ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;capacity.
unsafe ref readonly MR.GraphVertId front ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;front.
unsafe ref readonly MR.GraphVertId back ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;back.
unsafe MR.GraphVertId beginId ()
 returns the identifier of the first element Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;beginId.
unsafe MR.GraphVertId backId ()
 returns the identifier of the back() element Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;backId.
unsafe MR.GraphVertId endId ()
 returns backId() + 1 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;endId.
unsafe MR.? GraphVertId data ()
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;data.
unsafe nuint heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;heapBytes.
bool Equals (MR.Const_Vector_MRGraphVertId_MRGraphVertId? b)
override bool Equals (object? other)

Properties

new unsafe MR.Std.Vector_MRGraphVertId_MRAllocatorMRGraphVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.GraphVertId this[MR.GraphVertId i] [get]
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::operator[].
Properties inherited from MR.Const_Vector_MRGraphVertId_MRGraphVertId
unsafe MR.Std.Const_Vector_MRGraphVertId_MRAllocatorMRGraphVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.GraphVertId this[MR.GraphVertId i] [get]
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::operator[].

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_Vector_MRGraphVertId_MRGraphVertId
static unsafe bool operator== (MR.Const_Vector_MRGraphVertId_MRGraphVertId _this, MR.Const_Vector_MRGraphVertId_MRGraphVertId b)
 Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;operator==.
static unsafe bool operator!= (MR.Const_Vector_MRGraphVertId_MRGraphVertId _this, MR.Const_Vector_MRGraphVertId_MRGraphVertId b)
Protected Member Functions inherited from MR.Const_Vector_MRGraphVertId_MRGraphVertId
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_MRGraphVertId_MRGraphVertId() [1/6]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( )
inline

creates empty vector

◆ Vector_MRGraphVertId_MRGraphVertId() [2/6]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [3/6]

MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( Const_Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [4/6]

MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [5/6]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( nuint size)
inline

creates a vector with size elements with default value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [6/6]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( nuint size,
in MR.GraphVertId val )
inline

creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::Vector.

Member Function Documentation

◆ assign() [1/2]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.assign ( MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::operator=.

◆ assign() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.assign ( nuint count,
in MR.GraphVertId val )
inline

replaces the contents with count copies of val Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;assign.

◆ autoResizeAt()

unsafe ref MR.GraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.autoResizeAt ( MR.GraphVertId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.autoResizeSet ( MR.GraphVertId i,
MR.GraphVertId val )
inline

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.autoResizeSet ( MR.GraphVertId pos,
nuint len,
MR.GraphVertId val )
inline

sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;autoResizeSet.

◆ back()

unsafe new ref MR.GraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.back ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;back.

◆ clear()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.clear ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.GraphVertId > MR.Vector_MRGraphVertId_MRGraphVertId.data ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;data.

◆ front()

unsafe new ref MR.GraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.front ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;front.

◆ popBack()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.popBack ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.pushBack ( in MR.GraphVertId t)
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::push_back.

◆ pushBack() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.pushBack ( MR.Misc._MoveRef _move_t,
in MR.GraphVertId t )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::push_back.

◆ reserve()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.reserve ( nuint capacity)
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;reserve.

◆ resize() [1/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resize ( nuint newSize)
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resize.

◆ resize() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resize ( nuint newSize,
in MR.GraphVertId t )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resize.

◆ resizeNoInit()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resizeNoInit ( nuint targetSize,
MR.ReserveMode? mode = null )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeNoInit. Parameter mode defaults to MR.ReserveMode.Exact.

◆ resizeWithReserve() [1/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resizeWithReserve ( nuint newSize)
inline

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resizeWithReserve ( nuint newSize,
in MR.GraphVertId value )
inline

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;resizeWithReserve.

◆ shrinkToFit()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.shrinkToFit ( )
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::shrink_to_fit.

◆ swap()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.swap ( MR.Vector_MRGraphVertId_MRGraphVertId b)
inline

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;swap.

Property Documentation

◆ this[MR.GraphVertId i]

unsafe new ref MR.GraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.this[MR.GraphVertId i]
get

Generated from method MR::Vector&lt;MR.GraphVertId, MR.GraphVertId&gt;::operator[].

◆ vec

new unsafe MR.Std.Vector_MRGraphVertId_MRAllocatorMRGraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.vec
getprotected set

The user can directly manipulate the vector, they can't break anything anyway.


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