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

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

+ Inheritance diagram for MR.Vector_MRMeshOrPointsXf_MRObjId:

Public Member Functions

unsafe Vector_MRMeshOrPointsXf_MRObjId ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector_MRMeshOrPointsXf_MRObjId (MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId _other)
 Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 
 Vector_MRMeshOrPointsXf_MRObjId (Const_Vector_MRMeshOrPointsXf_MRObjId _other)
 Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 
 Vector_MRMeshOrPointsXf_MRObjId (Vector_MRMeshOrPointsXf_MRObjId _other)
 Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 
unsafe Vector_MRMeshOrPointsXf_MRObjId (ulong size, MR.Const_MeshOrPointsXf val)
 creates a vector with size elements with the given value Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 
unsafe Vector_MRMeshOrPointsXf_MRObjId (MR.Misc._Moved< MR.Std.Vector_MRMeshOrPointsXf > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 
unsafe MR.Vector_MRMeshOrPointsXf_MRObjId assign (MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId _other)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::operator=.
 
unsafe void clear ()
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::clear.
 
unsafe void resize (ulong newSize, MR.Const_MeshOrPointsXf t)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::resize.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::reserve.
 
unsafe void resizeWithReserve (ulong newSize, MR.Const_MeshOrPointsXf value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::resizeWithReserve.
 
unsafe void autoResizeSet (MR.ObjId pos, ulong len, MR.Const_MeshOrPointsXf 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.MeshOrPointsXf, MR.ObjId>::autoResizeSet.
 
unsafe void autoResizeSet (MR.ObjId i, MR.Const_MeshOrPointsXf 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.MeshOrPointsXf, MR.ObjId>::autoResizeSet.
 
unsafe void pushBack (MR.Const_MeshOrPointsXf t)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::push_back.
 
unsafe void pushBack (MR.Misc._Moved< MR.MeshOrPointsXf > t)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::push_back.
 
unsafe void popBack ()
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::pop_back.
 
unsafe new MR.MeshOrPointsXf front ()
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::front.
 
unsafe new MR.MeshOrPointsXf back ()
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::back.
 
unsafe new MR.? MeshOrPointsXf data ()
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::data.
 
unsafe void swap (MR.Vector_MRMeshOrPointsXf_MRObjId b)
 Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::swap.
 

Static Public Member Functions

static unsafe implicit operator Vector_MRMeshOrPointsXf_MRObjId (MR.Misc._Moved< MR.Std.Vector_MRMeshOrPointsXf > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.
 

Properties

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

Constructor & Destructor Documentation

◆ Vector_MRMeshOrPointsXf_MRObjId() [1/6]

unsafe MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_MRMeshOrPointsXf_MRObjId() [2/6]

unsafe MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId _other)
inline

Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.

◆ Vector_MRMeshOrPointsXf_MRObjId() [3/6]

MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( Const_Vector_MRMeshOrPointsXf_MRObjId _other)
inline

Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.

◆ Vector_MRMeshOrPointsXf_MRObjId() [4/6]

MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( Vector_MRMeshOrPointsXf_MRObjId _other)
inline

Generated from constructor MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::Vector.

◆ Vector_MRMeshOrPointsXf_MRObjId() [5/6]

unsafe MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( ulong size,
MR.Const_MeshOrPointsXf val )
inline

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

◆ Vector_MRMeshOrPointsXf_MRObjId() [6/6]

unsafe MR.Vector_MRMeshOrPointsXf_MRObjId.Vector_MRMeshOrPointsXf_MRObjId ( MR.Misc._Moved< MR.Std.Vector_MRMeshOrPointsXf > vec)
inline

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

Member Function Documentation

◆ assign()

unsafe MR.Vector_MRMeshOrPointsXf_MRObjId MR.Vector_MRMeshOrPointsXf_MRObjId.assign ( MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId _other)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.autoResizeSet ( MR.ObjId i,
MR.Const_MeshOrPointsXf 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.MeshOrPointsXf, MR.ObjId>::autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.autoResizeSet ( MR.ObjId pos,
ulong len,
MR.Const_MeshOrPointsXf 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.MeshOrPointsXf, MR.ObjId>::autoResizeSet.

◆ back()

unsafe new MR.MeshOrPointsXf MR.Vector_MRMeshOrPointsXf_MRObjId.back ( )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::back.

◆ clear()

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.clear ( )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::clear.

◆ data()

unsafe new MR.? MeshOrPointsXf MR.Vector_MRMeshOrPointsXf_MRObjId.data ( )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::data.

◆ front()

unsafe new MR.MeshOrPointsXf MR.Vector_MRMeshOrPointsXf_MRObjId.front ( )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::front.

◆ operator Vector_MRMeshOrPointsXf_MRObjId()

static unsafe implicit MR.Vector_MRMeshOrPointsXf_MRObjId.operator Vector_MRMeshOrPointsXf_MRObjId ( MR.Misc._Moved< MR.Std.Vector_MRMeshOrPointsXf > vec)
inlinestatic

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

◆ popBack()

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.popBack ( )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.pushBack ( MR.Const_MeshOrPointsXf t)
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::push_back.

◆ pushBack() [2/2]

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.pushBack ( MR.Misc._Moved< MR.MeshOrPointsXf > t)
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::push_back.

◆ reserve()

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

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::reserve.

◆ resize()

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.resize ( ulong newSize,
MR.Const_MeshOrPointsXf t )
inline

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::resize.

◆ resizeWithReserve()

unsafe void MR.Vector_MRMeshOrPointsXf_MRObjId.resizeWithReserve ( ulong newSize,
MR.Const_MeshOrPointsXf value )
inline

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

◆ swap()

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

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::swap.

Property Documentation

◆ this[MR.ObjId i]

unsafe new MR.MeshOrPointsXf MR.Vector_MRMeshOrPointsXf_MRObjId.this[MR.ObjId i]
get

Generated from method MR.Vector<MR.MeshOrPointsXf, MR.ObjId>::operator[].

◆ vec

new unsafe MR.Std.Vector_MRMeshOrPointsXf MR.Vector_MRMeshOrPointsXf_MRObjId.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: