CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
PathTracker Struct Reference

Public Member Functions

void incTotal () const
 
bool operator< (const PathTracker &a) const
 
 PathTracker ()
 
void setID () const
 

Public Attributes

unsigned int id_
 
unsigned int total_
 
ULVec tree_
 

Static Public Attributes

static unsigned int next_id_ = 0
 

Detailed Description

Definition at line 29 of file ProfParse.cc.

Constructor & Destructor Documentation

PathTracker::PathTracker ( )
inline

Definition at line 31 of file ProfParse.cc.

31 : id_(),total_() { }
unsigned int total_
Definition: ProfParse.cc:34
unsigned int id_
Definition: ProfParse.cc:33

Member Function Documentation

void PathTracker::incTotal ( ) const
inline

Definition at line 39 of file ProfParse.cc.

References total_.

39 { ++total_; }
unsigned int total_
Definition: ProfParse.cc:34
bool PathTracker::operator< ( const PathTracker a) const

Definition at line 46 of file ProfParse.cc.

References tree_.

47 {
48  return tree_ < a.tree_;
49 }
ULVec tree_
Definition: ProfParse.cc:35
void PathTracker::setID ( ) const
inline

Definition at line 38 of file ProfParse.cc.

References id_, and next_id_.

38 { id_=next_id_++; }
unsigned int id_
Definition: ProfParse.cc:33
static unsigned int next_id_
Definition: ProfParse.cc:41

Member Data Documentation

unsigned int PathTracker::id_
mutable

Definition at line 33 of file ProfParse.cc.

Referenced by operator<<(), and setID().

unsigned int PathTracker::next_id_ = 0
static

Definition at line 41 of file ProfParse.cc.

Referenced by setID().

unsigned int PathTracker::total_
mutable

Definition at line 34 of file ProfParse.cc.

Referenced by incTotal(), and operator<<().

ULVec PathTracker::tree_

Definition at line 35 of file ProfParse.cc.

Referenced by operator<(), operator<<(), and writeProfileData().