CORE_MemoryStack is the class to register all the created classes to detect not destroyed classes.
More...
#include <CORE_MemoryStack.h>
template<class T>
class CORE_MemoryStack< T >
CORE_MemoryStack is the class to register all the created classes to detect not destroyed classes.
◆ getContentsMemorySize()
return the memory size of the included associations
- Returns
- the memory size of the storage in bytes 1 Kb = 1024 bytes 1 Mb = 1024 Kb 1 Gb = 1024 Mb 1 Tb = 1024 Gb 1 Hb = 1024 Tb
◆ getMemorySize()
return the memory size in byte
- Returns
- the memory size of the storage in bytes 1 Kb = 1024 bytes 1 Mb = 1024 Kb 1 Gb = 1024 Mb 1 Tb = 1024 Gb 1 Hb = 1024 Tb
◆ getRegistredClassesNumber()
retunr the number of registred elements
- Returns
- the number of object classes created
◆ registerClass()
register the object
- Parameters
-
| [in] | obj | object to register |
◆ toString()
print all the registred classes
- Returns
- the string with all the registered classes
◆ unregisterClass()
unregister the object
- Parameters
-
| [in] | obj | object to unregister |
The documentation for this class was generated from the following file: