options.h (228060) | options.h (258115) |
---|---|
1/* This may look like C code, but it is really -*- C++ -*- */ 2 3/* Handles parsing the Options provided to the user. 4 5 Copyright (C) 1989-1998, 2000, 2002-2004 Free Software Foundation, Inc. 6 Written by Douglas C. Schmidt <schmidt@ics.uci.edu> 7 and Bruno Haible <bruno@clisp.org>. 8 --- 195 unchanged lines hidden (view full) --- 204 /* Sets the string pool name, if not already set. */ 205 void set_stringpool_name (const char *name); 206 207 /* Returns the string used to delimit keywords from other attributes. */ 208 const char * get_delimiters () const; 209 /* Sets the delimiters string, if not already set. */ 210 void set_delimiters (const char *delimiters); 211 | 1/* This may look like C code, but it is really -*- C++ -*- */ 2 3/* Handles parsing the Options provided to the user. 4 5 Copyright (C) 1989-1998, 2000, 2002-2004 Free Software Foundation, Inc. 6 Written by Douglas C. Schmidt <schmidt@ics.uci.edu> 7 and Bruno Haible <bruno@clisp.org>. 8 --- 195 unchanged lines hidden (view full) --- 204 /* Sets the string pool name, if not already set. */ 205 void set_stringpool_name (const char *name); 206 207 /* Returns the string used to delimit keywords from other attributes. */ 208 const char * get_delimiters () const; 209 /* Sets the delimiters string, if not already set. */ 210 void set_delimiters (const char *delimiters); 211 |
212 const char * get_size_type() const; 213 void set_size_type(const char*); 214 |
|
212 /* Returns key positions. */ 213 const Positions& get_key_positions () const; 214 215private: 216 /* Prints program usage to given stream. */ 217 static void short_usage (FILE * stream); 218 219 /* Prints program usage to given stream. */ --- 54 unchanged lines hidden (view full) --- 274 const char * _lengthtable_name; 275 276 /* Name used for the string pool. */ 277 const char * _stringpool_name; 278 279 /* Separates keywords from other attributes. */ 280 const char * _delimiters; 281 | 215 /* Returns key positions. */ 216 const Positions& get_key_positions () const; 217 218private: 219 /* Prints program usage to given stream. */ 220 static void short_usage (FILE * stream); 221 222 /* Prints program usage to given stream. */ --- 54 unchanged lines hidden (view full) --- 277 const char * _lengthtable_name; 278 279 /* Name used for the string pool. */ 280 const char * _stringpool_name; 281 282 /* Separates keywords from other attributes. */ 283 const char * _delimiters; 284 |
285 const char * _size_type; 286 |
|
282 /* Contains user-specified key choices. */ 283 Positions _key_positions; 284}; 285 286/* Global option coordinator for the entire program. */ 287extern Options option; 288 289#ifdef __OPTIMIZE__ 290 291#define INLINE inline 292#include "options.icc" 293#undef INLINE 294 295#endif 296 297#endif | 287 /* Contains user-specified key choices. */ 288 Positions _key_positions; 289}; 290 291/* Global option coordinator for the entire program. */ 292extern Options option; 293 294#ifdef __OPTIMIZE__ 295 296#define INLINE inline 297#include "options.icc" 298#undef INLINE 299 300#endif 301 302#endif |