#include <OgreString.h>
Public Types | |
| typedef std::stringstream | StrStreamType |
Static Public Member Functions | |
| void | trim (String &str, bool left=true, bool right=true) |
| Removes any whitespace characters, be it standard space or TABs and so on. | |
| std::vector< String > | split (const String &str, const String &delims="\t\n", unsigned int maxSplits=0) |
Returns a StringVector that contains all the substrings delimited by the characters in the passed delims argument. | |
| void | toLowerCase (String &str) |
| Upper-cases all the characters in the string. | |
| void | toUpperCase (String &str) |
| Lower-cases all the characters in the string. | |
| Real | toReal (const String &str) |
| Converts the contents of the string to a Real. | |
| bool | startsWith (const String &str, const String &pattern, bool lowerCase=true) |
| Returns whether the string begins with the pattern passed in. | |
| bool | endsWith (const String &str, const String &pattern, bool lowerCase=true) |
| Returns whether the string ends with the pattern passed in. | |
| String | standardisePath (const String &init) |
| Method for standardising paths - use forward slashes only, end with slash. | |
| void | splitFilename (const String &qualifiedName, String &outBasename, String &outPath) |
| Method for splitting a fully qualified filename into the base name and path. | |
| bool | match (const String &str, const String &pattern, bool caseSensitive=true) |
| Simple pattern-matching routine allowing a wildcard pattern. | |
Static Public Attributes | |
| const String | BLANK |
| Constant blank string, useful for returning by ref where local does not exist. | |
Definition at line 85 of file OgreString.h.
|
|
Definition at line 88 of file OgreString.h. |
|
||||||||||||||||
|
Returns whether the string ends with the pattern passed in.
|
|
||||||||||||||||
|
Simple pattern-matching routine allowing a wildcard pattern.
|
|
||||||||||||||||
|
Returns a StringVector that contains all the substrings delimited by the characters in the passed
|
|
||||||||||||||||
|
Method for splitting a fully qualified filename into the base name and path.
|
|
|
Method for standardising paths - use forward slashes only, end with slash.
|
|
||||||||||||||||
|
Returns whether the string begins with the pattern passed in.
|
|
|
Upper-cases all the characters in the string.
|
|
|
Converts the contents of the string to a Real.
|
|
|
Lower-cases all the characters in the string.
|
|
||||||||||||||||
|
Removes any whitespace characters, be it standard space or TABs and so on.
|
|
|
Constant blank string, useful for returning by ref where local does not exist.
Definition at line 162 of file OgreString.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:40:27 2005