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

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

Inheritance diagram for MR.Vector_MRPixelId_MRPixelId:

Classes

class  _Enumerator

Public Member Functions

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

Static Public Member Functions

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

Properties

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

Additional Inherited Members

Protected Member Functions inherited from MR.Const_Vector_MRPixelId_MRPixelId
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;MR.PixelId, MR.PixelId&gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_MRPixelId_MRPixelId() [1/7]

unsafe MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_MRPixelId_MRPixelId() [2/7]

unsafe MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( MR._ByValue_Vector_MRPixelId_MRPixelId _other)
inline

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

◆ Vector_MRPixelId_MRPixelId() [3/7]

MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( Const_Vector_MRPixelId_MRPixelId _other)
inline

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

◆ Vector_MRPixelId_MRPixelId() [4/7]

MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( Vector_MRPixelId_MRPixelId _other)
inline

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

◆ Vector_MRPixelId_MRPixelId() [5/7]

unsafe MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( ulong size)
inline

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

◆ Vector_MRPixelId_MRPixelId() [6/7]

unsafe MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( ulong size,
in MR.PixelId val )
inline

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

◆ Vector_MRPixelId_MRPixelId() [7/7]

unsafe MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( MR.Misc._Moved< MR.Std.Vector_MRPixelId > vec)
inline

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

Member Function Documentation

◆ assign()

unsafe MR.Vector_MRPixelId_MRPixelId MR.Vector_MRPixelId_MRPixelId.assign ( MR._ByValue_Vector_MRPixelId_MRPixelId _other)
inline

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

◆ autoResizeAt()

unsafe ref MR.PixelId MR.Vector_MRPixelId_MRPixelId.autoResizeAt ( MR.PixelId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_MRPixelId_MRPixelId.autoResizeSet ( MR.PixelId i,
MR.PixelId 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.PixelId, MR.PixelId&gt;autoResizeSet.

◆ autoResizeSet() [2/2]

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

◆ back()

unsafe new ref MR.PixelId MR.Vector_MRPixelId_MRPixelId.back ( )
inline

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

◆ clear()

unsafe void MR.Vector_MRPixelId_MRPixelId.clear ( )
inline

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

◆ data()

unsafe new MR.Misc.? Ref< MR.PixelId > MR.Vector_MRPixelId_MRPixelId.data ( )
inline

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

◆ emplaceBack()

unsafe ref MR.PixelId MR.Vector_MRPixelId_MRPixelId.emplaceBack ( )
inline

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

◆ front()

unsafe new ref MR.PixelId MR.Vector_MRPixelId_MRPixelId.front ( )
inline

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

◆ GetEnumerator()

new IEnumerator< MR.Misc.Ref< MR.PixelId > > MR.Vector_MRPixelId_MRPixelId.GetEnumerator ( )
inline

◆ operator Vector_MRPixelId_MRPixelId()

unsafe implicit MR.Vector_MRPixelId_MRPixelId.operator Vector_MRPixelId_MRPixelId ( MR.Misc._Moved< MR.Std.Vector_MRPixelId > vec)
inlinestatic

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

◆ popBack()

unsafe void MR.Vector_MRPixelId_MRPixelId.popBack ( )
inline

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

◆ pushBack() [1/2]

unsafe void MR.Vector_MRPixelId_MRPixelId.pushBack ( in MR.PixelId t)
inline

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

◆ pushBack() [2/2]

unsafe void MR.Vector_MRPixelId_MRPixelId.pushBack ( MR.Misc._MoveRef _move_t,
in MR.PixelId t )
inline

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

◆ reserve()

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

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

◆ resize() [1/2]

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

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

◆ resize() [2/2]

unsafe void MR.Vector_MRPixelId_MRPixelId.resize ( ulong newSize,
in MR.PixelId t )
inline

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

◆ resizeNoInit()

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

Generated from method MR::Vector&lt;MR.PixelId, MR.PixelId&gt;resizeNoInit.

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_MRPixelId_MRPixelId.resizeWithReserve ( ulong newSize,
in MR.PixelId value )
inline

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

◆ swap()

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

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

Property Documentation

◆ this[MR.PixelId i]

unsafe new ref MR.PixelId MR.Vector_MRPixelId_MRPixelId.this[MR.PixelId i]
get

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

◆ vec

new unsafe MR.Std.Vector_MRPixelId MR.Vector_MRPixelId_MRPixelId.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: