Back to index

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

#include <xpcprivate.h>

Inheritance diagram for nsXPCJSContextStackIterator:
Inheritance graph
[legend]
Collaboration diagram for nsXPCJSContextStackIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void reset (in nsIJSContextStack stack)
 Resets this iterator to the beginning of this thread's stack.
boolean done ()
 Returns true if this iterator is at the end of its stack's contexts.
JSContext prev ()
 Returns the prev JSContext off of stack.

Private Attributes

const nsTArray
< JSContextAndFrame > * 
mStack
PRUint32 mPosition

Detailed Description

Definition at line 2770 of file xpcprivate.h.


Member Function Documentation

Returns true if this iterator is at the end of its stack's contexts.

Exceptions:
NS_ERROR_NOT_INITIALIZEDIf there has not been a previous call to reset.

Returns the prev JSContext off of stack.

Note that because we're iterating over a stack, this value would be the next popped value.

Exceptions:
NS_ERROR_NOT_INITIALIZEDIf there has not been a previous call to reset.
NS_ERROR_NOT_AVAILABLEif already at the end.

Resets this iterator to the beginning of this thread's stack.


Member Data Documentation

Definition at line 2778 of file xpcprivate.h.

Definition at line 2777 of file xpcprivate.h.


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