Promote all local parameters in the model to global parameters.
#include <iostream>
int
main (int argc, char* argv[])
{
if (argc != 3)
{
cout << endl << "Usage: promoteParameters input-filename output-filename"
<< endl << endl;
return 2;
}
{
}
else
{
props.
addOption(
"promoteLocalParameters",
true,
"Promotes all Local Parameters to Global ones");
{
cout<< "conversion failed ... " << endl;
return 3;
}
}
return 0;
}