Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4MemStat::MemStat Struct Reference

#include <G4MemStat.hh>

Public Member Functions

 MemStat ()
 
 MemStat (const MemStat &right)
 
MemStat operator- (const MemStat &right)
 

Public Attributes

double vmz
 
double mem
 

Friends

std::ostream & operator<< (std::ostream &os, const MemStat &p)
 

Detailed Description

Definition at line 57 of file G4MemStat.hh.

Constructor & Destructor Documentation

G4MemStat::MemStat::MemStat ( )
inline

Definition at line 64 of file G4MemStat.hh.

64  : vmz(0), mem(0)
65  {;}
G4MemStat::MemStat::MemStat ( const MemStat right)
inline

Definition at line 66 of file G4MemStat.hh.

67  {
68  vmz = right.vmz;
69  mem = right.mem;
70  }

Member Function Documentation

MemStat G4MemStat::MemStat::operator- ( const MemStat right)
inline

Definition at line 72 of file G4MemStat.hh.

73  {
74  MemStat output;
75  output.vmz = this->vmz-right.vmz;
76  output.mem = this->mem-right.mem;
77  return output;
78  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const MemStat p 
)
friend

Member Data Documentation

double G4MemStat::MemStat::mem

Definition at line 62 of file G4MemStat.hh.

double G4MemStat::MemStat::vmz

Definition at line 61 of file G4MemStat.hh.


The documentation for this struct was generated from the following file: