Entire Class Index | Main Class Index | Cross Index | Global Index

# Class CL_JSObject

Contained in: global
Derived from: none
Derived by: none
Group: JavaScript (Framework)

#include <ClanLib/javascript.h>

### public function member index:
`` | `CL_JSObject` | `(`const` `char`* `name` = "Anonymous")`;
`` | `~CL_JSObject` | `()`;
``const` `JSClass`&` | `getClass` | `() `const``;
``JSClass`&` | `getClass` | `()`;
``const` `JSObject`*` | `getObject` | `() `const``;
``JSObject`*` | `getObject` | `()`;
``void`` | `newObject` | `(`JSContext`* `cx`, `JSObject`* `proto` = 0, `JSObject`* `parent` = 0)`;
``void`` | `defineObject` | `(`JSContext`* `cx`, `JSObject`* `obj`, `const` `char`* `name`, `JSObject`* `proto`, `uintN` `flags`)`;
``void`` | `initStandardClasses` | `(`JSContext`* `cx`)`;
``void`` | `initClass` | `(`JSContext`* `cx`, `JSObject`* `obj`, `JSObject`* `parent`, `JSNative` `constructor`, `uintN` `nargs`, `JSPropertySpec`* `ps`, `JSFunctionSpec`* `fs`, `JSPropertySpec`* `staticPs`, `JSFunctionSpec`* `staticFs`)`;
``void`` | `defineProperty` | `(`JSContext`* `cx`, `const` `char`* `name`, `const` `CL_JSValue`& `value`, `int` `flags` = 0)`;
``static` `CL_JSObject`*` | `tempFromHandle` | `(`JSObject`* `obj`)`;
``static` `CL_JSObject`*` | `permanentFromHandle` | `(`JSObject`* `obj`)`;
``virtual` `JSBool`` | `onConvert` | `(`JSContext`* `cx`, `JSObject`* `obj`, `JSType` `type`, `jsval`* `vp`)`;
``virtual` `void`` | `onFinalize` | `(`JSContext`* `cx`, `JSObject`* `obj`)`;
``virtual` `CL_JSValue`` | `onConstruct` | `(`CL_JSContext`* `context`, `CL_JSArguments`& `args`)`;
`` | `CL_JSObject` | `(`JSObject`* `obj`, `bool` `temp`)`;
``MemberFuncCall`` | `findMemberFunc` | `(`JSContext`* `cx`)`;
``static` `CL_JSObject`*` | `getThis` | `(`JSContext`* `cx`, `JSObject`* `obj`)`;
``static` `JSBool`` | `call` | `(`JSContext`* `cx`, `JSObject`* `obj`, `uintN` `argc`, `jsval`* `argv`, `jsval`* `rval`)`;
``static` `JSBool`` | `construct` | `(`JSContext`* `cx`, `JSObject`* `obj`, `uintN` `argc`, `jsval`* `argv`, `jsval`* `rval`)`;
### private function member index:
``static` `JSBool`` | `convert` | `(`JSContext`* `cx`, `JSObject`* `obj`, `JSType` `type`, `jsval`* `vp`)`;
``static` `void`` | `finalize` | `(`JSContext`* `cx`, `JSObject`* `obj`)`;
``static` `JSBool`` | `getter` | `(`JSContext`* `cx`, `JSObject`* `obj`, `jsval` `id`, `jsval`* `vp`)`;
``static` `JSBool`` | `setter` | `(`JSContext`* `cx`, `JSObject`* `obj`, `jsval` `id`, `jsval`* `vp`)`;

## Description:

## Function Member Descriptions:

## Variable Member Descriptions: