next up previous contents
Next: Methods Up: Constructors Previous: Constructors   Contents

ReVarPCifArray

NAME

ReVarPCifArray

PROTOTYPE

#include "ReVarPCifArray.h"

ReVarPCifArray();
ReVarPCifArray(unsigned n, int gb);
ReVarPCifArray(const ReVarPCifArray<TYPE$> &s);
ReVarPCifArray(const TYPE *s,unsigned n );

EXAMPLE

#include "ReVarPCifArray.h"

ReVarPCifArray<int> * a1 = new ReVarPCifArray<int>();
ReVarPCifArray<int> * a2 = new ReVarPCifArray<int>(8,4);
ReVarPCifArray<int> * a3 = new ReVarPCifArray<int>(a2);
PURPOSE

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.

RECEIVES

ReVarPCifArray()
None

 

ReVarPCifArray(unsigned, int)
n allocated length
gb reallocation inctement
ReVarPCifArray(const ReVarPCifArray3#3TYPE2#2 &)
s copied ReVarPCifArray
ReVarPCifArray(const TYPE *, unsigned)
s low-level C array
n allocated length

RETURN VALUE

None

REMARKS

None


next up previous contents
Next: Methods Up: Constructors Previous: Constructors   Contents
Olivera Tosic 2002-06-12