djiparsetxt
Macros
rowOutput.cpp File Reference
#include "RecordAndDetailsParser.hh"
#include <stdio.h>
Include dependency graph for rowOutput.cpp:

Go to the source code of this file.

Macros

#define separator   ","
 
#define o_(label, nFrac)   if (outputColumnLabels) printf(label); else fFieldDatabase->outputField(label, nFrac)
 
#define oInterpreted_(label, interpretedLabel)   if (outputColumnLabels) printf(interpretedLabel); else fFieldDatabase->outputFieldInterpreted(label, interpretedLabel)
 
#define oBoolean_(label)   if (outputColumnLabels) printf(label); else fFieldDatabase->outputFieldAsBoolean(label)
 
#define oFirst(label)   o_(label,0)
 
#define oFrac(label, nFrac)   do { printf(separator); o_(label,nFrac); } while (0)
 
#define o(label)   oFrac(label,0)
 
#define oInterpreted(label, interpretedLabel)   do { printf(separator); oInterpreted_(label,interpretedLabel); } while (0)
 
#define oBoolean(label)   do { printf(separator); oBoolean_(label); } while (0)
 

Macro Definition Documentation

◆ o

#define o (   label)    oFrac(label,0)

Definition at line 35 of file rowOutput.cpp.

◆ o_

#define o_ (   label,
  nFrac 
)    if (outputColumnLabels) printf(label); else fFieldDatabase->outputField(label, nFrac)

Definition at line 30 of file rowOutput.cpp.

◆ oBoolean

#define oBoolean (   label)    do { printf(separator); oBoolean_(label); } while (0)

Definition at line 37 of file rowOutput.cpp.

◆ oBoolean_

#define oBoolean_ (   label)    if (outputColumnLabels) printf(label); else fFieldDatabase->outputFieldAsBoolean(label)

Definition at line 32 of file rowOutput.cpp.

◆ oFirst

#define oFirst (   label)    o_(label,0)

Definition at line 33 of file rowOutput.cpp.

◆ oFrac

#define oFrac (   label,
  nFrac 
)    do { printf(separator); o_(label,nFrac); } while (0)

Definition at line 34 of file rowOutput.cpp.

◆ oInterpreted

#define oInterpreted (   label,
  interpretedLabel 
)    do { printf(separator); oInterpreted_(label,interpretedLabel); } while (0)

Definition at line 36 of file rowOutput.cpp.

◆ oInterpreted_

#define oInterpreted_ (   label,
  interpretedLabel 
)    if (outputColumnLabels) printf(interpretedLabel); else fFieldDatabase->outputFieldInterpreted(label, interpretedLabel)

Definition at line 31 of file rowOutput.cpp.

◆ separator

#define separator   ","

Definition at line 29 of file rowOutput.cpp.