Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DimensionedType.hh File Reference
#include "globals.hh"
#include "G4ConversionFatalError.hh"
#include "G4String.hh"
#include "G4UnitsTable.hh"
#include <ostream>

Go to the source code of this file.

Classes

class  G4DimensionedType< T, ConversionErrorPolicy >
 

Namespaces

namespace  G4DimensionedTypeUtils
 

Functions

G4bool G4DimensionedTypeUtils::GetUnitValue (const G4String &unit, G4double &value)
 
template<typename M >
std::ostream & operator<< (std::ostream &os, const G4DimensionedType< M > &obj)
 

Function Documentation

◆ operator<<()

template<typename M >
std::ostream & operator<< ( std::ostream &  os,
const G4DimensionedType< M > &  obj 
)

Definition at line 165 of file G4DimensionedType.hh.

165 {
166 os << obj.RawValue()<<" "<<obj.Unit();
167 return os;
168}
G4String Unit() const