/home/msneddon/eclipse/galileoSR1_cpp/workspace/NFsim/src/NFinput/commandLineParser.cpp File Reference

#include "NFinput.hh"

Functions

bool NFinput::parseArguments (int argc, const char *argv[], map< string, string > &argMap)
 Parses command line arguments from the console nicely.
int NFinput::parseAsInt (map< string, string > &argMap, string argName, int defaultValue)
 Looks up the argument in the argMap and tries to parse the value as an integer.
void NFinput::parseAsCommaSeparatedSequence (map< string, string > &argMap, string argName, vector< int > &sequence)
 Looks up the argument in the argMap and tries to parse the value as a comma delimited sequence of ints.
double NFinput::parseAsDouble (map< string, string > &argMap, string argName, double defaultValue)
 Looks up the argument in the argMap and tries to parse the value as a double.
bool NFinput::parseSequence (string numString, vector< double > &outputTimes)
 Parses a matlab style sequence (ie startValue:step:endValue) into the vector.
bool NFinput::createSystemDumper (string paramStr, System *s, bool verbose)
 Parses the cmd line arg that specifies system dumps, and schedules them.


Generated on Thu Dec 9 11:02:48 2010 for NFsim by  doxygen 1.5.4