#include <engine_java.h>

Public Member Functions | |
| ScriptingFunction | createFunction (const char *code) |
| bool | getBoolean (const char *field) |
| string | getError () |
| double | getNumber (const char *field) |
| BSONObj | getObject (const char *field) |
| string | getString (const char *field) |
| void | init (BSONObj *o) |
| int | invoke (ScriptingFunction function, const BSONObj &args) |
| JavaScope () | |
| void | localConnect (const char *dbName) |
| void | reset () |
| void | setBoolean (const char *field, bool val) |
| void | setNumber (const char *field, double val) |
| void | setObject (const char *field, const BSONObj &obj, bool readOnly) |
| void | setString (const char *field, const char *val) |
| void | setThis (const BSONObj *obj) |
| int | type (const char *field) |
| virtual | ~JavaScope () |
Public Attributes | |
| jlong | s |
Definition at line 149 of file engine_java.h.
| mongo::JavaScope::JavaScope | ( | ) | [inline] |
Definition at line 151 of file engine_java.h.
| virtual mongo::JavaScope::~JavaScope | ( | ) | [inline, virtual] |
Definition at line 154 of file engine_java.h.
| ScriptingFunction mongo::JavaScope::createFunction | ( | const char * | code | ) | [inline, virtual] |
Reimplemented from mongo::Scope.
Definition at line 204 of file engine_java.h.
| bool mongo::JavaScope::getBoolean | ( | const char * | field | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 176 of file engine_java.h.
| string mongo::JavaScope::getError | ( | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 213 of file engine_java.h.
| double mongo::JavaScope::getNumber | ( | const char * | field | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 170 of file engine_java.h.
| BSONObj mongo::JavaScope::getObject | ( | const char * | field | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 179 of file engine_java.h.
| string mongo::JavaScope::getString | ( | const char * | field | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 173 of file engine_java.h.
| void mongo::JavaScope::init | ( | BSONObj * | o | ) | [inline] |
Definition at line 162 of file engine_java.h.
| int mongo::JavaScope::invoke | ( | ScriptingFunction | function, | |
| const BSONObj & | args | |||
| ) | [inline] |
Definition at line 208 of file engine_java.h.
| void mongo::JavaScope::localConnect | ( | const char * | dbName | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 166 of file engine_java.h.
| void mongo::JavaScope::reset | ( | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 158 of file engine_java.h.
| void mongo::JavaScope::setBoolean | ( | const char * | field, | |
| bool | val | |||
| ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 200 of file engine_java.h.
| void mongo::JavaScope::setNumber | ( | const char * | field, | |
| double | val | |||
| ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 190 of file engine_java.h.
| void mongo::JavaScope::setObject | ( | const char * | field, | |
| const BSONObj & | obj, | |||
| bool | readOnly | |||
| ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 196 of file engine_java.h.
| void mongo::JavaScope::setString | ( | const char * | field, | |
| const char * | val | |||
| ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 193 of file engine_java.h.
| void mongo::JavaScope::setThis | ( | const BSONObj * | obj | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 186 of file engine_java.h.
| int mongo::JavaScope::type | ( | const char * | field | ) | [inline, virtual] |
Implements mongo::Scope.
Definition at line 182 of file engine_java.h.
| jlong mongo::JavaScope::s |
Definition at line 217 of file engine_java.h.