25 #ifndef AURORA_ACTIONSCRIPT_VARIABLE_H 26 #define AURORA_ACTIONSCRIPT_VARIABLE_H 28 #include <boost/shared_ptr.hpp> 36 namespace ActionScript {
41 typedef boost::shared_ptr<Object>
ObjectPtr;
74 template<
typename T> boost::shared_ptr<T>
as()
const;
106 return boost::dynamic_pointer_cast<T>(
_value.object);
113 #endif // AURORA_ACTIONSCRIPT_VARIABLE_H Variable operator+(Variable v)
void operator=(Variable v)
A class holding an UTF-8 string.
Variable operator/(Variable v)
Variable operator||(Variable v)
Variable operator &&(Variable v)
const Common::UString & asString() const
boost::shared_ptr< T > as() const
Variable operator*(Variable v)
Variable operator-(Variable v)
Variable operator==(Variable v)
An action script variable.
struct Aurora::ActionScript::Variable::@0 _value
boost::shared_ptr< Object > ObjectPtr
Variable operator<(Variable v)
boost::function< void(class FunctionContext &ctx)> Function