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.
 
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.
 
- Public Member Functions inherited from MR.Const_Vector_MRPixelId_MRPixelId
virtual void Dispose ()
 
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<MR.PixelId, MR.PixelId>::Vector.
 
unsafe Const_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 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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::Vector.
 
unsafe bool empty ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::empty.
 
unsafe ulong size ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::size.
 
unsafe ulong capacity ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::capacity.
 
unsafe ref readonly MR.PixelId front ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::front.
 
unsafe ref readonly MR.PixelId back ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::back.
 
unsafe MR.PixelId beginId ()
 returns the identifier of the first element Generated from method MR.Vector<MR.PixelId, MR.PixelId>::beginId.
 
unsafe MR.PixelId backId ()
 returns the identifier of the back() element Generated from method MR.Vector<MR.PixelId, MR.PixelId>::backId.
 
unsafe MR.PixelId endId ()
 returns backId() + 1 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::endId.
 
unsafe MR.? PixelId data ()
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::data.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.Vector<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::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<MR.PixelId, MR.PixelId>::Vector.
 
static unsafe bool operator== (MR.Const_Vector_MRPixelId_MRPixelId _this, MR.Const_Vector_MRPixelId_MRPixelId b)
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::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]
 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[].
 
- Properties inherited from MR.Const_Vector_MRPixelId_MRPixelId
unsafe MR.Std.Const_Vector_MRPixelId vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe ref readonly MR.PixelId this[MR.PixelId i] [get]
 Generated from method MR.Vector<MR.PixelId, MR.PixelId>::operator[].
 
- Properties inherited from MR.Misc.Object< Const_Vector_MRPixelId_MRPixelId >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_Vector_MRPixelId_MRPixelId
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Vector_MRPixelId_MRPixelId >
bool _IsOwningVal
 

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.

The documentation for this class was generated from the following file: