3 #ifndef __ReportTools_h
4 #define __ReportTools_h
12 #include <mix/Types.h>
14 #include <ldb/dbnamedefs.h>
22 #define RtOverwidthChar '#'
23 #define RtBadNumberChar '?'
24 #define RtShieldChar '~'
25 #define RtDefBadNumberLen 3
26 #define RtDefaultQuotes {'\"', '\"'}
27 #define RtDefaultFillChar ' '
28 #define RtDefaultDelimiter ","
35 #define RtAF_PutDelimiter (1<<0)
36 #define RtAF_FillWidth (1<<1)
37 #define RtAF_AdjustRight (1<<2)
39 #define RtAF_PutQuotes (1<<3)
52 int RtMaxChars (AtomType atype);
56 int RtNormChars (AtomType atype);
62 const char* RtFlagsToString (
int flags);
68 char* RtFormatString (
char* dest,
const RtAtomField* afpar,
73 char* RtFormatDbtName (
char* dest,
const RtAtomField* afpar,
78 char* RtFormatRealNum (
char* dest,
const RtAtomField* afpar,
83 char* RtFormatIntNum (
char* dest,
const RtAtomField* afpar,
88 char* RtFormatInt8Num (
char* dest,
const RtAtomField* afpar,
Definition: ReportTools.h:32
Definition: dbnamedefs.h:67