Gnash  0.8.11dev
Namespaces | Functions
as_environment.cpp File Reference
#include "as_environment.h"
#include <string>
#include <utility>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/format.hpp>
#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

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 

Functions

as_object * gnash::findObject (const as_environment &ctx, const std::string &path, const as_environment::ScopeStack *scope=nullptr)
 Find the object referenced by the given path. More...
 
as_value gnash::getVariable (const as_environment &ctx, const std::string &varname, const as_environment::ScopeStack &scope, as_object **retTarget=nullptr)
 Return the (possibly undefined) value of the named var. More...
 
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. More...
 
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. More...
 
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. More...
 
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)