![]() |
API documentation
2.0rc1
|
#include <clientlib.h>
Inherits client::Object.
Public Member Functions | |
double | get_length () |
void | clear () |
String * | getItem (const String &key) |
String * | key (double index) |
void | removeItem (const String &key) |
void | setItem (const String &key, const String &value) |
Object *& | operator[] (int index) |
Object * | operator[] (int index) const |
Storage * | get_prototype () |
void | set_prototype (Storage *) |
Storage () | |
![]() | |
Object () | |
template<typename T > | |
T | valueOf () |
operator double () const | |
Object * | operator[] (const client::String &name) const |
void | set_ (const client::String &name, Object *v) |
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> | |
void | set_ (const client::String &name, T v) |
bool | hasOwnProperty (const client::String &name) |
client::Storage::Storage | ( | ) |
void client::Storage::clear | ( | ) |
double client::Storage::get_length | ( | ) |
Storage* client::Storage::get_prototype | ( | ) |
String* client::Storage::key | ( | double | index | ) |
|
inline |
|
inline |
void client::Storage::removeItem | ( | const String & | key | ) |
void client::Storage::set_prototype | ( | Storage * | ) |