Pyrogenesis
13997
|
A trivial wrapper around a jsval. More...
#include <ScriptVal.h>
Public Member Functions | |
CScriptVal () | |
CScriptVal (jsval val) | |
const jsval & | get () const |
Returns the current value. More... | |
bool | undefined () const |
Returns whether the value is JSVAL_VOID. More... | |
Private Attributes | |
jsval | m_Val |
A trivial wrapper around a jsval.
Used to avoid template overload ambiguities with jsval (which is just an integer), for any code that uses ScriptInterface::ToJSVal or ScriptInterface::FromJSVal
Definition at line 29 of file ScriptVal.h.
|
inline |
Definition at line 32 of file ScriptVal.h.
|
inline |
Definition at line 33 of file ScriptVal.h.
|
inline |
Returns the current value.
Definition at line 38 of file ScriptVal.h.
|
inline |
Returns whether the value is JSVAL_VOID.
Definition at line 43 of file ScriptVal.h.
|
private |
Definition at line 46 of file ScriptVal.h.