Example for using the BIAS::Param parameter object
- Author
- MIP
#include <iostream>
#include <Utils/Param.hh>
#include <Base/Math/Vector.hh>
using namespace std;
using namespace BIAS;
int main(int argc, char *argv[])
{
vector<string> myenums;
myenums.push_back("foo");
myenums.push_back("bar");
p->
AddParamInt(
"int-test",
"Help for testint",42,3,100,
'i');
p->
AddParamDouble(
"dbl-more-test",
"Help for testdbl",1.42,-3.1415,3.1415);
return 0;
}