|
Antares Simulator
Power System Simulator
|
Public Member Functions | |
| R | dispatch (const Nodes::Node *node, Args... args) |
| virtual R | visit (const Nodes::SumNode *, Args... args)=0 |
| Visits a SumNode and processes its children. More... | |
| virtual R | visit (const Nodes::SubtractionNode *, Args... args)=0 |
| Visits a SubtractionNode and processes its children. More... | |
| virtual R | visit (const Nodes::MultiplicationNode *, Args... args)=0 |
| Visits a MultiplicationNode and processes its children. More... | |
| virtual R | visit (const Nodes::DivisionNode *, Args... args)=0 |
| Visits a DivisionNode and processes its children. More... | |
| virtual R | visit (const Nodes::EqualNode *, Args... args)=0 |
| Visits an EqualNode and processes its children. More... | |
| virtual R | visit (const Nodes::LessThanOrEqualNode *, Args... args)=0 |
| Visits a LessThanOrEqualNode and processes its children. More... | |
| virtual R | visit (const Nodes::GreaterThanOrEqualNode *, Args... args)=0 |
| Visits a GreaterThanOrEqualNode and processes its children. More... | |
| virtual R | visit (const Nodes::NegationNode *, Args... args)=0 |
| Visits a NegationNode and processes its child. More... | |
| virtual R | visit (const Nodes::LiteralNode *, Args... args)=0 |
| Visits a LiteralNode. More... | |
| virtual R | visit (const Nodes::VariableNode *, Args... args)=0 |
| Visits a VariableNode. More... | |
| virtual R | visit (const Nodes::ParameterNode *, Args... args)=0 |
| Visits a ParameterNode. More... | |
| virtual R | visit (const Nodes::PortFieldNode *, Args... args)=0 |
| Visits a PortFieldNode. More... | |
| virtual R | visit (const Nodes::PortFieldSumNode *, Args... args)=0 |
| Visits a PortFieldSumNode. More... | |
| virtual R | visit (const Nodes::TimeShiftNode *, Args... args)=0 |
| Visits a TimeShiftNode. More... | |
| virtual R | visit (const Nodes::TimeIndexNode *, Args... args)=0 |
| Visits a TimeIndexNode. More... | |
| virtual R | visit (const Nodes::TimeSumNode *, Args... args)=0 |
| Visits a TimeSumNode. More... | |
| virtual R | visit (const Nodes::AllTimeSumNode *, Args... args)=0 |
| Visits a AllTimeSumNode. More... | |
| virtual R | visit (const Nodes::FunctionNode *, Args... args)=0 |
| Visits a FunctionNode. More... | |
Public Member Functions inherited from Antares::Expressions::IName | |
| virtual std::string | name () const =0 |
| bool | operator== (const IName &other) const =default |
|
inline |
Dispatches a node to an appropriate visitor function based on its type.
This method uses a map that associates node types with their corresponding visitor functions. It attempts to find the visitor function for the provided node. If a match is found, the corresponding visitor function is called with the node, and any additional arguments (args...).
| node | A pointer to the Node object to be visited. |
| args | Variadic template arguments to be passed to the visitor functions. |
|
pure virtual |
Visits a AllTimeSumNode.
| node | A pointer to the AllTimeSumNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a DivisionNode and processes its children.
| node | A pointer to the DivisionNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits an EqualNode and processes its children.
| node | A pointer to the EqualNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a FunctionNode.
| node | A pointer to the FunctionNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a GreaterThanOrEqualNode and processes its children.
| node | A pointer to the GreaterThanOrEqualNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a LessThanOrEqualNode and processes its children.
| node | A pointer to the LessThanOrEqualNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a LiteralNode.
| node | A pointer to the LiteralNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a MultiplicationNode and processes its children.
| node | A pointer to the MultiplicationNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a NegationNode and processes its child.
| node | A pointer to the NegationNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a ParameterNode.
| node | A pointer to the ParameterNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a PortFieldNode.
| node | A pointer to the PortFieldNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a PortFieldSumNode.
| node | A pointer to the PortFieldSumNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a SubtractionNode and processes its children.
| node | A pointer to the SubtractionNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a SumNode and processes its children.
| node | A pointer to the SumNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a TimeIndexNode.
| node | A pointer to the TimeIndexNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a TimeShiftNode.
| node | A pointer to the TimeShiftNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a TimeSumNode.
| node | A pointer to the TimeSumNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |
|
pure virtual |
Visits a VariableNode.
| node | A pointer to the VariableNode to be visited. |
| args | Additional arguments to be passed to the visitor's methods. |