std.vector<T>-like container that requires specific indexing type, More...
Inheritance diagram for MR.VertMap:Public Member Functions | |
| unsafe | VertMap () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | VertMap (MR._ByValue_VertMap _other) |
Generated from constructor MR.VertMap.VertMap. | |
| VertMap (Const_VertMap _other) | |
Generated from constructor MR.VertMap.VertMap. | |
| VertMap (VertMap _other) | |
Generated from constructor MR.VertMap.VertMap. | |
| unsafe | VertMap (ulong size) |
creates a vector with size elements with default value Generated from constructor MR.VertMap.VertMap. | |
| unsafe | VertMap (ulong size, in MR.VertId val) |
creates a vector with size elements with the given value Generated from constructor MR.VertMap.VertMap. | |
| unsafe | VertMap (MR.Misc._Moved< MR.Std.Vector_MRVertId > vec) |
moves data from the given std.vector<T> Generated from constructor MR.VertMap.VertMap. | |
| unsafe MR.VertMap | assign (MR._ByValue_VertMap _other) |
Generated from method MR.VertMap.operator=. | |
| unsafe void | clear () |
Generated from method MR.VertMap.clear. | |
| unsafe void | resize (ulong newSize) |
Generated from method MR.VertMap.resize. | |
| unsafe void | resize (ulong newSize, in MR.VertId t) |
Generated from method MR.VertMap.resize. | |
| unsafe void | resizeNoInit (ulong targetSize) |
Generated from method MR.VertMap.resizeNoInit. | |
| unsafe void | reserve (ulong capacity) |
Generated from method MR.VertMap.reserve. | |
| unsafe void | resizeWithReserve (ulong newSize) |
doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve. | |
| unsafe void | resizeWithReserve (ulong newSize, in MR.VertId value) |
doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve. | |
| unsafe void | autoResizeSet (MR.VertId pos, ulong len, MR.VertId 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.VertMap.autoResizeSet. | |
| unsafe void | autoResizeSet (MR.VertId i, MR.VertId val) |
sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR.VertMap.autoResizeSet. | |
| unsafe ref MR.VertId | autoResizeAt (MR.VertId i) |
this accessor automatically adjusts the size of the vector Generated from method MR.VertMap.autoResizeAt. | |
| unsafe void | pushBack (in MR.VertId t) |
Generated from method MR.VertMap.push_back. | |
| unsafe void | pushBack (MR.Misc._MoveRef _move_t, in MR.VertId t) |
Generated from method MR.VertMap.push_back. | |
| unsafe void | popBack () |
Generated from method MR.VertMap.pop_back. | |
| unsafe ref MR.VertId | emplaceBack () |
Generated from method MR.VertMap.emplace_back<>. | |
| unsafe new ref MR.VertId | front () |
Generated from method MR.VertMap.front. | |
| unsafe new ref MR.VertId | back () |
Generated from method MR.VertMap.back. | |
| unsafe new MR.Misc.? Ref< MR.VertId > | data () |
Generated from method MR.VertMap.data. | |
| unsafe void | swap (MR.VertMap b) |
Generated from method MR.VertMap.swap. | |
Static Public Member Functions | |
| static unsafe implicit | operator VertMap (MR.Misc._Moved< MR.Std.Vector_MRVertId > vec) |
moves data from the given std.vector<T> Generated from constructor MR.VertMap.VertMap. | |
Properties | |
| new unsafe MR.Std.Vector_MRVertId | vec [get, protected set] |
| the user can directly manipulate the vector, anyway she cannot break anything | |
| unsafe new ref MR.VertId | this[MR.VertId i] [get] |
Generated from method MR.VertMap.operator[]. | |
std.vector<T>-like container that requires specific indexing type,
| T | type of stored elements |
| I | type of index (shall be convertible to size_t) Generated from class MR.VertMap. This is the non-const half of the class. |
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.VertMap.VertMap.
|
inline |
Generated from constructor MR.VertMap.VertMap.
|
inline |
Generated from constructor MR.VertMap.VertMap.
|
inline |
creates a vector with size elements with default value Generated from constructor MR.VertMap.VertMap.
|
inline |
creates a vector with size elements with the given value Generated from constructor MR.VertMap.VertMap.
|
inline |
moves data from the given std.vector<T> Generated from constructor MR.VertMap.VertMap.
|
inline |
Generated from method MR.VertMap.operator=.
this accessor automatically adjusts the size of the vector Generated from method MR.VertMap.autoResizeAt.
sets the element #i to the given value, adjusting the size of the vector to include new element Generated from method MR.VertMap.autoResizeSet.
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.VertMap.autoResizeSet.
|
inline |
Generated from method MR.VertMap.back.
|
inline |
Generated from method MR.VertMap.clear.
|
inline |
Generated from method MR.VertMap.data.
|
inline |
Generated from method MR.VertMap.emplace_back<>.
|
inline |
Generated from method MR.VertMap.front.
|
inlinestatic |
moves data from the given std.vector<T> Generated from constructor MR.VertMap.VertMap.
|
inline |
Generated from method MR.VertMap.pop_back.
|
inline |
Generated from method MR.VertMap.push_back.
|
inline |
Generated from method MR.VertMap.push_back.
|
inline |
Generated from method MR.VertMap.reserve.
|
inline |
Generated from method MR.VertMap.resize.
|
inline |
Generated from method MR.VertMap.resize.
|
inline |
Generated from method MR.VertMap.resizeNoInit.
|
inline |
doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve.
|
inline |
doubles reserved memory until resize(newSize, value) can be done without reallocation Generated from method MR.VertMap.resizeWithReserve.
|
inline |
Generated from method MR.VertMap.swap.
Generated from method MR.VertMap.operator[].
|
getprotected set |
the user can directly manipulate the vector, anyway she cannot break anything