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

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

+ Inheritance diagram for MR.Edges:

Public Member Functions

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

Static Public Member Functions

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

Properties

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

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