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

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

Inheritance diagram for MR.Vector_UnsignedShort_MRVoxelId:

Classes

class  _Enumerator

Public Member Functions

new IEnumerator< MR.Misc.Ref< ushort > > GetEnumerator ()
unsafe Vector_UnsignedShort_MRVoxelId ()
 Constructs an empty (default-constructed) instance.
unsafe Vector_UnsignedShort_MRVoxelId (MR._ByValue_Vector_UnsignedShort_MRVoxelId _other)
 Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
 Vector_UnsignedShort_MRVoxelId (Const_Vector_UnsignedShort_MRVoxelId _other)
 Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
 Vector_UnsignedShort_MRVoxelId (Vector_UnsignedShort_MRVoxelId _other)
 Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
unsafe Vector_UnsignedShort_MRVoxelId (ulong size)
 creates a vector with size elements with default value Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
unsafe Vector_UnsignedShort_MRVoxelId (ulong size, ushort val)
 creates a vector with size elements with the given value Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
unsafe Vector_UnsignedShort_MRVoxelId (MR.Misc._Moved< MR.Std.Vector_UnsignedShort > vec)
 moves data from the given std::vector&lt;T&gt; Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.
unsafe MR.Vector_UnsignedShort_MRVoxelId assign (MR._ByValue_Vector_UnsignedShort_MRVoxelId _other)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::operator=.
unsafe void clear ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;clear.
unsafe void resize (ulong newSize)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resize.
unsafe void resize (ulong newSize, ushort t)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resize.
unsafe void reserve (ulong capacity)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;reserve.
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resizeWithReserve.
unsafe void resizeWithReserve (ulong newSize, ushort value)
 doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resizeWithReserve.
unsafe void autoResizeSet (MR.VoxelId pos, ulong len, ushort 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&amp;lt;unsigned short, MR.VoxelId&amp;gt;autoResizeSet.
unsafe void autoResizeSet (MR.VoxelId i, ushort val)
 sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;autoResizeSet.
unsafe ref ushort autoResizeAt (MR.VoxelId i)
 this accessor automatically adjusts the size of the vector Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;autoResizeAt.
unsafe void pushBack (ushort t)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::push_back.
unsafe void pushBack (MR.Misc._MoveRef _move_t, ushort t)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::push_back.
unsafe void popBack ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::pop_back.
unsafe ref ushort emplaceBack ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::emplace_back&amp;lt;&amp;gt;.
unsafe new ref ushort front ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;front.
unsafe new ref ushort back ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;back.
unsafe new MR.Misc.? Ref< ushort > data ()
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;data.
unsafe void swap (MR.Vector_UnsignedShort_MRVoxelId b)
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;swap.

Static Public Member Functions

static unsafe implicit operator Vector_UnsignedShort_MRVoxelId (MR.Misc._Moved< MR.Std.Vector_UnsignedShort > vec)
 moves data from the given std::vector&lt;T&gt; Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

Properties

new unsafe MR.Std.Vector_UnsignedShort vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref ushort this[MR.VoxelId i] [get]
 Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::operator[].

Detailed Description

std::vector&lt;T&gt;-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&amp;lt;unsigned short, MR.VoxelId&amp;gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Vector_UnsignedShort_MRVoxelId() [1/7]

unsafe MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector_UnsignedShort_MRVoxelId() [2/7]

unsafe MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( MR._ByValue_Vector_UnsignedShort_MRVoxelId _other)
inline

Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

◆ Vector_UnsignedShort_MRVoxelId() [3/7]

MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( Const_Vector_UnsignedShort_MRVoxelId _other)
inline

Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

◆ Vector_UnsignedShort_MRVoxelId() [4/7]

MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( Vector_UnsignedShort_MRVoxelId _other)
inline

Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

◆ Vector_UnsignedShort_MRVoxelId() [5/7]

unsafe MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( ulong size)
inline

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

◆ Vector_UnsignedShort_MRVoxelId() [6/7]

unsafe MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( ulong size,
ushort val )
inline

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

◆ Vector_UnsignedShort_MRVoxelId() [7/7]

unsafe MR.Vector_UnsignedShort_MRVoxelId.Vector_UnsignedShort_MRVoxelId ( MR.Misc._Moved< MR.Std.Vector_UnsignedShort > vec)
inline

moves data from the given std::vector&lt;T&gt; Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

Member Function Documentation

◆ assign()

unsafe MR.Vector_UnsignedShort_MRVoxelId MR.Vector_UnsignedShort_MRVoxelId.assign ( MR._ByValue_Vector_UnsignedShort_MRVoxelId _other)
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::operator=.

◆ autoResizeAt()

unsafe ref ushort MR.Vector_UnsignedShort_MRVoxelId.autoResizeAt ( MR.VoxelId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.autoResizeSet ( MR.VoxelId i,
ushort 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&amp;lt;unsigned short, MR.VoxelId&amp;gt;autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.autoResizeSet ( MR.VoxelId pos,
ulong len,
ushort 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&amp;lt;unsigned short, MR.VoxelId&amp;gt;autoResizeSet.

◆ back()

unsafe new ref ushort MR.Vector_UnsignedShort_MRVoxelId.back ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;back.

◆ clear()

unsafe void MR.Vector_UnsignedShort_MRVoxelId.clear ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;clear.

◆ data()

unsafe new MR.Misc.? Ref< ushort > MR.Vector_UnsignedShort_MRVoxelId.data ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;data.

◆ emplaceBack()

unsafe ref ushort MR.Vector_UnsignedShort_MRVoxelId.emplaceBack ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::emplace_back&amp;lt;&amp;gt;.

◆ front()

unsafe new ref ushort MR.Vector_UnsignedShort_MRVoxelId.front ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;front.

◆ GetEnumerator()

new IEnumerator< MR.Misc.Ref< ushort > > MR.Vector_UnsignedShort_MRVoxelId.GetEnumerator ( )
inline

◆ operator Vector_UnsignedShort_MRVoxelId()

unsafe implicit MR.Vector_UnsignedShort_MRVoxelId.operator Vector_UnsignedShort_MRVoxelId ( MR.Misc._Moved< MR.Std.Vector_UnsignedShort > vec)
inlinestatic

moves data from the given std::vector&lt;T&gt; Generated from constructor MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::Vector.

◆ popBack()

unsafe void MR.Vector_UnsignedShort_MRVoxelId.popBack ( )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.pushBack ( MR.Misc._MoveRef _move_t,
ushort t )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::push_back.

◆ pushBack() [2/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.pushBack ( ushort t)
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::push_back.

◆ reserve()

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

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;reserve.

◆ resize() [1/2]

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

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resize.

◆ resize() [2/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.resize ( ulong newSize,
ushort t )
inline

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;resize.

◆ resizeWithReserve() [1/2]

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

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

◆ resizeWithReserve() [2/2]

unsafe void MR.Vector_UnsignedShort_MRVoxelId.resizeWithReserve ( ulong newSize,
ushort value )
inline

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

◆ swap()

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

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;swap.

Property Documentation

◆ this[MR.VoxelId i]

unsafe new ref ushort MR.Vector_UnsignedShort_MRVoxelId.this[MR.VoxelId i]
get

Generated from method MR::Vector&amp;lt;unsigned short, MR.VoxelId&amp;gt;::operator[].

◆ vec

new unsafe MR.Std.Vector_UnsignedShort MR.Vector_UnsignedShort_MRVoxelId.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: