next up previous contents
Next: Operators Up: Methods Previous: Data   Contents

Clear

NAME

Clear

PROTOTYPE

#include "ReVarCifArray.h"

void ReVarCifArray<TYPE>::Clear();

EXAMPLE

#include "ReVarCifArray.h"
#include "CifString.h"

ReVarCifArray<CifString> a = new ReVarCifArray<CifString>();
a->Add("elem1");
a->Add("elem2");
a->Clear()
PURPOSE

Clear() Inserts the data pointed to by s into the array. Up to n elements are inserted, (truncating if necesary), starting at position p, (counted by zero).

RECEIVES

None

RETURN VALUE

Returns number of elements inserted, or 0 if error.

REMARKS

None



Olivera Tosic 2002-06-12