Go to the source code of this file.
◆ mEndDeclFunClass
| #define mEndDeclFunClass }; |
◆ mStartDeclFunClass
| #define mStartDeclFunClass |
( |
|
funkey, |
|
|
|
parentclass |
|
) |
| |
Value:\
mStartDeclFunClassNoEval(funkey,parentclass) \
public: \
\
static Function* createInstance(const CmdDriver& cmddrv) \
{ return new funkey##Func(cmddrv); } \
{ factory().addCreator( createInstance, \
createFactoryKey(keyWord()) ); }
◆ mStartDeclFunClassNoEval
| #define mStartDeclFunClassNoEval |
( |
|
funkey, |
|
|
|
parentclass |
|
) |
| |
Value:\
mExpClass(uiCmdDriver) funkey##Func : public parentclass \
{ \
public: \
funkey##Func(const CmdDriver& cmddrv) \
: parentclass(cmddrv) \
{ \
name_ = keyWord(); \
*name_.getCStr() =
mCast(
char,tolower(*name_.buf())); \
} \
\
static const char* keyWord() { return #funkey; } \
virtual const char* name() const { return name_; } \
protected: \
BufferString name_;