* Has the class a method of the given name? * * Only non-virtual methods are considered. If you want to check whether a class * has a virtual method, use hasVirtualMethod(). */
| 80 | * has a virtual method, use hasVirtualMethod(). |
| 81 | */ |
| 82 | bool Class::hasMethod(const std::string& name) const |
| 83 | { |
| 84 | return hasItem(methods, name); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Has the class a virtual method of the given name? |