Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Counter Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/samples/sample4.h>

Public Member Functions

 Counter ()
 
int Increment ()
 
void Print () const
 

Private Attributes

int counter_
 

Detailed Description

Definition at line 38 of file sample4.h.

View newest version in sPHENIX GitHub at line 38 of file sample4.h

Constructor & Destructor Documentation

Counter::Counter ( )
inline

Definition at line 44 of file sample4.h.

View newest version in sPHENIX GitHub at line 44 of file sample4.h

Member Function Documentation

int Counter::Increment ( )

Definition at line 39 of file sample4.cc.

View newest version in sPHENIX GitHub at line 39 of file sample4.cc

References counter_.

Referenced by TEST().

+ Here is the caller graph for this function:

void Counter::Print ( ) const

Definition at line 44 of file sample4.cc.

View newest version in sPHENIX GitHub at line 44 of file sample4.cc

References counter_, and printf().

+ Here is the call graph for this function:

Member Data Documentation

int Counter::counter_
private

Definition at line 40 of file sample4.h.

View newest version in sPHENIX GitHub at line 40 of file sample4.h

Referenced by Increment(), and Print().


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