CCCoreLib 31 May 2022
CloudCompare Core algorithms
Public Member Functions | Public Attributes | List of all members
CCCoreLib::Garbage< ScalarField > Class Reference

Specialization for ScalarFields. More...

#include <Garbage.h>

Collaboration diagram for CCCoreLib::Garbage< ScalarField >:
Collaboration graph
[legend]

Public Member Functions

void add (ScalarField *item)
 Puts an item in the trash.
 
void remove (ScalarField *item)
 Removes an item from the trash. More...
 
void destroy (ScalarField *item)
 Manually deltes an item already in the trash.
 
 ~Garbage ()
 Destructor. More...
 

Public Attributes

std::unordered_set< ScalarField * > m_items
 Items to delete.
 

Detailed Description

Specialization for ScalarFields.

Constructor & Destructor Documentation

◆ ~Garbage()

Destructor.

Automatically deletes all items

Member Function Documentation

◆ remove()

void CCCoreLib::Garbage< ScalarField >::remove ( ScalarField item)
inline

Removes an item from the trash.

Warning
The item won't be destroyed!

The documentation for this class was generated from the following file: