Changeset 1846


Ignore:
Timestamp:
03/20/03 11:09:35 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1845 r1846  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3 2003/03/20: Thomas Bretz
     4
     5    * mfilter/MF.[h,cc]:
     6      - changed fFilter (already used in base class MTask) to fF
     7
     8
    29
    310 2003/03/19: Abelardo Moralejo
  • trunk/MagicSoft/Mars/mfilter/MF.cc

    r1668 r1846  
    100100// Default Constructor. Don't use.
    101101//
    102 MF::MF() : fFilter(NULL)
     102MF::MF() : fF(NULL)
    103103{
    104104    fName  = gsDefName.Data();
     
    117117
    118118    *fLog << inf << "Trying to resolve filter rule..." << endl;
    119     if (!(fFilter=ParseString(text, 1)))
     119    if (!(fF=ParseString(text, 1)))
    120120    {
    121121        *fLog << err << dbginf << "Parsing '" << text << "' failed." << endl;
     
    124124
    125125    *fLog << inf << endl;
    126     *fLog << "Using Filter rule " << fFilter->GetName();
     126    *fLog << "Using Filter rule " << fF->GetName();
    127127    *fLog << " for " << fName << ":" << endl;
    128     fFilter->Print();
     128    fF->Print();
    129129    *fLog << endl << endl;
    130130}
     
    136136MF::~MF()
    137137{
    138     if (fFilter)
    139         delete fFilter;
     138    if (fF)
     139        delete fF;
    140140}
    141141
     
    404404Bool_t MF::PreProcess(MParList *plist)
    405405{
    406     if (!fFilter)
     406    if (!fF)
    407407    {
    408408        *fLog << err << dbginf << "No filter rule available." << endl;
     
    410410    }
    411411
    412     if (!fFilter->CallPreProcess(plist))
     412    if (!fF->CallPreProcess(plist))
    413413    {
    414414        *fLog << err << dbginf << "PreProcessing filters in ";
     
    426426Bool_t MF::Process()
    427427{
    428     return fFilter->CallProcess();
     428    return fF->CallProcess();
    429429}
    430430
     
    435435Bool_t MF::PostProcess()
    436436{
    437     return fFilter->CallPostProcess();
     437    return fF->CallPostProcess();
    438438}
    439439
     
    444444Bool_t MF::IsExpressionTrue() const
    445445{
    446     return fFilter->IsExpressionTrue();
     446    return fF->IsExpressionTrue();
    447447}
    448448
     
    451451    out << "   MF " << GetUniqueName();
    452452
    453     if (!fFilter)
     453    if (!fF)
    454454    {
    455455        out << ";" << endl;
     
    457457    }
    458458
    459     out << "(\"" << fFilter->GetRule() << "\"";
     459    out << "(\"" << fF->GetRule() << "\"";
    460460        if (fName!=gsDefName || fTitle!=gsDefTitle)
    461461    {
  • trunk/MagicSoft/Mars/mfilter/MF.h

    r1666 r1846  
    2121    static const TString gsDefTitle; //!
    2222
    23     MFilter *fFilter; // Filter
     23    MFilter *fF; // Filter
    2424
    2525    Int_t IsAlNum(TString txt) const;
Note: See TracChangeset for help on using the changeset viewer.