Listing 8 The Field abstract class

// field.h: Abstract class
// for data-entry fields
#ifndef FIELD_H
#define FIELD_H

#include <iostream.h>

class Field
{
public:
   // pure virtual function
   virtual ~Field() = 0;
};

inline Field::~Field()
{
   cout << "~Field()" << endl;
}

#endif

/* End of File */