#import <record_t.h>
Inheritance diagram for record_t:

Public Member Functions | |
| (id) | init |
| (id) | free |
| (void) | add_record_that_joins: |
| (char *) | record_by_function_key: |
| (int) | add_field::::::::: |
| (int) | add_field_mb::::::::: |
| (int) | add_label::: |
| (int) | add_label_mb::: |
| (time_t) | dateformat_to_time_t:: |
| (wchar_t *) | time_t_to_dateformat::: |
| (long) | id_of_record |
| (long) | id_master_of_record |
| (void) | set_id_of_record: |
| (void) | set_id_master_of_record: |
| (record_state_t) | state |
| (kort_action_t) | action_by_function_key: |
| (void) | set_action_by_function_key::::: |
| (void) | set_codetext_by_function_key::: |
| (void) | set_codetext_for_last_field_for_enter: |
| (void) | set_codetext_for_last_field_for_leave: |
| (char *) | script_code_by_function_key: |
| (char *) | script_code_for_leave_by_field: |
| (char *) | script_code_for_enter_by_field: |
Static Public Member Functions | |
| (id) | init_with_name:name: |
Public Attributes | |
| char * | recordname |
| long | record_id |
| long | record_id_master |
| record_t * | record_that_we_join_to |
| pointerlist_t * | records_that_join_me |
| int | nfields |
| int | field_x [MAX_FIELDS_FOR_ONE_RECORD] |
| int | field_y [MAX_FIELDS_FOR_ONE_RECORD] |
| int | field_len [MAX_FIELDS_FOR_ONE_RECORD] |
| wchar_t * | fieldlabels [MAX_FIELDS_FOR_ONE_RECORD] |
| field_type_t | type_of_field [MAX_FIELDS_FOR_ONE_RECORD] |
| wchar_t * | regex_of_field [MAX_FIELDS_FOR_ONE_RECORD] |
| wchar_t * | constlabels [MAX_FIELDS_FOR_ONE_RECORD] |
| maybe_t | is_field_saved [MAX_FIELDS_FOR_ONE_RECORD] |
| int | nlabels |
| int | label_x [MAX_FIELDS_FOR_ONE_RECORD] |
| int | label_y [MAX_FIELDS_FOR_ONE_RECORD] |
| char * | allowed_values_table_for_field [MAX_FIELDS_FOR_ONE_RECORD] |
| char * | allowed_values_column_for_field [MAX_FIELDS_FOR_ONE_RECORD] |
| char * | fieldnames_in_db [MAX_FIELDS_FOR_ONE_RECORD] |
| maybe_t | askfirst [12+1] |
| char * | tablename |
| char * | tclcode_onenter_record |
| char * | tclcode_onleave_record |
| char * | tclcode_beforesave_record |
| char * | tclcode_afterretrieve_record |
| char * | tclcode_aftersave_record |
| char * | tclcode_beforeretrieve_record |
| char * | tclcode_at_message |
| wchar_t * | dateformatstring_of_field [MAX_FIELDS_FOR_ONE_RECORD] |
| record_state_t | record_state |
| wchar_t * | func_key_labels [12+1] |
Protected Attributes | |
| kort_action_t | func_key_actions [12+1] |
| char * | func_key_recordnamepointers [12+1] |
| char * | tclcode_for_function_key [12] |
| long ** | subkeylist |
| long | subkeyindex |
| long | nsubkeys |
| int | index_of_last_database_field |
| char * | next_record_name |
| char * | tclcode_onenter_field [MAX_FIELDS_FOR_ONE_RECORD] |
| char * | tclcode_onleave_field [MAX_FIELDS_FOR_ONE_RECORD] |
|
|
returns action by function key |
|
||||||||||||||||||||||||||||||||||||||||
|
method for adding a field to record. note that string arguments will not be free'd and that is different from add_field_mb method.
|
|
||||||||||||||||||||||||||||||||||||||||
|
method for adding a field to record, multibyte input. note that this method fill free() dbname,label,regex and dateformat. this method takes multibyte input strings.
|
|
||||||||||||||||
|
method for adding a label to record
|
|
||||||||||||||||
|
method for adding a label to record and givin content in mb |
|
|
method for adding "joins to" property between this and another record |
|
||||||||||||
|
to time util methods
|
|
|
frees allocated memory |
|
|
and if this is a sub-record, returns master record id |
|
|
returns record id |
|
|
default initializer |
|
||||||||||||
|
the "allocator" usually used is here |
|
|
method that returns record name from function key table |
|
|
returns script code based by function key number |
|
|
returns script code to be run when entering field specified by aField index |
|
|
returns script code to be run when leaving field specified by aField index |
|
||||||||||||||||||||||||
|
method that set action that will happen when user presses function key and this record is on display.
|
|
||||||||||||||||
|
method that binds script text to function key
|
|
|
binds script text for last added record field and the script text willbe run when the field is about to be entered |
|
|
binds script text for last added record field and the script text willbe run when the field is about to be left (losing focus) |
|
|
and if this is a sub-record, sets master record id |
|
|
sets record id |
|
|
returns record state |
|
||||||||||||||||
|
inverse method of dateformat_to_time_t. returns string from time_t.
|
|
|
and column |
|
|
table name fro ALLOWED_VALUES |
|
|
here are thingies given as LABEL x y "text" |
|
|
len |
|
|
0-255 fields, visible x coordinate |
|
|
y coordinate |
|
|
and their labels |
|
|
column names for said fields |
|
|
when function key is pressed, action is looked up from here: |
|
|
function key labels are printed on bottom of screen, saved here |
|
|
when function key for another record is pressed, record is looked up here |
|
|
if field [n] is saved or not |
|
|
their coordinates |
|
|
how many LABEL x y "text" labels there are |
|
|
surrogate key for this records row in db |
|
|
value of surrogate key of this records parent in db |
|
|
record state in respect to database table content |
|
|
pointer to possible parent of ours in tree-like data-model this is a record property |
|
|
name of this record |
|
|
pointer to our siblings in tree-like data-model |
|
|
regular expression that field must match |
|
|
when function key for script code is pressed, code is looked up from here |
|
|
when user switches form field, there may be script executed |
|
|
when user switches form field, there may be script executed |
|
|
datatype for a field |
1.4.2