xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Aurora::ActionScript::Function Class Referenceabstract

#include <function.h>

Inheritance diagram for Aurora::ActionScript::Function:
Inheritance graph
[legend]
Collaboration diagram for Aurora::ActionScript::Function:
Collaboration graph
[legend]

Public Member Functions

 Function (bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag)
 
bool getPreloadThisFlag ()
 
bool getPreloadSuperFlag ()
 
bool getPreloadRootFlag ()
 
virtual Variable operator() (AVM &avm)=0
 
- Public Member Functions inherited from Aurora::ActionScript::Object
 Object ()
 
 Object (Object *object)
 
virtual ~Object ()
 
std::vector< Common::UStringgetSlots () const
 
bool hasMember (const Common::UString &id)
 
virtual Variable getMember (const Variable &id)
 
virtual void setMember (const Variable &id, const Variable &value)
 
virtual void setMember (const Common::UString &id, Function *function)
 
Variable call (const Common::UString &function, AVM &avm, const std::vector< Variable > &arguments=std::vector< Variable >())
 

Private Attributes

bool _preloadThisFlag
 
bool _preloadSuperFlag
 
bool _preloadRootFlag
 

Detailed Description

Definition at line 43 of file function.h.

Constructor & Destructor Documentation

◆ Function()

Aurora::ActionScript::Function::Function ( bool  preloadThisFlag,
bool  preloadSuperFlag,
bool  preloadRootFlag 
)

Definition at line 31 of file function.cpp.

Member Function Documentation

◆ getPreloadRootFlag()

bool Aurora::ActionScript::Function::getPreloadRootFlag ( )

Definition at line 43 of file function.cpp.

References _preloadRootFlag.

Referenced by Aurora::ActionScript::Object::call(), and Aurora::ActionScript::AVM::createNewObject().

Here is the caller graph for this function:

◆ getPreloadSuperFlag()

bool Aurora::ActionScript::Function::getPreloadSuperFlag ( )

Definition at line 39 of file function.cpp.

References _preloadSuperFlag.

Referenced by Aurora::ActionScript::AVM::createNewObject().

Here is the caller graph for this function:

◆ getPreloadThisFlag()

bool Aurora::ActionScript::Function::getPreloadThisFlag ( )

Definition at line 35 of file function.cpp.

References _preloadThisFlag.

Referenced by Aurora::ActionScript::Object::call(), and Aurora::ActionScript::AVM::createNewObject().

Here is the caller graph for this function:

◆ operator()()

virtual Variable Aurora::ActionScript::Function::operator() ( AVM avm)
pure virtual

Member Data Documentation

◆ _preloadRootFlag

bool Aurora::ActionScript::Function::_preloadRootFlag
private

Definition at line 56 of file function.h.

Referenced by getPreloadRootFlag().

◆ _preloadSuperFlag

bool Aurora::ActionScript::Function::_preloadSuperFlag
private

Definition at line 55 of file function.h.

Referenced by getPreloadSuperFlag().

◆ _preloadThisFlag

bool Aurora::ActionScript::Function::_preloadThisFlag
private

Definition at line 54 of file function.h.

Referenced by getPreloadThisFlag().


The documentation for this class was generated from the following files: