Tanl Linguistic Pipeline |
A conf<float> is a Var for containing the value of a float configuration variable. More...
#include <conf_float.h>
Public Member Functions | |
conf (char const *name, float default_value=0.0) | |
Construct (initialize) a conf<float>. | |
conf< float > & | operator= (float new_value) |
Assign a new value to the configuration variable. | |
conf< float > & | operator= (char const *s) |
Protected Member Functions | |
virtual void | parseValue (char const *&line) |
Parse an float value from a configuration file line. |
A conf<float> is a Var for containing the value of a float configuration variable.
Construct (initialize) a conf<float>.
name | The name of the configuration variable. |
Assign a new value to the configuration variable.
new_value | The potential new value. |
void IXE::conf< float >::parseValue | ( | char const *& | lines | ) | [protected, virtual] |
Parse an float value from a configuration file line.
If successful, assign the value to ourselves; otherwise complain.
line | The line to be parsed. |
Implements IXE::Configuration::Item.