Changes

Jump to: navigation, search

OOP344 Assignment Two

92 bytes added, 02:16, 2 November 2009
IO_Form
'''IO_Form''' should be able to hold unlimited number of '''IO_Fields'''. (Use either a dynamic array, or linked list structure of '''IO_Fields''' to implement this)
<hr width="50%" />
====Constructor====
</big>
<hr width="50%" />
 
====Public Methods====
 
=====Add methods=====
the '''IO_Form''' must be able to add several IO_Field classes to itself, one at a time and then provide the user, the means of editing them in order they were added.
*'''dynamic''': if set to true, it sets this IO_Field to be deallocated by IO_Form's destructor at the end;
*'''submitter''': if set to true, it tags this IO_Field to terminate the IO_Form's edit() if ENTER_KEY is hit. see the edit() method for more info.
<hr width="50%" />
<big><pre>
int add(IO_Field* f, bool submitter = false);
 
</pre></big>
Uses the private add() method to add a dynamaic IO_field.
<hr width="50%" />
--- incomplete ----
<hr width="50%" />
 
<hr width="50%" />
 
<hr width="50%" />
===IO_Label===

Navigation menu