FreePOOMA  2.4.1
Classes | Namespaces
Options.h File Reference

A simple container class that holds information about how POOMA should be used when it starts up. More...

#include "Utilities/PAssert.h"
#include <string>
Include dependency graph for Utilities/Options.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

A simple container class that holds information about how POOMA should be used when it starts up.

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.