![]() |
CCCoreLib 31 May 2022
CloudCompare Core algorithms
|
Garbage container (automatically deletes pointers when destroyed) More...
#include <Garbage.h>
Public Member Functions | |
void | add (C *item) |
Puts an item in the trash. | |
void | remove (C *item) |
Removes an item from the trash. More... | |
void | destroy (C *item) |
To manually delete an item already in the trash. | |
~Garbage () | |
Destructor. More... | |
Public Attributes | |
std::unordered_set< C * > | m_items |
Items to delete. | |
Garbage container (automatically deletes pointers when destroyed)
|
inline |
Destructor.
Automatically deletes all items
|
inline |
Removes an item from the trash.