xoreos
0.0.5
|
#include <array.h>
Public Member Functions | |
Array (const std::list< Variable > &values=std::list< Variable >()) | |
size_t | length () const |
void | push (const Variable &v) |
Variable | pop () |
Variable | getMember (const Variable &id) |
void | setMember (const Variable &id, const Variable &value) |
Public Member Functions inherited from Aurora::ActionScript::Object | |
Object () | |
Object (Object *object) | |
virtual | ~Object () |
std::vector< Common::UString > | getSlots () const |
bool | hasMember (const Common::UString &id) |
virtual void | setMember (const Common::UString &id, Function *function) |
Variable | call (const Common::UString &function, AVM &avm, const std::vector< Variable > &arguments=std::vector< Variable >()) |
Private Attributes | |
std::list< Variable > | _values |
Definition at line 48 of file array.cpp.
References Aurora::ActionScript::as_pop(), Aurora::ActionScript::as_push(), and setMember().
Reimplemented from Aurora::ActionScript::Object.
Definition at line 67 of file array.cpp.
References _values, and Aurora::ActionScript::Object::getMember().
size_t Aurora::ActionScript::Array::length | ( | ) | const |
Variable Aurora::ActionScript::Array::pop | ( | ) |
void Aurora::ActionScript::Array::push | ( | const Variable & | v | ) |
Reimplemented from Aurora::ActionScript::Object.
Definition at line 80 of file array.cpp.
References _values, and Aurora::ActionScript::Object::setMember().
Referenced by Array().
|
private |
Definition at line 54 of file array.h.
Referenced by getMember(), length(), pop(), push(), and setMember().