#include <OgreStringConverter.h>
Static Public Member Functions | |
| static String | toString (Real val, unsigned short precision=6, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts a Real to a String. | |
| static String | toString (Radian val, unsigned short precision=6, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts a Radian to a String. | |
| static String | toString (Degree val, unsigned short precision=6, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts a Degree to a String. | |
| static String | toString (int val, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts an int to a String. | |
| static String | toString (size_t val, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts a size_t to a String. | |
| static String | toString (unsigned long val, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts an unsigned long to a String. | |
| static String | toString (long val, unsigned short width=0, char fill= ' ', std::ios::fmtflags flags=std::ios::fmtflags(0)) |
| Converts a long to a String. | |
| static String | toString (bool val, bool yesNo=false) |
| Converts a boolean to a String. | |
| static String | toString (const Vector2 &val) |
| Converts a Vector2 to a String. | |
| static String | toString (const Vector3 &val) |
| Converts a Vector3 to a String. | |
| static String | toString (const Vector4 &val) |
| Converts a Vector4 to a String. | |
| static String | toString (const Matrix3 &val) |
| Converts a Matrix3 to a String. | |
| static String | toString (const Matrix4 &val) |
| Converts a Matrix4 to a String. | |
| static String | toString (const Quaternion &val) |
| Converts a Quaternion to a String. | |
| static String | toString (const ColourValue &val) |
| Converts a ColourValue to a String. | |
| static String | toString (const StringVector &val) |
| Converts a StringVector to a string. | |
| static Real | parseReal (const String &val) |
| Converts a String to a Real. | |
| static Radian | parseAngle (const String &val) |
| Converts a String to a Angle. | |
| static int | parseInt (const String &val) |
| Converts a String to a whole number. | |
| static unsigned int | parseUnsignedInt (const String &val) |
| Converts a String to a whole number. | |
| static long | parseLong (const String &val) |
| Converts a String to a whole number. | |
| static unsigned long | parseUnsignedLong (const String &val) |
| Converts a String to a whole number. | |
| static bool | parseBool (const String &val) |
| Converts a String to a boolean. | |
| static Vector3 | parseVector3 (const String &val) |
| Parses a Vector3 out of a String. | |
| static Matrix3 | parseMatrix3 (const String &val) |
| Parses a Matrix3 out of a String. | |
| static Matrix4 | parseMatrix4 (const String &val) |
| Parses a Matrix4 out of a String. | |
| static Quaternion | parseQuaternion (const String &val) |
| Parses a Quaternion out of a String. | |
| static ColourValue | parseColourValue (const String &val) |
| Parses a ColourValue out of a String. | |
| static StringVector | parseStringVector (const String &val) |
| Pareses a StringVector from a string. | |
| static bool | isNumber (const String &val) |
| Checks the String is a valid number value. | |
Definition at line 57 of file OgreStringConverter.h.
| static String Ogre::StringConverter::toString | ( | Real | val, | |
| unsigned short | precision = 6, |
|||
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts a Real to a String.
| static String Ogre::StringConverter::toString | ( | Radian | val, | |
| unsigned short | precision = 6, |
|||
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts a Radian to a String.
Definition at line 66 of file OgreStringConverter.h.
References Ogre::Radian::valueAngleUnits().
| static String Ogre::StringConverter::toString | ( | Degree | val, | |
| unsigned short | precision = 6, |
|||
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts a Degree to a String.
Definition at line 73 of file OgreStringConverter.h.
References Ogre::Degree::valueAngleUnits().
| static String Ogre::StringConverter::toString | ( | int | val, | |
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts an int to a String.
| static String Ogre::StringConverter::toString | ( | size_t | val, | |
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts a size_t to a String.
| static String Ogre::StringConverter::toString | ( | unsigned long | val, | |
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts an unsigned long to a String.
| static String Ogre::StringConverter::toString | ( | long | val, | |
| unsigned short | width = 0, |
|||
| char | fill = ' ', |
|||
| std::ios::fmtflags | flags = std::ios::fmtflags(0) | |||
| ) | [static] |
Converts a long to a String.
| static String Ogre::StringConverter::toString | ( | bool | val, | |
| bool | yesNo = false | |||
| ) | [static] |
Converts a boolean to a String.
| yesNo | If set to true, result is 'yes' or 'no' instead of 'true' or 'false' |
Converts a Matrix3 to a String.
Converts a Matrix4 to a String.
| static String Ogre::StringConverter::toString | ( | const Quaternion & | val | ) | [static] |
Converts a Quaternion to a String.
| static String Ogre::StringConverter::toString | ( | const ColourValue & | val | ) | [static] |
Converts a ColourValue to a String.
| static String Ogre::StringConverter::toString | ( | const StringVector & | val | ) | [static] |
Converts a StringVector to a string.
Converts a String to a Real.
Converts a String to a Angle.
Definition at line 169 of file OgreStringConverter.h.
| static int Ogre::StringConverter::parseInt | ( | const String & | val | ) | [static] |
Converts a String to a whole number.
| static unsigned int Ogre::StringConverter::parseUnsignedInt | ( | const String & | val | ) | [static] |
Converts a String to a whole number.
| static long Ogre::StringConverter::parseLong | ( | const String & | val | ) | [static] |
Converts a String to a whole number.
| static unsigned long Ogre::StringConverter::parseUnsignedLong | ( | const String & | val | ) | [static] |
Converts a String to a whole number.
| static bool Ogre::StringConverter::parseBool | ( | const String & | val | ) | [static] |
Converts a String to a boolean.
Parses a Vector3 out of a String.
Parses a Matrix3 out of a String.
Parses a Matrix4 out of a String.
| static Quaternion Ogre::StringConverter::parseQuaternion | ( | const String & | val | ) | [static] |
Parses a Quaternion out of a String.
| static ColourValue Ogre::StringConverter::parseColourValue | ( | const String & | val | ) | [static] |
Parses a ColourValue out of a String.
| static StringVector Ogre::StringConverter::parseStringVector | ( | const String & | val | ) | [static] |
Pareses a StringVector from a string.
| static bool Ogre::StringConverter::isNumber | ( | const String & | val | ) | [static] |
Checks the String is a valid number value.
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:54:16 2008