SXEval 1.0.3
A generic s-expression interpreter library.
Loading...
Searching...
No Matches
sxeval::IOperand< T > Class Template Reference

The IOperand class is an interface for operands. More...

#include <IOperand.hpp>

Inheritance diagram for sxeval::IOperand< T >:
sxeval::IInstruction< T > sxeval::EncapsulatedVariable< T > sxeval::Value< T > sxeval::Variable< T >

Public Member Functions

virtual ~IOperand () override=default
 Default destructor.
 
- Public Member Functions inherited from sxeval::IInstruction< T >
virtual ~IInstruction ()=default
 Default destructor.
 
virtual TgetResult ()=0
 Get a reference to the result of the instruction.
 
virtual std::string toString () const =0
 String representation of the instruction.
 

Detailed Description

template<typename T>
class sxeval::IOperand< T >

The IOperand class is an interface for operands.

Template Parameters
TThe type of values handled by the SXEval library. The supported types are int, signed char, short int, long int, unsigned int, unsigned char, unsigned long int, float, double and long double.

Constructor & Destructor Documentation

◆ ~IOperand()

template<typename T >
virtual sxeval::IOperand< T >::~IOperand ( )
overridevirtualdefault

Default destructor.


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