|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::cfgscript::ScriptObject Class Reference#include <ScriptObject.h>
Inheritance diagram for acdk::cfgscript::ScriptObject:
List of all members.
Detailed Description
Simple Script acdk::lang::Object.
- See also:
- CfgScript Handbook.
|
Public Member Functions |
virtual::acdk::lang::dmi::ClazzInfo * | getClazzInfo () |
| returns the ClazzInfo of this object instance must not be 0
|
bool | isDmiOverLoaded (const acdk::lang::dmi::ClazzInfo *ci, IN(RString) funcname, const acdk::lang::dmi::ClazzMethodInfo *mi, acdk::lang::dmi::ClazzMethodArgInfo **const args) |
| reimplemented from StdDispatch Will be called by a DmiProxy to choose native super implementation or to call overloaded script implementation
|
acdk::lang::Object * | getDmiTarget (bool &forwarded, const::acdk::lang::dmi::ClazzInfo *&ci) |
| implemented of StdDispatch
|
| ScriptObject (const acdk::lang::dmi::ClazzInfo *ci) |
| ~ScriptObject () |
virtual acdk::lang::Object * | _cast (const::acdk::lang::dmi::ClazzInfo *ci) |
virtual void | getCollectableFields (FieldReferences &fields) |
| retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
|
bool | _gc_releaseRef (bool force=false) const |
| may be called by releaseRef() if ObjectHasLocalGc is set
|
void | finalize () |
| This is for java-compatibility.
|
void | setSuperObject (IN(acdk::lang::Object) obj) |
| INOUT (acdk::lang::Object) getSuperObject() |
void | setImplementation (IN(RScriptObject) impl) |
bool | isDirectSuper (const::acdk::lang::dmi::ClazzInfo *ci) |
int | readEval (IN(::acdk::io::RCharReader) in) |
| read eval global module
|
const acdk::lang::dmi::ClazzMethodInfo * | standardDispatch (IN(acdk::lang::RString) fname, acdk::lang::dmi::ScriptVar &ret, acdk::lang::dmi::ScriptVarArray &args, acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const acdk::lang::dmi::ClazzInfo *clazzinfo, const acdk::lang::dmi::ClazzMethodInfo *methinf) |
void | _invokeFinalize () |
void | _setFinalized () |
acdk::lang::Object | _findSuperByClazz (const acdk::lang::dmi::ClazzInfo *clazzinfo) |
Static Public Member Functions |
const::acdk::lang::dmi::ClazzMethodInfo * | static_dispatch (IN(acdk::lang::RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo, const::acdk::lang::dmi::ClazzMethodInfo *methinf) |
const::acdk::lang::dmi::ClazzMethodInfo * | dispatch (::acdk::lang::Object *This, IN(acdk::lang::RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo, const::acdk::lang::dmi::ClazzMethodInfo *methinf) |
const::acdk::lang::dmi::ClazzMethodInfo * | abstract_method_dispatch (::acdk::lang::Object *This, IN(acdk::lang::RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo, const::acdk::lang::dmi::ClazzMethodInfo *methinf) |
bool | _isDmiProxyInterface (const acdk::lang::dmi::ClazzInfo *ci) |
bool | _isScriptInterface (const acdk::lang::dmi::ClazzInfo *ci) |
Public Attributes |
RProps | _locals |
RObjectArray | _dmiProxies |
const acdk::lang::dmi::ClazzInfo * | _scriptClazzInfo |
RScriptObject | _derivedObject |
| holds the derived object if any
|
Protected Attributes |
acdk::lang::Object | _superObject |
bool | _finalizeCalled |
Private Member Functions |
RScriptObject | getMostDerived () |
virtual acdk::lang::Object * | _castFromTopMost (const::acdk::lang::dmi::ClazzInfo *ci) |
virtual acdk::lang::Object * | _castFromObject (IN(acdk::lang::Object) o, const::acdk::lang::dmi::ClazzInfo *ci) |
const acdk::lang::dmi::ClazzMethodInfo * | standardDispatchFromTopMost (IN(acdk::lang::RString) fname, acdk::lang::dmi::ScriptVar &ret, acdk::lang::dmi::ScriptVarArray &args, acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const acdk::lang::dmi::ClazzInfo *clazzinfo, const acdk::lang::dmi::ClazzMethodInfo *methinf) |
Private Attributes |
bool | _castRecGuard |
Constructor & Destructor Documentation
Member Function Documentation
virtual acdk::lang::Object* acdk::cfgscript::ScriptObject::_cast |
( |
const::acdk::lang::dmi::ClazzInfo * |
ci |
) |
[virtual] |
|
virtual acdk::lang::Object* acdk::cfgscript::ScriptObject::_castFromTopMost |
( |
const::acdk::lang::dmi::ClazzInfo * |
ci |
) |
[private, virtual] |
|
bool acdk::cfgscript::ScriptObject::_gc_releaseRef |
( |
bool |
force = false |
) |
const [virtual] |
|
void acdk::cfgscript::ScriptObject::_invokeFinalize |
( |
|
) |
|
|
void acdk::cfgscript::ScriptObject::_setFinalized |
( |
|
) |
|
|
void acdk::cfgscript::ScriptObject::finalize |
( |
|
) |
[virtual] |
|
|
This is for java-compatibility.
For real clean using Destructor is a better way. But different to destructors inside finalize() calls to virtual methods will still be dispatched to derived classes.
Reimplemented from acdk::lang::Object. |
virtual void acdk::cfgscript::ScriptObject::getCollectableFields |
( |
FieldReferences & |
fields |
) |
[virtual] |
|
|
retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
Reimplemented from acdk::lang::ObjectBase. |
RScriptObject acdk::cfgscript::ScriptObject::getMostDerived |
( |
|
) |
[private] |
|
bool acdk::cfgscript::ScriptObject::isDirectSuper |
( |
const::acdk::lang::dmi::ClazzInfo * |
ci |
) |
|
|
|
reimplemented from StdDispatch Will be called by a DmiProxy to choose native super implementation or to call overloaded script implementation
|
void acdk::cfgscript::ScriptObject::setImplementation |
( |
IN(RScriptObject) |
impl |
) |
|
|
Member Data Documentation
|
holds the derived object if any
|
|
|