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

std.vector<T>-like container that requires specific indexing type, More...

+ Inheritance diagram for MR.Vector_MRGraphVertId_MRGraphVertId:

Public Member Functions

unsafe Vector_MRGraphVertId_MRGraphVertId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector_MRGraphVertId_MRGraphVertId (MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
 Vector_MRGraphVertId_MRGraphVertId (Const_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
 Vector_MRGraphVertId_MRGraphVertId (Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
unsafe Vector_MRGraphVertId_MRGraphVertId (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
unsafe Vector_MRGraphVertId_MRGraphVertId (ulong size, in MR.GraphVertId val)
 creates a vector with size elements with the given value Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
unsafe Vector_MRGraphVertId_MRGraphVertId (MR.Misc._Moved< MR.Std.Vector_MRGraphVertId > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 
unsafe MR.Vector_MRGraphVertId_MRGraphVertId assign (MR._ByValue_Vector_MRGraphVertId_MRGraphVertId _other)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::operator=.
 
unsafe void clear ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::clear.
 
unsafe void resize (ulong newSize)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resize.
 
unsafe void resize (ulong newSize, in MR.GraphVertId t)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resize.
 
unsafe void resizeNoInit (ulong targetSize)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeNoInit.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::reserve.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeWithReserve.
 
unsafe void resizeWithReserve (ulong newSize, in MR.GraphVertId value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeWithReserve.
 
unsafe void autoResizeSet (MR.GraphVertId pos, ulong 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<MR.GraphVertId, MR.GraphVertId>::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<MR.GraphVertId, MR.GraphVertId>::autoResizeSet.
 
unsafe ref MR.GraphVertId autoResizeAt (MR.GraphVertId i)
 this accessor automatically adjusts the size of the vector Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::autoResizeAt.
 
unsafe void pushBack (in MR.GraphVertId t)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::push_back.
 
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.GraphVertId t)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::push_back.
 
unsafe void popBack ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::pop_back.
 
unsafe ref MR.GraphVertId emplaceBack ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::emplace_back<>.
 
unsafe new ref MR.GraphVertId front ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::front.
 
unsafe new ref MR.GraphVertId back ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::back.
 
unsafe new MR.Misc.? Ref< MR.GraphVertIddata ()
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::data.
 
unsafe void swap (MR.Vector_MRGraphVertId_MRGraphVertId b)
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::swap.
 

Static Public Member Functions

static unsafe implicit operator Vector_MRGraphVertId_MRGraphVertId (MR.Misc._Moved< MR.Std.Vector_MRGraphVertId > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.
 

Properties

new unsafe MR.Std.Vector_MRGraphVertId vec [get, protected set]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.GraphVertId this[MR.GraphVertId i] [get]
 Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::operator[].
 

Detailed Description

std.vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR.Vector<MR.GraphVertId, MR.GraphVertId>. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_MRGraphVertId_MRGraphVertId() [1/7]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_MRGraphVertId_MRGraphVertId() [2/7]

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

Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [3/7]

MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( Const_Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [4/7]

MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( Vector_MRGraphVertId_MRGraphVertId _other)
inline

Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [5/7]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( ulong size)
inline

creates a vector with size elements with default value Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [6/7]

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

creates a vector with size elements with the given value Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ Vector_MRGraphVertId_MRGraphVertId() [7/7]

unsafe MR.Vector_MRGraphVertId_MRGraphVertId.Vector_MRGraphVertId_MRGraphVertId ( MR.Misc._Moved< MR.Std.Vector_MRGraphVertId > vec)
inline

moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

Member Function Documentation

◆ assign()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::operator=.

◆ 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<MR.GraphVertId, MR.GraphVertId>::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<MR.GraphVertId, MR.GraphVertId>::autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.autoResizeSet ( MR.GraphVertId pos,
ulong 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<MR.GraphVertId, MR.GraphVertId>::autoResizeSet.

◆ back()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::back.

◆ clear()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.clear ( )
inline

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::clear.

◆ data()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::data.

◆ emplaceBack()

unsafe ref MR.GraphVertId MR.Vector_MRGraphVertId_MRGraphVertId.emplaceBack ( )
inline

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::emplace_back<>.

◆ front()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::front.

◆ operator Vector_MRGraphVertId_MRGraphVertId()

static unsafe implicit MR.Vector_MRGraphVertId_MRGraphVertId.operator Vector_MRGraphVertId_MRGraphVertId ( MR.Misc._Moved< MR.Std.Vector_MRGraphVertId > vec)
inlinestatic

moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.GraphVertId, MR.GraphVertId>::Vector.

◆ popBack()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.popBack ( )
inline

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::pop_back.

◆ pushBack() [1/2]

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::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<MR.GraphVertId, MR.GraphVertId>::push_back.

◆ reserve()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::reserve.

◆ resize() [1/2]

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resize.

◆ resize() [2/2]

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resize.

◆ resizeNoInit()

unsafe void MR.Vector_MRGraphVertId_MRGraphVertId.resizeNoInit ( ulong targetSize)
inline

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeNoInit.

◆ resizeWithReserve() [1/2]

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

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeWithReserve.

◆ resizeWithReserve() [2/2]

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

doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::resizeWithReserve.

◆ swap()

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

Generated from method MR.Vector<MR.GraphVertId, MR.GraphVertId>::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<MR.GraphVertId, MR.GraphVertId>::operator[].

◆ vec

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

the user can directly manipulate the vector, anyway she cannot break anything


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