2 ////////////////////////////////////////////////////////////////////////////////
3 // This program is free software; you can redistribute it and/or //
4 // modify it under the terms of the GNU General Public License //
5 // version 2 as published by the Free Software Foundation. //
7 // This program is distributed in the hope that it will be useful, but //
8 // WITHOUT ANY WARRANTY; without even the implied warranty of //
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
10 // General Public License for more details. //
12 // Written and (C) by François Fleuret //
13 // Contact <francois.fleuret@epfl.ch> for comments & bug reports //
14 ////////////////////////////////////////////////////////////////////////////////
16 #include "variables.h"
18 Variables::Variables() {
21 Variables::~Variables() {
24 void Variables::add_default_int(char *name, int value) {
27 void Variables::add_default_float(char *name, scalar_t value) {
30 void Variables::add_default_string(char *name, char *value) {
33 int Variables::get_int_value() {
37 scalar_t Variables::get_float_value() {
41 char *Variables::get_string_value() {