mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
formatting fix and few tests from the old trunk
This commit is contained in:
@@ -112,24 +112,24 @@ public:
|
||||
|
||||
static bool tryParseFloat(const std::string& s, double& value);
|
||||
/// Parses a double value in decimal floating point notation
|
||||
/// from the given string.
|
||||
/// Returns true if a valid floating point number has been found,
|
||||
/// false otherwise.
|
||||
/// from the given string.
|
||||
/// Returns true if a valid floating point number has been found,
|
||||
/// false otherwise.
|
||||
|
||||
static bool parseBool(const std::string& s);
|
||||
/// Parses a bool value in decimal or string notation
|
||||
/// from the given string.
|
||||
/// Valid forms are: "0", "1", "true", "on", false", "yes", "no", "off".
|
||||
/// String forms are NOT case sensitive.
|
||||
/// Throws a SyntaxException if the string does not hold a valid bool number
|
||||
static bool parseBool(const std::string& s);
|
||||
/// Parses a bool value in decimal or string notation
|
||||
/// from the given string.
|
||||
/// Valid forms are: "0", "1", "true", "on", false", "yes", "no", "off".
|
||||
/// String forms are NOT case sensitive.
|
||||
/// Throws a SyntaxException if the string does not hold a valid bool number
|
||||
|
||||
static bool tryParseBool(const std::string& s, bool& value);
|
||||
/// Parses a bool value in decimal or string notation
|
||||
/// from the given string.
|
||||
/// Valid forms are: "0", "1", "true", "on", false", "yes", "no", "off".
|
||||
/// String forms are NOT case sensitive.
|
||||
/// Returns true if a valid bool number has been found,
|
||||
/// false otherwise.
|
||||
static bool tryParseBool(const std::string& s, bool& value);
|
||||
/// Parses a bool value in decimal or string notation
|
||||
/// from the given string.
|
||||
/// Valid forms are: "0", "1", "true", "on", false", "yes", "no", "off".
|
||||
/// String forms are NOT case sensitive.
|
||||
/// Returns true if a valid bool number has been found,
|
||||
/// false otherwise.
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user