Changes

Jump to: navigation, search

OOP344 Assignment Two

144 bytes added, 01:29, 5 November 2009
IO_Field
'''IO_Field''' is the base class for all different types of Fields on a Form.
<big><pre>
class IO_Form; // forward declaration 
class IO_Field{
 
private:
 
int _row;
 
int _col;
 
protected:
 
void* _data;
  int _rowIO_Form* _owner; int _col;
public:
  IO_Field(int row, int col, void* data = (void*)0);  void* Datadata(void);  virtual void Displaydisplay(void) const = 0;  virtual int Editedit(IO_Form* Owner=NULLvoid)= 0;  virtual bool Editableeditable(void) const = 0;  virtual void Setset(const void *) = 0;  virtual void set(IO_Form* owner);  int getRow(void)const;  int getCol(void)const;  virtual ~IO_Field(void); 
};
 
</pre></big>

Navigation menu