Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

9 bytes removed, 11:42, 19 October 2009
m
Public Methods
'''Set()''' will copy the content of '''str''' into '''IO_Field::_data''' up to '''_len''' characters, if '''_len''' is not negative.
<big><pre>
 
bool IO_Label::Editable(void)const;
 
</pre></big>
'''Editalbe()''' returns false!.
 <bidbig><pre> 
int Edit(IO_Form* Owner=(IO_Form*)0);
 
</pre></big>
'''Edit()''', Calls '''Display()''' and returns '''0'''. This method ignores the '''Owner''', IO_Form pointer.
<bidbig><pre> 
~IO_Label(void);
 
</pre></big>
The destructor, delete[]s the '''_data''' only if '''_dynamic''' is true.
<bidbig><pre> 
IO_Label &operator=(const char* str);
 
</pre></big>