PUMA Library Reference Manual
Puma::PreExpr Class Reference

#include <PreExpr.h>

Public Member Functions

 PreExpr (ErrorStream *, Location)
 
 PreExpr ()
 
 ~PreExpr ()
 
 PreExpr (long double v)
 
void evaluatePreExpr (char *expression_string)
 
bool value () const
 
U_LONG_LONG toUnsignedInt ()
 
LONG_LONG toSignedInt ()
 

Static Public Member Functions

static long double convertChar (char *value)
 

Public Attributes

long double val
 

Constructor & Destructor Documentation

◆ PreExpr() [1/3]

Puma::PreExpr::PreExpr ( ErrorStream ,
Location   
)

◆ PreExpr() [2/3]

Puma::PreExpr::PreExpr ( )
inline

◆ ~PreExpr()

Puma::PreExpr::~PreExpr ( )
inline

◆ PreExpr() [3/3]

Puma::PreExpr::PreExpr ( long double  v)
inline

Member Function Documentation

◆ convertChar()

static long double Puma::PreExpr::convertChar ( char *  value)
static

◆ evaluatePreExpr()

void Puma::PreExpr::evaluatePreExpr ( char *  expression_string)

◆ toSignedInt()

LONG_LONG Puma::PreExpr::toSignedInt ( )
inline

◆ toUnsignedInt()

U_LONG_LONG Puma::PreExpr::toUnsignedInt ( )
inline

◆ value()

bool Puma::PreExpr::value ( ) const
inline

Member Data Documentation

◆ val

long double Puma::PreExpr::val