Pepper_47_C++_interfaces
|
#include <var_private.h>
Classes | |
class | OutException |
Public Member Functions | |
VarPrivate () | |
VarPrivate (Null) | |
VarPrivate (bool b) | |
VarPrivate (int32_t i) | |
VarPrivate (double d) | |
VarPrivate (const char *utf8_str) | |
VarPrivate (const std::string &utf8_str) | |
VarPrivate (PassRef, PP_Var var) | |
VarPrivate (DontManage, PP_Var var) | |
VarPrivate (const InstanceHandle &instance, deprecated::ScriptableObject *object) | |
VarPrivate (const Var &other) | |
virtual | ~VarPrivate () |
deprecated::ScriptableObject * | AsScriptableObject () const |
bool | HasProperty (const Var &name, Var *exception=NULL) const |
bool | HasMethod (const Var &name, Var *exception=NULL) const |
VarPrivate | GetProperty (const Var &name, Var *exception=NULL) const |
void | GetAllPropertyNames (std::vector< Var > *properties, Var *exception=NULL) const |
void | SetProperty (const Var &name, const Var &value, Var *exception=NULL) |
void | RemoveProperty (const Var &name, Var *exception=NULL) |
VarPrivate | Call (const Var &method_name, uint32_t argc, Var *argv, Var *exception=NULL) |
VarPrivate | Construct (uint32_t argc, Var *argv, Var *exception=NULL) const |
VarPrivate | Call (const Var &method_name, Var *exception=NULL) |
VarPrivate | Call (const Var &method_name, const Var &arg1, Var *exception=NULL) |
VarPrivate | Call (const Var &method_name, const Var &arg1, const Var &arg2, Var *exception=NULL) |
VarPrivate | Call (const Var &method_name, const Var &arg1, const Var &arg2, const Var &arg3, Var *exception=NULL) |
VarPrivate | Call (const Var &method_name, const Var &arg1, const Var &arg2, const Var &arg3, const Var &arg4, Var *exception=NULL) |
![]() | |
Var () | |
Var (Null) | |
A constructor used to create a Var of type Null . More... | |
Var (bool b) | |
Var (int32_t i) | |
Var (double d) | |
Var (const char *utf8_str) | |
A constructor used to create a UTF-8 character Var . More... | |
Var (const std::string &utf8_str) | |
A constructor used to create a UTF-8 character Var . More... | |
Var (const pp::Resource &resource) | |
A constructor used to create a resource Var . More... | |
Var (PassRef, const PP_Var &var) | |
Var (const PP_Var &var) | |
A constructor that increments the reference count. More... | |
Var (DontManage, const PP_Var &var) | |
Var (const Var &other) | |
A constructor for copying a Var . More... | |
virtual | ~Var () |
Destructor. More... | |
virtual Var & | operator= (const Var &other) |
bool | operator== (const Var &other) const |
bool | is_undefined () const |
bool | is_null () const |
bool | is_bool () const |
bool | is_string () const |
bool | is_object () const |
bool | is_array () const |
bool | is_dictionary () const |
bool | is_resource () const |
bool | is_int () const |
bool | is_double () const |
bool | is_number () const |
bool | is_array_buffer () const |
This function determines if this Var is an ArrayBuffer. More... | |
bool | AsBool () const |
int32_t | AsInt () const |
double | AsDouble () const |
std::string | AsString () const |
pp::Resource | AsResource () const |
const PP_Var & | pp_var () const |
PP_Var | Detach () |
std::string | DebugString () const |
Additional Inherited Members | |
![]() | |
PP_Var | var_ |
bool | is_managed_ |
Definition at line 21 of file var_private.h.
|
inline |
Definition at line 23 of file var_private.h.
|
inline |
Definition at line 24 of file var_private.h.
|
inline |
Definition at line 25 of file var_private.h.
|
inline |
Definition at line 26 of file var_private.h.
|
inline |
Definition at line 27 of file var_private.h.
|
inline |
Definition at line 28 of file var_private.h.
|
inline |
Definition at line 29 of file var_private.h.
Definition at line 30 of file var_private.h.
|
inline |
Definition at line 31 of file var_private.h.
pp::VarPrivate::VarPrivate | ( | const InstanceHandle & | instance, |
deprecated::ScriptableObject * | object | ||
) |
Definition at line 27 of file var_private.cc.
References pp::InstanceHandle::pp_instance().
|
inline |
Definition at line 34 of file var_private.h.
|
inlinevirtual |
Definition at line 36 of file var_private.h.
ScriptableObject * pp::VarPrivate::AsScriptableObject | ( | ) | const |
Definition at line 39 of file var_private.cc.
References PP_NOTREACHED.
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
uint32_t | argc, | ||
Var * | argv, | ||
Var * | exception = NULL |
||
) |
Definition at line 108 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
Var * | exception = NULL |
||
) |
Definition at line 146 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
const Var & | arg1, | ||
Var * | exception = NULL |
||
) |
Definition at line 153 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
const Var & | arg1, | ||
const Var & | arg2, | ||
Var * | exception = NULL |
||
) |
Definition at line 162 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
const Var & | arg1, | ||
const Var & | arg2, | ||
const Var & | arg3, | ||
Var * | exception = NULL |
||
) |
Definition at line 171 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Call | ( | const Var & | method_name, |
const Var & | arg1, | ||
const Var & | arg2, | ||
const Var & | arg3, | ||
const Var & | arg4, | ||
Var * | exception = NULL |
||
) |
Definition at line 180 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
VarPrivate pp::VarPrivate::Construct | ( | uint32_t | argc, |
Var * | argv, | ||
Var * | exception = NULL |
||
) | const |
Definition at line 128 of file var_private.cc.
References pp::Var::pp_var().
void pp::VarPrivate::GetAllPropertyNames | ( | std::vector< Var > * | properties, |
Var * | exception = NULL |
||
) | const |
Definition at line 73 of file var_private.cc.
References pp::Module::Get(), pp::VarPrivate::OutException::get(), and pp::Module::GetBrowserInterface().
VarPrivate pp::VarPrivate::GetProperty | ( | const Var & | name, |
Var * | exception = NULL |
||
) | const |
Definition at line 66 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
Definition at line 59 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
Definition at line 52 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
Definition at line 101 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().
Definition at line 93 of file var_private.cc.
References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().