Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QContent.hh File Reference
#include <iostream>
#include "globals.hh"
#include "Randomize.hh"
#include "G4QException.hh"

Go to the source code of this file.

Classes

class  G4QContent
 

Functions

std::ostream & operator<< (std::ostream &lhs, G4QContent &rhs)
 
std::ostream & operator<< (std::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

◆ operator*() [1/2]

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

Definition at line 531 of file G4QContent.cc.

532{
533 G4QContent s_value = rhs;
534 return s_value *= lhs;
535}

◆ operator*() [2/2]

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

Definition at line 524 of file G4QContent.cc.

525{
526 G4QContent s_value = lhs;
527 return s_value *= rhs;
528}

◆ operator+()

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

Definition at line 510 of file G4QContent.cc.

511{
512 G4QContent s_value = lhs;
513 return s_value += rhs;
514}

◆ operator-()

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

Definition at line 517 of file G4QContent.cc.

518{
519 G4QContent s_value = lhs;
520 return s_value -= rhs;
521}

◆ operator<<() [1/2]

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

Definition at line 261 of file G4QContent.cc.

262{
263 lhs << "{" << rhs.GetD() << "," << rhs.GetU() << "," << rhs.GetS() << ","
264 << rhs.GetAD() << "," << rhs.GetAU() << "," << rhs.GetAS() << "}";
265 return lhs;
266}
G4int GetAD() const
Definition: G4QContent.hh:193
G4int GetU() const
Definition: G4QContent.hh:189
G4int GetS() const
Definition: G4QContent.hh:191
G4int GetAS() const
Definition: G4QContent.hh:194
G4int GetD() const
Definition: G4QContent.hh:190
G4int GetAU() const
Definition: G4QContent.hh:192

◆ operator<<() [2/2]

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

Definition at line 253 of file G4QContent.cc.

254{
255 lhs << "{" << rhs.GetD() << "," << rhs.GetU() << "," << rhs.GetS() << ","
256 << rhs.GetAD() << "," << rhs.GetAU() << "," << rhs.GetAS() << "}";
257 return lhs;
258}