Changeset 10281 for trunk/Mars/mreport


Ignore:
Timestamp:
04/04/11 10:08:59 (14 years ago)
Author:
tbretz
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mreport/MReportFileRead.cc

    r8963 r10281  
    114114// --------------------------------------------------------------------------
    115115//
    116 // Add a new MReport* to the list (eg 'Drive' will add MReportDrive)
     116// Add a new MReport* to the list. The name is the class name (eg MReportDrive)
    117117// For convinience the object is created as a MReportHelp object.
    118118//
     
    122122
    123123    if (!help->GetReport())
     124    {
     125        delete help;
    124126        return kFALSE;
     127    }
    125128
    126129    if (GetReport(help->GetName()))
     
    203206            continue;
    204207
     208        // Check for MReport{str(0,pos)}
    205209        rep = GetReportHelp(str(0,pos));
     210
     211        // Remove this part from the string
    206212        if (GetReport(rep))
    207213            str.Remove(0, pos);
Note: See TracChangeset for help on using the changeset viewer.