Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/xom/String.h>
Public Member Functions | |
String (void) | |
String (const char *str) | |
String (const char_t *str) | |
String (const CString &str) | |
String (const String &str) | |
void | copy (void) |
void | free (void) |
String & | operator= (const String &str) |
operator char_t * (void) const | |
Public Member Functions inherited from elm::CString | |
CString (void) | |
CString (const char *str) | |
CString (const CString &str) | |
CString & | operator= (const CString &str) |
int | length (void) const |
const char * | chars (void) const |
int | compare (const CString &str) const |
const char * | operator& (void) const |
bool | isEmpty (void) const |
operator bool (void) const | |
char | charAt (int index) const |
char | operator[] (int index) const |
CString | substring (int pos) const |
String | substring (int pos, int len) const |
String | concat (const CString str) const |
String | concat (const String &str) const |
int | indexOf (char chr) const |
int | indexOf (char chr, int pos) const |
int | lastIndexOf (char chr) const |
int | lastIndexOf (char chr, int pos) const |
bool | startsWith (const char *str) const |
bool | startsWith (const CString str) const |
bool | startsWith (const String &str) const |
bool | endsWith (const CString str) const |
bool | endsWith (const String &str) const |
operator const char * (void) const | |
Additional Inherited Members | |
Protected Attributes inherited from elm::CString | |
const char * | buf |
elm::xom::String::String | ( | void | ) |
elm::xom::String::String | ( | const char * | str | ) |
elm::xom::String::String | ( | const char_t * | str | ) |
elm::xom::String::String | ( | const CString & | str | ) |
elm::xom::String::String | ( | const String & | str | ) |
void elm::xom::String::copy | ( | void | ) |
References elm::CString::buf, and elm::CString::chars().
void elm::xom::String::free | ( | void | ) |
elm::xom::String::operator char_t * | ( | void | ) | const |
References elm::CString::buf.
References elm::CString::buf.