Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Visible.cc File Reference
#include "G4Visible.hh"
#include "G4VisAttributes.hh"
#include "G4ios.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4Visible &v)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const G4Visible & v )

Definition at line 123 of file G4Visible.cc.

123 {
124 os << "G4Visible: ";
125 if (!v.fInfo.empty()) os << "User information: " << v.fInfo << ": ";
126 if (v.fpVisAttributes != nullptr) return os << '\n' << *(v.fpVisAttributes);
127 return os << "No Visualization Attributes";
128}
const G4VisAttributes * fpVisAttributes
Definition G4Visible.hh:87
G4String fInfo
Definition G4Visible.hh:86