diff options
author | DestructiveReasoning | 2015-06-14 21:06:46 +0000 |
---|---|---|
committer | DestructiveReasoning | 2015-06-14 21:06:46 +0000 |
commit | cdce8829d0acbc0571acab442f8e74cf95f2744f (patch) | |
tree | f81ac53c2b20c1ea84b177f914dd210f1be4f659 /variable.cpp | |
download | aur-cdce8829d0acbc0571acab442f8e74cf95f2744f.tar.gz |
Initial upload to AUR4
Diffstat (limited to 'variable.cpp')
-rw-r--r-- | variable.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/variable.cpp b/variable.cpp new file mode 100644 index 000000000000..08b0636e4bd3 --- /dev/null +++ b/variable.cpp @@ -0,0 +1,16 @@ +#include "variable.h" + +std::string Variable::getName() +{ + return name; +} + +double Variable::getValue() +{ + return value; +} + +void Variable::setValue(double val) +{ + value = val; +} |