MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Add

Function Add

Source/Engine/Core/Collections/BitArray.h:300–305  ·  view source on GitHub ↗

Adds the specified item to the collection. The item to add.

Source from the content-addressed store, hash-verified

298 /// </summary>
299 /// <param name="item">The item to add.</param>
300 void Add(const bool item)
301 {
302 EnsureCapacity(_count + 1);
303 ++_count;
304 Set(_count - 1, item);
305 }
306
307 /// <summary>
308 /// Adds the specified item to the collection.

Callers

nothing calls this directly

Calls 3

EnsureCapacityFunction · 0.85
SetFunction · 0.70
CountMethod · 0.45

Tested by

no test coverage detected