Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_BufferedString Class Reference

#include <buffered_string.h>

List of all members.

Public Member Functions

int length () const
 Attributes:.
const char * data () const
const char * c_str () const
CL_StringA to_string () const
 operator const char * () const
 operator CL_StringA () const
CL_BufferedStringoperator= (const CL_BufferedString &other)
 Operations:.
bool operator< (const CL_BufferedString &str) const
bool operator< (const char *str) const
bool operator< (const CL_StringA &str) const
bool operator> (const CL_BufferedString &str) const
bool operator> (const char *str) const
bool operator> (const CL_StringA &str) const
bool operator== (const CL_BufferedString &str) const
bool operator== (const char *str) const
bool operator== (const CL_StringA &str) const
bool operator!= (const CL_BufferedString &str) const
bool operator!= (const char *str) const
bool operator!= (const CL_StringA &str) const

Private Member Functions

 CL_BufferedString ()
 Construction:.
 CL_BufferedString (CL_BufferedStringBuffer *string_buffer, int index)
 CL_BufferedString (const char *str, int str_len)
 CL_BufferedString (const CL_BufferedString &copy)
 ~CL_BufferedString ()

Private Attributes

CL_BufferedStringBufferstring_buffer
 Implementation:.
int index
const char * str
int str_len

Friends

class CL_BufferedStringBuffer


Detailed Description

clanCore="Text" header=core.h

Definition at line 41 of file buffered_string.h.


Constructor & Destructor Documentation

CL_BufferedString::CL_BufferedString  )  [private]
 

Construction:.

Definition at line 36 of file buffered_string.cpp.

CL_BufferedString::CL_BufferedString CL_BufferedStringBuffer string_buffer,
int  index
[private]
 

Definition at line 41 of file buffered_string.cpp.

CL_BufferedString::CL_BufferedString const char *  str,
int  str_len
[private]
 

Definition at line 46 of file buffered_string.cpp.

CL_BufferedString::CL_BufferedString const CL_BufferedString copy  )  [private]
 

Definition at line 51 of file buffered_string.cpp.

CL_BufferedString::~CL_BufferedString  )  [private]
 

Definition at line 56 of file buffered_string.cpp.


Member Function Documentation

const char * CL_BufferedString::c_str  )  const
 

Definition at line 79 of file buffered_string.cpp.

References CL_BufferedStringBuffer::get_data(), index, str, and string_buffer.

Referenced by operator const char *().

const char * CL_BufferedString::data  )  const
 

Definition at line 71 of file buffered_string.cpp.

References CL_BufferedStringBuffer::get_data(), index, str, and string_buffer.

Referenced by operator<(), operator==(), and operator>().

int CL_BufferedString::length  )  const
 

Attributes:.

Definition at line 63 of file buffered_string.cpp.

References CL_BufferedStringBuffer::get_length(), index, str_len, and string_buffer.

Referenced by operator<(), operator==(), and operator>().

CL_BufferedString::operator CL_StringA  )  const
 

Definition at line 102 of file buffered_string.cpp.

References to_string().

CL_BufferedString::operator const char *  )  const
 

Definition at line 97 of file buffered_string.cpp.

References c_str().

bool CL_BufferedString::operator!= const CL_StringA str  )  const
 

Definition at line 216 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator!= const char *  str  )  const
 

Definition at line 210 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator!= const CL_BufferedString str  )  const
 

Definition at line 205 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator< const CL_StringA str  )  const
 

Definition at line 141 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator< const char *  str  )  const
 

Definition at line 135 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator< const CL_BufferedString str  )  const
 

Definition at line 119 of file buffered_string.cpp.

References data(), length(), and str.

CL_BufferedString & CL_BufferedString::operator= const CL_BufferedString other  ) 
 

Operations:.

Definition at line 110 of file buffered_string.cpp.

References index, str, str_len, and string_buffer.

bool CL_BufferedString::operator== const CL_StringA str  )  const
 

Definition at line 199 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator== const char *  str  )  const
 

Definition at line 193 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator== const CL_BufferedString str  )  const
 

Definition at line 175 of file buffered_string.cpp.

References data(), length(), and str.

bool CL_BufferedString::operator> const CL_StringA str  )  const
 

Definition at line 169 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator> const char *  str  )  const
 

Definition at line 163 of file buffered_string.cpp.

References str.

bool CL_BufferedString::operator> const CL_BufferedString str  )  const
 

Definition at line 147 of file buffered_string.cpp.

References data(), length(), and str.

std::string CL_BufferedString::to_string  )  const
 

Definition at line 87 of file buffered_string.cpp.

References CL_BufferedStringBuffer::get_data(), CL_BufferedStringBuffer::get_length(), index, str, str_len, and string_buffer.

Referenced by operator CL_StringA().


Friends And Related Function Documentation

friend class CL_BufferedStringBuffer [friend]
 

Definition at line 107 of file buffered_string.h.


Member Data Documentation

int CL_BufferedString::index [private]
 

Definition at line 101 of file buffered_string.h.

Referenced by c_str(), data(), length(), operator=(), and to_string().

const char* CL_BufferedString::str [private]
 

Definition at line 103 of file buffered_string.h.

Referenced by c_str(), data(), operator!=(), operator<(), operator=(), operator==(), operator>(), and to_string().

int CL_BufferedString::str_len [private]
 

Definition at line 105 of file buffered_string.h.

Referenced by length(), operator=(), and to_string().

CL_BufferedStringBuffer* CL_BufferedString::string_buffer [private]
 

Implementation:.

Definition at line 99 of file buffered_string.h.

Referenced by c_str(), data(), length(), operator=(), and to_string().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:17 2005 for npcore by  doxygen 1.4.1