Public Member Functions | Friends

js::AutoValueRooter Class Reference

#include <jscntxt.h>

Inheritance diagram for js::AutoValueRooter:
Collaboration diagram for js::AutoValueRooter:

List of all members.

Public Member Functions

 AutoValueRooter (JSContext *cx JS_GUARD_OBJECT_NOTIFIER_PARAM)
 AutoValueRooter (JSContext *cx, const Value &v JS_GUARD_OBJECT_NOTIFIER_PARAM)
 AutoValueRooter (JSContext *cx, jsval v JS_GUARD_OBJECT_NOTIFIER_PARAM)
void set (Value v)
void set (jsval v)
const Valuevalue () const
Valueaddr ()
const jsvaljsval_value () const
jsvaljsval_addr ()

Friends

void AutoGCRooter::trace (JSTracer *trc)
void MarkRuntime (JSTracer *trc)

Constructor & Destructor Documentation

js::AutoValueRooter::AutoValueRooter ( JSContext *cx  JS_GUARD_OBJECT_NOTIFIER_PARAM  )  [inline, explicit]
js::AutoValueRooter::AutoValueRooter ( JSContext cx,
const Value &v  JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]
js::AutoValueRooter::AutoValueRooter ( JSContext cx,
jsval JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]

Member Function Documentation

Value* js::AutoValueRooter::addr (  )  [inline]
jsval* js::AutoValueRooter::jsval_addr (  )  [inline]
const jsval& js::AutoValueRooter::jsval_value (  )  const [inline]
void js::AutoValueRooter::set ( jsval  v  )  [inline]
void js::AutoValueRooter::set ( Value  v  )  [inline]
const Value& js::AutoValueRooter::value (  )  const [inline]

Friends And Related Function Documentation

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

Reimplemented from js::AutoGCRooter.


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