Format to parse double
.
More...
#include <DoubleFormat.hpp>
Format to parse double
.
Definition at line 28 of file DoubleFormat.hpp.
sf::ui::DoubleFormat::DoubleFormat |
( |
| ) |
|
double sf::ui::DoubleFormat::getValue |
( |
| ) |
const |
- Returns
- the value of the last string parsed as a double
virtual bool sf::ui::DoubleFormat::isAllowed |
( |
sf::String |
str | ) |
const |
|
virtual |
- Returns
- if the given string matches with this format
- Parameters
-
Implements sf::ui::Format.
virtual void sf::ui::DoubleFormat::parse |
( |
sf::String |
str | ) |
|
|
virtual |
parse the string to this format, and update the value
- Parameters
-
Implements sf::ui::Format.
void sf::ui::DoubleFormat::setValue |
( |
double |
value | ) |
|
virtual sf::String sf::ui::DoubleFormat::toString |
( |
| ) |
const |
|
virtual |
- Returns
- the string with the value in this format
Implements sf::ui::Format.
The documentation for this class was generated from the following file: