| 855 | //----------------------------------------------------------------------------- |
| 856 | |
| 857 | bool SimObject::isMethod( const char* methodName ) |
| 858 | { |
| 859 | if( !methodName || !methodName[0] ) |
| 860 | return false; |
| 861 | |
| 862 | if (CInterface::isMethod(this->getName(), methodName) || CInterface::isMethod(this->getClassName(), methodName)) { |
| 863 | return true; |
| 864 | } |
| 865 | |
| 866 | StringTableEntry stname = StringTable->insert( methodName ); |
| 867 | |
| 868 | if( getNamespace() ) |
| 869 | return ( getNamespace()->lookup( stname ) != NULL ); |
| 870 | |
| 871 | return false; |
| 872 | } |
| 873 | |
| 874 | //----------------------------------------------------------------------------- |
| 875 | |