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

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

+ Inheritance diagram for MR.VertMap:

Public Member Functions

unsafe VertMap ()
 Constructs an empty (default-constructed) instance.
 
unsafe VertMap (MR._ByValue_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<>.
 
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 ()
 
unsafe Const_VertMap ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_VertMap (MR._ByValue_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]
 the user can directly manipulate the vector, anyway she cannot break anything
 
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]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe ref readonly MR.VertId this[MR.VertId i] [get]
 Generated from method MR.VertMap.operator[].
 
- Properties inherited from MR.Misc.Object< Const_VertMap >
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_VertMap
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_VertMap >
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.VertMap. This is the non-const half of the class.

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