Changes

Jump to: navigation, search

The CIO Framework - OOP344 20131

422 bytes added, 16:26, 19 February 2013
Attributes
Holds the index of the Field that is currently being edited.
<big><syntaxhighlight lang="cpp">
CField** _fld[C_MAX_NO_FIELDS];
</syntaxhighlight></big>
Array Dynamic array of CField pointers to hold the address of the CField objects added to the screen. The maximum number initial size of CFields that can be added to this CDialog the array allocation is C_MAX_NO_FIELDSdefined in '''''cuigh. Remove this restriction for additional markh''''' under C_INITIAL_NO_FIELDS.
<big><syntaxhighlight lang="cpp">
bool * _dyn[C_MAX_NO_FIELDS];
</syntaxhighlight></big>
Holds A dynamic bool array that holds series of boolean booleans to the exact number of fields, and each boolean here will hold false if the corresponding field pointed by _fld is allocated dynamically or not. The initial size of the array allocation is defined in '''''cuigh.h''''' under C_INITIAL_NO_FIELDS. <br />
This array will later on be used by destructor to decide which object is dynamic and to be deleted.
<big><syntaxhighlight lang="cpp">
unsigned int _fldSize;
</syntaxhighlight></big>
Holds the current length of '''''_fld''''' and '''''_dyn'''''. <br />When adding a field to dialog if '''_fum''' reaches '''_fldSize''', then the size of '''_fld''' and '''_dyn''' is expanded by '''''C_DIALOG_EXPANSION_SIZE''''', defined in '''cuigh.h'''
===Constructors/Destructors===

Navigation menu