Public Member Functions | Protected Member Functions | Friends

js::AutoIdArray Class Reference

#include <jscntxt.h>

Inheritance diagram for js::AutoIdArray:
Collaboration diagram for js::AutoIdArray:

List of all members.

Public Member Functions

 AutoIdArray (JSContext *cx, JSIdArray *ida JS_GUARD_OBJECT_NOTIFIER_PARAM)
 ~AutoIdArray ()
bool operator! ()
jsid operator[] (size_t i) const
size_t length () const
JSIdArraysteal ()

Protected Member Functions

void trace (JSTracer *trc)

Friends

void AutoGCRooter::trace (JSTracer *trc)

Constructor & Destructor Documentation

js::AutoIdArray::AutoIdArray ( JSContext cx,
JSIdArray *ida  JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]
js::AutoIdArray::~AutoIdArray (  )  [inline]

Member Function Documentation

size_t js::AutoIdArray::length (  )  const [inline]
bool js::AutoIdArray::operator! (  )  [inline]
jsid js::AutoIdArray::operator[] ( size_t  i  )  const [inline]
JSIdArray* js::AutoIdArray::steal (  )  [inline]
void js::AutoIdArray::trace ( JSTracer trc  )  [inline, protected]

Reimplemented from js::AutoGCRooter.


Friends And Related Function Documentation

void AutoGCRooter::trace ( JSTracer trc  )  [friend]

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