Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsDOMStringList Class Reference

#include <nsDOMLists.h>

Inheritance diagram for nsDOMStringList:
Inheritance graph
Collaboration diagram for nsDOMStringList:
Collaboration graph

List of all members.

Public Member Functions

 nsDOMStringList ()
virtual ~nsDOMStringList ()
Add (const nsAString &aName)
DOMString item (in unsigned long index)
boolean contains (in DOMString str)

Public Attributes

readonly attribute unsigned long length

Private Attributes

nsStringArray mNames

Detailed Description

Definition at line 47 of file nsDOMLists.h.

Constructor & Destructor Documentation

Definition at line 45 of file nsDOMLists.cpp.


Definition at line 49 of file nsDOMLists.cpp.


Member Function Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIDOMDOMSTRINGLIST PRBool nsDOMStringList::Add ( const nsAString &  aName) [inline]

Definition at line 56 of file nsDOMLists.h.

    return mNames.AppendString(aName);
boolean nsIDOMDOMStringList::contains ( in DOMString  str) [inherited]
DOMString nsIDOMDOMStringList::item ( in unsigned long  index) [inherited]

Member Data Documentation

readonly attribute unsigned long nsIDOMDOMStringList::length [inherited]

Definition at line 50 of file nsIDOMDOMStringList.idl.

nsStringArray nsDOMStringList::mNames [private]

Definition at line 62 of file nsDOMLists.h.

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