#include <common/nstring.h>Go to the source code of this file.
Functions | |
| bool | string_to_bool (const nstring &value, bool dflt=false) |
| nstring | bool_to_string (bool value) |
| nstring bool_to_string | ( | bool | value | ) |
The bool_to_string function is used to turn a boolean value into a string.
| value | The value to be converted. |
| bool string_to_bool | ( | const nstring & | value, | |
| bool | dflt = false | |||
| ) |
The string_to_bool function is used to translate strings into boolean values.
| value | The value of the string to be converted | |
| dflt | The default value if the value is empty |
1.5.5