5 #ifndef PPAPI_CPP_VAR_ARRAY_H_
6 #define PPAPI_CPP_VAR_ARRAY_H_
8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_stdint.h"
33 explicit VarArray(
const PP_Var& var);
57 Var Get(uint32_t index)
const;
69 bool Set(uint32_t index,
const Var& value);
90 #endif // PPAPI_CPP_VAR_ARRAY_H_
uint32_t GetLength() const
bool Set(uint32_t index, const Var &value)
VarArray()
Constructs a new array var.
bool SetLength(uint32_t length)
VarArray & operator=(const VarArray &other)
Assignment operator.
A generic type used for passing data types between the module and the page.
Definition: var.h:23
Var Get(uint32_t index) const
Definition: var_array.h:17