Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
WWProfileHierachyNodeClass Class Reference

#include <wwprofile.h>

Public Member Functions

 WWProfileHierachyNodeClass (const char *name, WWProfileHierachyNodeClass *parent)
 
 WWProfileHierachyNodeClass (unsigned id, WWProfileHierachyNodeClass *parent)
 
 ~WWProfileHierachyNodeClass (void)
 
WWProfileHierachyNodeClassGet_Sub_Node (const char *name)
 
WWProfileHierachyNodeClassGet_Parent (void)
 
WWProfileHierachyNodeClassGet_Sibling (void)
 
WWProfileHierachyNodeClassGet_Child (void)
 
void Set_Parent (WWProfileHierachyNodeClass *node)
 
void Set_Sibling (WWProfileHierachyNodeClass *node)
 
void Set_Child (WWProfileHierachyNodeClass *node)
 
void Reset (void)
 
void Call (void)
 
bool Return (void)
 
const char * Get_Name (void)
 
int Get_Total_Calls (void)
 
float Get_Total_Time (void)
 
void Set_Total_Calls (int calls)
 
void Set_Total_Time (float time)
 
WWProfileHierachyNodeClassClone_Hierarchy (WWProfileHierachyNodeClass *parent)
 
void Write_To_File (FileClass *file, int recursion)
 
void Add_To_String_Compact (StringClass &string, int recursion)
 

Protected Attributes

const char * Name
 
int TotalCalls
 
float TotalTime
 
__int64 StartTime
 
int RecursionCounter
 
unsigned ProfileStringID
 
WWProfileHierachyNodeClassParent
 
WWProfileHierachyNodeClassChild
 
WWProfileHierachyNodeClassSibling
 

Detailed Description

Definition at line 64 of file wwprofile.h.

Constructor & Destructor Documentation

◆ WWProfileHierachyNodeClass() [1/2]

WWProfileHierachyNodeClass::WWProfileHierachyNodeClass ( const char * name,
WWProfileHierachyNodeClass * parent )

Definition at line 139 of file wwprofile.cpp.

◆ WWProfileHierachyNodeClass() [2/2]

WWProfileHierachyNodeClass::WWProfileHierachyNodeClass ( unsigned id,
WWProfileHierachyNodeClass * parent )

Definition at line 157 of file wwprofile.cpp.

◆ ~WWProfileHierachyNodeClass()

WWProfileHierachyNodeClass::~WWProfileHierachyNodeClass ( void )

Definition at line 184 of file wwprofile.cpp.

Member Function Documentation

◆ Add_To_String_Compact()

void WWProfileHierachyNodeClass::Add_To_String_Compact ( StringClass & string,
int recursion )

Definition at line 228 of file wwprofile.cpp.

◆ Call()

void WWProfileHierachyNodeClass::Call ( void )

Definition at line 321 of file wwprofile.cpp.

◆ Clone_Hierarchy()

WWProfileHierachyNodeClass * WWProfileHierachyNodeClass::Clone_Hierarchy ( WWProfileHierachyNodeClass * parent)

Definition at line 191 of file wwprofile.cpp.

◆ Get_Child()

WWProfileHierachyNodeClass * WWProfileHierachyNodeClass::Get_Child ( void )
inline

Definition at line 75 of file wwprofile.h.

◆ Get_Name()

const char * WWProfileHierachyNodeClass::Get_Name ( void )
inline

Definition at line 85 of file wwprofile.h.

◆ Get_Parent()

WWProfileHierachyNodeClass * WWProfileHierachyNodeClass::Get_Parent ( void )
inline

Definition at line 73 of file wwprofile.h.

◆ Get_Sibling()

WWProfileHierachyNodeClass * WWProfileHierachyNodeClass::Get_Sibling ( void )
inline

Definition at line 74 of file wwprofile.h.

◆ Get_Sub_Node()

WWProfileHierachyNodeClass * WWProfileHierachyNodeClass::Get_Sub_Node ( const char * name)

Definition at line 264 of file wwprofile.cpp.

◆ Get_Total_Calls()

int WWProfileHierachyNodeClass::Get_Total_Calls ( void )
inline

Definition at line 86 of file wwprofile.h.

◆ Get_Total_Time()

float WWProfileHierachyNodeClass::Get_Total_Time ( void )
inline

Definition at line 87 of file wwprofile.h.

◆ Reset()

void WWProfileHierachyNodeClass::Reset ( void )

Definition at line 295 of file wwprofile.cpp.

◆ Return()

bool WWProfileHierachyNodeClass::Return ( void )

Definition at line 342 of file wwprofile.cpp.

◆ Set_Child()

void WWProfileHierachyNodeClass::Set_Child ( WWProfileHierachyNodeClass * node)
inline

Definition at line 79 of file wwprofile.h.

◆ Set_Parent()

void WWProfileHierachyNodeClass::Set_Parent ( WWProfileHierachyNodeClass * node)
inline

Definition at line 77 of file wwprofile.h.

◆ Set_Sibling()

void WWProfileHierachyNodeClass::Set_Sibling ( WWProfileHierachyNodeClass * node)
inline

Definition at line 78 of file wwprofile.h.

◆ Set_Total_Calls()

void WWProfileHierachyNodeClass::Set_Total_Calls ( int calls)
inline

Definition at line 88 of file wwprofile.h.

◆ Set_Total_Time()

void WWProfileHierachyNodeClass::Set_Total_Time ( float time)
inline

Definition at line 89 of file wwprofile.h.

◆ Write_To_File()

void WWProfileHierachyNodeClass::Write_To_File ( FileClass * file,
int recursion )

Definition at line 209 of file wwprofile.cpp.

Member Data Documentation

◆ Child

WWProfileHierachyNodeClass* WWProfileHierachyNodeClass::Child
protected

Definition at line 106 of file wwprofile.h.

◆ Name

const char* WWProfileHierachyNodeClass::Name
protected

Definition at line 98 of file wwprofile.h.

◆ Parent

WWProfileHierachyNodeClass* WWProfileHierachyNodeClass::Parent
protected

Definition at line 105 of file wwprofile.h.

◆ ProfileStringID

unsigned WWProfileHierachyNodeClass::ProfileStringID
protected

Definition at line 103 of file wwprofile.h.

◆ RecursionCounter

int WWProfileHierachyNodeClass::RecursionCounter
protected

Definition at line 102 of file wwprofile.h.

◆ Sibling

WWProfileHierachyNodeClass* WWProfileHierachyNodeClass::Sibling
protected

Definition at line 107 of file wwprofile.h.

◆ StartTime

__int64 WWProfileHierachyNodeClass::StartTime
protected

Definition at line 101 of file wwprofile.h.

◆ TotalCalls

int WWProfileHierachyNodeClass::TotalCalls
protected

Definition at line 99 of file wwprofile.h.

◆ TotalTime

float WWProfileHierachyNodeClass::TotalTime
protected

Definition at line 100 of file wwprofile.h.


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