1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Align all member declarations.

This commit is contained in:
Bruno Haible
2002-11-18 12:52:33 +00:00
parent ef7645289d
commit 4cda19576b
13 changed files with 189 additions and 185 deletions

View File

@@ -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