25 #include <boost/weak_ptr.hpp> 35 namespace ActionScript {
48 std::vector<Common::UString> slots;
49 for (std::map<Common::UString, Variable>::const_iterator iter =
_members.begin(); iter !=
_members.end() ; iter++) {
50 slots.push_back(iter->first);
103 for (
size_t i = 0; i < arguments.size(); ++i) {
void setReturnValue(Variable returnValue=Variable())
A class holding an UTF-8 string.
void storeRegister(Variable value, byte index)
Variable getVariable(const Common::UString &name)
bool getPreloadThisFlag()
Context for executing ActionScript.
std::vector< Common::UString > getSlots() const
Basic exceptions to throw.
bool hasMember(const Common::UString &id)
virtual void setMember(const Variable &id, const Variable &value)
Function objects for ActionScript.
Variable call(const Common::UString &function, AVM &avm, const std::vector< Variable > &arguments=std::vector< Variable >())
bool getPreloadRootFlag()
Abstract object which is inherited by every other class.
An action script variable.
virtual Variable getMember(const Variable &id)
Variable getReturnValue()
std::map< Common::UString, Variable > _members
boost::shared_ptr< Object > ObjectPtr
The Action script virtual machine (AVM).