|
|
unsafe | Vector_Char () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Vector_Char (MR.Std._ByValue_Vector_Char other) |
| | Constructs a copy of another instance. The source remains alive.
|
| |
|
unsafe void | assign (MR.Std._ByValue_Vector_Char other) |
| | Assigns the contents from another instance. Both objects remain alive after the call.
|
| |
|
unsafe | Vector_Char (byte? ptr, ulong size) |
| | Construct from a range of elements.
|
| |
|
unsafe void | assign (byte? ptr, ulong size) |
| | Assign from a range of elements, overwriting previous contents.
|
| |
|
unsafe void | resize (ulong new_size) |
| | Resizes the container. The new elements if any are zeroed.
|
| |
|
unsafe void | resizeWithDefaultValue (ulong new_size, byte value) |
| | Resizes the container. The new elements if any are set to the specified value.
|
| |
|
unsafe void | clear () |
| | Removes all elements from the container.
|
| |
|
unsafe void | reserve (ulong new_capacity) |
| | Reserves memory for a certain number of elements. Never shrinks the memory.
|
| |
|
unsafe void | shrinkToFit () |
| | Shrinks the capacity to match the size.
|
| |
|
unsafe new MR.Misc.? Ref< byte > | front () |
| | The first element or null if empty, mutable.
|
| |
|
unsafe new MR.Misc.? Ref< byte > | back () |
| | The last element or null if empty, mutable.
|
| |
|
unsafe new byte * | data () |
| | Returns a pointer to the continuous storage that holds all elements, mutable. Returns a mutable pointer.
|
| |
|
unsafe void | pushBack (byte new_elem) |
| | Inserts a new element at the end.
|
| |
|
unsafe void | popBack () |
| | Removes one element from the end.
|
| |
|
unsafe void | insert (ulong position, byte new_elem) |
| | Inserts a new element right before the specified position.
|
| |
|
unsafe void | erase (ulong position) |
| | Erases the element at the specified position.
|
| |
|
unsafe void | insertAtMutableIter (MR.Std.Vector_Char.Const_Iterator position, byte new_elem) |
| | Inserts a new element right before the specified position.
|
| |
|
unsafe void | eraseAtMutableIter (MR.Std.Vector_Char.Const_Iterator position) |
| | Erases the element at the specified position.
|
| |
|
unsafe void | insertAtIter (MR.Std.Vector_Char.Const_ConstIterator position, byte new_elem) |
| | Inserts a new element right before the specified position. This version takes the position in form of a const iterator, that's the only difference.
|
| |
|
unsafe void | eraseAtIter (MR.Std.Vector_Char.Const_ConstIterator position) |
| | Erases the element at the specified position. This version takes the position in form of a const iterator, that's the only difference.
|
| |
|
unsafe new MR.Std.Vector_Char.Iterator | begin () |
| | The begin iterator, mutable.
|
| |
|
unsafe bool | isBegin (MR.Std.Vector_Char.Const_Iterator iter) |
| | Tests whether a mutable iterator is the begin iterator.
|
| |
|
unsafe new MR.Std.Vector_Char.Iterator | end () |
| | The end iterator, mutable.
|
| |
|
unsafe bool | isEnd (MR.Std.Vector_Char.Const_Iterator iter) |
| | Tests whether a mutable iterator is the end iterator.
|
| |
|
virtual void | Dispose () |
| |
|
unsafe | Const_Vector_Char () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Const_Vector_Char (MR.Std._ByValue_Vector_Char other) |
| | Constructs a copy of another instance. The source remains alive.
|
| |
|
unsafe | Const_Vector_Char (byte? ptr, ulong size) |
| | Construct from a range of elements.
|
| |
|
unsafe ulong | size () |
| | The number of elements.
|
| |
|
unsafe bool | isEmpty () |
| | Returns true if the size is zero.
|
| |
|
unsafe ulong | capacity () |
| | The memory capacity, measued in the number of elements.
|
| |
|
unsafe? byte | front () |
| | The first element or null if empty, read-only.
|
| |
|
unsafe? byte | back () |
| | The last element or null if empty, read-only.
|
| |
|
unsafe byte * | data () |
| | Returns a pointer to the continuous storage that holds all elements, read-only. Returns a read-only pointer.
|
| |
|
unsafe MR.Std.Vector_Char.ConstIterator | begin () |
| | The begin iterator, const.
|
| |
|
unsafe bool | isBegin (MR.Std.Vector_Char.Const_ConstIterator iter) |
| | Tests whether a const iterator is the begin iterator.
|
| |
|
unsafe MR.Std.Vector_Char.ConstIterator | end () |
| | The end iterator, const.
|
| |
|
unsafe bool | isEnd (MR.Std.Vector_Char.Const_ConstIterator iter) |
| | Tests whether a const iterator is the end iterator.
|
| |
|
unsafe long | toIndex (MR.Std.Vector_Char.Const_ConstIterator iter) |
| | Convert a const iterator to an index.
|
| |
|
unsafe long | toIndex (MR.Std.Vector_Char.Const_Iterator iter) |
| | Convert a mutable iterator to an index.
|
| |
Generated from C++ container std.vector<char>. This is the non-const half of the class.