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:
50
src/output.h
50
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
|
||||
|
||||
Reference in New Issue
Block a user