Gnash  0.8.10
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

namespace  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=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)