![]() |
API documentation
2.0rc1
|
#include <clientlib.h>
Inherits client::Array.
Additional Inherited Members | |
![]() | |
template<typename... Args> | |
Array (Args... args) | |
Object *& | operator[] (int index) |
Object * | operator[] (int index) const |
int | indexOf (Object *searchElement) const |
int | indexOf (Object *searchElement, int fromIndex) const |
int | indexOf (double searchElement) const |
int | indexOf (double searchElement, int fromIndex) const |
int | lastIndexOf (Object *searchElement) const |
int | lastIndexOf (Object *searchElement, int fromIndex) const |
int | lastIndexOf (double searchElement) const |
int | lastIndexOf (double searchElement, int fromIndex) const |
template<typename... Args> | |
int | push (Args... args) |
int | get_length () const |
Array * | splice (int start) |
template<typename... Args> | |
Array * | splice (int start, int deleteCount, Args... args) |
Array * | slice () const |
Array * | slice (int start) const |
Array * | slice (int start, int end) const |
Object * | shift () |
void | unshift (client::Object *) |
Object * | pop () |
String * | toString () const |
String * | toLocaleString () const |
template<typename... Args> | |
Array * | concat (Args &&... args) const |
String * | join (const String &) const |
Array * | reverse () |
Array * | sort (EventListener *callback) |
bool | every (EventListener *callback) |
bool | some (EventListener *callback) |
void | forEach (EventListener *callback) |
Array * | map (EventListener *callback) |
Array * | filter (EventListener *callback) |
Object * | reduce (EventListener *callback) |
Object * | reduceRight (EventListener *callback) |
![]() | |
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) |