DeSR Dependency Parser |
#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. |
Definition at line 47 of file conf_float.h.
IXE::conf< float >::conf | ( | char const * | name, | |
float | default_value = 0.0 | |||
) |
Construct (initialize) a conf<float>.
name | The name of the configuration variable. |
Definition at line 49 of file conf_float.cpp.
conf< float > & IXE::conf< float >::operator= | ( | float | new_value | ) |
Assign a new value to the configuration variable.
new_value | The potential new value. |
Definition at line 61 of file conf_float.cpp.
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. |
Definition at line 79 of file conf_float.cpp.
References IXE::next_token_line().