OptionsFromStreamPack_StringToBool.hpp File Reference

#include "Moocho_ConfigDefs.hpp"

Include dependency graph for OptionsFromStreamPack_StringToBool.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  OptionsFromStreamPack


bool StringToBool (const char *opt_name, const char *str)
 Convert a string "true" or "false" into bool #true# or #false#.

Function Documentation

bool OptionsFromStreamPack::StringToBool const char *  opt_name,
const char *  str

Convert a string "true" or "false" into bool #true# or #false#.

If the input string is not "true" or "false" then the exception "InputException" will be thrown and the message will include the name of the option this value is for.

Definition at line 35 of file OptionsFromStreamPack_StringToBool.cpp.

Generated on Thu Sep 18 12:35:58 2008 for MOOCHO (Single Doxygen Collection) by doxygen