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

Method size

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

@brief Returns the number of elements in the Vector. * @note This is the number of actual objects held in the Vector, which is not necessarily equal to its storage * capacity. * @return The number of elements in the Vector. */

Source from the content-addressed store, hash-verified

204 * @return The number of elements in the Vector.
205 */
206 ssize_t size() const { return _data.size(); }
207
208 /** @brief Returns whether the Vector is empty (i.e. whether its size is 0).
209 * @note This function does not modify the container in any way. To clear the content of a vector, see

Callers 2

equalsMethod · 0.95
getRandomObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected