Public Member Functions | Protected Attributes

FixedString Class Reference

List of all members.

Public Member Functions

 FixedString (const char *p=0)
FixedStringoperator= (const FixedString &f)
FixedStringoperator= (const char *p)
FixedStringoperator= (const BufferString &b)
bool operator== (const char *) const
bool operator!= (const char *s) const
bool operator== (const FixedString &f) const
bool operator!= (const FixedString &f) const
bool operator! () const
bool isNull () const
bool isEmpty () const
int size () const
 operator const char * () const
const char * str () const

Protected Attributes

const char * ptr_

Detailed Description

Class that holds a text string, and provides basic services around it. The string is assumed to be owned by someone else or be static. In any case, it is assumed be be alive and well for the lifetime of the FixedString.


Constructor & Destructor Documentation

FixedString::FixedString ( const char *  p = 0  )  [inline]

Member Function Documentation

bool FixedString::isEmpty (  )  const [inline]
bool FixedString::isNull (  )  const [inline]
FixedString::operator const char * (  )  const [inline]
bool FixedString::operator! (  )  const [inline]
bool FixedString::operator!= ( const char *  s  )  const [inline]
bool FixedString::operator!= ( const FixedString f  )  const [inline]
FixedString& FixedString::operator= ( const FixedString f  )  [inline]
FixedString& FixedString::operator= ( const char *  p  )  [inline]
FixedString& FixedString::operator= ( const BufferString b  )  [inline]
bool FixedString::operator== ( const char *   )  const
bool FixedString::operator== ( const FixedString f  )  const [inline]
int FixedString::size (  )  const
const char* FixedString::str (  )  const [inline]

Member Data Documentation

const char* FixedString::ptr_ [protected]