Orbiter 2022
Combinatorial Objects
orbiter::layer1_foundations::function_command Class Reference

an individual command which is part of a function expressed in reverse polish notation More...

#include <globals.h>

Public Member Functions

 function_command ()
 
 ~function_command ()
 
void init_with_argument (int type, int arg)
 
void init_push_immediate_constant (double val)
 
void init_simple (int type)
 

Public Attributes

int type
 
int f_has_argument
 
int arg
 
double val
 

Detailed Description

an individual command which is part of a function expressed in reverse polish notation

Definition at line 27 of file globals.h.

Constructor & Destructor Documentation

◆ function_command()

orbiter::layer1_foundations::function_command::function_command ( )

Definition at line 21 of file function_command.cpp.

◆ ~function_command()

orbiter::layer1_foundations::function_command::~function_command ( )

Definition at line 29 of file function_command.cpp.

Member Function Documentation

◆ init_push_immediate_constant()

void orbiter::layer1_foundations::function_command::init_push_immediate_constant ( double  val)

Definition at line 41 of file function_command.cpp.

◆ init_simple()

void orbiter::layer1_foundations::function_command::init_simple ( int  type)

Definition at line 48 of file function_command.cpp.

◆ init_with_argument()

void orbiter::layer1_foundations::function_command::init_with_argument ( int  type,
int  arg 
)

Definition at line 34 of file function_command.cpp.

Member Data Documentation

◆ arg

int orbiter::layer1_foundations::function_command::arg

Definition at line 43 of file globals.h.

◆ f_has_argument

int orbiter::layer1_foundations::function_command::f_has_argument

Definition at line 42 of file globals.h.

◆ type

int orbiter::layer1_foundations::function_command::type

Definition at line 30 of file globals.h.

◆ val

double orbiter::layer1_foundations::function_command::val

Definition at line 44 of file globals.h.


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