I have
many, related, external functions and I want to service them all from the
execute() method of a single 'Function<name> : public
Function' class. However, I can not find anything in the parameters
to the execute() method that tells me which function is being called. I
want to do something like;
XObjectPtr
MyFunction::execute( .... ) {
char* functionName = ????;
if ( strcmp( functionName, "foo" ) == 0 )
{
// do foo stuff
} else if ( strcmp( functionName, "bar" ) == 0 )
{
// do bar stuff
} else
// do error stuff
}
Can you
point me to where I can grab the function name?
Thanks.
--
Charles
Brown
e-mail [EMAIL PROTECTED]
Lead
Software Engineer, DPP phone
315.445.5744
Sensis
Corporation
fax 315.234.9400
