//#define XERR
#include "tumor.ih"

void Tumor::writeData(CSVTable &tab) const
{
    tab.more() << s_noYes[d_present] <<                             // 6
                  s_noYes[d_found] <<                            // 7
                  s_noYes[d_interval];                              // 8

            // see modifications (8)
    if (d_diameter > 1000)                                          // 9
        tab.more() << "1001";                   // was: 'inf'
    else
        tab.more() << d_diameter;

            // see also modifications (7)
            // //setw(6) << d_selfDetectAge == NO_TUMOR ? 0 : age << '\t' <<

    tab.more() << d_doublingDays << d_prePeriod <<                  // 10 - 11
                  d_onset << d_selfDetectAge << d_deathAge;         // 12 - 14

}
