![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/string/CString.h>
Inheritance diagram for CString:Public Member Functions | |
| 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 |
| 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 char *str) const |
| bool | endsWith (const CString str) const |
| bool | endsWith (const String &str) const |
| operator const char * (void) const | |
Protected Attributes | |
| const char * | buf |
Wrapper around C usual string.
Referenced by CString::endsWith(), CString::startsWith(), and CString::substring().
|
inline |
|
inline |
References CString::buf.
Referenced by CString::operator[]().
|
inline |
References CString::buf.
Referenced by String::asNullTerminated(), Path::asSysString(), XOMElementSerializer::beginObject(), Builder::build(), CString::concat(), String::copy(), VarExpander::expand(), access_t< cstring >::get(), access_t< string >::get(), access_t< const cstring & >::get(), access_t< const string & >::get(), Attribute::getValue(), HashKey< CString >::hash(), Element::makeNS(), Plugger::plugFile(), OSExpander::resolve(), VarExpander::write(), Serializer::writeEscaped(), and Serializer::writeRaw().
|
inline |
References CString::buf, and elm::str().
Referenced by elm::operator!=(), elm::operator<(), elm::operator<=(), elm::operator==(), elm::operator>(), and elm::operator>=().
References CString::chars(), String::chars(), CString::length(), String::length(), and elm::str().
Referenced by elm::operator+().
References CString::chars(), String::chars(), CString::length(), String::length(), and elm::str().
|
inline |
References CString::CString(), and elm::str().
References CString::buf, String::chars(), CString::length(), String::length(), and elm::str().
References CString::buf, String::chars(), CString::length(), String::length(), and elm::str().
|
inline |
References CString::indexOf().
Referenced by CString::indexOf().
|
inline |
References CString::buf, and elm::io::p().
References CString::buf.
Referenced by CString::operator bool().
|
inline |
References CString::lastIndexOf(), and CString::length().
Referenced by elm::_unqualify(), and CString::lastIndexOf().
|
inline |
References CString::buf, and elm::io::p().
|
inline |
References CString::buf.
Referenced by CString::concat(), CString::endsWith(), Parser::isEmpty(), CString::lastIndexOf(), Serializer::writeEscaped(), and Serializer::writeRaw().
References CString::isEmpty().
|
inline |
References CString::buf.
References CString::buf, and elm::str().
|
inline |
References CString::charAt().
|
inline |
References CString::CString(), and elm::str().
References CString::buf, String::chars(), String::length(), and elm::str().
References CString::buf, String::chars(), String::length(), and elm::str().
|
inline |
References CString::CString(), and CString::buf.
Referenced by elm::_unqualify().
|
inline |
References CString::buf.
|
protected |
Referenced by CString::charAt(), CString::chars(), CString::compare(), String::copy(), CString::endsWith(), String::escape(), String::free(), CString::indexOf(), CString::isEmpty(), CString::lastIndexOf(), CString::length(), String::operator char_t *(), CString::operator const char *(), CString::operator=(), String::operator=(), CString::startsWith(), and CString::substring().