Changeset 7824 for trunk/MagicSoft
- Timestamp:
- 07/30/06 17:28:28 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7821 r7824 25 25 * mhist/MHCamera.[h,cc]: 26 26 - replaced SavePrimitive(ofstream&) by SavePrimitive(ostream&) 27 - if necessary let SavePrimitive(ofstream&) call 28 SavePrimitive(ostream&) 29 30 * mgui/MHexagon.[h,cc]: 31 - special solution for SavePrimitive because it calls a function 32 from the base class which also needs ofstream or ostream 27 33 28 34 -
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r7823 r7824 334 334 void MHexagon::SavePrimitive(ostream &out, Option_t *) 335 335 { 336 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,12,00) 336 337 if (gROOT->ClassSaved(Class())) 337 338 out << " "; … … 345 346 346 347 out << " hexagon->Draw();" << endl; 348 #endif 347 349 } 348 350 349 351 void MHexagon::SavePrimitive(ofstream &out, Option_t *) 350 352 { 353 #if ROOT_VERSION_CODE < ROOT_VERSION(5,12,00) 354 if (gROOT->ClassSaved(Class())) 355 out << " "; 356 else 357 out << " MHexagon *"; 358 359 out << "hexagon = new MHexagon(" << fX << "," << fY << "," << fD << ");" << endl; 360 361 SaveFillAttributes(out, "hexagon"); 362 SaveLineAttributes(out, "hexagon"); 363 364 out << " hexagon->Draw();" << endl; 365 #else 351 366 MHexagon::SavePrimitive(static_cast<ostream&>(out), ""); 352 } 367 #endif 368 }
Note:
See TracChangeset
for help on using the changeset viewer.