CmaxwellArray

C++Python
CmaxwellArray<T>CextensionList (Template instantiation, T = MXparamList).

Template class arrays.

Methods

NameDescription
CmaxwellArrayClass constructor.
~CmaxwellArrayClass destructor.
capacityArray capacity (see reserve).
sizeArray size
[]Gets an item by index.
clearClear all the array items.
pop_backPops one item.
resizeResize the array.
expandExpand the array.
push_backPush one item.
reserveReserve space for items.
swapSwap two items of the array.
findLinearSearchSearch for an item, returning its index.
removeRemove an item, if exist.