Public Member Functions | Friends

js::AutoStringRooter Class Reference

#include <jscntxt.h>

Inheritance diagram for js::AutoStringRooter:
Collaboration diagram for js::AutoStringRooter:

List of all members.

Public Member Functions

 AutoStringRooter (JSContext *cx, JSString *str=NULL JS_GUARD_OBJECT_NOTIFIER_PARAM)
void setString (JSString *str)
JSStringstring () const
JSString ** addr ()

Friends

void AutoGCRooter::trace (JSTracer *trc)

Constructor & Destructor Documentation

js::AutoStringRooter::AutoStringRooter ( JSContext cx,
JSString str = NULL JS_GUARD_OBJECT_NOTIFIER_PARAM 
) [inline]

Member Function Documentation

JSString** js::AutoStringRooter::addr (  )  [inline]
void js::AutoStringRooter::setString ( JSString str  )  [inline]
JSString* js::AutoStringRooter::string (  )  const [inline]

Friends And Related Function Documentation

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

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