HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_MemoryCounterUniqueFullSafe Class Reference

#include <UT_MemoryCounter.h>

+ Inheritance diagram for UT_MemoryCounterUniqueFullSafe:

Public Member Functions

 UT_MemoryCounterUniqueFullSafe ()
 
 ~UT_MemoryCounterUniqueFullSafe () override
 
void reset () override
 
bool countShared (size_t size, exint refcount, const void *p) override
 
size_t getUniqueCount () const
 
size_t getFullCount () const
 
- Public Member Functions inherited from UT_MemoryCounter
 UT_MemoryCounter ()
 
virtual ~UT_MemoryCounter ()
 
void countUnshared (size_t size)
 
virtual size_t getCount () const
 
bool mustCountShared () const
 
bool mustCountUnshared () const
 

Additional Inherited Members

- Protected Member Functions inherited from UT_MemoryCounter
 UT_MemoryCounter (const bool countshared, const bool countunshared)
 

Detailed Description

This subclass behaves the same as UT_MemoryCounterNewSafe, except without an input set of pointers to avoid

Definition at line 179 of file UT_MemoryCounter.h.

Constructor & Destructor Documentation

UT_MemoryCounterUniqueFullSafe::UT_MemoryCounterUniqueFullSafe ( )
inline

Definition at line 182 of file UT_MemoryCounter.h.

UT_MemoryCounterUniqueFullSafe::~UT_MemoryCounterUniqueFullSafe ( )
inlineoverride

Definition at line 188 of file UT_MemoryCounter.h.

Member Function Documentation

bool UT_MemoryCounterUniqueFullSafe::countShared ( size_t  size,
exint  refcount,
const void p 
)
inlineoverridevirtual

This counts shared memory according to the requirements of the use case.

Reimplemented from UT_MemoryCounter.

Definition at line 202 of file UT_MemoryCounter.h.

size_t UT_MemoryCounterUniqueFullSafe::getFullCount ( ) const
inline

Definition at line 238 of file UT_MemoryCounter.h.

size_t UT_MemoryCounterUniqueFullSafe::getUniqueCount ( ) const
inline

Definition at line 233 of file UT_MemoryCounter.h.

void UT_MemoryCounterUniqueFullSafe::reset ( void  )
inlineoverridevirtual

This resets any data structures used for counting to their freshly-constructed state.

Reimplemented from UT_MemoryCounter.

Definition at line 192 of file UT_MemoryCounter.h.


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