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

std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods More...

Inheritance diagram for MR.Buffer_Char:

Classes

class  _Enumerator

Public Member Functions

new IEnumerator< MR.Misc.Ref< byte > > GetEnumerator ()
unsafe Buffer_Char ()
 Constructs an empty (default-constructed) instance.
unsafe Buffer_Char (MR._ByValue_Buffer_Char _other)
 Generated from constructor MR::Buffer&lt;char&gt;::Buffer.
unsafe Buffer_Char (ulong size)
 Generated from constructor MR::Buffer&lt;char&gt;::Buffer.
unsafe MR.Buffer_Char assign (MR._ByValue_Buffer_Char _other)
 Generated from method MR::Buffer&lt;char&gt;::operator=.
unsafe void clear ()
 Generated from method MR::Buffer&lt;char&gt;clear.
unsafe void resize (ulong newSize)
 Generated from method MR::Buffer&lt;char&gt;resize.
unsafe new MR.Misc.? Ref< byte > data ()
 Generated from method MR::Buffer&lt;char&gt;data.
Public Member Functions inherited from MR.Const_Buffer_Char
virtual void Dispose ()
IEnumerator< MR.Misc.Ref< byte > > GetEnumerator ()
unsafe Const_Buffer_Char ()
 Constructs an empty (default-constructed) instance.
unsafe Const_Buffer_Char (MR._ByValue_Buffer_Char _other)
 Generated from constructor MR::Buffer&lt;char&gt;::Buffer.
unsafe Const_Buffer_Char (ulong size)
 Generated from constructor MR::Buffer&lt;char&gt;::Buffer.
unsafe ulong capacity ()
 Generated from method MR::Buffer&lt;char&gt;capacity.
unsafe ulong size ()
 Generated from method MR::Buffer&lt;char&gt;size.
unsafe bool empty ()
 Generated from method MR::Buffer&lt;char&gt;empty.
unsafe MR.Misc.? Ref< byte > data ()
 Generated from method MR::Buffer&lt;char&gt;data.
unsafe ulong beginId ()
 returns the identifier of the first element Generated from method MR::Buffer&lt;char&gt;beginId.
unsafe ulong backId ()
 returns the identifier of the back() element Generated from method MR::Buffer&lt;char&gt;backId.
unsafe ulong endId ()
 returns backId() + 1 Generated from method MR::Buffer&lt;char&gt;endId.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR::Buffer&lt;char&gt;heapBytes.

Properties

unsafe new ref byte this[ulong i] [get]
 Generated from method MR::Buffer&lt;char&gt;::operator[].
Properties inherited from MR.Const_Buffer_Char
unsafe byte this[ulong i] [get]
 Generated from method MR::Buffer&lt;char&gt;::operator[].

Additional Inherited Members

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

Detailed Description

std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods

Template Parameters
Vtype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR::Buffer&lt;char&gt;. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Buffer_Char() [1/3]

unsafe MR.Buffer_Char.Buffer_Char ( )
inline

Constructs an empty (default-constructed) instance.

◆ Buffer_Char() [2/3]

unsafe MR.Buffer_Char.Buffer_Char ( MR._ByValue_Buffer_Char _other)
inline

Generated from constructor MR::Buffer&lt;char&gt;::Buffer.

◆ Buffer_Char() [3/3]

unsafe MR.Buffer_Char.Buffer_Char ( ulong size)
inline

Generated from constructor MR::Buffer&lt;char&gt;::Buffer.

Member Function Documentation

◆ assign()

unsafe MR.Buffer_Char MR.Buffer_Char.assign ( MR._ByValue_Buffer_Char _other)
inline

Generated from method MR::Buffer&lt;char&gt;::operator=.

◆ clear()

unsafe void MR.Buffer_Char.clear ( )
inline

Generated from method MR::Buffer&lt;char&gt;clear.

◆ data()

unsafe new MR.Misc.? Ref< byte > MR.Buffer_Char.data ( )
inline

Generated from method MR::Buffer&lt;char&gt;data.

◆ GetEnumerator()

new IEnumerator< MR.Misc.Ref< byte > > MR.Buffer_Char.GetEnumerator ( )
inline

◆ resize()

unsafe void MR.Buffer_Char.resize ( ulong newSize)
inline

Generated from method MR::Buffer&lt;char&gt;resize.

Property Documentation

◆ this[ulong i]

unsafe new ref byte MR.Buffer_Char.this[ulong i]
get

Generated from method MR::Buffer&lt;char&gt;::operator[].


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