#include "engine.h"
#include "js/jsapi.h"
#include "js/jsobj.h"
#include "js/jsdate.h"
#include "js/jsregexp.h"
Go to the source code of this file.
Classes | |
struct | mongo::BinDataHolder |
Namespaces | |
namespace | mongo |
Defines | |
#define | JSVAL_IS_OID(v) ( JSVAL_IS_OBJECT( v ) && JS_InstanceOf( cx , JSVAL_TO_OBJECT( v ) , &object_id_class , 0 ) ) |
#define | SM16 |
Functions | |
bool | mongo::appendSpecialDBObject (Convertor *c, BSONObjBuilder &b, const string &name, jsval val, JSObject *o) |
void | mongo::dontDeleteScope (SMScope *s) |
void | mongo::errorReporter (JSContext *cx, const char *message, JSErrorReport *report) |
void | mongo::initMongoJS (SMScope *scope, JSContext *cx, JSObject *global, bool local) |
bool | mongo::isDate (JSContext *cx, JSObject *o) |
JSBool | JS_CStringsAreUTF8 () |
JSBool | mongo::resolveBSONField (JSContext *cx, JSObject *obj, jsval id, uintN flags, JSObject **objp) |
Variables | |
JSClass | mongo::bindata_class |
JSClass | mongo::bson_class |
JSClass | mongo::bson_ro_class |
boost::thread_specific_ptr < SMScope > | mongo::currentScope |
JSClass | mongo::dbpointer_class |
JSClass | mongo::dbref_class |
JSClass | mongo::maxkey_class |
JSClass | mongo::minkey_class |
JSClass | mongo::numberlong_class |
JSClass | mongo::object_id_class |
JSClass | mongo::timestamp_class |
#define JSVAL_IS_OID | ( | v | ) | ( JSVAL_IS_OBJECT( v ) && JS_InstanceOf( cx , JSVAL_TO_OBJECT( v ) , &object_id_class , 0 ) ) |
Definition at line 114 of file engine_spidermonkey.h.
#define SM16 |
Definition at line 71 of file engine_spidermonkey.h.
JSBool JS_CStringsAreUTF8 | ( | ) |
Definition at line 67 of file engine_spidermonkey.h.