Gnash
0.8.11dev
|
Holder for getter/setter functions. More...
#include <Property.h>
Public Member Functions | |
GetterSetter (as_function *getter, as_function *setter) | |
Construct a user-defined getter-setter. More... | |
GetterSetter (as_c_function_ptr getter, as_c_function_ptr setter) | |
Construct a native getter-setter. More... | |
as_value | get (fn_call &fn) const |
Invoke the getter. More... | |
void | set (const fn_call &fn) |
Invoke the setter. More... | |
void | setCache (const as_value &v) |
Set the cache value (for user-defined getter-setters) More... | |
as_value | getCache () const |
Get the cache value (for user-defined getter-setters) More... | |
void | markReachableResources () const |
Holder for getter/setter functions.
Getter setter can be user-defined or native ones. This class abstracts the two.
|
inline |
Construct a user-defined getter-setter.
Referenced by gnash::Property::isGetterSetter().
|
inline |
Construct a native getter-setter.
|
inline |
Get the cache value (for user-defined getter-setters)
Referenced by gnash::Property::setFlags().
|
inline |
References test::v.
|
inline |
|
inline |
Set the cache value (for user-defined getter-setters)
References gnash::key::_1.
Referenced by gnash::Property::setFlags(), and gnash::Property::setValue().