ReVarPCifArray
#include "ReVarPCifArray.h" ReVarPCifArray(); ReVarPCifArray(unsigned n, int gb); ReVarPCifArray(const ReVarPCifArray<TYPE$> &s); ReVarPCifArray(const TYPE *s,unsigned n );
#include "ReVarPCifArray.h" ReVarPCifArray<int> * a1 = new ReVarPCifArray<int>(); ReVarPCifArray<int> * a2 = new ReVarPCifArray<int>(8,4); ReVarPCifArray<int> * a3 = new ReVarPCifArray<int>(a2);
ReVarPCifArray() Default constructor. Constructs a resizable array with initial length 1 and a reallocation increment of 1.
ReVarPCifArray(unsigned, int) Constructs a resizable array with initial length n and a reallocation increment of gb.
ReVarPCifArray(const ReVarPCifArray3#3TYPE2#2 &) Copy constructor.
ReVarPCifArray(const TYPE *, unsigned) Constructor that creates resizable array and copies the data from the low-level C array. Defaults to not allowing any resizing.
None |
n | allocated length |
gb | reallocation inctement |
s | copied ReVarPCifArray |
s | low-level C array |
n | allocated length |
None
None