|
template<typename... NodePtr> |
| SumNode (NodePtr... operands) |
|
| SumNode (const std::vector< Node * > &operands) |
| Constructs a sum node with the specified operands.
|
|
| SumNode (std::vector< Node * > &&operands) |
| Constructs a sum node with the specified operands. Vector is moved.
|
|
const std::vector< Node * > & | getOperands () const |
| Retrieves the operands of the sum.
|
|
Node * | operator[] (std::size_t idx) const |
|
size_t | size () const |
|
std::string | name () const override |
|
bool | operator== (const IName &other) const =default |
|
◆ SumNode() [1/2]
Antares::Expressions::Nodes::SumNode::SumNode |
( |
const std::vector< Node * > & | operands | ) |
|
|
explicit |
Constructs a sum node with the specified operands.
- Parameters
-
operands | The operands, collected in a vector |
◆ SumNode() [2/2]
Antares::Expressions::Nodes::SumNode::SumNode |
( |
std::vector< Node * > && | operands | ) |
|
|
inlineexplicit |
Constructs a sum node with the specified operands. Vector is moved.
- Parameters
-
operands | The operands, collected in a vector |
◆ getOperands()
const std::vector< Node * > & Antares::Expressions::Nodes::SumNode::getOperands |
( |
| ) |
const |
Retrieves the operands of the sum.
- Returns
- A vector of pointers to the operands of the sum.
◆ name()
std::string Antares::Expressions::Nodes::SumNode::name |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- src/expressions/include/antares/expressions/nodes/SumNode.h
- src/expressions/nodes/SumNode.cpp