Gnash  0.8.11dev
Classes | Namespaces | Constant Groups | Functions
as_environment.h File Reference
#include <string>
#include <vector>
#include <algorithm>
#include "as_value.h"
#include "SafeStack.h"

Go to the source code of this file.

Classes

class  gnash::as_environment
 Provides information about timeline context. More...
 

Namespaces

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

Constant Groups

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

Functions

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. 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)
 
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. More...
 
DisplayObject * gnash::findTarget (const as_environment &env, const std::string &path)
 Find the DisplayObject referenced by the given path. More...
 
VM & gnash::getVM (const as_environment &env)
 
movie_root & gnash::getRoot (const as_environment &env)
 
string_table & gnash::getStringTable (const as_environment &env)
 
int gnash::getSWFVersion (const as_environment &env)
 
Global_as & gnash::getGlobal (const as_environment &env)