Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

cbString Class Reference

#include <cbstring.h>

Public Member Functions

 cbString ()
 cbString (cbcchr *p_str)
 cbString (cbString &str)
 ~cbString ()
cbbool IsEmpty ()
void Clear ()
cbuint GetLength ()
cbuint GetBufSize ()
cbcchrGetCurDir ()
void Format (const char *p_str,...)
cbchrCreateBuffer (cbsize size)
void AddToEndIfNotThere (cbcchr chr)
cbbool ReadFromFile (cbcchr *p_fileName)
cbbool WriteToFile (cbcchr *p_fileName, cbeFileFlags flags)
cbbool CopyFromPStr (cbcchr *p_start, cbcchr *p_end)
cbbool Insert (cbuint32 idx, cbcchr *p_text)
void Remove (cbsint start=-1, cbsint len=0)
void RemoveText (cbcchr *p_text)
void UpperCase ()
void LowerCase ()
void operator= (cbcchr *p_data)
void operator= (cbString &str)
cbbool operator== (cbcchr *p_data)
cbbool operator== (cbString &str)
cbbool operator!= (cbcchr *p_data)
cbbool operator!= (cbString &str)
void operator+= (cbcchr *p_data)
void operator+= (cbcchr chr)
cbString operator+ (cbcchr *p_data)
cbString operator- (cbcchr *p_data)
void operator-= (cbcchr *p_data)
 operator cbcchr * ()
 operator cbString * ()

Protected Member Functions

void init (cbchr *p_data=cbNULL, cbuint32 bufSize=0, cbbool holdMem=0)

Protected Attributes

cbuint32 m_bufSize
cbbool m_holdMem

Constructor & Destructor Documentation

cbString::cbString  )  [inline]

cbString::cbString cbcchr p_str  )  [inline]

cbString::cbString cbString str  )  [inline]

cbString::~cbString  )  [inline]

Member Function Documentation

void cbString::AddToEndIfNotThere cbcchr  chr  )  [inline]

void cbString::Clear  )  [inline]

cbbool cbString::CopyFromPStr cbcchr p_start,
cbcchr p_end

cbchr* cbString::CreateBuffer cbsize  size  )  [inline]

void cbString::Format const char *  p_str,

cbuint cbString::GetBufSize  )  [inline]

cbcchr* cbString::GetCurDir  )  [inline]

cbuint cbString::GetLength  )  [inline]

void cbString::init cbchr p_data = cbNULL,
cbuint32  bufSize = 0,
cbbool  holdMem = 0
[inline, protected]

cbbool cbString::Insert cbuint32  idx,
cbcchr p_text

cbbool cbString::IsEmpty  )  [inline]

void cbString::LowerCase  )  [inline]

cbString::operator cbcchr *  )  [inline]

cbString::operator cbString *  )  [inline]

cbbool cbString::operator!= cbString str  )  [inline]

cbbool cbString::operator!= cbcchr p_data  )  [inline]

cbString cbString::operator+ cbcchr p_data  )  [inline]

void cbString::operator+= cbcchr  chr  )  [inline]

void cbString::operator+= cbcchr p_data  ) 

cbString cbString::operator- cbcchr p_data  )  [inline]

void cbString::operator-= cbcchr p_data  )  [inline]

void cbString::operator= cbString str  )  [inline]

void cbString::operator= cbcchr p_data  ) 

cbbool cbString::operator== cbString str  )  [inline]

cbbool cbString::operator== cbcchr p_data  )  [inline]

cbbool cbString::ReadFromFile cbcchr p_fileName  )  [inline]

void cbString::Remove cbsint  start = -1,
cbsint  len = 0

void cbString::RemoveText cbcchr p_text  ) 

void cbString::UpperCase  )  [inline]

cbbool cbString::WriteToFile cbcchr p_fileName,
cbeFileFlags  flags

Field Documentation

cbuint32 cbString::m_bufSize [protected]

cbbool cbString::m_holdMem [protected]

cbchr* cbString::m_p_data [protected]

The documentation for this class was generated from the following files:
Generated on Mon Mar 8 23:30:20 2004 for CBCCL by doxygen 1.3.4