gnash::abc_block Class Reference

#include <abc_block.h>

List of all members.

Public Types

enum  constants {
  PRIVATE_NS = 0x05, PROTECTED_NS = 0x18, METHOD_ARGS = 0x01, METHOD_ACTIVATION = 0x02,
  METHOD_MORE = 0x04, METHOD_OPTIONAL_ARGS = 0x08, METHOD_IGNORE = 0x10, METHOD_NATIVE = 0x20,
  METHOD_DEFAULT_NS = 0x40, METHOD_ARG_NAMES = 0x80, INSTANCE_SEALED = 0x01, INSTANCE_FINAL = 0x02,
  INSTANCE_INTERFACE = 0x04, INSTANCE_DYNAMIC = 0x00, INSTANCE_PROTECTED_NS = 0x08, POOL_STRING = 0x01,
  POOL_INTEGER = 0x03, POOL_UINTEGER = 0x04, POOL_DOUBLE = 0x06, POOL_NAMESPACE = 0x08,
  POOL_FALSE = 0x0A, POOL_TRUE = 0x0B, POOL_NULL = 0x0C
}

Public Member Functions

asClasslocateClass (asName &m)
abc_parsing::abc_TraitnewTrait ()
bool read_version ()
 Read the ActionBlock version number.
bool read_integer_constants ()
 Read the pool of integer constants.
bool read_unsigned_integer_constants ()
 Read the pool of unsigned integer constants.
bool read_double_constants ()
 Read the pool of 64-bit double constants.
bool read_string_constants ()
 Read the pool of string constants.
bool read_namespaces ()
bool read_namespace_sets ()
 Read the set of sets of namespaces.
bool read_multinames ()
 Read the multinames.
bool read_method_infos ()
 Read the method infos.
bool skip_metadata ()
 Skip the metadata, which is useless to us.
bool read_instances ()
 Load the instances from the block.
bool read_classes ()
 Read the class data.
bool read_scripts ()
bool read_method_bodies ()
 Read the method bodies and attach them to the methods.
bool read (stream *in)
bool pool_value (boost::uint32_t index, boost::uint8_t type, as_value &v)
 abc_block ()

Public Attributes

std::vector< boost::int32_t > mIntegerPool
std::vector< boost::uint32_t > mUIntegerPool
std::vector< double > mDoublePool
std::vector< std::string > mStringPool
std::vector< string_table::keymStringPoolTableIds
std::vector< asNamespace * > mNamespacePool
std::vector< NamespaceSetmNamespaceSetPool
std::vector< asMethod * > mMethods
std::vector< asNamemMultinamePool
std::vector< asClass * > mClasses
std::vector< asClass * > mScripts
std::vector
< abc_parsing::abc_Trait * > 
mTraits
string_tablemStringTable
streammS
asClassmTheObject
ClassHierarchymCH
boost::uint32_t mVersion


Member Enumeration Documentation

enum gnash::abc_block::constants

Enumerator:
PRIVATE_NS 
PROTECTED_NS 
METHOD_ARGS 
METHOD_ACTIVATION 
METHOD_MORE 
METHOD_OPTIONAL_ARGS 
METHOD_IGNORE 
METHOD_NATIVE 
METHOD_DEFAULT_NS 
METHOD_ARG_NAMES 
INSTANCE_SEALED 
INSTANCE_FINAL 
INSTANCE_INTERFACE 
INSTANCE_DYNAMIC 
INSTANCE_PROTECTED_NS 
POOL_STRING 
POOL_INTEGER 
POOL_UINTEGER 
POOL_DOUBLE 
POOL_NAMESPACE 
POOL_FALSE 
POOL_TRUE 
POOL_NULL 


Constructor & Destructor Documentation

gnash::abc_block::abc_block (  ) 


Member Function Documentation

asClass * gnash::abc_block::locateClass ( asName m  ) 

abc_parsing::abc_Trait& gnash::abc_block::newTrait (  )  [inline]

bool gnash::abc_block::read_version (  ) 

Read the ActionBlock version number.

bool gnash::abc_block::read_integer_constants (  ) 

Read the pool of integer constants.

bool gnash::abc_block::read_unsigned_integer_constants (  ) 

Read the pool of unsigned integer constants.

bool gnash::abc_block::read_double_constants (  ) 

Read the pool of 64-bit double constants.

bool gnash::abc_block::read_string_constants (  ) 

Read the pool of string constants.

bool gnash::abc_block::read_namespaces (  ) 

Read the pool of namespaces Any two namespaces with the same uri here are the same namespace, excepting private namespaces.

bool gnash::abc_block::read_namespace_sets (  ) 

Read the set of sets of namespaces.

bool gnash::abc_block::read_multinames (  ) 

Read the multinames.

bool gnash::abc_block::read_method_infos (  ) 

Read the method infos.

bool gnash::abc_block::skip_metadata (  ) 

Skip the metadata, which is useless to us.

bool gnash::abc_block::read_instances (  ) 

Load the instances from the block.

pInterface || !pInterface->isInterface())

bool gnash::abc_block::read_classes (  ) 

Read the class data.

bool gnash::abc_block::read_scripts (  ) 

Read the scripts (global functions) The final script is the entry point for the block.

bool gnash::abc_block::read_method_bodies (  ) 

Read the method bodies and attach them to the methods.

bool gnash::abc_block::read ( stream in  ) 

bool gnash::abc_block::pool_value ( boost::uint32_t  index,
boost::uint8_t  type,
as_value v 
)


Member Data Documentation

std::vector<boost::int32_t> gnash::abc_block::mIntegerPool

std::vector<boost::uint32_t> gnash::abc_block::mUIntegerPool

std::vector<double> gnash::abc_block::mDoublePool

std::vector<std::string> gnash::abc_block::mStringPool

std::vector<string_table::key> gnash::abc_block::mStringPoolTableIds

std::vector<asNamespace*> gnash::abc_block::mNamespacePool

std::vector<NamespaceSet> gnash::abc_block::mNamespaceSetPool

std::vector<asMethod*> gnash::abc_block::mMethods

std::vector<asName> gnash::abc_block::mMultinamePool

std::vector<asClass*> gnash::abc_block::mClasses

std::vector<asClass*> gnash::abc_block::mScripts

std::vector<abc_parsing::abc_Trait*> gnash::abc_block::mTraits

string_table* gnash::abc_block::mStringTable

stream* gnash::abc_block::mS

asClass* gnash::abc_block::mTheObject

ClassHierarchy* gnash::abc_block::mCH

boost::uint32_t gnash::abc_block::mVersion


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