• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akregator

c4_String Class Reference

#include <mk4str.h>

List of all members.


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  ) 

const c4_String& c4_String::operator+= ( const c4_String &  s  ) 

bool c4_String::operator< ( const c4_String &  str  )  const

const c4_String & c4_String::operator= ( const c4_String &  s  ) 

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

bool operator!= ( const c4_String &  ,
const c4_String &   
) [friend]

c4_String operator+ ( const char *  ,
const c4_String &   
) [friend]

c4_String operator+ ( const c4_String &  ,
const char *   
) [friend]

c4_String operator+ ( const c4_String &  a,
const c4_String &  b 
) [friend]

Definition at line 154 of file string.cpp.

bool operator== ( const c4_String &  a,
const c4_String &  b 
) [friend]

Definition at line 232 of file string.cpp.


The documentation for this class was generated from the following files:
  • mk4str.h
  • string.cpp

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal