Logo Search packages:      
Sourcecode: xulrunner version File versions

NS_ConvertASCIItoUTF16 Class Reference

#include <nsStringAPI.h>

Inheritance diagram for NS_ConvertASCIItoUTF16:

nsString nsString nsStringContainer nsStringContainer

List of all members.

Detailed Description

conversion classes

Definition at line 112 of file nsString.h.

Public Types

typedef nsAString abstract_string_type
typedef PRUnichar char_type
typedef PRUint32 index_type
typedef NS_ConvertASCIItoUTF16 self_type
typedef PRUint32 size_type

Public Member Functions

void Adopt (const char_type *aData, size_type aLength=PR_UINT32_MAX)
const char_type * get () const
 NS_ConvertASCIItoUTF16 (const char *aData, PRUint32 aLength=PR_UINT32_MAX)
 NS_ConvertASCIItoUTF16 (const nsACString &aStr)
 NS_ConvertASCIItoUTF16 (const nsACString &aCString)
 NS_ConvertASCIItoUTF16 (const char *aCString, PRUint32 aLength)
 NS_ConvertASCIItoUTF16 (const char *aCString)
 NS_HIDDEN_ (void) Assign(const char_type *aData
 NS_HIDDEN_ (void) Assign(const self_type &aString)
 NS_HIDDEN_ (PRBool) IsEmpty() const
 NS_HIDDEN_ (size_type) Length() const
 NS_HIDDEN_ (PRBool) SetLength(PRUint32 aLen)
 NS_HIDDEN_ (char_type *) BeginWriting()
 NS_HIDDEN_ (const char_type *) EndReading() const
 NS_HIDDEN_ (const char_type *) BeginReading() const

Public Attributes

size_type aLength

Private Member Functions

 NS_ConvertASCIItoUTF16 (PRUnichar)
self_type & operator= (const self_type &aString)

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

Generated by  Doxygen 1.6.0   Back to index