Pyro higlevel API
Public Member Functions | List of all members
os::LString Class Reference

Localised String. More...

Inheritance diagram for os::LString:
os::String

Public Member Functions

 LString (uint32 nID)
 
- Public Member Functions inherited from os::String
 String ()
 
 String (int nLen, char nFiller)
 
 String (const char *pzString)
 
 String (const char *pzString, int nLen)
 
 String (const std::string &cString)
 
 String (const std::string &cString, int nPos, int nLen)
 
 String (const String &cString)
 
 String (const String &cString, int nPos, int nLen)
 
 String (const_iterator cBegin, const_iterator cEnd)
 
size_t Length () const
 
size_t CountChars () const
 
StringResize (int nNewLen)
 
StringFormat (const char *pzFormat, va_list pArgs)
 
StringFormat (const char *pzFormat,...)
 
StringStrip ()
 
StringLStrip ()
 
StringRStrip ()
 
StringLower ()
 
StringUpper ()
 
int Compare (const char *pzString) const
 
int Compare (const std::string &cOther) const
 
int Compare (const String &cOther) const
 
int CompareNoCase (const char *pzString) const
 
int CompareNoCase (const std::string &cOther) const
 
int CompareNoCase (const String &cOther) const
 
Stringoperator= (const char *pzString)
 
Stringoperator= (const std::string &cString)
 
Stringoperator= (const String &cString)
 
Stringoperator+= (const char *pzString)
 
Stringoperator+= (const char nChar)
 
Stringoperator+= (const std::string &cString)
 
Stringoperator+= (const String &cString)
 
String operator+ (const char *pzString) const
 
String operator+ (const char nChar) const
 
String operator+ (const std::string &cString) const
 
String operator+ (const String &cString) const
 
bool operator== (const char *pzString) const
 
bool operator== (const std::string &cString) const
 
bool operator== (const String &cString) const
 
bool operator!= (const char *pzString) const
 
bool operator!= (const std::string &cString) const
 
bool operator!= (const String &cString) const
 
bool operator< (const char *pzString) const
 
bool operator< (const std::string &cString) const
 
bool operator< (const String &cString) const
 
bool operator> (const char *pzString) const
 
bool operator> (const std::string &cString) const
 
bool operator> (const String &cString) const
 
char operator[] (size_t nPos) const
 
char & operator[] (size_t nPos)
 
 operator const std::string & () const
 
std::string & str ()
 
const std::string & const_str () const
 
const char * c_str () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_t size () const
 
bool empty () const
 
void resize (size_t nLen)
 
void resize (size_t nLen, char nFiller)
 
void reserve (size_t nLen)
 
Stringerase (size_t nPos=0, size_t nLen=npos)
 
iterator erase (iterator i)
 
iterator erase (iterator cFirst, iterator cLast)
 
String substr (size_t nPos=0, size_t nLen=npos) const
 
size_t find (const String &cStr, size_t nPos=0) const
 

Additional Inherited Members

- Public Types inherited from os::String
enum  { npos = -1 }
 
typedef std::string::iterator iterator
 
typedef std::string::const_iterator const_iterator
 

Detailed Description

Description:
Since
0.5.3
See Also
os::String
Author
Henrik Isaksson (henri.nosp@m.k@is.nosp@m.aksso.nosp@m.n.tk)

Constructor & Destructor Documentation

LString::LString ( uint32  nID)