Changeset 2899 for trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
- Timestamp:
- 01/23/04 20:02:02 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r2749 r2899 18 18 ! Author(s): Thomas Bretz, 09/2003 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 320 ! Copyright: MAGIC Software Development, 2000-2004 21 21 ! 22 22 ! … … 49 49 ////////////////////////////////////////////////////////////////////////////// 50 50 #include "MGeomApply.h" 51 52 #include <fstream> 51 53 52 54 #include "MLog.h" … … 134 136 return kTRUE; 135 137 } 138 139 // -------------------------------------------------------------------------- 140 // 141 // Implementation of SavePrimitive. Used to write the call to a constructor 142 // to a macro. In the original root implementation it is used to write 143 // gui elements to a macro-file. 144 // 145 void MGeomApply::StreamPrimitive(ofstream &out) const 146 { 147 out << " " << ClassName() << " " << GetUniqueName() << "(\""; 148 out << "\"" << fName << "\", \"" << fTitle << "\");" << endl; 149 150 if (fGeomName.IsNull()) 151 return; 152 153 out << " " << GetUniqueName() << ".SetGeometry(\""; 154 out << fGeomName << "\");" << endl; 155 }
Note:
See TracChangeset
for help on using the changeset viewer.