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

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

+ Inheritance diagram for MR.Vector_Double_MRRegionId:

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator Vector_Double_MRRegionId (MR.Misc._Moved< MR.Std.Vector_Double > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<double, MR.RegionId>::Vector.
 

Properties

new unsafe MR.Std.Vector_Double vec [get, protected set]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref double this[MR.RegionId i] [get]
 Generated from method MR.Vector<double, MR.RegionId>::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<double, MR.RegionId>. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_Double_MRRegionId() [1/7]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_Double_MRRegionId() [2/7]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( MR._ByValue_Vector_Double_MRRegionId _other)
inline

Generated from constructor MR.Vector<double, MR.RegionId>::Vector.

◆ Vector_Double_MRRegionId() [3/7]

MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( Const_Vector_Double_MRRegionId _other)
inline

Generated from constructor MR.Vector<double, MR.RegionId>::Vector.

◆ Vector_Double_MRRegionId() [4/7]

MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( Vector_Double_MRRegionId _other)
inline

Generated from constructor MR.Vector<double, MR.RegionId>::Vector.

◆ Vector_Double_MRRegionId() [5/7]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( ulong size)
inline

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

◆ Vector_Double_MRRegionId() [6/7]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( ulong size,
double val )
inline

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

◆ Vector_Double_MRRegionId() [7/7]

unsafe MR.Vector_Double_MRRegionId.Vector_Double_MRRegionId ( MR.Misc._Moved< MR.Std.Vector_Double > vec)
inline

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

Member Function Documentation

◆ assign()

unsafe MR.Vector_Double_MRRegionId MR.Vector_Double_MRRegionId.assign ( MR._ByValue_Vector_Double_MRRegionId _other)
inline

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

◆ autoResizeAt()

unsafe ref double MR.Vector_Double_MRRegionId.autoResizeAt ( MR.RegionId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR.Vector<double, MR.RegionId>::autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_Double_MRRegionId.autoResizeSet ( MR.RegionId i,
double 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<double, MR.RegionId>::autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_Double_MRRegionId.autoResizeSet ( MR.RegionId pos,
ulong len,
double 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<double, MR.RegionId>::autoResizeSet.

◆ back()

unsafe new ref double MR.Vector_Double_MRRegionId.back ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::back.

◆ clear()

unsafe void MR.Vector_Double_MRRegionId.clear ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::clear.

◆ data()

unsafe new MR.Misc.? Ref< double > MR.Vector_Double_MRRegionId.data ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::data.

◆ emplaceBack()

unsafe ref double MR.Vector_Double_MRRegionId.emplaceBack ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::emplace_back<>.

◆ front()

unsafe new ref double MR.Vector_Double_MRRegionId.front ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::front.

◆ operator Vector_Double_MRRegionId()

static unsafe implicit MR.Vector_Double_MRRegionId.operator Vector_Double_MRRegionId ( MR.Misc._Moved< MR.Std.Vector_Double > vec)
inlinestatic

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

◆ popBack()

unsafe void MR.Vector_Double_MRRegionId.popBack ( )
inline

Generated from method MR.Vector<double, MR.RegionId>::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Vector_Double_MRRegionId.pushBack ( double t)
inline

Generated from method MR.Vector<double, MR.RegionId>::push_back.

◆ pushBack() [2/2]

unsafe void MR.Vector_Double_MRRegionId.pushBack ( MR.Misc._MoveRef _move_t,
double t )
inline

Generated from method MR.Vector<double, MR.RegionId>::push_back.

◆ reserve()

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

Generated from method MR.Vector<double, MR.RegionId>::reserve.

◆ resize() [1/2]

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

Generated from method MR.Vector<double, MR.RegionId>::resize.

◆ resize() [2/2]

unsafe void MR.Vector_Double_MRRegionId.resize ( ulong newSize,
double t )
inline

Generated from method MR.Vector<double, MR.RegionId>::resize.

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_Double_MRRegionId.resizeWithReserve ( ulong newSize,
double value )
inline

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

◆ swap()

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

Generated from method MR.Vector<double, MR.RegionId>::swap.

Property Documentation

◆ this[MR.RegionId i]

unsafe new ref double MR.Vector_Double_MRRegionId.this[MR.RegionId i]
get

Generated from method MR.Vector<double, MR.RegionId>::operator[].

◆ vec

new unsafe MR.Std.Vector_Double MR.Vector_Double_MRRegionId.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: