class Vector

The vector is the simples implementation of the compound class. More...

Definition#include <vector.h>
InheritsCompound [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The vector is the simples implementation of the compound class. Elements of different types may be inserted in a vector.

 Vector ()

Vector

creates an empty vector

 Vector (const Vector& v)

Vector

copies a vector v

 Vector (char*)

Vector

creates a vector of String objects from a line of characters, using the SPACE as a separator

Element *  operator[] (int n)

operator[]

returns the n'th element (starting with 0)

ostream &  print (int,ostream&)

print

[const virtual]

Reimplemented from Compound.

void  flush (const char*)

flush

[const virtual]

Reimplemented from Compound.

Element *  copy ()

copy

[const virtual]

Reimplemented from Compound.


Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53.