File: roundsncols.cc

package info (click to toggle)
simrisc 16.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,877; fortran: 665; makefile: 112; ansic: 112; sh: 107
file content (25 lines) | stat: -rw-r--r-- 827 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//#define XERR
#include "loop.ih"

// define the columns of the rounds table

    // by headerrounds.cc

void Loop::roundsNcols(FBB::CSVTable &tab) const
{
    tab.fmt() << "round";                             // 1: round

    size_t nActive = d_modalities.activeMods().size();

    for (size_t idx = 0; idx != nActive; ++idx)
        tab.fmt(tab.size()) << 
                    "-true-" << "-false-" <<       // Positve T/Fs
                    "-true-" << "-false-";         // Negative T/Fs 
                                                    // 1 + nActive * 4

    tab.fmt(tab.size()) <<  "tumors" << "interval" <<               
                            "trueInt" << "screening" << "biop567yyy";

    for (size_t idx = 0; idx != nActive; ++idx)     // # Mammo/MRI/... scans
        tab.fmt(tab.size()) <<  "12345";
}