Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

19 bytes removed, 01:29, 5 November 2009
m
IO_Field
<big><pre>
class IO_Form;
 
class IO_Field{
 
private:
 
int _row;
 
int _col;
 
protected:
 
void* _data;
 
IO_Form* _owner;
 
public:
 
IO_Field(int row, int col, void* data = (void*)0);
 
void* data(void);
 
virtual void display(void)const = 0;
 
virtual int edit(void)= 0;
 
virtual bool editable(void)const = 0;
 
virtual void set(const void *) = 0;
 
virtual void set(IO_Form* owner);
 
int getRow(void)const;
 
int getCol(void)const;
 
virtual ~IO_Field(void);
 
};