akregator
c4_String Class Reference
#include <mk4str.h>
Detailed Description
An efficient string class, modeled after the MFC version.Definition at line 102 of file mk4str.h.
Public Member Functions | |
| c4_String (const c4_String &s) | |
| c4_String (const void *ptr, int len) | |
| c4_String (const unsigned char *str) | |
| c4_String (const char *str) | |
| c4_String (char ch, int nDup=1) | |
| c4_String () | |
| int | Compare (const char *str) const |
| int | CompareNoCase (const char *str) const |
| void | Empty () |
| int | Find (const char *sub) const |
| int | Find (char ch) const |
| int | FindOneOf (const char *set) const |
| int | GetLength () const |
| bool | IsEmpty () const |
| c4_String | Left (int nCount) const |
| c4_String | Mid (int nFirst, int nCount=25000) const |
| operator const char * () const | |
| operator const unsigned char * () const | |
| const c4_String & | operator+= (const char *s) |
| const c4_String & | operator+= (const c4_String &s) |
| bool | operator< (const c4_String &str) const |
| const c4_String & | operator= (const c4_String &) |
| char | operator[] (int i) const |
| int | ReverseFind (char ch) const |
| c4_String | Right (int nCount) const |
| c4_String | SpanExcluding (const char *set) const |
| c4_String | SpanIncluding (const char *set) const |
| ~c4_String () | |
Friends | |
| bool | operator!= (const c4_String &, const c4_String &) |
| c4_String | operator+ (const char *, const c4_String &) |
| c4_String | operator+ (const c4_String &, const char *) |
| c4_String | operator+ (const c4_String &, const c4_String &) |
| bool | operator== (const c4_String &, const c4_String &) |
Constructor & Destructor Documentation
| c4_String::c4_String | ( | ) |
| c4_String::c4_String | ( | char | ch, | |
| int | nDup = 1 | |||
| ) |
Definition at line 116 of file string.cpp.
| c4_String::c4_String | ( | const char * | str | ) |
Definition at line 128 of file string.cpp.
| c4_String::c4_String | ( | const unsigned char * | str | ) |
| c4_String::c4_String | ( | const void * | ptr, | |
| int | len | |||
| ) |
| c4_String::c4_String | ( | const c4_String & | s | ) |
Definition at line 132 of file string.cpp.
| c4_String::~c4_String | ( | ) |
Definition at line 139 of file string.cpp.
Member Function Documentation
| int c4_String::Compare | ( | const char * | str | ) | const |
Definition at line 237 of file string.cpp.
| int c4_String::CompareNoCase | ( | const char * | str | ) | const |
Definition at line 241 of file string.cpp.
| void c4_String::Empty | ( | ) |
| int c4_String::Find | ( | const char * | sub | ) | const |
Definition at line 260 of file string.cpp.
| int c4_String::Find | ( | char | ch | ) | const |
Definition at line 245 of file string.cpp.
| int c4_String::FindOneOf | ( | const char * | set | ) | const |
Definition at line 255 of file string.cpp.
| int c4_String::GetLength | ( | ) | const |
| bool c4_String::IsEmpty | ( | ) | const |
| c4_String c4_String::Left | ( | int | nCount | ) | const |
Definition at line 218 of file string.cpp.
| c4_String c4_String::Mid | ( | int | nFirst, | |
| int | nCount = 25000 | |||
| ) | const |
Definition at line 205 of file string.cpp.
| c4_String::operator const char * | ( | ) | const |
| c4_String::operator const unsigned char * | ( | ) | const |
| const c4_String& c4_String::operator+= | ( | const char * | s | ) |
| bool c4_String::operator< | ( | const c4_String & | str | ) | const |
Definition at line 143 of file string.cpp.
| char c4_String::operator[] | ( | int | i | ) | const |
| int c4_String::ReverseFind | ( | char | ch | ) | const |
Definition at line 250 of file string.cpp.
| c4_String c4_String::Right | ( | int | nCount | ) | const |
Definition at line 225 of file string.cpp.
| c4_String c4_String::SpanExcluding | ( | const char * | set | ) | const |
Definition at line 269 of file string.cpp.
| c4_String c4_String::SpanIncluding | ( | const char * | set | ) | const |
Definition at line 265 of file string.cpp.
Friends And Related Function Documentation
Definition at line 154 of file string.cpp.
Definition at line 232 of file string.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference