Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
ElementArray Class Reference

List of all members.

Public Member Functions

virtual ~ElementArray ()
ElementInfoElementAt (PRInt32 aIndex) const
ElementInfooperator[] (PRInt32 aIndex) const
void Clear ()

Detailed Description

Definition at line 1560 of file nsBookmarksService.cpp.


Constructor & Destructor Documentation

Definition at line 1576 of file nsBookmarksService.cpp.

{
    Clear();
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 1582 of file nsBookmarksService.cpp.

{
    PRInt32 index = Count();
    while (--index >= 0)
    {
        ElementInfo* elementInfo = ElementAt(index);
        delete elementInfo;
    }
    nsAutoVoidArray::Clear();
}

Here is the call graph for this function:

Here is the caller graph for this function:

ElementInfo* ElementArray::ElementAt ( PRInt32  aIndex) const [inline]

Definition at line 1565 of file nsBookmarksService.cpp.

                                               {
    return NS_STATIC_CAST(ElementInfo*, nsAutoVoidArray::ElementAt(aIndex));
  }

Here is the caller graph for this function:

ElementInfo* ElementArray::operator[] ( PRInt32  aIndex) const [inline]

Definition at line 1569 of file nsBookmarksService.cpp.

                                                {
    return ElementAt(aIndex);
  }

Here is the call graph for this function:


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