MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Vector_Int_MRFaceId:

Classes

class  _Enumerator

Public Member Functions

new IEnumerator< MR.Misc.Ref< int > > GetEnumerator ()
unsafe Vector_Int_MRFaceId ()
 Constructs an empty (default-constructed) instance.
unsafe Vector_Int_MRFaceId (MR._ByValue_Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
 Vector_Int_MRFaceId (Const_Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
 Vector_Int_MRFaceId (Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Vector_Int_MRFaceId (ulong size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Vector_Int_MRFaceId (ulong size, int val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Vector_Int_MRFaceId (MR.Misc._Moved< MR.Std.Vector_Int > vec)
 moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe MR.Vector_Int_MRFaceId assign (MR._ByValue_Vector_Int_MRFaceId _other)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;::operator=.
unsafe void clear ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;clear.
unsafe void resize (ulong newSize)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;resize.
unsafe void resize (ulong newSize, int t)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;resize.
unsafe void reserve (ulong capacity)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;reserve.
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR::Vector&lt;int, MR.FaceId&gt;resizeWithReserve.
unsafe void resizeWithReserve (ulong newSize, int value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR::Vector&lt;int, MR.FaceId&gt;resizeWithReserve.
unsafe void autoResizeSet (MR.FaceId pos, ulong len, int 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;int, MR.FaceId&gt;autoResizeSet.
unsafe void autoResizeSet (MR.FaceId i, int 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;int, MR.FaceId&gt;autoResizeSet.
unsafe ref int autoResizeAt (MR.FaceId i)
 this accessor automatically adjusts the size of the vector Generated from method MR::Vector&lt;int, MR.FaceId&gt;autoResizeAt.
unsafe void pushBack (int t)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;::push_back.
unsafe void pushBack (MR.Misc._MoveRef _move_t, int t)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;::push_back.
unsafe void popBack ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;::pop_back.
unsafe ref int emplaceBack ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;::emplace_back&lt;&gt;.
unsafe new ref int front ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;front.
unsafe new ref int back ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;back.
unsafe new MR.Misc.? Ref< int > data ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;data.
unsafe void swap (MR.Vector_Int_MRFaceId b)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;swap.
Public Member Functions inherited from MR.Const_Vector_Int_MRFaceId
virtual void Dispose ()
IEnumerator< int > GetEnumerator ()
unsafe Const_Vector_Int_MRFaceId ()
 Constructs an empty (default-constructed) instance.
unsafe Const_Vector_Int_MRFaceId (MR._ByValue_Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
 Const_Vector_Int_MRFaceId (Const_Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
 Const_Vector_Int_MRFaceId (Vector_Int_MRFaceId _other)
 Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Const_Vector_Int_MRFaceId (ulong size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Const_Vector_Int_MRFaceId (ulong size, int val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe Const_Vector_Int_MRFaceId (MR.Misc._Moved< MR.Std.Vector_Int > vec)
 moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
unsafe bool empty ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;empty.
unsafe ulong size ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;size.
unsafe ulong capacity ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;capacity.
unsafe int front ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;front.
unsafe int back ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;back.
unsafe MR.FaceId beginId ()
 returns the identifier of the first element Generated from method MR::Vector&lt;int, MR.FaceId&gt;beginId.
unsafe MR.FaceId backId ()
 returns the identifier of the back() element Generated from method MR::Vector&lt;int, MR.FaceId&gt;backId.
unsafe MR.FaceId endId ()
 returns backId() + 1 Generated from method MR::Vector&lt;int, MR.FaceId&gt;endId.
unsafe? int data ()
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;data.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR::Vector&lt;int, MR.FaceId&gt;heapBytes.
bool Equals (MR.Const_Vector_Int_MRFaceId? b)
override bool Equals (object? other)

Static Public Member Functions

static unsafe implicit operator Vector_Int_MRFaceId (MR.Misc._Moved< MR.Std.Vector_Int > vec)
 moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
Static Public Member Functions inherited from MR.Const_Vector_Int_MRFaceId
static unsafe implicit operator Const_Vector_Int_MRFaceId (MR.Misc._Moved< MR.Std.Vector_Int > vec)
 moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.
static unsafe bool operator== (MR.Const_Vector_Int_MRFaceId _this, MR.Const_Vector_Int_MRFaceId b)
 Generated from method MR::Vector&lt;int, MR.FaceId&gt;operator==.
static unsafe bool operator!= (MR.Const_Vector_Int_MRFaceId _this, MR.Const_Vector_Int_MRFaceId b)

Properties

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

Additional Inherited Members

Protected Member Functions inherited from MR.Const_Vector_Int_MRFaceId
virtual unsafe void Dispose (bool disposing)

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&lt;int, MR.FaceId&gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_Int_MRFaceId() [1/7]

unsafe MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_Int_MRFaceId() [2/7]

unsafe MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( MR._ByValue_Vector_Int_MRFaceId _other)
inline

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

◆ Vector_Int_MRFaceId() [3/7]

MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( Const_Vector_Int_MRFaceId _other)
inline

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

◆ Vector_Int_MRFaceId() [4/7]

MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( Vector_Int_MRFaceId _other)
inline

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

◆ Vector_Int_MRFaceId() [5/7]

unsafe MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( ulong size)
inline

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

◆ Vector_Int_MRFaceId() [6/7]

unsafe MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( ulong size,
int val )
inline

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

◆ Vector_Int_MRFaceId() [7/7]

unsafe MR.Vector_Int_MRFaceId.Vector_Int_MRFaceId ( MR.Misc._Moved< MR.Std.Vector_Int > vec)
inline

moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.

Member Function Documentation

◆ assign()

unsafe MR.Vector_Int_MRFaceId MR.Vector_Int_MRFaceId.assign ( MR._ByValue_Vector_Int_MRFaceId _other)
inline

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

◆ autoResizeAt()

unsafe ref int MR.Vector_Int_MRFaceId.autoResizeAt ( MR.FaceId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_Int_MRFaceId.autoResizeSet ( MR.FaceId i,
int 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;int, MR.FaceId&gt;autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_Int_MRFaceId.autoResizeSet ( MR.FaceId pos,
ulong len,
int 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;int, MR.FaceId&gt;autoResizeSet.

◆ back()

unsafe new ref int MR.Vector_Int_MRFaceId.back ( )
inline

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

◆ clear()

unsafe void MR.Vector_Int_MRFaceId.clear ( )
inline

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

◆ data()

unsafe new MR.Misc.? Ref< int > MR.Vector_Int_MRFaceId.data ( )
inline

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

◆ emplaceBack()

unsafe ref int MR.Vector_Int_MRFaceId.emplaceBack ( )
inline

Generated from method MR::Vector&lt;int, MR.FaceId&gt;::emplace_back&lt;&gt;.

◆ front()

unsafe new ref int MR.Vector_Int_MRFaceId.front ( )
inline

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

◆ GetEnumerator()

new IEnumerator< MR.Misc.Ref< int > > MR.Vector_Int_MRFaceId.GetEnumerator ( )
inline

◆ operator Vector_Int_MRFaceId()

unsafe implicit MR.Vector_Int_MRFaceId.operator Vector_Int_MRFaceId ( MR.Misc._Moved< MR.Std.Vector_Int > vec)
inlinestatic

moves data from the given std::vector<T> Generated from constructor MR::Vector&lt;int, MR.FaceId&gt;::Vector.

◆ popBack()

unsafe void MR.Vector_Int_MRFaceId.popBack ( )
inline

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

◆ pushBack() [1/2]

unsafe void MR.Vector_Int_MRFaceId.pushBack ( int t)
inline

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

◆ pushBack() [2/2]

unsafe void MR.Vector_Int_MRFaceId.pushBack ( MR.Misc._MoveRef _move_t,
int t )
inline

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

◆ reserve()

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

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

◆ resize() [1/2]

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

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

◆ resize() [2/2]

unsafe void MR.Vector_Int_MRFaceId.resize ( ulong newSize,
int t )
inline

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

◆ resizeWithReserve() [1/2]

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

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR::Vector&lt;int, MR.FaceId&gt;resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_Int_MRFaceId.resizeWithReserve ( ulong newSize,
int value )
inline

doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR::Vector&lt;int, MR.FaceId&gt;resizeWithReserve.

◆ swap()

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

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

Property Documentation

◆ this[MR.FaceId i]

unsafe new ref int MR.Vector_Int_MRFaceId.this[MR.FaceId i]
get

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

◆ vec

new unsafe MR.Std.Vector_Int MR.Vector_Int_MRFaceId.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: