acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
value.h
1#pragma once
2
3
4
5
6
7namespace mathematics
8{
9
10
11 class value_impl;
12
13
14 class CLASS_DECL_ACME value
15 {
16 public:
17
18
19 enum e_get_value
20 {
21 get_value_formula,
22 get_value_number,
23 };
24
25
26 value_impl * m_pimpl;
27
28
29 void parse_numeric_formula(const ::scoped_string & scopedstr);
30
31 virtual void set_value_string(const ::scoped_string & scopedstr);
32 virtual string get_value_string(e_get_value egetvalue);
33
34
35
36 };
37
38
39
40 class CLASS_DECL_ACME value_impl :
41 virtual public value
42 {
43 public:
44
45
46
47
48 string m_str;
49
50
51 value_impl();
52 virtual ~value_impl();
53
54
55 virtual void set_value_string(const ::scoped_string & scopedstr);
56 virtual string get_value_string(e_get_value egetvalue);
57
58
59
60 };
61
62
63} // namespace mathematics
64
65
66
Definition value.h:42
Definition value.h:15