Ignore:
Timestamp:
01/29/04 16:52:22 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MWriteFile.cc

    r2206 r2958  
    1818!   Author(s): Thomas Bretz, 6/2001 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2003
     20!   Copyright: MAGIC Software Development, 2000-2004
    2121!
    2222!
     
    2424
    2525/////////////////////////////////////////////////////////////////////////////
    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//
    3535/////////////////////////////////////////////////////////////////////////////
    36 
    3736#include "MWriteFile.h"
    3837
     
    8685// --------------------------------------------------------------------------
    8786//
    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//
     90Bool_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.
    90100//
    91101Int_t MWriteFile::Process()
     
    97107// --------------------------------------------------------------------------
    98108//
    99 // Checks if the HasChanged flag of the output container is set. If it is set
    100 // 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.
    101111//
    102112Int_t MWriteFile::PostProcess()
     
    108118    return kTRUE;
    109119}
    110 
Note: See TracChangeset for help on using the changeset viewer.