Antares Simulator
Power System Simulator
|
Represents a component variable node in a syntax tree. More...
#include <ComponentNode.h>
Public Member Functions | |
std::string | name () const override |
ComponentNode (const std::string &component_id, const std::string &component_name) | |
Constructs a component node with the specified ID and name. | |
![]() | |
ComponentNode (const std::string &component_id, const std::string &component_name) | |
Constructs a component node with the specified ID and name. | |
const std::string & | getComponentId () const |
Retrieves the component ID. | |
const std::string & | getComponentName () const |
Retrieves the component name. | |
bool | operator== (const ComponentNode &other) const =default |
![]() | |
![]() | |
bool | operator== (const IName &other) const =default |
Represents a component variable node in a syntax tree.
|
explicit |
Constructs a component node with the specified ID and name.
component_id | The component ID. |
component_name | The component name. |
|
inlineoverridevirtual |
Implements Antares::Expressions::IName.