|
|
|
|
|
class SetDispatchAttribute
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::tools::mc::SetDispatchAttribute Class Reference#include <SetDispatchAttribute.h>
Inheritance diagram for acdk::tools::mc::SetDispatchAttribute:
List of all members.
Detailed Description
With this attribute the dmi dispatch method for a class (static or dynamic methods), a method or a field can be set.
ACDK_CLASSATTRIBUTE(acdk.tools.mc.SetDispatchAttribute(DispatchTest::stddispatch, false))
class DispatchTest
: public acdk::lang::Object
{
ACDK_WITH_METAINFO(DispatchTest)
public:
static const ::acdk::lang::dmi::ClazzMethodInfo* stddispatch(
::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)
{
}
static const ::acdk::lang::dmi::ClazzMethodInfo* fooDispatch(
::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)
{
}
ACDK_METHODATTRIBUTE(acdk.tools.mc.SetDispatchAttribute(DispatchTest::fooDispatch, false))
void foo(IN(RString) str) {}
ACDK_FIELDATTRIBUTE(acdk.tools.mc.SetDispatchAttribute(DispatchTest::dummyacc, false))
RObject dummyvar;
static const ::acdk::lang::dmi::ClazzFieldInfo* dummyacc(
::acdk::lang::Object* This,
IN(acdk::lang::RString) fname,
::acdk::lang::dmi::ScriptVar& var,
::acdk::lang::dmi::DmiClient& dc,
int flags,
const ::acdk::lang::dmi::ClazzInfo* clazzinfo,
const ::acdk::lang::dmi::ClazzFieldInfo* fieldinf)
{
}
};
Constructor & Destructor Documentation
acdk::tools::mc::SetDispatchAttribute::SetDispatchAttribute |
( |
IN(RString) |
signature = , |
|
|
bool |
staticCall = false |
|
) |
|
|
Member Function Documentation
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RFieldInfo) |
cm |
) |
[virtual] |
|
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RArgumentInfo) |
cm |
) |
[virtual] |
|
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RMethodInfo) |
cm |
) |
[virtual] |
|
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RClassInfo) |
cm |
) |
[virtual] |
|
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RModuleInfo) |
cm |
) |
[virtual] |
|
virtual bool acdk::tools::mc::SetDispatchAttribute::apply |
( |
IN(RCodeInfo) |
cm |
) |
[virtual] |
|
bool acdk::tools::mc::SetDispatchAttribute::attachAttribute |
( |
IN(RCodeInfo) |
ci |
) |
|
|
void acdk::tools::mc::SetDispatchAttribute::initAttribute |
( |
IN(RMetaCompiler) |
mc |
) |
[static] |
|
Member Data Documentation
|
|