MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.VertMap:

Classes

class  _Enumerator

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator VertMap (MR.Misc._Moved< MR.Std.Vector_MRVertId > vec)
 moves data from the given std::vector<T> Generated from constructor MR.VertMap.VertMap.
Static Public Member Functions inherited from MR.Const_VertMap
static unsafe implicit operator Const_VertMap (MR.Misc._Moved< MR.Std.Vector_MRVertId > vec)
 moves data from the given std::vector<T> Generated from constructor MR.VertMap.VertMap.
static unsafe bool operator== (MR.Const_VertMap _this, MR.Const_VertMap b)
 Generated from method MR::VertMap::operator==.
static unsafe bool operator!= (MR.Const_VertMap _this, MR.Const_VertMap b)

Properties

new unsafe MR.Std.Vector_MRVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe new ref MR.VertId this[MR.VertId i] [get]
 Generated from method MR::VertMap::operator[].
Properties inherited from MR.Const_VertMap
unsafe MR.Std.Const_Vector_MRVertId vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe ref readonly MR.VertId this[MR.VertId i] [get]
 Generated from method MR::VertMap::operator[].

Additional Inherited Members

Protected Member Functions inherited from MR.Const_VertMap
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.VertMap. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VertMap() [1/7]

unsafe MR.VertMap.VertMap ( )
inline

Constructs an empty (default-constructed) instance.

◆ VertMap() [2/7]

unsafe MR.VertMap.VertMap ( MR._ByValue_VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [3/7]

MR.VertMap.VertMap ( Const_VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [4/7]

MR.VertMap.VertMap ( VertMap _other)
inline

Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [5/7]

unsafe MR.VertMap.VertMap ( ulong size)
inline

creates a vector with size elements with default value Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [6/7]

unsafe MR.VertMap.VertMap ( ulong size,
in MR.VertId val )
inline

creates a vector with size elements with the given value Generated from constructor MR.VertMap.VertMap.

◆ VertMap() [7/7]

unsafe MR.VertMap.VertMap ( MR.Misc._Moved< MR.Std.Vector_MRVertId > vec)
inline

moves data from the given std::vector<T> Generated from constructor MR.VertMap.VertMap.

Member Function Documentation

◆ assign()

unsafe MR.VertMap MR.VertMap.assign ( MR._ByValue_VertMap _other)
inline

Generated from method MR::VertMap::operator=.

◆ autoResizeAt()

unsafe ref MR.VertId MR.VertMap.autoResizeAt ( MR.VertId i)
inline

this accessor automatically adjusts the size of the vector Generated from method MR.VertMap.autoResizeAt.

◆ autoResizeSet() [1/2]

unsafe void MR.VertMap.autoResizeSet ( MR.VertId i,
MR.VertId val )
inline

sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR.VertMap.autoResizeSet.

◆ autoResizeSet() [2/2]

unsafe void MR.VertMap.autoResizeSet ( MR.VertId pos,
ulong len,
MR.VertId 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.VertMap.autoResizeSet.

◆ back()

unsafe new ref MR.VertId MR.VertMap.back ( )
inline

Generated from method MR.VertMap.back.

◆ clear()

unsafe void MR.VertMap.clear ( )
inline

Generated from method MR.VertMap.clear.

◆ data()

unsafe new MR.Misc.? Ref< MR.VertId > MR.VertMap.data ( )
inline

Generated from method MR.VertMap.data.

◆ emplaceBack()

unsafe ref MR.VertId MR.VertMap.emplaceBack ( )
inline

Generated from method MR::VertMap::emplace_back&lt;&gt;.

◆ front()

unsafe new ref MR.VertId MR.VertMap.front ( )
inline

Generated from method MR.VertMap.front.

◆ GetEnumerator()

new IEnumerator< MR.Misc.Ref< MR.VertId > > MR.VertMap.GetEnumerator ( )
inline

◆ operator VertMap()

unsafe implicit MR.VertMap.operator VertMap ( MR.Misc._Moved< MR.Std.Vector_MRVertId > vec)
inlinestatic

moves data from the given std::vector<T> Generated from constructor MR.VertMap.VertMap.

◆ popBack()

unsafe void MR.VertMap.popBack ( )
inline

Generated from method MR::VertMap::pop_back.

◆ pushBack() [1/2]

unsafe void MR.VertMap.pushBack ( in MR.VertId t)
inline

Generated from method MR::VertMap::push_back.

◆ pushBack() [2/2]

unsafe void MR.VertMap.pushBack ( MR.Misc._MoveRef _move_t,
in MR.VertId t )
inline

Generated from method MR::VertMap::push_back.

◆ reserve()

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

Generated from method MR.VertMap.reserve.

◆ resize() [1/2]

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

Generated from method MR.VertMap.resize.

◆ resize() [2/2]

unsafe void MR.VertMap.resize ( ulong newSize,
in MR.VertId t )
inline

Generated from method MR.VertMap.resize.

◆ resizeNoInit()

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

Generated from method MR.VertMap.resizeNoInit.

◆ resizeWithReserve() [1/2]

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

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.VertMap.resizeWithReserve ( ulong newSize,
in MR.VertId value )
inline

doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve.

◆ swap()

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

Generated from method MR.VertMap.swap.

Property Documentation

◆ this[MR.VertId i]

unsafe new ref MR.VertId MR.VertMap.this[MR.VertId i]
get

Generated from method MR::VertMap::operator[].

◆ vec

new unsafe MR.Std.Vector_MRVertId MR.VertMap.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: