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

Vector<T> is indexed by size_t Generated from class MR.Dipoles. This is the non-const half of the class. More...

Inheritance diagram for MR.Dipoles:

Public Member Functions

unsafe Dipoles ()
 creates empty vector
unsafe Dipoles (MR._ByValue_Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
 Dipoles (Const_Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
 Dipoles (Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
unsafe Dipoles (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.Dipoles.Dipoles.
unsafe Dipoles (nuint size, MR.Const_Dipole val)
 creates a vector with size elements with the given value Generated from constructor MR.Dipoles.Dipoles.
unsafe MR.Dipoles assign (MR._ByValue_Dipoles _other)
 Generated from method MR::Dipoles::operator=.
unsafe void assign (nuint count, MR.Const_Dipole val)
 replaces the contents with count copies of val Generated from method MR.Dipoles.assign.
unsafe void clear ()
 Generated from method MR.Dipoles.clear.
unsafe void resize (nuint newSize)
 Generated from method MR.Dipoles.resize.
unsafe void resize (nuint newSize, MR.Const_Dipole t)
 Generated from method MR.Dipoles.resize.
unsafe void reserve (nuint capacity)
 Generated from method MR.Dipoles.reserve.
unsafe void shrinkToFit ()
 Generated from method MR::Dipoles::shrink_to_fit.
unsafe void resizeWithReserve (nuint newSize)
 same as resize(newSize), which already grows the capacity geometrically Generated from method MR.Dipoles.resizeWithReserve.
unsafe void resizeWithReserve (nuint newSize, MR.Const_Dipole value)
 same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.Dipoles.resizeWithReserve.
unsafe void autoResizeSet (MR.NodeId pos, nuint 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 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 ()
 creates empty vector
unsafe Const_Dipoles (MR._ByValue_Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
 Const_Dipoles (Const_Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
 Const_Dipoles (Dipoles _other)
 Generated from constructor MR.Dipoles.Dipoles.
unsafe Const_Dipoles (nuint size)
 creates a vector with size elements with default value Generated from constructor MR.Dipoles.Dipoles.
unsafe Const_Dipoles (nuint size, MR.Const_Dipole val)
 creates a vector with size elements with the given value Generated from constructor MR.Dipoles.Dipoles.
unsafe bool empty ()
 Generated from method MR.Dipoles.empty.
unsafe nuint size ()
 Generated from method MR.Dipoles.size.
unsafe nuint maxSize ()
 Generated from method MR::Dipoles::max_size.
unsafe nuint 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 nuint heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.Dipoles.heapBytes.

Properties

new unsafe MR.Std.Vector_MRDipole_MRAllocatorMRDipole vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
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_MRAllocatorMRDipole vec [get, protected set]
 The user can directly manipulate the vector, they can't break anything anyway.
unsafe MR.Const_Dipole this[MR.NodeId i] [get]
 Generated from method MR::Dipoles::operator[].

Additional Inherited Members

Protected Member Functions inherited from MR.Const_Dipoles
virtual unsafe void Dispose (bool disposing)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR.Dipoles. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Dipoles() [1/6]

unsafe MR.Dipoles.Dipoles ( )
inline

creates empty vector

◆ Dipoles() [2/6]

unsafe MR.Dipoles.Dipoles ( MR._ByValue_Dipoles _other)
inline

Generated from constructor MR.Dipoles.Dipoles.

◆ Dipoles() [3/6]

MR.Dipoles.Dipoles ( Const_Dipoles _other)
inline

Generated from constructor MR.Dipoles.Dipoles.

◆ Dipoles() [4/6]

MR.Dipoles.Dipoles ( Dipoles _other)
inline

Generated from constructor MR.Dipoles.Dipoles.

◆ Dipoles() [5/6]

unsafe MR.Dipoles.Dipoles ( nuint size)
inline

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

◆ Dipoles() [6/6]

unsafe MR.Dipoles.Dipoles ( nuint size,
MR.Const_Dipole val )
inline

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

Member Function Documentation

◆ assign() [1/2]

unsafe MR.Dipoles MR.Dipoles.assign ( MR._ByValue_Dipoles _other)
inline

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

◆ assign() [2/2]

unsafe void MR.Dipoles.assign ( nuint count,
MR.Const_Dipole val )
inline

replaces the contents with count copies of val Generated from method MR.Dipoles.assign.

◆ autoResizeAt()

unsafe MR.Dipole MR.Dipoles.autoResizeAt ( MR.NodeId i)
inline

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

◆ autoResizeSet() [1/2]

unsafe void MR.Dipoles.autoResizeSet ( MR.NodeId i,
MR.Const_Dipole val )
inline

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

◆ autoResizeSet() [2/2]

unsafe void MR.Dipoles.autoResizeSet ( MR.NodeId pos,
nuint len,
MR.Const_Dipole 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.Dipoles.autoResizeSet.

◆ back()

unsafe new MR.Dipole MR.Dipoles.back ( )
inline

Generated from method MR.Dipoles.back.

◆ clear()

unsafe void MR.Dipoles.clear ( )
inline

Generated from method MR.Dipoles.clear.

◆ data()

unsafe new MR.? Dipole MR.Dipoles.data ( )
inline

Generated from method MR.Dipoles.data.

◆ front()

unsafe new MR.Dipole MR.Dipoles.front ( )
inline

Generated from method MR.Dipoles.front.

◆ popBack()

unsafe void MR.Dipoles.popBack ( )
inline

Generated from method MR::Dipoles::pop_back.

◆ pushBack() [1/2]

unsafe void MR.Dipoles.pushBack ( MR.Const_Dipole t)
inline

Generated from method MR::Dipoles::push_back.

◆ pushBack() [2/2]

unsafe void MR.Dipoles.pushBack ( MR.Misc._Moved< MR.Dipole > t)
inline

Generated from method MR::Dipoles::push_back.

◆ reserve()

unsafe void MR.Dipoles.reserve ( nuint capacity)
inline

Generated from method MR.Dipoles.reserve.

◆ resize() [1/2]

unsafe void MR.Dipoles.resize ( nuint newSize)
inline

Generated from method MR.Dipoles.resize.

◆ resize() [2/2]

unsafe void MR.Dipoles.resize ( nuint newSize,
MR.Const_Dipole t )
inline

Generated from method MR.Dipoles.resize.

◆ resizeWithReserve() [1/2]

unsafe void MR.Dipoles.resizeWithReserve ( nuint newSize)
inline

same as resize(newSize), which already grows the capacity geometrically Generated from method MR.Dipoles.resizeWithReserve.

◆ resizeWithReserve() [2/2]

unsafe void MR.Dipoles.resizeWithReserve ( nuint newSize,
MR.Const_Dipole value )
inline

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR.Dipoles.resizeWithReserve.

◆ shrinkToFit()

unsafe void MR.Dipoles.shrinkToFit ( )
inline

Generated from method MR::Dipoles::shrink_to_fit.

◆ swap()

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

Generated from method MR.Dipoles.swap.

Property Documentation

◆ this[MR.NodeId i]

unsafe new MR.Dipole MR.Dipoles.this[MR.NodeId i]
get

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

◆ vec

new unsafe MR.Std.Vector_MRDipole_MRAllocatorMRDipole MR.Dipoles.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: