lightspark::Dictionary Class Reference

#include <flashutils.h>

Inherits lightspark::ASObject.

Collaboration diagram for lightspark::Dictionary:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Dictionary ()
virtual ~Dictionary ()
 ASFUNCTION (_constructor)
ASObjectgetVariableByQName (const tiny_string &name, const tiny_string &ns, bool skip_impl=false)
ASObjectgetVariableByMultiname (const multiname &name, bool skip_impl=false, bool enableOverride=true, ASObject *base=NULL)
intptr_t getVariableByMultiname_i (const multiname &name)
void setVariableByQName (const tiny_string &name, const tiny_string &ns, ASObject *o, bool skip_impl=false)
void setVariableByMultiname (const multiname &name, ASObject *o, bool enableOverride=true, ASObject *base=NULL)
void setVariableByMultiname_i (const multiname &name, intptr_t value)
void deleteVariableByMultiname (const multiname &name)
tiny_string toString (bool debugMsg=false)
bool isEqual (ASObject *r)
bool hasNext (unsigned int &index, bool &out)
bool nextName (unsigned int index, ASObject *&out)
bool nextValue (unsigned int index, ASObject *&out)

Static Public Member Functions

static void sinit (Class_base *)
static void buildTraits (ASObject *o)

Private Attributes

std::map< ASObject *, ASObject * > data

Friends

class ABCVm

Detailed Description

Definition at line 88 of file flashutils.h.


Constructor & Destructor Documentation

lightspark::Dictionary::Dictionary (  )  [inline]

Definition at line 94 of file flashutils.h.

Dictionary::~Dictionary (  )  [virtual]

Definition at line 352 of file flashutils.cpp.


Member Function Documentation

lightspark::Dictionary::ASFUNCTION ( _constructor   ) 

Reimplemented from lightspark::ASObject.

void Dictionary::buildTraits ( ASObject o  )  [static]

Reimplemented from lightspark::ASObject.

Definition at line 367 of file flashutils.cpp.

void Dictionary::deleteVariableByMultiname ( const multiname name  )  [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 405 of file flashutils.cpp.

ASObject * Dictionary::getVariableByMultiname ( const multiname name,
bool  skip_impl = false,
bool  enableOverride = true,
ASObject base = NULL 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 422 of file flashutils.cpp.

intptr_t lightspark::Dictionary::getVariableByMultiname_i ( const multiname name  )  [inline, virtual]

Reimplemented from lightspark::ASObject.

Definition at line 106 of file flashutils.h.

ASObject* lightspark::Dictionary::getVariableByQName ( const tiny_string name,
const tiny_string ns,
bool  skip_impl = false 
) [inline, virtual]

Reimplemented from lightspark::ASObject.

Definition at line 99 of file flashutils.h.

bool Dictionary::hasNext ( unsigned int &  index,
bool &  out 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 515 of file flashutils.cpp.

bool lightspark::Dictionary::isEqual ( ASObject r  )  [inline, virtual]

Reimplemented from lightspark::ASObject.

Definition at line 120 of file flashutils.h.

bool Dictionary::nextName ( unsigned int  index,
ASObject *&  out 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 523 of file flashutils.cpp.

bool Dictionary::nextValue ( unsigned int  index,
ASObject *&  out 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 536 of file flashutils.cpp.

void Dictionary::setVariableByMultiname ( const multiname name,
ASObject o,
bool  enableOverride = true,
ASObject base = NULL 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 382 of file flashutils.cpp.

void Dictionary::setVariableByMultiname_i ( const multiname name,
intptr_t  value 
) [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 376 of file flashutils.cpp.

void lightspark::Dictionary::setVariableByQName ( const tiny_string name,
const tiny_string ns,
ASObject o,
bool  skip_impl = false 
) [inline, virtual]

Reimplemented from lightspark::ASObject.

Definition at line 111 of file flashutils.h.

void Dictionary::sinit ( Class_base c  )  [static]

Reimplemented from lightspark::ASObject.

Definition at line 362 of file flashutils.cpp.

tiny_string Dictionary::toString ( bool  debugMsg = false  )  [virtual]

Reimplemented from lightspark::ASObject.

Definition at line 547 of file flashutils.cpp.


Friends And Related Function Documentation

friend class ABCVm [friend]

Reimplemented from lightspark::ASObject.

Definition at line 90 of file flashutils.h.


Member Data Documentation

Definition at line 92 of file flashutils.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 24 19:50:36 2010 for Lightspark by  doxygen 1.6.3