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:

Public Member Functions

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<MR.PixelId, MR.PixelId>::Vector.
 
 Vector_MRPixelId_MRPixelId (Const_Vector_MRPixelId_MRPixelId _other)
 Generated from constructor MR.Vector<MR.PixelId, MR.PixelId>::Vector.
 
 Vector_MRPixelId_MRPixelId (Vector_MRPixelId_MRPixelId _other)
 Generated from constructor MR.Vector<MR.PixelId, MR.PixelId>::Vector.
 
unsafe Vector_MRPixelId_MRPixelId (ulong size)
 creates a vector with size elements with default value Generated from constructor MR.Vector<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::Vector.
 
unsafe MR.Vector_MRPixelId_MRPixelId assign (MR._ByValue_Vector_MRPixelId_MRPixelId _other)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::operator=.
 
unsafe void clear ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::clear.
 
unsafe void resize (ulong newSize)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::resize.
 
unsafe void resize (ulong newSize, in MR.PixelId t)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::resize.
 
unsafe void resizeNoInit (ulong targetSize)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::resizeNoInit.
 
unsafe void reserve (ulong capacity)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::reserve.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.Vector<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::autoResizeSet.
 
unsafe ref MR.PixelId autoResizeAt (MR.PixelId i)
 this accessor automatically adjusts the size of the vector Generated from method MR.Vector<MR.PixelId, MR.PixelId>::autoResizeAt.
 
unsafe void pushBack (in MR.PixelId t)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::push_back.
 
unsafe void pushBack (MR.Misc._MoveRef _move_t, in MR.PixelId t)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::push_back.
 
unsafe void popBack ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::pop_back.
 
unsafe ref MR.PixelId emplaceBack ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::emplace_back<>.
 
unsafe new ref MR.PixelId front ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::front.
 
unsafe new ref MR.PixelId back ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::back.
 
unsafe new MR.Misc.? Ref< MR.PixelIddata ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::data.
 
unsafe void swap (MR.Vector_MRPixelId_MRPixelId b)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::swap.
 

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<MR.PixelId, MR.PixelId>::Vector.
 

Properties

new unsafe MR.Std.Vector_MRPixelId vec [get, protected set]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.PixelId this[MR.PixelId i] [get]
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::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.PixelId, MR.PixelId>. 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<MR.PixelId, MR.PixelId>::Vector.

◆ Vector_MRPixelId_MRPixelId() [3/7]

MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( Const_Vector_MRPixelId_MRPixelId _other)
inline

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

◆ Vector_MRPixelId_MRPixelId() [4/7]

MR.Vector_MRPixelId_MRPixelId.Vector_MRPixelId_MRPixelId ( Vector_MRPixelId_MRPixelId _other)
inline

Generated from constructor MR.Vector<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::autoResizeSet.

◆ back()

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

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

◆ clear()

unsafe void MR.Vector_MRPixelId_MRPixelId.clear ( )
inline

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

◆ data()

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

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

◆ emplaceBack()

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

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

◆ front()

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

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

◆ operator Vector_MRPixelId_MRPixelId()

static 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<MR.PixelId, MR.PixelId>::Vector.

◆ popBack()

unsafe void MR.Vector_MRPixelId_MRPixelId.popBack ( )
inline

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

◆ pushBack() [1/2]

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

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

◆ reserve()

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

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

◆ resize() [1/2]

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

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

◆ resize() [2/2]

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

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

◆ resizeNoInit()

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

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

◆ swap()

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

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

◆ vec

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