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

#include <UT_MemoryCounter.h>

+ Inheritance diagram for UT_MemoryCounterUniqueFullSafe:

Public Member Functions

 UT_MemoryCounterUniqueFullSafe ()
 
virtual ~UT_MemoryCounterUniqueFullSafe ()
 
virtual void reset ()
 
virtual bool countShared (size_t size, exint refcount, const void *p)
 
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.

virtual UT_MemoryCounterUniqueFullSafe::~UT_MemoryCounterUniqueFullSafe ( )
inlinevirtual

Definition at line 188 of file UT_MemoryCounter.h.

Member Function Documentation

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

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.

virtual void UT_MemoryCounterUniqueFullSafe::reset ( void  )
inlinevirtual

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: