G4QContent.cc File Reference

#include "G4QContent.hh"
#include <cmath>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &lhs, G4QContent &rhs)
ostream & operator<< (ostream &lhs, const G4QContent &rhs)
G4QContent operator+ (const G4QContent &lhs, const G4QContent &rhs)
G4QContent operator- (const G4QContent &lhs, const G4QContent &rhs)
G4QContent operator * (const G4QContent &lhs, const G4int &rhs)
G4QContent operator * (const G4int &lhs, const G4QContent &rhs)


Function Documentation

G4QContent operator * ( const G4int lhs,
const G4QContent rhs 
)

Definition at line 531 of file G4QContent.cc.

00532 {
00533   G4QContent s_value  = rhs;
00534   return     s_value *= lhs;
00535 }

G4QContent operator * ( const G4QContent lhs,
const G4int rhs 
)

Definition at line 524 of file G4QContent.cc.

00525 {
00526   G4QContent s_value  = lhs;
00527   return     s_value *= rhs;
00528 }

G4QContent operator+ ( const G4QContent lhs,
const G4QContent rhs 
)

Definition at line 510 of file G4QContent.cc.

00511 {
00512   G4QContent s_value  = lhs;
00513   return     s_value += rhs;
00514 }

G4QContent operator- ( const G4QContent lhs,
const G4QContent rhs 
)

Definition at line 517 of file G4QContent.cc.

00518 {
00519   G4QContent s_value  = lhs;
00520   return     s_value -= rhs;
00521 }

ostream& operator<< ( ostream &  lhs,
const G4QContent rhs 
)

Definition at line 261 of file G4QContent.cc.

References G4QContent::GetAD(), G4QContent::GetAS(), G4QContent::GetAU(), G4QContent::GetD(), G4QContent::GetS(), and G4QContent::GetU().

00262 {
00263   lhs << "{" << rhs.GetD() << "," << rhs.GetU() << "," << rhs.GetS() << ","
00264       << rhs.GetAD() << "," << rhs.GetAU() << "," << rhs.GetAS() << "}";
00265   return lhs;
00266 }

ostream& operator<< ( ostream &  lhs,
G4QContent rhs 
)

Definition at line 253 of file G4QContent.cc.

References G4QContent::GetAD(), G4QContent::GetAS(), G4QContent::GetAU(), G4QContent::GetD(), G4QContent::GetS(), and G4QContent::GetU().

00254 {
00255   lhs << "{" << rhs.GetD() << "," << rhs.GetU() << "," << rhs.GetS() << ","
00256       << rhs.GetAD() << "," << rhs.GetAU() << "," << rhs.GetAS() << "}";
00257   return lhs;
00258 }


Generated on Mon May 27 17:51:04 2013 for Geant4 by  doxygen 1.4.7