![]() |
PandA-2024.02
|
String entry of a multiple values variable (set). More...
#include <xml_script_command.hpp>


Public Member Functions | |
| xml_set_entry_t (std::string _value, const std::string *_condition) | |
| xml_set_entry_t (const xml_element *element) | |
| ~xml_set_entry_t () override | |
| std::string | get_xml_name () const override |
| Gets the XML element name of this node type. More... | |
| xml_nodeRef | create_xml_node () const override |
| Creates an XML node for polixml data structures. More... | |
| void | clean () override |
| Cleans object attributes. More... | |
| bool | checkCondition (const DesignParametersRef &dp) const override |
| If the node has a compile-time condition, this method evaluates it. More... | |
Public Member Functions inherited from xml_script_node_t | |
| xml_script_node_t (xml_script_node_enum_t _type) | |
| virtual | ~xml_script_node_t () |
Data Fields | |
| std::string | value |
| std::string * | condition |
Data Fields inherited from xml_script_node_t | |
| xml_script_node_enum_t | nodeType |
Additional Inherited Members | |
Static Public Member Functions inherited from xml_script_node_t | |
| static xml_script_node_enum_t | find_type (const xml_element *element) |
| Finds the type of an XML element. More... | |
| static xml_script_node_t * | create (const xml_element *element) |
| Creates a script node by parsing the XML element. More... | |
| static bool | evaluate_condition (const std::string *condition) |
| Evaluates a string condition. More... | |
| static bool | evaluate_condition (const std::string *condition, const DesignParametersRef &dp) |
| Evaluates a string condition. More... | |
String entry of a multiple values variable (set).
Definition at line 150 of file xml_script_command.hpp.
| xml_set_entry_t::xml_set_entry_t | ( | std::string | _value, |
| const std::string * | _condition | ||
| ) |
Definition at line 239 of file xml_script_command.cpp.
References condition.
|
explicit |
Definition at line 245 of file xml_script_command.cpp.
References condition, attribute_sequence::get_attribute(), xml_attribute::get_value(), THROW_ERROR, and value.

|
override |
Definition at line 268 of file xml_script_command.cpp.
References clean().

|
overridevirtual |
If the node has a compile-time condition, this method evaluates it.
| dp | Design parameters, used to check conditions at compile time. |
Reimplemented from xml_script_node_t.
Definition at line 296 of file xml_script_command.cpp.
References condition, and xml_script_node_t::evaluate_condition().

|
overridevirtual |
Cleans object attributes.
Implements xml_script_node_t.
Definition at line 273 of file xml_script_command.cpp.
References condition.
Referenced by ~xml_set_entry_t().

|
overridevirtual |
Creates an XML node for polixml data structures.
Implements xml_script_node_t.
Definition at line 285 of file xml_script_command.cpp.
References condition, get_xml_name(), and value.

|
overridevirtual |
Gets the XML element name of this node type.
Implements xml_script_node_t.
Definition at line 280 of file xml_script_command.cpp.
References TAG_ENTRY.
Referenced by create_xml_node().

| std::string* xml_set_entry_t::condition |
Definition at line 154 of file xml_script_command.hpp.
Referenced by checkCondition(), clean(), create_xml_node(), and xml_set_entry_t().
| std::string xml_set_entry_t::value |
Definition at line 153 of file xml_script_command.hpp.
Referenced by create_xml_node(), bash_flow_wrapper::toString(), NanoXploreWrapper::toString(), AlteraWrapper::toString(), LatticeWrapper::toString(), XilinxWrapper::toString(), and xml_set_entry_t().
1.8.13