Classes | Functions
Graphics/ToString.hpp File Reference

String representation of basic SFML types. More...

Go to the source code of this file.

Classes

class  thor::StringConversionException
 Exception class for failed string conversions. More...

Functions

std::string thor::toString (const sf::Color &color)
 Returns a std::string representation of sf::Color.
template<typename T >
std::string thor::toString (const sf::Vector2< T > &vector)
 Returns a std::string representation of sf::Vector2<T>.
template<typename T >
std::string thor::toString (const sf::Vector3< T > &vector)
 Returns a std::string representation of sf::Vector3<T>.
template<typename T >
std::string thor::toString (const sf::Rect< T > &rect)
 Returns a std::string representation of sf::Rect<T>.
template<typename T >
std::string thor::toString (const PolarVector2< T > &vector)
 Returns the string representation of thor::PolarVector<T>.

Detailed Description

String representation of basic SFML types.