Public Member Functions | Protected Member Functions | Protected Attributes | Friends

CProfileIterator Class Reference

An iterator to navigate through the tree. More...

#include <btQuickprof.h>

Collaboration diagram for CProfileIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void First (void)
void Next (void)
bool Is_Done (void)
bool Is_Root (void)
void Enter_Child (int index)
void Enter_Largest_Child (void)
void Enter_Parent (void)
const char * Get_Current_Name (void)
int Get_Current_Total_Calls (void)
float Get_Current_Total_Time (void)
void * Get_Current_UserPointer (void)
void Set_Current_UserPointer (void *ptr)
const char * Get_Current_Parent_Name (void)
int Get_Current_Parent_Total_Calls (void)
float Get_Current_Parent_Total_Time (void)

Protected Member Functions

 CProfileIterator (CProfileNode *start)

Protected Attributes

CProfileNodeCurrentParent
CProfileNodeCurrentChild

Friends

class CProfileManager

Detailed Description

An iterator to navigate through the tree.

Definition at line 102 of file btQuickprof.h.


Constructor & Destructor Documentation

CProfileIterator::CProfileIterator ( CProfileNode start  )  [protected]

Definition at line 370 of file btQuickprof.cpp.


Member Function Documentation

void CProfileIterator::Enter_Child ( int  index  ) 

Definition at line 395 of file btQuickprof.cpp.

void CProfileIterator::Enter_Largest_Child ( void   ) 
void CProfileIterator::Enter_Parent ( void   ) 

Definition at line 410 of file btQuickprof.cpp.

void CProfileIterator::First ( void   ) 

Definition at line 377 of file btQuickprof.cpp.

const char* CProfileIterator::Get_Current_Name ( void   )  [inline]

Definition at line 116 of file btQuickprof.h.

const char* CProfileIterator::Get_Current_Parent_Name ( void   )  [inline]

Definition at line 123 of file btQuickprof.h.

int CProfileIterator::Get_Current_Parent_Total_Calls ( void   )  [inline]

Definition at line 124 of file btQuickprof.h.

float CProfileIterator::Get_Current_Parent_Total_Time ( void   )  [inline]

Definition at line 125 of file btQuickprof.h.

int CProfileIterator::Get_Current_Total_Calls ( void   )  [inline]

Definition at line 117 of file btQuickprof.h.

float CProfileIterator::Get_Current_Total_Time ( void   )  [inline]

Definition at line 118 of file btQuickprof.h.

void* CProfileIterator::Get_Current_UserPointer ( void   )  [inline]

Definition at line 120 of file btQuickprof.h.

bool CProfileIterator::Is_Done ( void   ) 

Definition at line 389 of file btQuickprof.cpp.

bool CProfileIterator::Is_Root ( void   )  [inline]

Definition at line 109 of file btQuickprof.h.

void CProfileIterator::Next ( void   ) 

Definition at line 383 of file btQuickprof.cpp.

void CProfileIterator::Set_Current_UserPointer ( void *  ptr  )  [inline]

Definition at line 121 of file btQuickprof.h.


Friends And Related Function Documentation

friend class CProfileManager [friend]

Definition at line 136 of file btQuickprof.h.


Member Data Documentation

Definition at line 132 of file btQuickprof.h.

Definition at line 131 of file btQuickprof.h.


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