#include <OgreLwConstString.h>
- See also
- LwString. This base class exists so that you can wrap around useful functionality around const char pointers, for example: const char myText = "Hello World!"; LwConstString myString( myText, 13 ); such as comparison, finding, etc. The internal pointer is const_cast'ed because derived class LwString needs it so, however this base class never writes to this pointer or returns a non-const pointer.
◆ LwConstString()
Ogre::LwConstString::LwConstString |
( |
const char * |
inStr, |
|
|
size_t |
maxLength |
|
) |
| |
|
inline |
◆ begin()
const char* Ogre::LwConstString::begin |
( |
| ) |
const |
|
inline |
◆ c_str()
const char* Ogre::LwConstString::c_str |
( |
| ) |
const |
|
inline |
◆ capacity()
size_t Ogre::LwConstString::capacity |
( |
| ) |
const |
|
inline |
◆ end()
const char* Ogre::LwConstString::end |
( |
| ) |
const |
|
inline |
◆ find() [1/2]
size_t Ogre::LwConstString::find |
( |
const char * |
val, |
|
|
size_t |
pos = 0 |
|
) |
| const |
|
inline |
◆ find() [2/2]
size_t Ogre::LwConstString::find |
( |
const LwConstString * |
val, |
|
|
size_t |
pos = 0 |
|
) |
| const |
|
inline |
◆ find_first_of() [1/2]
size_t Ogre::LwConstString::find_first_of |
( |
char |
c, |
|
|
size_t |
pos = 0 |
|
) |
| const |
|
inline |
◆ find_first_of() [2/2]
size_t Ogre::LwConstString::find_first_of |
( |
const char * |
val, |
|
|
size_t |
pos = 0 |
|
) |
| const |
|
inline |
◆ find_last_of()
size_t Ogre::LwConstString::find_last_of |
( |
char |
c, |
|
|
size_t |
pos = ~0 |
|
) |
| const |
|
inline |
◆ FromUnsafeCStr()
static LwConstString Ogre::LwConstString::FromUnsafeCStr |
( |
const char * |
cStr | ) |
|
|
inlinestatic |
◆ operator!=() [1/2]
bool Ogre::LwConstString::operator!= |
( |
const char * |
other | ) |
const |
|
inline |
◆ operator!=() [2/2]
bool Ogre::LwConstString::operator!= |
( |
const LwConstString & |
other | ) |
const |
|
inline |
◆ operator<() [1/2]
bool Ogre::LwConstString::operator< |
( |
const char * |
other | ) |
const |
|
inline |
◆ operator<() [2/2]
bool Ogre::LwConstString::operator< |
( |
const LwConstString & |
other | ) |
const |
|
inline |
◆ operator==() [1/2]
bool Ogre::LwConstString::operator== |
( |
const char * |
other | ) |
const |
|
inline |
◆ operator==() [2/2]
bool Ogre::LwConstString::operator== |
( |
const LwConstString & |
other | ) |
const |
|
inline |
◆ operator>() [1/2]
bool Ogre::LwConstString::operator> |
( |
const char * |
other | ) |
const |
|
inline |
◆ operator>() [2/2]
bool Ogre::LwConstString::operator> |
( |
const LwConstString & |
other | ) |
const |
|
inline |
◆ size()
size_t Ogre::LwConstString::size |
( |
| ) |
const |
|
inline |
◆ LwString
The documentation for this class was generated from the following file: