GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::ExprApi Class Reference

#include <GameApi.hh>

Classes

struct  FloatExprEnv
struct  IntExprEnv

Public Member Functions

IMPORT ExprApi (Env &e)
IMPORT EX variable (std::string name)
IMPORT EX plus (EX e1, EX e2)
IMPORT EX mul (EX e1, EX e2)
IMPORT EX minus (EX e1, EX e2)
IMPORT EX div (EX e1, EX e2)
IMPORT EX sin (EX e1)
IMPORT EX cos (EX e1)
IMPORT EX float_constant (float val)
IMPORT EX int_constant (int val)
IMPORT EX expr_float (std::string expr, bool &success)
IMPORT EX expr_int (std::string expr, bool &success)
IMPORT float expr_eval_float (EX expr, std::vector< FloatExprEnv > env)
IMPORT int expr_eval_int (EX expr, std::vector< IntExprEnv > env)

Constructor & Destructor Documentation

◆ ExprApi()

GameApi::ExprApi::ExprApi ( Env & e)

Member Function Documentation

◆ cos()

GameApi::EX GameApi::ExprApi::cos ( GameApi::EX ee)
Here is the caller graph for this function:

◆ div()

GameApi::EX GameApi::ExprApi::div ( EX e1,
EX e2 )
Here is the caller graph for this function:

◆ expr_eval_float()

float GameApi::ExprApi::expr_eval_float ( EX expr,
std::vector< FloatExprEnv > env )

◆ expr_eval_int()

int GameApi::ExprApi::expr_eval_int ( EX expr,
std::vector< IntExprEnv > env )

◆ expr_float()

GameApi::EX GameApi::ExprApi::expr_float ( std::string expr,
bool & success )

◆ expr_int()

GameApi::EX GameApi::ExprApi::expr_int ( std::string expr,
bool & success )

◆ float_constant()

GameApi::EX GameApi::ExprApi::float_constant ( float val)
Here is the caller graph for this function:

◆ int_constant()

GameApi::EX GameApi::ExprApi::int_constant ( int val)
Here is the caller graph for this function:

◆ minus()

GameApi::EX GameApi::ExprApi::minus ( EX e1,
EX e2 )
Here is the caller graph for this function:

◆ mul()

GameApi::EX GameApi::ExprApi::mul ( EX e1,
EX e2 )
Here is the caller graph for this function:

◆ plus()

GameApi::EX GameApi::ExprApi::plus ( EX e1,
EX e2 )
Here is the caller graph for this function:

◆ sin()

GameApi::EX GameApi::ExprApi::sin ( GameApi::EX ee)
Here is the caller graph for this function:

◆ variable()

GameApi::EX GameApi::ExprApi::variable ( std::string name)

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