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

#include <UT_MemoryTable.h>

Public Member Functions

 UT_MemoryTable (UT_MemoryUser *user_list, int number_of_users)
 
UT_MemoryUsergetUser (int index)
 
const UT_MemoryUsergetUser (int index) const
 
int entries () const
 
size_t getUsed () const
 
size_t getPeak () const
 
void inc (int user, size_t amount)
 
void dec (int user, size_t amount)
 

Detailed Description

Definition at line 158 of file UT_MemoryTable.h.

Constructor & Destructor Documentation

UT_MemoryTable::UT_MemoryTable ( UT_MemoryUser user_list,
int  number_of_users 
)
inline

Definition at line 161 of file UT_MemoryTable.h.

Member Function Documentation

void UT_MemoryTable::dec ( int  user,
size_t  amount 
)
inline

Definition at line 178 of file UT_MemoryTable.h.

int UT_MemoryTable::entries ( ) const
inline

Definition at line 170 of file UT_MemoryTable.h.

size_t UT_MemoryTable::getPeak ( ) const
size_t UT_MemoryTable::getUsed ( ) const
UT_MemoryUser& UT_MemoryTable::getUser ( int  index)
inline

Definition at line 167 of file UT_MemoryTable.h.

const UT_MemoryUser& UT_MemoryTable::getUser ( int  index) const
inline

Definition at line 168 of file UT_MemoryTable.h.

void UT_MemoryTable::inc ( int  user,
size_t  amount 
)
inline

Definition at line 174 of file UT_MemoryTable.h.


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