|
Antares Simulator
Power System Simulator
|
Represents a leaf node in a syntax tree. More...
#include <Leaf.h>
Public Member Functions | |
| Leaf (const T &value) | |
| Constructs a leaf node with the specified value. More... | |
| T | value () const |
| Retrieves the value stored in the leaf node. More... | |
Public Member Functions inherited from Antares::Expressions::IName | |
| virtual std::string | name () const =0 |
| bool | operator== (const IName &other) const =default |
Represents a leaf node in a syntax tree.
| T | The type of the value stored in the leaf node. |
|
inlineexplicit |
Constructs a leaf node with the specified value.
| value | The value to store in the leaf node. |
|
inline |
Retrieves the value stored in the leaf node.