diff options
Diffstat (limited to 'src/output.h')
-rw-r--r-- | src/output.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/output.h b/src/output.h index c4a0d1e..e63a569 100644 --- a/src/output.h +++ b/src/output.h @@ -34,46 +34,46 @@ struct Output_Compare; class Output { public: - Output (KeywordExt_List *head, const char *array_type, const char *return_type, const char *struct_tag, int additional_code, const char *include_src, int total_keys, int total_duplicates, int max_key_len, int min_key_len, Vectors *v); - void output (); + Output (KeywordExt_List *head, const char *array_type, const char *return_type, const char *struct_tag, int additional_code, const char *include_src, int total_keys, int total_duplicates, int max_key_len, int min_key_len, Vectors *v); + void output (); private: - void compute_min_max (); - int num_hash_values (); - void output_constants (struct Output_Constants&); - void output_hash_function (); - void output_keylength_table (); - void output_keyword_table (); - void output_lookup_array (); - void output_lookup_tables (); - void output_lookup_function_body (const struct Output_Compare&); - void output_lookup_function (); + void compute_min_max (); + int num_hash_values (); + void output_constants (struct Output_Constants&); + void output_hash_function (); + void output_keylength_table (); + void output_keyword_table (); + void output_lookup_array (); + void output_lookup_tables (); + void output_lookup_function_body (const struct Output_Compare&); + void output_lookup_function (); /* Linked list of keywords. */ - KeywordExt_List *_head; + KeywordExt_List * _head; /* Pointer to the type for word list. */ - const char *_array_type; + const char * _array_type; /* Pointer to return type for lookup function. */ - const char *_return_type; + const char * _return_type; /* Shorthand for user-defined struct tag type. */ - const char *_struct_tag; + const char * _struct_tag; /* True if any additional C code is included. */ - int _additional_code; + int _additional_code; /* C source code to be included verbatim. */ - const char *_include_src; + const char * _include_src; /* Total number of keys, counting duplicates. */ - int _total_keys; + int _total_keys; /* Total number of duplicate hash values. */ - int _total_duplicates; + int _total_duplicates; /* Maximum length of the longest keyword. */ - int _max_key_len; + int _max_key_len; /* Minimum length of the shortest keyword. */ - int _min_key_len; + int _min_key_len; /* Minimum hash value for all keywords. */ - int _min_hash_value; + int _min_hash_value; /* Maximum hash value for all keywords. */ - int _max_hash_value; - Vectors * _v; + int _max_hash_value; + Vectors * _v; }; #endif |