nsCString Class Reference

#include <nsStringAPI.h>

Inheritance diagram for nsCString:

Inheritance graph
[legend]
Collaboration diagram for nsCString:

Collaboration graph
[legend]

List of all members.

Public Types

typedef nsCString self_type
typedef nsACString abstract_string_type

Public Member Functions

 nsCString ()
 nsCString (const self_type &aString)
 nsCString (const abstract_string_type &aReadable)
 nsCString (const char_type *aData, size_type aLength=PR_UINT32_MAX)
 ~nsCString ()
const char_typeget () const
self_typeoperator= (const self_type &aString)
self_typeoperator= (const abstract_string_type &aReadable)
self_typeoperator= (const char_type *aPtr)
self_typeoperator= (char_type aChar)
void Adopt (const char_type *aData, size_type aLength=PR_UINT32_MAX)

Protected Member Functions

 nsCString (const char_type *aData, size_type aLength, PRUint32 aFlags)


Member Typedef Documentation


Constructor & Destructor Documentation

nsCString::nsCString (  )  [inline]

nsCString::nsCString ( const self_type aString  )  [inline]

nsCString::nsCString ( const abstract_string_type aReadable  )  [inline, explicit]

nsCString::nsCString ( const char_type aData,
size_type  aLength = PR_UINT32_MAX 
) [inline, explicit]

nsCString::~nsCString (  )  [inline]

nsCString::nsCString ( const char_type aData,
size_type  aLength,
PRUint32  aFlags 
) [inline, protected]


Member Function Documentation

const char_type* nsCString::get (  )  const [inline]

self_type& nsCString::operator= ( const self_type aString  )  [inline]

self_type& nsCString::operator= ( const abstract_string_type aReadable  )  [inline]

self_type& nsCString::operator= ( const char_type aPtr  )  [inline]

self_type& nsCString::operator= ( char_type  aChar  )  [inline]

void nsCString::Adopt ( const char_type aData,
size_type  aLength = PR_UINT32_MAX 
) [inline]


The documentation for this class was generated from the following file:

Generated Mozilla by doxygen 1.5.6