|
COOPY » Guide
version 0.6.5
|
Javascript interpreter. More...
#include <JsWrap.h>
Public Member Functions | |
| JsWrap () | |
| virtual | ~JsWrap () |
| std::string | apply (const std::string &str) |
| bool | send (const std::string &function_name, const std::string &str) |
| bool | send (const std::string &function_name, jsval *val) |
| JSContext * | context () const |
| JSObject * | global () const |
| int | getId () const |
| void | setCurrentId (int i) const |
| bool | isCurrentId (int i) const |
| JsWrap::JsWrap | ( | ) |
Definition at line 170 of file JsWrap.cpp.
References js_global, and js_instance_count.
| JsWrap::~JsWrap | ( | ) | [virtual] |
Definition at line 175 of file JsWrap.cpp.
References js_global, js_instance_count, and NULL.
| std::string JsWrap::apply | ( | const std::string & | str | ) |
Definition at line 183 of file JsWrap.cpp.
References js_global.
Referenced by coopy::store::socialcalc::SocialCalcSheet::jsSetup(), and main().
| JSContext * JsWrap::context | ( | ) | const |
Definition at line 198 of file JsWrap.cpp.
| int JsWrap::getId | ( | ) | const |
Definition at line 209 of file JsWrap.cpp.
References js_global.
| JSObject * JsWrap::global | ( | ) | const |
Definition at line 203 of file JsWrap.cpp.
| bool JsWrap::isCurrentId | ( | int | i | ) | const |
Definition at line 219 of file JsWrap.cpp.
References js_global.
| bool JsWrap::send | ( | const std::string & | function_name, |
| const std::string & | str | ||
| ) |
| bool JsWrap::send | ( | const std::string & | function_name, |
| jsval * | val | ||
| ) |
Definition at line 193 of file JsWrap.cpp.
References js_global.
| void JsWrap::setCurrentId | ( | int | i | ) | const |
Definition at line 214 of file JsWrap.cpp.
References js_global.
1.7.4