#include <macros.h>
Public Types | |
| typedef std::list< MacroTag > | macro_tag_list |
| typedef std::list< MacroTag >::iterator | macro_tag_list_it |
Public Methods | |
| Macros () | |
| void | add (Line &line) |
| adds a macro. More... | |
| bool | get_soft_definition (std::string name, Macro ¯o) |
| returns the macros definition. More... | |
| bool | get_hard_definition (std::string name, Macro ¯o) |
| returns the macro definition. More... | |
| bool | get_soft (std::string name, Macro ¯o) |
| returns the soft macro. More... | |
| bool | get_definition (std::string name, Macro ¯o) |
| returns the macro definition or not. More... | |
| void | override (Line &line) |
Public Attributes | |
| macro_tag_list | soft_definitions |
| macro_tag_list | hard_definitions |
| macro_tag_list | soft |
| int | soft_definitions_num |
| count the number of soft macros definitions. More... | |
| int | hard_definitions_num |
| count the number of hard macros definitions. More... | |
| int | soft_num |
| count the number of soft macros. More... | |
|
|
|
|
|
|
|
|
|
|
|
adds a macro. the function function identifies itself to which list a macro should be added |
|
||||||||||||
|
returns the macro definition or not.
|
|
||||||||||||
|
returns the macro definition.
|
|
||||||||||||
|
returns the soft macro.
|
|
||||||||||||
|
returns the macros definition.
|
|
|
|
|
|
|
|
|
count the number of hard macros definitions.
|
|
|
|
|
|
|
|
|
count the number of soft macros definitions.
|
|
|
count the number of soft macros.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001