|
|
|
|
|
class MethodAltNameAttribute
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::tools::mc::MethodAltNameAttribute Class Reference#include <MethodAltNameAttribute.h>
Inheritance diagram for acdk::tools::mc::MethodAltNameAttribute:
List of all members.
Detailed Description
Sets the altname field in acdk::lang::dmi::MethodInfo.
Constructor & Destructor Documentation
acdk::tools::mc::MethodAltNameAttribute::MethodAltNameAttribute |
( |
IN(RString) |
altName, |
|
|
int |
paramCount = -1 |
|
) |
|
|
|
used with ACDK_METHODATTRIBUTE.
- Parameters:
-
altname | alternative name for the method |
paramCount | in case the method has default parameter paramCount identifies the method number of parameters. ACDK_METHODATTRIBUTE(acdk.tools.mc.MethodAltNameAttribute(methodWithoutArgs, 0)) ACDK_METHODATTRIBUTE(acdk.tools.mc.MethodAltNameAttribute(methodWithOneArgs, 1)) int methodWithDefaultArgs(int i = 3) { return i; } via DMI the method methodWithDefaultArgs is callable as int methodWithoutArgs(); and int methodWithOneArgs(int i); |
|
Member Function Documentation
virtual bool acdk::tools::mc::MethodAltNameAttribute::apply |
( |
IN(RCodeInfo) |
cm |
) |
[virtual] |
|
void acdk::tools::mc::MethodAltNameAttribute::initAttribute |
( |
IN(RMetaCompiler) |
mc |
) |
[static] |
|
Member Data Documentation
|
|