Ignore:
Timestamp:
Apr 7, 2011, 8:43:01 AM (10 years ago)
Author:
tbretz
Message:
Added operator() for easy configuration; Added fDescription for convenience; Added GetString and GetVector member functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventImp.cc

    r10183 r10295  
    112112
    113113#include "Time.h"
     114#include "WindowLog.h"
    114115
    115116using namespace std;
     
    199200    const string str = GetName();
    200201    if (!str.empty())
    201         out << str;
     202        out << kBold << str;
    202203
    203204    const string fmt = GetFormat();
    204205    if (!fmt.empty())
    205         out << "[" << fmt << "]";
    206 
    207     out << ":";
     206        out << kBold << "[" << fmt << "]";
     207
     208    out << kReset << ":";
    208209
    209210    for (unsigned int i=0; i<fAllowedStates.size(); i++)
     
    231232        out << ")";
    232233    out << endl;
     234
     235    if (!fDescription.empty())
     236        out << "     " << fDescription << endl;
    233237}
    234238
Note: See TracChangeset for help on using the changeset viewer.