Public Member Functions

nsCStringArray Class Reference

#include <nsVoidArray.h>

Inheritance diagram for nsCStringArray:
Collaboration diagram for nsCStringArray:

List of all members.

Public Member Functions

 nsCStringArray (void)
 nsCStringArray (PRInt32 aCount)
 ~nsCStringArray (void)
nsCStringArrayoperator= (const nsCStringArray &other)
PRInt32 Count (void) const
void CStringAt (PRInt32 aIndex, nsACString &aCString) const
nsCString_externalCStringAt (PRInt32 aIndex) const
nsCString_externaloperator[] (PRInt32 aIndex) const
PRInt32 IndexOf (const nsACString &aPossibleString) const
PRBool InsertCStringAt (const nsACString &aCString, PRInt32 aIndex)
PRBool ReplaceCStringAt (const nsACString &aCString, PRInt32 aIndex)
PRBool AppendCString (const nsACString &aCString)
PRBool RemoveCString (const nsACString &aCString)
PRBool RemoveCStringAt (PRInt32 aIndex)
void Clear (void)
void Compact (void)
void Sort (void)
void Sort (nsCStringArrayComparatorFunc aFunc, void *aData)
PRBool EnumerateForwards (nsCStringArrayEnumFunc aFunc, void *aData)
PRBool EnumerateBackwards (nsCStringArrayEnumFunc aFunc, void *aData)

Constructor & Destructor Documentation

nsCStringArray::nsCStringArray ( void   ) 
nsCStringArray::nsCStringArray ( PRInt32  aCount  ) 
nsCStringArray::~nsCStringArray ( void   ) 

Member Function Documentation

PRBool nsCStringArray::AppendCString ( const nsACString aCString  )  [inline]
void nsCStringArray::Clear ( void   ) 

Reimplemented from nsVoidArray.

void nsCStringArray::Compact ( void   )  [inline]

Reimplemented from nsVoidArray.

PRInt32 nsCStringArray::Count ( void   )  const [inline]

Reimplemented from nsVoidArray.

nsCString_external* nsCStringArray::CStringAt ( PRInt32  aIndex  )  const
void nsCStringArray::CStringAt ( PRInt32  aIndex,
nsACString aCString 
) const
PRBool nsCStringArray::EnumerateBackwards ( nsCStringArrayEnumFunc  aFunc,
void *  aData 
)

Reimplemented from nsVoidArray.

PRBool nsCStringArray::EnumerateForwards ( nsCStringArrayEnumFunc  aFunc,
void *  aData 
)

Reimplemented from nsVoidArray.

PRInt32 nsCStringArray::IndexOf ( const nsACString aPossibleString  )  const
PRBool nsCStringArray::InsertCStringAt ( const nsACString aCString,
PRInt32  aIndex 
)
nsCStringArray& nsCStringArray::operator= ( const nsCStringArray other  ) 
nsCString_external* nsCStringArray::operator[] ( PRInt32  aIndex  )  const [inline]

Reimplemented from nsVoidArray.

PRBool nsCStringArray::RemoveCString ( const nsACString aCString  ) 
PRBool nsCStringArray::RemoveCStringAt ( PRInt32  aIndex  ) 
PRBool nsCStringArray::ReplaceCStringAt ( const nsACString aCString,
PRInt32  aIndex 
)
void nsCStringArray::Sort ( nsCStringArrayComparatorFunc  aFunc,
void *  aData 
)

Reimplemented from nsVoidArray.

void nsCStringArray::Sort ( void   ) 

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