00001
00009 #ifndef WALKOPTIMISER_H
00010 #define WALKOPTIMISER_H
00011
00012
00013
00014 #include "alxplatform.h"
00015 #include "config.h"
00016 #include <fstream>
00017 #include <sstream>
00018 #include <albroker.h>
00019 #include <almodule.h>
00020 #include <altools.h>
00021
00022
00023 #define ALVALUE_STRING( val ) ((val.getType() == ALValue::TypeString) ? std::string(val) : std::string("") )
00024 #define ALVALUE_DOUBLE( val ) ((val.getType() == ALValue::TypeDouble || val.getType() == ALValue::TypeInt) ? double(val) : 0.0 )
00025 #define ALVALUE_INT( val ) ((val.getType() == ALValue::TypeInt || val.getType() == ALValue::TypeDouble) ? int(val) : 0)
00026
00027 #endif // WALKOPTIMISER_H