MCPcopy Create free account
hub / github.com/avast/retdec / hasVirtualMethod

Method hasVirtualMethod

src/common/class.cpp:90–93  ·  view source on GitHub ↗

* Has the class a virtual method of the given name? */

Source from the content-addressed store, hash-verified

88* Has the class a virtual method of the given name?
89*/
90bool Class::hasVirtualMethod(const std::string& name) const
91{
92 return hasItem(virtualMethods, name);
93}
94
95/**
96* Does a function with the given name belong to the class?

Callers 2

getTypeOfFuncInClassMethod · 0.80
TEST_FFunction · 0.80

Calls 1

hasItemFunction · 0.85

Tested by 1

TEST_FFunction · 0.64