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

Function ClearDelete

Source/Engine/Core/Collections/HashSet.h:401–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 template<typename = typename TEnableIf<TIsPointer<T>::Value>::Type>
400#endif
401 void ClearDelete()
402 {
403 for (Iterator i = Begin(); i.IsNotEnd(); ++i)
404 {
405 if (i->Item)
406 ::Delete(i->Item);
407 }
408 Base::Clear();
409 }
410
411public:
412 /// <summary>

Callers 2

UnloadMethod · 0.50
~MClassMethod · 0.50

Calls 4

DeleteFunction · 0.85
BeginFunction · 0.70
ClearFunction · 0.50
IsNotEndMethod · 0.45

Tested by

no test coverage detected