Listing 10 The Column class

// column.h:    Scrollable vector
// of scalar cells
#ifndef COLUMN_H
#define COLUMN_H

#include "field.h"

class Column : public Field
{
protected:
   char *msg;
   char **value;

public:
   ~Column();
};

inline Column::~Column()
{
   cout << "~Column()" << endl;

// What the real destructor does:
// delete [] msg;
// for (int i = 0; i < ncells; ++i)
//     delete [] value[i];
// delete [] value;
}

#endif
/* End of File */