SkyGI::String Class Reference

Inheritance diagram for SkyGI::String:
[legend]
List of all members.

Public Types

enum  { iPos = -1 }
typedef std::string::iterator iterator
typedef std::string::const_iterator const_iterator

Public Member Functions

 String ()
 String (int iLen, char iFiller)
 String (const char *pString)
 String (const char *pString, int iLen)
 String (const std::string &cString)
 String (const std::string &cString, int iPos, int iLen)
 String (const String &cString)
 String (const String &cString, int iPos, int iLen)
 String (const_iterator cBegin, const_iterator cEnd)
size_t Length () const
size_t CountChars () const
StringResize (int iNewLen)
StringFormat (const char *pFormat, va_list pArgs)
StringFormat (const char *pFormat,...)
StringStrip ()
StringLStrip ()
StringRStrip ()
StringLower ()
StringUpper ()
int Compare (const char *pString) const
int Compare (const std::string &cOther) const
int Compare (const String &cOther) const
int CompareNoCase (const char *pString) const
int CompareNoCase (const std::string &cOther) const
int CompareNoCase (const String &cOther) const
int CompareN (const char *pString, int iLen) const
int CompareN (const std::string &cOther, int iLen) const
int CompareN (const String &cOther, int iLen) const
int CompareNoCaseN (const char *pString, int iLen) const
int CompareNoCaseN (const std::string &cOther, int iLen) const
int CompareNoCaseN (const String &cOther, int iLen) const
Stringoperator= (const char *pString)
Stringoperator= (const std::string &cString)
Stringoperator= (const String &cString)
Stringoperator+= (const char *pString)
Stringoperator+= (const char nChar)
Stringoperator+= (const std::string &cString)
Stringoperator+= (const String &cString)
String operator+ (const char *pString) const
String operator+ (const char nChar) const
String operator+ (const std::string &cString) const
String operator+ (const String &cString) const
bool operator== (const char *pString) const
bool operator== (const std::string &cString) const
bool operator== (const String &cString) const
bool operator!= (const char *pString) const
bool operator!= (const std::string &cString) const
bool operator!= (const String &cString) const
bool operator< (const char *pString) const
bool operator< (const std::string &cString) const
bool operator< (const String &cString) const
bool operator> (const char *pString) const
bool operator> (const std::string &cString) const
bool operator> (const String &cString) const
char operator[] (size_t iPos) const
char & operator[] (size_t iPos)
 operator const std::string & () const
std::string & str ()
const std::string & const_str () const
const char * c_str () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
size_t size () const
bool empty () const
void resize (size_t iLen)
void resize (size_t iLen, char iFiller)
void reserve (size_t iLen)
Stringerase (size_t iPos=0, size_t iLen=iPos)
iterator erase (iterator i)
iterator erase (iterator cFirst, iterator cLast)
String substr (size_t iPos=0, size_t iLen=iPos) const
size_t find (const String &cStr, size_t iPos=0) const
size_t findNoCase (const String &cStr, size_t iPos=0) const
size_t insert (size_t iPos, const char *str)
size_t insert (size_t iPos, const String &pString)

Detailed Description

Examples:

clipboard.cpp, diskdevice.cpp, dnd.cpp, eventthread.cpp, listview.cpp, localization.cpp, networkinterface.cpp, radiobutton.cpp, textview.cpp, thread.cpp, and videoview.cpp.


Member Typedef Documentation

typedef std::string::iterator SkyGI::String::iterator

typedef std::string::const_iterator SkyGI::String::const_iterator


Member Enumeration Documentation

anonymous enum

Enumerator:
iPos 


Constructor & Destructor Documentation

String::String (  ) 

String::String ( int  iLen,
char  iFiller 
)

String::String ( const char *  pString  ) 

String::String ( const char *  pString,
int  iLen 
)

String::String ( const std::string &  cString  ) 

String::String ( const std::string &  cString,
int  iPos,
int  iLen 
)

String::String ( const String cString  ) 

String::String ( const String cString,
int  iPos,
int  iLen 
)

String::String ( const_iterator  cBegin,
const_iterator  cEnd 
)


Member Function Documentation

size_t String::Length (  )  const

size_t String::CountChars (  )  const

String& SkyGI::String::Resize ( int  iNewLen  ) 

String & String::Format ( const char *  pFormat,
va_list  pArgs 
)

Examples:
videoview.cpp.

String & String::Format ( const char *  pFormat,
  ... 
)

String & String::Strip (  ) 

String & String::LStrip (  ) 

String & String::RStrip (  ) 

String & String::Lower (  ) 

String & String::Upper (  ) 

int String::Compare ( const char *  pString  )  const

int String::Compare ( const std::string &  cOther  )  const

int String::Compare ( const String cOther  )  const

int String::CompareNoCase ( const char *  pString  )  const

int String::CompareNoCase ( const std::string &  cOther  )  const

int String::CompareNoCase ( const String cOther  )  const

int String::CompareN ( const char *  pString,
int  iLen 
) const

int String::CompareN ( const std::string &  cOther,
int  iLen 
) const

int String::CompareN ( const String cOther,
int  iLen 
) const

int String::CompareNoCaseN ( const char *  pString,
int  iLen 
) const

int String::CompareNoCaseN ( const std::string &  cOther,
int  iLen 
) const

int String::CompareNoCaseN ( const String cOther,
int  iLen 
) const

String & String::operator= ( const char *  pString  ) 

String & String::operator= ( const std::string &  cString  ) 

String & String::operator= ( const String cString  ) 

String & String::operator+= ( const char *  pString  ) 

String & String::operator+= ( const char  nChar  ) 

String & String::operator+= ( const std::string &  cString  ) 

String & String::operator+= ( const String cString  ) 

String String::operator+ ( const char *  pString  )  const

String String::operator+ ( const char  nChar  )  const

String String::operator+ ( const std::string &  cString  )  const

String String::operator+ ( const String cString  )  const

bool String::operator== ( const char *  pString  )  const

bool String::operator== ( const std::string &  cString  )  const

bool String::operator== ( const String cString  )  const

bool String::operator!= ( const char *  pString  )  const

bool String::operator!= ( const std::string &  cString  )  const

bool String::operator!= ( const String cString  )  const

bool String::operator< ( const char *  pString  )  const

bool String::operator< ( const std::string &  cString  )  const

bool String::operator< ( const String cString  )  const

bool String::operator> ( const char *  pString  )  const

bool String::operator> ( const std::string &  cString  )  const

bool String::operator> ( const String cString  )  const

char String::operator[] ( size_t  iPos  )  const

char & String::operator[] ( size_t  iPos  ) 

String::operator const std::string & (  )  const

std::string & String::str (  ) 

const std::string & String::const_str (  )  const

const char * String::c_str (  )  const

Examples:
videoview.cpp.

String::iterator String::begin (  ) 

String::iterator String::end (  ) 

String::const_iterator String::begin (  )  const

String::const_iterator String::end (  )  const

size_t String::size (  )  const

bool String::empty (  )  const

Examples:
dnd.cpp.

void String::resize ( size_t  iLen  ) 

void String::resize ( size_t  iLen,
char  iFiller 
)

void String::reserve ( size_t  iLen  ) 

String & String::erase ( size_t  iPos = 0,
size_t  iLen = iPos 
)

String::iterator String::erase ( iterator  i  ) 

String::iterator String::erase ( iterator  cFirst,
iterator  cLast 
)

String String::substr ( size_t  iPos = 0,
size_t  iLen = iPos 
) const

size_t String::find ( const String cStr,
size_t  iPos = 0 
) const

size_t String::findNoCase ( const String cStr,
size_t  iPos = 0 
) const

size_t String::insert ( size_t  iPos,
const char *  str 
)

size_t String::insert ( size_t  iPos,
const String pString 
)


Generated on Thu Dec 13 18:14:11 2007 for SkyGI by  doxygen 1.5.1-p1