Orbiter
2022
Combinatorial Objects
function_command.cpp
Go to the documentation of this file.
1
/*
2
* function_command.cpp
3
*
4
* Created on: Apr 18, 2020
5
* Author: betten
6
*/
7
8
9
10
11
#include "
foundations.h
"
12
13
14
using namespace
std;
15
16
17
namespace
orbiter
{
18
namespace
layer1_foundations {
19
20
21
function_command::function_command
()
22
{
23
type
= 0;
24
f_has_argument
=
FALSE
;
25
arg
= 0;
26
val
= 0;
27
}
28
29
function_command::~function_command
()
30
{
31
32
}
33
34
void
function_command::init_with_argument
(
int
type,
int
arg)
35
{
36
function_command::type
=
type
;
37
function_command::f_has_argument
=
TRUE
;
38
function_command::arg
=
arg
;
39
}
40
41
void
function_command::init_push_immediate_constant
(
double
val)
42
{
43
function_command::type
= 2;
44
function_command::val
=
val
;
45
46
}
47
48
void
function_command::init_simple
(
int
type)
49
{
50
function_command::type
=
type
;
51
function_command::f_has_argument
=
TRUE
;
52
}
53
54
55
}}
56
57
orbiter::layer1_foundations::function_command::f_has_argument
int f_has_argument
Definition:
globals.h:42
orbiter::layer1_foundations::function_command::function_command
function_command()
Definition:
function_command.cpp:21
orbiter::layer1_foundations::function_command::arg
int arg
Definition:
globals.h:43
orbiter::layer1_foundations::function_command::init_with_argument
void init_with_argument(int type, int arg)
Definition:
function_command.cpp:34
orbiter::layer1_foundations::function_command::init_push_immediate_constant
void init_push_immediate_constant(double val)
Definition:
function_command.cpp:41
orbiter::layer1_foundations::function_command::~function_command
~function_command()
Definition:
function_command.cpp:29
orbiter::layer1_foundations::function_command::type
int type
Definition:
globals.h:30
orbiter::layer1_foundations::function_command::init_simple
void init_simple(int type)
Definition:
function_command.cpp:48
orbiter::layer1_foundations::function_command::val
double val
Definition:
globals.h:44
foundations.h
TRUE
#define TRUE
Definition:
foundations.h:231
FALSE
#define FALSE
Definition:
foundations.h:234
orbiter
the orbiter library for the classification of combinatorial objects
Definition:
classification.h:18
src
lib
foundations
globals
function_command.cpp
Generated by
1.9.3