Antares Simulator
Power System Simulator
Antares::Expressions::Nodes::SumNode Class Referencefinal
Inheritance diagram for Antares::Expressions::Nodes::SumNode:
Antares::Expressions::Nodes::ParentNode Antares::Expressions::Nodes::Node Antares::Expressions::IName

Public Member Functions

std::string name () const override
 
template<typename... NodePtr>
 ParentNode (NodePtr... operands)
 
 ParentNode (const std::vector< Node * > &operands)
 Constructs a parent node with the specified operands. More...
 
 ParentNode (std::vector< Node * > &&operands)
 Constructs a parent node with the specified operands. Vector is moved. More...
 
- Public Member Functions inherited from Antares::Expressions::Nodes::ParentNode
template<typename... NodePtr>
 ParentNode (NodePtr... operands)
 
 ParentNode (const std::vector< Node * > &operands)
 Constructs a parent node with the specified operands. More...
 
 ParentNode (std::vector< Node * > &&operands)
 Constructs a parent node with the specified operands. Vector is moved. More...
 
const std::vector< Node * > & getOperands () const
 Retrieves the operands of the parent node. More...
 
const std::vector< const Node * > getConstOperands () const
 
Nodeoperator[] (std::size_t idx) const
 
size_t size () const
 
- Public Member Functions inherited from Antares::Expressions::IName
bool operator== (const IName &other) const =default
 

Member Function Documentation

◆ ParentNode() [1/2]

Antares::Expressions::Nodes::ParentNode::ParentNode
explicit

Constructs a parent node with the specified operands.

Parameters
operandsThe operands, collected in a vector

◆ ParentNode() [2/2]

Antares::Expressions::Nodes::ParentNode::ParentNode
inlineexplicit

Constructs a parent node with the specified operands. Vector is moved.

Parameters
operandsThe operands, collected in a vector

The documentation for this class was generated from the following file: