68 {
71 os <<
"Graphics System: " << gs.
GetName ();
74 }
77 }
80 size_t nScenes = scenes.size ();
81 if (nScenes) {
82 G4int nScenesOfThisSystem = 0;
83 for (size_t i = 0; i < nScenes; i++) {
84 if (scenes [i] -> GetGraphicsSystem () == &gs) {
85 nScenesOfThisSystem++;
86 }
87 }
88 if (nScenesOfThisSystem) {
89 os << "\n Its scenes are: ";
90 for (size_t i = 0; i < nScenes; i++) {
91 if (scenes [i] -> GetGraphicsSystem () == &gs) {
92 os << "\n " << *(scenes [i]);
93 }
94 }
95 }
96 else {
97 os << "\n It has no scenes at present.";
98 }
99 }
100 else {
101 os << "\n There are no scenes instantiated at present.";
102 }
103 }
104 return os;
105}
const G4String & GetNickname() const
Functionality GetFunctionality() const
const G4String & GetDescription() const
const G4String & GetName() const