#include "Utilities/PAssert.h"
#include <string>
Classes | |
class | Pooma::Options |
Options stores the list of run-time configurable options for POOMA. More... | |
Namespaces | |
namespace | Pooma |
Functions | |
Utility functions. | |
bool | Pooma::intArgument (int argc, char **argv, int pos, int &val) |
These used to be private methods in the Options class, but they are generally useful for parsing options, so they're now in the Pooma namespace. | |
bool | Pooma::stringArgument (int argc, char **argv, int pos, std::string &val) |
A function to check for a string argument in the pos position, and set the last argument equal to it. | |
bool | Pooma::doubleArgument (int argc, char **argv, int pos, double &val) |
A function to check for a floating-point argument in the pos position. |
The user can set up an Options object with the settings they want, and give that to Pooma::initialize, instead of passing argc, argv values.