Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::xom::String Class Reference

#include <elm/xom/String.h>

+ Inheritance diagram for elm::xom::String:

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)
 
Stringoperator= (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)
 
CStringoperator= (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
 

Constructor & Destructor Documentation

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)

Member Function Documentation

void elm::xom::String::copy ( void  )
elm::xom::String::operator char_t * ( void  ) const

References elm::CString::buf.

String& elm::xom::String::operator= ( const String str)

References elm::CString::buf.


The documentation for this class was generated from the following file: