Antares Simulator
Power System Simulator
Antares::Expressions::Nodes::LiteralNode Class Referencefinal

Represents a literal node in a syntax tree, storing a double value. More...

#include <LiteralNode.h>

Inheritance diagram for Antares::Expressions::Nodes::LiteralNode:
Antares::Expressions::Nodes::Leaf< double > Antares::Expressions::Nodes::Node Antares::Expressions::IName

Public Member Functions

std::string name () const override
 
- Public Member Functions inherited from Antares::Expressions::Nodes::Leaf< double >
 Leaf (const double &value)
 Constructs a leaf node with the specified value. More...
 
double value () const
 Retrieves the value stored in the leaf node. More...
 
- Public Member Functions inherited from Antares::Expressions::IName
bool operator== (const IName &other) const =default
 

Detailed Description

Represents a literal node in a syntax tree, storing a double value.


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