gnash::asNamespace Class Reference

Represent an ActionScript namespace. More...

#include <asClass.h>

List of all members.

Public Member Functions

void markReachableResources () const
void setParent (asNamespace *p)
 Our parent (for protected).
asNamespacegetParent ()
void setURI (string_table::key name)
 Set the uri.
string_table::key getURI () const
 What is the Uri of the namespace?
string_table::key getPrefix () const
 What is the XML prefix?
 asNamespace ()
 Create an empty namespace.
bool addClass (string_table::key name, asClass *a)
void stubPrototype (string_table::key name)
asClassgetClass (string_table::key name)
void setPrivate ()
void unsetPrivate ()
bool isPrivate ()
void setProtected ()
void unsetProtected ()
bool isProtected ()


Detailed Description

Represent an ActionScript namespace.

Constructor & Destructor Documentation

gnash::asNamespace::asNamespace (  )  [inline]

Create an empty namespace.


Member Function Documentation

void gnash::asNamespace::markReachableResources (  )  const [inline]

void gnash::asNamespace::setParent ( asNamespace p  )  [inline]

Our parent (for protected).

asNamespace* gnash::asNamespace::getParent (  )  [inline]

void gnash::asNamespace::setURI ( string_table::key  name  )  [inline]

Set the uri.

string_table::key gnash::asNamespace::getURI (  )  const [inline]

What is the Uri of the namespace?

string_table::key gnash::asNamespace::getPrefix (  )  const [inline]

What is the XML prefix?

bool gnash::asNamespace::addClass ( string_table::key  name,
asClass a 
) [inline]

Add a class to the namespace. The namespace stores this, but does not take ownership. (So don't delete it.)

void gnash::asNamespace::stubPrototype ( string_table::key  name  ) 

asClass* gnash::asNamespace::getClass ( string_table::key  name  )  [inline]

Get the named class. Returns NULL if information is not known about the class. (Stubbed classes still return NULL here.)

void gnash::asNamespace::setPrivate (  )  [inline]

void gnash::asNamespace::unsetPrivate (  )  [inline]

bool gnash::asNamespace::isPrivate (  )  [inline]

void gnash::asNamespace::setProtected (  )  [inline]

void gnash::asNamespace::unsetProtected (  )  [inline]

bool gnash::asNamespace::isProtected (  )  [inline]


The documentation for this class was generated from the following files:
Generated on Thu Mar 6 18:25:10 2008 for Gnash by  doxygen 1.5.4