Gnash 0.8.9
|
#include "as_environment.h"
#include <string>
#include <utility>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/format.hpp>
#include "smart_ptr.h"
#include "MovieClip.h"
#include "movie_root.h"
#include "as_value.h"
#include "VM.h"
#include "log.h"
#include "Property.h"
#include "as_object.h"
#include "namedStrings.h"
#include "CallStack.h"
#include "Global_as.h"
Namespaces | |
namespace | gnash |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
namespace | gnash::cpp |
Functions | |
bool | gnash::cpp::getLocal (as_object &locals, const std::string &name, as_value &ret) |
Find a variable in the given as_object. | |
bool | gnash::cpp::findLocal (as_object &locals, const std::string &varname, as_value &ret, as_object **retTarget) |
bool | gnash::cpp::deleteLocal (as_object &locals, const std::string &varname) |
Delete a local variable. | |
bool | gnash::cpp::setLocal (as_object &locals, const std::string &varname, const as_value &val) |
Set a variable of the given object, if it exists. | |
as_object * | gnash::cpp::getElement (as_object *obj, const ObjectURI &uri) |
as_value | gnash::cpp::getVariableRaw (const as_environment &env, const std::string &varname, const as_environment::ScopeStack &scope, as_object **retTarget=0) |
void | gnash::cpp::setVariableRaw (const as_environment &env, const std::string &varname, const as_value &val, const as_environment::ScopeStack &scope) |
as_object * | gnash::findObject (const as_environment &ctx, const std::string &path, const as_environment::ScopeStack *scope=0) |
Find the object referenced by the given path. | |
as_value | gnash::getVariable (const as_environment &ctx, const std::string &varname, const as_environment::ScopeStack &scope, as_object **retTarget=0) |
Return the (possibly undefined) value of the named var. | |
void | gnash::setVariable (const as_environment &ctx, const std::string &path, const as_value &val, const as_environment::ScopeStack &scope) |
Given a path to variable, set its value. | |
bool | gnash::delVariable (const as_environment &ctx, const std::string &varname, const as_environment::ScopeStack &scope) |
Delete a variable, without support for the path, using a ScopeStack. | |
bool | gnash::parsePath (const std::string &var_path_in, std::string &path, std::string &var) |
DisplayObject * | gnash::findTarget (const as_environment &env, const std::string &path) |
Find the DisplayObject referenced by the given path. | |
string_table & | gnash::getStringTable (const as_environment &env) |
movie_root & | gnash::getRoot (const as_environment &env) |
Global_as & | gnash::getGlobal (const as_environment &env) |
int | gnash::getSWFVersion (const as_environment &env) |