#include <RexxNativeCode.hpp>
Protected Attributes | |
RexxString * | package |
RexxString * | name |
RexxSource * | source |
Additional Inherited Members | |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 50 of file RexxNativeCode.hpp.
|
inline |
Definition at line 54 of file RexxNativeCode.hpp.
RexxNativeCode::RexxNativeCode | ( | RexxString * | p, |
RexxString * | n | ||
) |
|
virtual |
Resolve a class in the context of this code object.
className | The name of the desired class. |
Reimplemented from BaseCode.
Definition at line 114 of file RexxNativeCode.cpp.
References RexxSource::findClass(), BaseCode::findClass(), OREF_NULL, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Reimplemented in RexxNativeMethod, RexxNativeRoutine, and RegisteredRoutine.
Definition at line 94 of file RexxNativeCode.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
Referenced by RexxNativeMethod::flatten(), RexxNativeRoutine::flatten(), and RegisteredRoutine::flatten().
SecurityManager * RexxNativeCode::getSecurityManager | ( | ) |
Get the security manager associated with native code. Generally, only native methods and routines defined with directives will have an associated security manager.
Definition at line 170 of file RexxNativeCode.cpp.
References RexxSource::getSecurityManager(), OREF_NULL, and source.
Referenced by RexxNativeActivation::callNativeRoutine(), and RexxNativeActivation::run().
|
virtual |
Get the source object backing this code instance. If created from a directive, this will be the source package containing the directive.
Reimplemented from BaseCode.
Definition at line 157 of file RexxNativeCode.cpp.
References source.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 67 of file RexxNativeCode.cpp.
References memory_mark, name, package, and source.
|
virtual |
Reimplemented from RexxVirtualBase.
Reimplemented in RexxNativeMethod, RexxNativeRoutine, and RegisteredRoutine.
Definition at line 78 of file RexxNativeCode.cpp.
References memory_mark_general, name, package, SAVINGIMAGE, RexxInternalObject::setInRexxPackage(), and source.
Referenced by RexxNativeMethod::liveGeneral(), RexxNativeRoutine::liveGeneral(), and RegisteredRoutine::liveGeneral().
|
virtual |
Set a source object into a native code context. If the object is already set, then this returns a copy of the code object.
s | The new source object. |
Reimplemented from BaseCode.
Definition at line 134 of file RexxNativeCode.cpp.
References RexxInternalObject::copy(), OREF_NULL, OrefSet, and source.
Referenced by RexxSource::createNativeMethod().
|
protected |
Definition at line 67 of file RexxNativeCode.hpp.
Referenced by RexxNativeRoutine::call(), RegisteredRoutine::call(), live(), liveGeneral(), RexxNativeCode(), and RexxNativeMethod::run().
|
protected |
Definition at line 66 of file RexxNativeCode.hpp.
Referenced by RexxNativeRoutine::call(), RegisteredRoutine::call(), live(), liveGeneral(), RexxNativeCode(), and RexxNativeMethod::run().
|
protected |
Definition at line 68 of file RexxNativeCode.hpp.
Referenced by findClass(), getSecurityManager(), getSourceObject(), live(), liveGeneral(), RexxNativeCode(), and setSourceObject().