CmaxwellArray
C++ | Python |
---|---|
CmaxwellArray<T> | CextensionList (Template instantiation, T = MXparamList). |
Template class arrays.
Methods
Name | Description |
---|---|
CmaxwellArray | Class constructor. |
~CmaxwellArray | Class destructor. |
capacity | Array capacity (see reserve). |
size | Array size |
[] | Gets an item by index. |
clear | Clear all the array items. |
pop_back | Pops one item. |
resize | Resize the array. |
expand | Expand the array. |
push_back | Push one item. |
reserve | Reserve space for items. |
swap | Swap two items of the array. |
findLinearSearch | Search for an item, returning its index. |
remove | Remove an item, if exist. |