acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
binary_operation.h
1#pragma once
2
3
4#include "value.h"
5
6
7namespace mathematics
8{
9
10
11 class CLASS_DECL_ACME binary_operation :
12 virtual public value
13 {
14 public:
15
16
17 enum enum_type
18 {
19 type_addition,
20 type_subtraction,
21 type_multiplication,
22 type_division,
23 };
24
25
26 enum_type m_etype;
27
28
29 value * m_pvalue1;
30 value * m_pvalue2;
31
32
33 binary_operation();
34 virtual ~binary_operation();
35
36
37 virtual void set_value_string(const ::scoped_string & scopedstr);
38 virtual string get_value_string(e_get_value egetvalue);
39
40
41 };
42
43
44} // namespace mathematics
45
46
47
Definition value.h:15