Classes | Defines | Typedefs | Functions

nsString.h File Reference

#include "nsSubstring.h"
#include "nsDependentSubstring.h"
#include "nsReadableUtils.h"
#include <new>
#include "string-template-def-unichar.h"
#include "nsTString.h"
#include "string-template-undef.h"
#include "string-template-def-char.h"
#include "nsDependentString.h"
#include "nsLiteralString.h"
#include "nsPromiseFlatString.h"
#include "nsMemory.h"
#include <string.h>
#include <stdio.h>
#include "plhash.h"
Include dependency graph for nsString.h:
This graph shows which files directly or indirectly include this file:

Classes

class  NS_LossyConvertUTF16toASCII
 A helper class that converts a UTF-16 string to ASCII in a lossy manner. More...
class  NS_ConvertASCIItoUTF16
class  NS_ConvertUTF16toUTF8
 A helper class that converts a UTF-16 string to UTF-8. More...
class  NS_ConvertUTF8toUTF16

Defines

#define MOZ_STRING_WITH_OBSOLETE_API   1
#define kRadix10   (10)
#define kRadix16   (16)
#define kAutoDetect   (100)
#define kRadixUnknown   (kAutoDetect+1)
#define IGNORE_CASE   (PR_TRUE)

Typedefs

typedef nsAutoString nsVoidableString

Functions

PRInt32 MinInt (PRInt32 x, PRInt32 y)
PRInt32 MaxInt (PRInt32 x, PRInt32 y)
void Recycle (char *aBuffer)
 Deprecated: don't use |Recycle|, just call |nsMemoryFree| directly.
void Recycle (PRUnichar *aBuffer)

Define Documentation

#define IGNORE_CASE   (PR_TRUE)
#define kAutoDetect   (100)
#define kRadix10   (10)
#define kRadix16   (16)
#define kRadixUnknown   (kAutoDetect+1)
#define MOZ_STRING_WITH_OBSOLETE_API   1

Typedef Documentation


Function Documentation

PRInt32 MaxInt ( PRInt32  x,
PRInt32  y 
) [inline]
PRInt32 MinInt ( PRInt32  x,
PRInt32  y 
) [inline]
void Recycle ( char *  aBuffer  )  [inline]

Deprecated: don't use |Recycle|, just call |nsMemoryFree| directly.

Return the given buffer to the heap manager. Calls allocator::Free()

void Recycle ( PRUnichar aBuffer  )  [inline]