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

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

+ Inheritance diagram for MR.Dipoles:

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator Dipoles (MR.Misc._Moved< MR.Std.Vector_MRDipole > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Dipoles.Dipoles.
 
- Static Public Member Functions inherited from MR.Const_Dipoles
static unsafe implicit operator Const_Dipoles (MR.Misc._Moved< MR.Std.Vector_MRDipole > vec)
 moves data from the given std.vector<T> Generated from constructor MR.Dipoles.Dipoles.
 

Properties

new unsafe MR.Std.Vector_MRDipole vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe new MR.Dipole this[MR.NodeId i] [get]
 Generated from method MR.Dipoles.operator[].
 
- Properties inherited from MR.Const_Dipoles
unsafe MR.Std.Const_Vector_MRDipole vec [get]
 the user can directly manipulate the vector, anyway she cannot break anything
 
unsafe MR.Const_Dipole this[MR.NodeId i] [get]
 Generated from method MR.Dipoles.operator[].
 
- Properties inherited from MR.Misc.Object< Const_Dipoles >
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_Dipoles
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Dipoles >
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.Dipoles. This is the non-const half of the class.

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