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

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

+ Inheritance diagram for MR.Vector_Float_MRVoxelId:

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator Vector_Float_MRVoxelId (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<float, MR.VoxelId>::Vector.
 
- Static Public Member Functions inherited from MR.Const_Vector_Float_MRVoxelId
static unsafe implicit operator Const_Vector_Float_MRVoxelId (MR.Misc._Moved< MR.Std.Vector_Float > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Vector<float, MR.VoxelId>::Vector.
 
static unsafe bool operator== (MR.Const_Vector_Float_MRVoxelId _this, MR.Const_Vector_Float_MRVoxelId b)
 Generated from method MR.Vector<float, MR.VoxelId>::operator==.
 
static unsafe bool operator!= (MR.Const_Vector_Float_MRVoxelId _this, MR.Const_Vector_Float_MRVoxelId b)
 

Properties

new unsafe MR.Std.Vector_Float vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref float this[MR.VoxelId i] [get]
 Generated from method MR.Vector<float, MR.VoxelId>::operator[].
 
- Properties inherited from MR.Const_Vector_Float_MRVoxelId
unsafe MR.Std.Const_Vector_Float vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe float this[MR.VoxelId i] [get]
 Generated from method MR.Vector<float, MR.VoxelId>::operator[].
 
- Properties inherited from MR.Misc.Object< Const_Vector_Float_MRVoxelId >
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_Float_MRVoxelId
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Vector_Float_MRVoxelId >
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<float, MR.VoxelId>. This is the non-const half of the class.

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