20 #ifndef SRECORD_ARGLEX_TOOL_H
21 #define SRECORD_ARGLEX_TOOL_H
260 unsigned long get_number(
const char *caption,
long min,
long max);
324 interval get_interval_factor(
const char *err_msg_caption);
338 interval get_interval_term(
const char *err_msg_caption);
348 void get_address(
const char *err_msg_caption,
unsigned long &addr);
358 void get_address_and_nbytes(
const char *err_msg_caption,
359 unsigned long &addr,
int &nbytes);
369 void get_address_nbytes_width(
const char *err_msg_caption,
370 unsigned long &addr,
int &nbytes,
int &width);
397 int issue_sequence_warnings;
418 endian_t get_endian_by_token(
int tok)
const;
425 get_endian_by_token(
void)
439 bool get_inclusive_by_token(
int tok)
const;
446 get_inclusive_by_token(
void)
449 return get_inclusive_by_token(
token_cur());
The arglex class is used to implement a lexical analizer for command line arguments.
int token_cur() const
The token_cur method is used to get the type of the current token.
The interval class is used to represent a set of integer values, usually composed of runs of adjacent...
std::shared_ptr< output > pointer