#include <optflg.h>
Public Member Functions | |
option_flags (void) | |
void | set_opt (VHDL_OPTIONS opt) |
Boolean | is_set (VHDL_OPTIONS opt) |
Private Attributes | |
VHDL_OPTIONS | comm_line_opt |
These options are set during command line processing and can be globally referenced throughout the program.
The flags that can be represented by this class are boolean in nature (e.g., something is either on or off).
Definition at line 65 of file optflg.h.
|
Definition at line 70 of file optflg.h. References bad_option, and comm_line_opt.
00070 { comm_line_opt = bad_option; } |
|
Definition at line 75 of file optflg.h. References Boolean, and comm_line_opt.
00075 { return (comm_line_opt & opt) != 0; } |
|
Definition at line 71 of file optflg.h. References comm_line_opt, and VHDL_OPTIONS.
00072 { 00073 comm_line_opt = (VHDL_OPTIONS)((unsigned int)comm_line_opt | (unsigned int)opt); 00074 } |
|
Definition at line 67 of file optflg.h. Referenced by is_set(), option_flags(), and set_opt(). |