Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

txList Class Reference

#include <txList.h>

List of all members.


Detailed Description

Represents an ordered list of Object pointers. Modeled after a Java 2 List.

Definition at line 49 of file txList.h.


Public Member Functions

nsresult add (void *objPtr)
void clear ()
void * get (int index)
PRInt32 getLength ()
nsresult insert (int index, void *objPtr)
PRBool isEmpty ()
void * remove (void *objPtr)
 txList ()
 ~txList ()

Protected Member Functions

ListItem * getFirstItem ()
ListItem * getLastItem ()
ListItem * remove (ListItem *sItem)

Private Member Functions

nsresult insertAfter (void *objPtr, ListItem *sItem)
nsresult insertBefore (void *objPtr, ListItem *sItem)
 txList (const txList &aOther)

Private Attributes

ListItem * firstItem
PRInt32 itemCount
ListItem * lastItem

Friends

class txListIterator

Classes

struct  ListItem

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

Generated by  Doxygen 1.6.0   Back to index