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

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

+ Inheritance diagram for MR.FaceMap:

Public Member Functions

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

Static Public Member Functions

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

Properties

new unsafe MR.Std.Vector_MRFaceId vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new ref MR.FaceId this[MR.FaceId i] [get]
 Generated from method MR.FaceMap.operator[].
 
- Properties inherited from MR.Const_FaceMap
unsafe MR.Std.Const_Vector_MRFaceId vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe ref readonly MR.FaceId this[MR.FaceId i] [get]
 Generated from method MR.FaceMap.operator[].
 
- Properties inherited from MR.Misc.Object< Const_FaceMap >
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_FaceMap
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_FaceMap >
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.FaceMap. This is the non-const half of the class.

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