#include <paramTable.h>
Public Types | |
| enum | { tableSize = 101 } |
Public Methods | |
| double | operator() () |
| Returns the current value of the parameter. | |
| void | changeValue (double newValue) |
| int | hasBeenChanged () |
| parameter (const char *name_, double minValue_, double value_, double maxValue_) | |
| ~parameter () | |
Static Public Methods | |
| void | readAll (int argc, char **argv, int minArgs=0, int maxArgs=1) |
| Processes the arguement list. More... | |
| int | howMany () |
Static Private Methods | |
| unsigned int | hash (const char *name_) |
| parameter * | lookup (const char *name_, int hashValue_) |
| parameter * | lookup (const char *name_) |
| void | parseLine (int argc, char **arv, int minArgs=0, int maxArgs=1) |
| void | readFromFile (const char *fileName) |
| double | convert (const char *buffer, const char *errorKey) |
Private Attributes | |
| double | value |
| double | maxValue |
| double | minValue |
| const char * | name |
| int | changeCounter |
| parameter * | next |
| parameter * | prev |
Static Private Attributes | |
| int | numParameters |
| parameter * | hashHeader [tableSize] |
Note: for now the format of the parameter file is described in utilib/src/io/paramTable.doc.
|
||||||||||||||||||||
|
Processes the arguement list.
Note: |