Public Member Functions | Protected Attributes | List of all members
sf::ui::UnsignedLongFormat Class Reference

Format to parse unsigned long

. More...

#include <UnsignedLongFormat.hpp>

Inheritance diagram for sf::ui::UnsignedLongFormat:
sf::ui::Format

Public Member Functions

 UnsignedLongFormat ()
 Creates a long format. More...
 
virtual sf::String toString () const
 
virtual bool isAllowed (sf::String str) const
 
virtual void parse (sf::String str)
 parse the string to this format, and update the value More...
 
void setValue (sf::Uint64 value)
 
sf::Uint64 getValue () const
 

Protected Attributes

sf::Uint64 m_value
 

Detailed Description

Format to parse unsigned long

.

Definition at line 28 of file UnsignedLongFormat.hpp.

Constructor & Destructor Documentation

sf::ui::UnsignedLongFormat::UnsignedLongFormat ( )

Creates a long format.

Member Function Documentation

sf::Uint64 sf::ui::UnsignedLongFormat::getValue ( ) const
Returns
the value of the last string parsed
virtual bool sf::ui::UnsignedLongFormat::isAllowed ( sf::String  str) const
virtual
Returns
if the given string matches with this format
Parameters
strthe string to test

Implements sf::ui::Format.

virtual void sf::ui::UnsignedLongFormat::parse ( sf::String  str)
virtual

parse the string to this format, and update the value

Parameters
strthe string parsed

Implements sf::ui::Format.

void sf::ui::UnsignedLongFormat::setValue ( sf::Uint64  value)
Parameters
valuethe new value
virtual sf::String sf::ui::UnsignedLongFormat::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: