MCPcopy Create free account
hub / github.com/axmolengine/axmol / find

Method find

core/base/Vector.h:232–232  ·  view source on GitHub ↗

@brief Find the object in the Vector. * @param object The object to find. * @return Returns an iterator which refers to the element that its value is equals to object. * Returns Vector::end() if not found. */

Source from the content-addressed store, hash-verified

230 * Returns Vector::end() if not found.
231 */
232 const_iterator find(T object) const { return std::find(_data.begin(), _data.end(), object); }
233
234 /** @brief Find the object in the Vector.
235 * @param object The object to find.

Callers

nothing calls this directly

Calls 3

findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected