clear void MemoryUsagePointers::clear(void); Description: Empties the set of pointers. |
getAge double MemoryUsagePointers::get_age(int n) const; Description: Returns the age of the nth pointer: the number of seconds elapsed between the time it was allocated and the time it was added to this set via a call to MemoryUsage::get_pointers(). |
getNumPointers int MemoryUsagePointers::get_num_pointers(void) const; Description: Returns the number of pointers in the set. |
getPointer ReferenceCount *MemoryUsagePointers::get_pointer(int n) const; Description: Returns the nth pointer of the set. |
getType TypeHandle MemoryUsagePointers::get_type(int n) const; Description: Returns the actual type of the nth pointer, if it is known. |
getTypeName string MemoryUsagePointers::get_type_name(int n) const; Description: Returns the type name of the nth pointer, if it is known. |
getTypedPointer TypedObject *MemoryUsagePointers::get_typed_pointer(int n) const; Description: Returns the nth pointer of the set, typecast to a TypedObject if possible. If the pointer is not a TypedObject or if the cast cannot be made, returns NULL. |