Pepper_47_C++_interfaces
Classes | Public Member Functions | List of all members
pp::VarPrivate Class Reference

#include <var_private.h>

Inheritance diagram for pp::VarPrivate:
Inheritance graph
Collaboration diagram for pp::VarPrivate:
Collaboration graph

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::ScriptableObjectAsScriptableObject () 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)
 
- Public Member Functions inherited from pp::Var
 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 Varoperator= (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_Varpp_var () const
 
PP_Var Detach ()
 
std::string DebugString () const
 

Additional Inherited Members

- Protected Attributes inherited from pp::Var
PP_Var var_
 
bool is_managed_
 

Detailed Description

Definition at line 21 of file var_private.h.

Constructor & Destructor Documentation

pp::VarPrivate::VarPrivate ( )
inline

Definition at line 23 of file var_private.h.

pp::VarPrivate::VarPrivate ( Null  )
inline

Definition at line 24 of file var_private.h.

pp::VarPrivate::VarPrivate ( bool  b)
inline

Definition at line 25 of file var_private.h.

pp::VarPrivate::VarPrivate ( int32_t  i)
inline

Definition at line 26 of file var_private.h.

pp::VarPrivate::VarPrivate ( double  d)
inline

Definition at line 27 of file var_private.h.

pp::VarPrivate::VarPrivate ( const char *  utf8_str)
inline

Definition at line 28 of file var_private.h.

pp::VarPrivate::VarPrivate ( const std::string &  utf8_str)
inline

Definition at line 29 of file var_private.h.

pp::VarPrivate::VarPrivate ( PassRef  ,
PP_Var  var 
)
inline

Definition at line 30 of file var_private.h.

pp::VarPrivate::VarPrivate ( DontManage  ,
PP_Var  var 
)
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().

pp::VarPrivate::VarPrivate ( const Var other)
inline

Definition at line 34 of file var_private.h.

virtual pp::VarPrivate::~VarPrivate ( )
inlinevirtual

Definition at line 36 of file var_private.h.

Member Function Documentation

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
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().

bool pp::VarPrivate::HasMethod ( const Var name,
Var exception = NULL 
) const

Definition at line 59 of file var_private.cc.

References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().

bool pp::VarPrivate::HasProperty ( const Var name,
Var exception = NULL 
) const

Definition at line 52 of file var_private.cc.

References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().

void pp::VarPrivate::RemoveProperty ( const Var name,
Var exception = NULL 
)

Definition at line 101 of file var_private.cc.

References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().

void pp::VarPrivate::SetProperty ( const Var name,
const Var value,
Var exception = NULL 
)

Definition at line 93 of file var_private.cc.

References pp::VarPrivate::OutException::get(), and pp::Var::pp_var().


The documentation for this class was generated from the following files: