#include <OgreString.h>
Inheritance diagram for Ogre::String:

Public Types | |
| typedef std::stringstream | StrStreamType |
Public Methods | |
| String () | |
| Default constructor. More... | |
| String (const String &rhs) | |
| String (const _StringBase &rhs) | |
| Copy constructor for std::string's. More... | |
| String (const char *rhs) | |
| Copy-constructor for C-style strings. More... | |
| operator const char * () const | |
| Used for interaction with functions that require the old C-style strings. More... | |
| void | trim (bool left=true, bool right=true) |
| Removes any whitespace characters, be it standard space or TABs and so on. More... | |
| std::vector< String > | split (const String &delims="\t\n", unsigned int maxSplits=0) const |
Returns a StringVector that contains all the substrings delimited by the characters in the passed delims argument. More... | |
| String | toLowerCase (void) |
| Upper-cases all the characters in the string. More... | |
| String | toUpperCase (void) |
| Lower-cases all the characters in the string. More... | |
| Real | toReal (void) const |
| Converts the contents of the string to a Real. More... | |
| template<typename T> String & | operator<< (T value) |
| Template operator for appending another type into the string. More... | |
|
|
|
|
|
Default constructor.
|
|
|
|
|
|
Copy constructor for std::string's.
|
|
|
Copy-constructor for C-style strings.
|
|
|
Used for interaction with functions that require the old C-style strings.
|
|
||||||||||
|
Template operator for appending another type into the string.
|
|
||||||||||||
|
Returns a StringVector that contains all the substrings delimited by the characters in the passed
|
|
|
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.
|
Copyright © 2002 by The OGRE Team