25 #ifndef AURORA_ACTIONSCRIPT_OBJECT_H 26 #define AURORA_ACTIONSCRIPT_OBJECT_H 30 #include <boost/shared_ptr.hpp> 31 #include <boost/enable_shared_from_this.hpp> 40 namespace ActionScript {
45 typedef boost::shared_ptr<Object>
ObjectPtr;
47 class Object :
public boost::enable_shared_from_this<Object> {
53 std::vector<Common::UString>
getSlots()
const;
71 #endif // AURORA_ACTIONSCRIPT_OBJECT_H
A class holding an UTF-8 string.
A variable used in the execution context.
Context for executing ActionScript.
std::vector< Common::UString > getSlots() const
bool hasMember(const Common::UString &id)
virtual void setMember(const Variable &id, const Variable &value)
Variable call(const Common::UString &function, AVM &avm, const std::vector< Variable > &arguments=std::vector< Variable >())
An action script variable.
virtual Variable getMember(const Variable &id)
std::map< Common::UString, Variable > _members
boost::shared_ptr< Object > ObjectPtr
The Action script virtual machine (AVM).