Changeset 2958 for trunk/MagicSoft/Mars/mfileio/MWriteFile.cc
- Timestamp:
- 01/29/04 16:52:22 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MWriteFile.cc
r2206 r2958 18 18 ! Author(s): Thomas Bretz, 6/2001 <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 ! … … 24 24 25 25 ///////////////////////////////////////////////////////////////////////////// 26 // //27 // MWriteFile //28 // //29 // This is a base class for writing tasks. If you want to implement //30 // writing out parameter containers in a new file format, this is a good //31 // starting point. //32 // The class defines a generalized interface between writing out data in //33 // an eventloop and your file format. //34 // //26 // 27 // MWriteFile 28 // 29 // This is a base class for writing tasks. If you want to implement 30 // writing out parameter containers in a new file format, this is a good 31 // starting point. 32 // The class defines a generalized interface between writing out data in 33 // an eventloop and your file format. 34 // 35 35 ///////////////////////////////////////////////////////////////////////////// 36 37 36 #include "MWriteFile.h" 38 37 … … 86 85 // -------------------------------------------------------------------------- 87 86 // 88 // Checks if the HasChanged flag of the output container is set. If it is set 89 // the container should be written to the output. 87 // Checks if the SetReadyToSave flag of the output container is set. If it 88 // is set the container should be written to the output. 89 // 90 Bool_t MWriteFile::ReInit(MParList *pList) 91 { 92 CheckAndWrite(); 93 return kTRUE; 94 } 95 96 // -------------------------------------------------------------------------- 97 // 98 // Checks if the SetReadyToSave flag of the output container is set. If it is 99 // set the container should be written to the output. 90 100 // 91 101 Int_t MWriteFile::Process() … … 97 107 // -------------------------------------------------------------------------- 98 108 // 99 // Checks if the HasChanged flag of the output container is set. If it is set100 // the container should be written to the output.109 // Checks if the SetReadyToSave flag of the output container is set. If it is 110 // set the container should be written to the output. 101 111 // 102 112 Int_t MWriteFile::PostProcess() … … 108 118 return kTRUE; 109 119 } 110
Note:
See TracChangeset
for help on using the changeset viewer.