1#ifndef SXEVAL_VARIABLE_HPP
2#define SXEVAL_VARIABLE_HPP
39 inline std::string
toString()
const override {
return _name; }
43 const std::string _name;
The IOperand class is an interface for operands.
Definition IOperand.hpp:16
The Variable class represents a variable in the SXEval library.
Definition Variable.hpp:16
std::string toString() const override
String representation of the variable.
Definition Variable.hpp:39
T & getResult() override
Get a reference to the variable.
Definition Variable.hpp:32
Variable(T &var, const std::string &name)
Default constructor.
Definition Variable.hpp:25
Definition AOperation.hpp:8
std::enable_if< std::is_unsigned< T >::value, T >::type Absolute(const T &a)
Perform an absolute value operation on types T.
Definition utils.hpp:262