PandA-2024.02
|
Classes for handling configuration files. More...
Go to the source code of this file.
Data Structures | |
class | xml_script_node_t |
This is the abstract class which describes a generic synthesis script node, and some static helper methods. More... | |
class | xml_set_entry_t |
String entry of a multiple values variable (set). More... | |
class | xml_set_variable_t |
Variable assignment, either single value or multiple entries set. More... | |
class | xml_parameter_t |
Command line parameter. More... | |
class | xml_command_t |
Command line of the synthesis tool. More... | |
class | xml_shell_t |
Command line of the native shell. More... | |
class | xml_ite_block_t |
If/Then/Else block, evaluated at compile-time. More... | |
class | xml_foreach_t |
Foreach block, where the set of script nodes is applied to each parameter. More... | |
Macros | |
#define | TAG_VARIABLE "set" |
#define | TAG_ENTRY "entry" |
#define | TAG_PARAMETER "param" |
#define | TAG_COMMAND "cmd" |
#define | TAG_SHELL "sh" |
#define | TAG_ITE_BLOCK "if" |
#define | TAG_FOREACH "foreach" |
Typedefs | |
using | xml_script_node_enum_t = enum xml_script_node_enum_t { NODE_UNKNOWN=0, NODE_ENTRY=1, NODE_VARIABLE=2, NODE_PARAMETER=3, NODE_COMMAND=4, NODE_SHELL=5, NODE_ITE_BLOCK=6, NODE_FOREACH=7 } |
Node types. More... | |
using | xml_script_node_tRef = refcount< xml_script_node_t > |
using | xml_set_entry_tRef = refcount< xml_set_entry_t > |
using | xml_set_variable_tRef = refcount< xml_set_variable_t > |
using | xml_parameter_tRef = refcount< xml_parameter_t > |
using | xml_command_tRef = refcount< xml_command_t > |
using | xml_shell_tRef = refcount< xml_shell_t > |
using | xml_ite_block_tRef = refcount< xml_ite_block_t > |
using | xml_foreach_tRef = refcount< xml_foreach_t > |
Classes for handling configuration files.
This file contains the interfaces for the classes used by synthesis tools when handling script generator configuration files.
Definition in file xml_script_command.hpp.
#define TAG_COMMAND "cmd" |
Definition at line 68 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), and xml_command_t::get_xml_name().
#define TAG_ENTRY "entry" |
Definition at line 66 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), xml_set_entry_t::get_xml_name(), xml_parameter_t::xml_parameter_t(), and xml_set_variable_t::xml_set_variable_t().
#define TAG_FOREACH "foreach" |
Definition at line 71 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), and xml_foreach_t::get_xml_name().
#define TAG_ITE_BLOCK "if" |
Definition at line 70 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), and xml_ite_block_t::get_xml_name().
#define TAG_PARAMETER "param" |
Definition at line 67 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), xml_parameter_t::get_xml_name(), xml_command_t::xml_command_t(), and xml_shell_t::xml_shell_t().
#define TAG_SHELL "sh" |
Definition at line 69 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), and xml_shell_t::get_xml_name().
#define TAG_VARIABLE "set" |
Definition at line 65 of file xml_script_command.hpp.
Referenced by xml_script_node_t::create(), xml_script_node_t::find_type(), and xml_set_variable_t::get_xml_name().
using xml_command_tRef = refcount<xml_command_t> |
Definition at line 249 of file xml_script_command.hpp.
using xml_foreach_tRef = refcount<xml_foreach_t> |
Definition at line 321 of file xml_script_command.hpp.
using xml_ite_block_tRef = refcount<xml_ite_block_t> |
Definition at line 300 of file xml_script_command.hpp.
using xml_parameter_tRef = refcount<xml_parameter_t> |
Definition at line 222 of file xml_script_command.hpp.
using xml_script_node_enum_t = enum xml_script_node_enum_t { NODE_UNKNOWN = 0, NODE_ENTRY = 1, NODE_VARIABLE = 2, NODE_PARAMETER = 3, NODE_COMMAND = 4, NODE_SHELL = 5, NODE_ITE_BLOCK = 6, NODE_FOREACH = 7 } |
Node types.
Definition at line 83 of file xml_script_command.hpp.
Definition at line 145 of file xml_script_command.hpp.
using xml_set_entry_tRef = refcount<xml_set_entry_t> |
Definition at line 168 of file xml_script_command.hpp.
Definition at line 193 of file xml_script_command.hpp.
using xml_shell_tRef = refcount<xml_shell_t> |
Definition at line 276 of file xml_script_command.hpp.
REF_FORWARD_DECL | ( | xml_script_node_t | ) |
REF_FORWARD_DECL | ( | xml_set_variable_t | ) |
REF_FORWARD_DECL | ( | xml_set_entry_t | ) |
REF_FORWARD_DECL | ( | xml_parameter_t | ) |
REF_FORWARD_DECL | ( | xml_command_t | ) |
REF_FORWARD_DECL | ( | xml_shell_t | ) |
REF_FORWARD_DECL | ( | xml_ite_block_t | ) |
REF_FORWARD_DECL | ( | DesignParameters | ) |