Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
nsACString_external Class Reference

#include <nsStringAPI.h>

Inheritance diagram for nsACString_external:
Inheritance graph
[legend]

List of all members.

Public Types

typedef char char_type
typedef nsACString_external self_type
typedef PRUint32 size_type
typedef PRUint32 index_type

Public Member Functions

 NS_HIDDEN_ (const char_type *) BeginReading() const
 NS_HIDDEN_ (const char_type *) EndReading() const
 NS_HIDDEN_ (char_type *) BeginWriting()
 NS_HIDDEN_ (PRBool) SetLength(PRUint32 aLen)
 NS_HIDDEN_ (size_type) Length() const
 NS_HIDDEN_ (PRBool) IsEmpty() const
 NS_HIDDEN_ (void) Assign(const self_type &aString)
 NS_HIDDEN_ (void) Assign(const char_type *aData

Public Attributes

size_type aLength

Detailed Description

Definition at line 948 of file nsStringAPI.h.


Member Typedef Documentation

Reimplemented in NS_COM, NS_COM, and NS_COM.

Definition at line 953 of file nsStringAPI.h.

Definition at line 956 of file nsStringAPI.h.

Definition at line 955 of file nsStringAPI.h.


Member Function Documentation

Definition at line 958 of file nsStringAPI.h.

  {
    const char_type *data;
    NS_CStringGetData(*this, &data);
    return data;
  }

Here is the call graph for this function:

Definition at line 965 of file nsStringAPI.h.

  {
    const char_type *data;
    PRUint32 len = NS_CStringGetData(*this, &data);
    return data + len;
  }

Here is the call graph for this function:

Definition at line 972 of file nsStringAPI.h.

  {
    char_type *data;
    NS_CStringGetMutableData(*this, PR_UINT32_MAX, &data);
    return data;
  }

Here is the call graph for this function:

Definition at line 979 of file nsStringAPI.h.

  {
    char_type *data;
    NS_CStringGetMutableData(*this, aLen, &data);
    return data != nsnull;
  }

Here is the call graph for this function:

Definition at line 986 of file nsStringAPI.h.

  {
    const char_type* data;
    return NS_CStringGetData(*this, &data);
  }

Here is the call graph for this function:

Definition at line 992 of file nsStringAPI.h.

  {
    return Length() == 0;
  }
nsACString_external::NS_HIDDEN_ ( void  ) const [inline]

Definition at line 997 of file nsStringAPI.h.

  {
    NS_CStringCopy(*this, aString);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 1001 of file nsStringAPI.h.


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