Namespaces |
namespace | gnash |
| Anonymous namespace for callbacks, local functions, event handlers etc.
|
namespace | gnash::cpp |
Typedefs |
typedef boost::function2< bool,
const as_value &, const
as_value & > | gnash::cpp::as_cmp_fn |
Enumerations |
enum | gnash::cpp::SortFlags {
gnash::cpp::SORT_CASE_INSENSITIVE = (1<<0),
gnash::cpp::SORT_DESCENDING = (1<<1),
gnash::cpp::SORT_UNIQUE = (1<<2),
gnash::cpp::SORT_RETURN_INDEX = (1<<3),
gnash::cpp::SORT_NUMERIC = (1<<4)
} |
| Sort flags.
More...
|
Functions |
void | gnash::cpp::attachArrayInterface (as_object &proto) |
void | gnash::cpp::attachArrayStatics (as_object &proto) |
as_value | gnash::cpp::join (as_object *array, const std::string &separator) |
as_value | gnash::cpp::array_new (const fn_call &fn) |
as_value | gnash::cpp::array_slice (const fn_call &fn) |
as_value | gnash::cpp::array_concat (const fn_call &fn) |
as_value | gnash::cpp::array_toString (const fn_call &fn) |
as_value | gnash::cpp::array_join (const fn_call &fn) |
as_value | gnash::cpp::array_reverse (const fn_call &fn) |
as_value | gnash::cpp::array_shift (const fn_call &fn) |
as_value | gnash::cpp::array_pop (const fn_call &fn) |
as_value | gnash::cpp::array_unshift (const fn_call &fn) |
as_value | gnash::cpp::array_push (const fn_call &fn) |
as_value | gnash::cpp::array_sortOn (const fn_call &fn) |
as_value | gnash::cpp::array_sort (const fn_call &fn) |
as_value | gnash::cpp::array_splice (const fn_call &fn) |
ObjectURI | gnash::cpp::getKey (const fn_call &fn, size_t i) |
int | gnash::cpp::isIndex (const std::string &name) |
template<typename T > |
void | gnash::cpp::foreachArray (as_object &array, int start, int end, T &pred) |
| Implementation of foreachArray that takes a start and end range.
|
bool | gnash::cpp::int_lt_or_eq (int a) |
bool | gnash::cpp::int_gt (int a) |
void | gnash::cpp::getIndexedElements (as_object &array, std::vector< indexed_as_value > &v) |
void | gnash::cpp::pushIndices (as_object &o, const std::vector< indexed_as_value > &index) |
void | gnash::cpp::setArrayLength (as_object &o, const int size) |
| Set the length property of an object only if it is a genuine array.
|
void | gnash::cpp::resizeArray (as_object &o, const int size) |
void | gnash::checkArrayLength (as_object &array, const ObjectURI &uri, const as_value &val) |
| Genuine arrays handle the length property in a special way.
|
size_t | gnash::arrayLength (as_object &array) |
| Get the length of an object as though it were an array.
|
void | gnash::registerArrayNative (as_object &global) |
void | gnash::array_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global.Array object.
|
ObjectURI | gnash::arrayKey (VM &vm, size_t i) |
| Convert an integral value into an ObjectURI.
|