- sf
- ui
- Format
The abstract class that defines format of various types, such as ints, double, objects ... More...
#include <Format.hpp>
Public Member Functions | |
virtual sf::String | toString () const =0 |
virtual bool | isAllowed (sf::String str) const =0 |
virtual void | parse (sf::String str)=0 |
parse the string to this format, and update the value More... | |
The abstract class that defines format of various types, such as ints, double, objects ...
Definition at line 28 of file Format.hpp.
|
pure virtual |
str | the string to test |
Implemented in sf::ui::DoubleFormat, sf::ui::LongFormat, and sf::ui::UnsignedLongFormat.
|
pure virtual |
parse the string to this format, and update the value
str | the string parsed |
Implemented in sf::ui::DoubleFormat, sf::ui::LongFormat, and sf::ui::UnsignedLongFormat.
|
pure virtual |
Implemented in sf::ui::DoubleFormat, sf::ui::LongFormat, and sf::ui::UnsignedLongFormat.