Gnash  0.8.10
Classes | Namespaces | Typedefs | Functions
as_object.h File Reference
#include <map>
#include <vector>
#include <cmath>
#include <utility>
#include <boost/scoped_ptr.hpp>
#include <boost/noncopyable.hpp>
#include "GC.h"
#include "PropertyList.h"
#include "PropFlags.h"
#include "Relay.h"
#include "ObjectURI.h"

Go to the source code of this file.

Classes

class  gnash::Trigger
 A trigger that can be associated with a property name. More...
class  gnash::as_object
 The base class for all ActionScript objects. More...
class  gnash::IsVisible
 Function objects for visiting properties. More...
class  gnash::Exists
class  gnash::IsEnumerable

Namespaces

namespace  gnash
 

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


Typedefs

typedef std::vector< std::pair
< ObjectURI, as_value > > 
gnash::SortedPropertyList
 This is used to hold an intermediate copy of an as_object's properties.

Functions

void gnash::sendEvent (as_object &o, const as_environment &env, const ObjectURI &name)
 Send a system event.
as_value gnash::getMember (as_object &o, const ObjectURI &uri)
 Get a member of an object using AS lookup rules.
as_value gnash::getOwnProperty (as_object &o, const ObjectURI &uri)
 Get an own member of an object.
std::string gnash::getURLEncodedVars (as_object &o)
 Get url-encoded variables.
as_object * gnash::getPathElement (as_object &o, const ObjectURI &uri)
 Resolve the given relative path component.
template<typename T >
T * gnash::get (as_object *o)
 Extract the DisplayObject attached to an object.
bool gnash::hasOwnProperty (as_object &o, const ObjectURI &uri)
 Return true if this object has the named property.
as_object * gnash::getObjectWithPrototype (Global_as &gl, const ObjectURI &c)
template<typename T >
bool gnash::isNativeType (const as_object *obj, T *&relay)
 Check whether the object is an instance of a known type.
SortedPropertyList gnash::enumerateProperties (as_object &o)
 Enumerate all non-hidden properties to the passed container.
VM & gnash::getVM (const as_object &o)
 Get the VM from an as_object.
movie_root & gnash::getRoot (const as_object &o)
 Get the movie_root from an as_object.
string_table & gnash::getStringTable (const as_object &o)
 Get the string_table from an as_object.
const RunResources & gnash::getRunResources (const as_object &o)
 Get the RunResources from an as_object.
int gnash::getSWFVersion (const as_object &o)
 Get the executing VM version from an as_object.
Global_as & gnash::getGlobal (const as_object &o)
 Get the Global object from an as_object.
bool gnash::caseless (const as_object &o)
 Return whether property matching is caseless.