Changes

Jump to: navigation, search

OOP344 Assignment Two

No change in size, 15:43, 20 November 2009
m
Public Methods OOP344 northWind87: changed function names to first letter lowercase
===Public Methods===
<big><pre>
void Displaydisplay(void);
</pre></big>
'''Display()''' is a direct call to '''io_display()''' function printing '''_data''', at '''getRow()''' and '''getCol()''' up to '''_len''' characters. If '''_len''' is less than zero, then '''_data''' will be printed to the end.
<big><pre>
void Setset(const void* str);
</pre></big>
'''Set()''' will copy the content of '''str''' into '''IO_Field::_data''' up to '''_len''' characters, if '''_len''' is not negative.
<big><pre>
bool Editableeditable(void)const;
</pre></big>
'''Editable()''' returns false!.
<big><pre>
int Editedit(void);
</pre></big>
'''Edit()''', Calls '''Display()''' and returns '''0'''. This method ignores the '''Owner''', IO_Form pointer.
IO_Label& operator=(const char* str);
</pre></big>
'''operator=()''', Calls '''Setset()''' and returns itself.
==IO_Edit==

Navigation menu