00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00028 #ifndef _RTXPRINTTOSTREAM_H_
00029 #define _RTXPRINTTOSTREAM_H_
00030
00031 #include <stdio.h>
00032 #include "rtxsrc/rtxContext.h"
00033
00034 #define OSRTINDENTSPACES 3
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00040
00041
00058 EXTERNRT void rtxPrintToStreamBoolean
00059 (OSCTXT* pctxt, const char* name, OSBOOL value);
00060
00069 EXTERNRT void rtxPrintToStreamDate
00070 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00071
00080 EXTERNRT void rtxPrintToStreamTime
00081 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00082
00091 EXTERNRT void rtxPrintToStreamDateTime
00092 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00093
00094 EXTERNRT void rtxPrintToStreamGYear
00095 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00096
00097 EXTERNRT void rtxPrintToStreamGYearMonth
00098 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00099
00100 EXTERNRT void rtxPrintToStreamGMonth
00101 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00102
00103 EXTERNRT void rtxPrintToStreamGMonthDay
00104 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00105
00106 EXTERNRT void rtxPrintToStreamGDay
00107 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00108
00116 EXTERNRT void rtxPrintToStreamInteger
00117 (OSCTXT* pctxt, const char* name, OSINT32 value);
00118
00126 EXTERNRT void rtxPrintToStreamInt64
00127 (OSCTXT* pctxt, const char* name, OSINT64 value);
00128
00136 EXTERNRT void rtxPrintToStreamUnsigned
00137 (OSCTXT* pctxt, const char* name, OSUINT32 value);
00138
00146 EXTERNRT void rtxPrintToStreamUInt64
00147 (OSCTXT* pctxt, const char* name, OSUINT64 value);
00148
00160 EXTERNRT void rtxPrintToStreamHexStr
00161 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00162
00173 EXTERNRT void rtxPrintToStreamHexStrPlain
00174 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00175
00187 EXTERNRT void rtxPrintToStreamHexStrNoAscii
00188 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00189
00198 EXTERNRT void rtxPrintToStreamHexBinary
00199 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00200
00208 EXTERNRT void rtxPrintToStreamCharStr
00209 (OSCTXT* pctxt, const char* name, const char* cstring);
00210
00218 EXTERNRT void rtxPrintToStreamUTF8CharStr
00219 (OSCTXT* pctxt, const char* name, const OSUTF8CHAR* cstring);
00220
00235 EXTERNRT void rtxPrintToStreamUnicodeCharStr
00236 (OSCTXT* pctxt, const char* name, const OSUNICHAR* str, int nchars);
00237
00245 EXTERNRT void rtxPrintToStreamReal
00246 (OSCTXT* pctxt, const char* name, OSREAL value);
00247
00254 EXTERNRT void rtxPrintToStreamNull (OSCTXT* pctxt, const char* name);
00255
00263 EXTERNRT void rtxPrintToStreamNVP
00264 (OSCTXT* pctxt, const char* name, const OSUTF8NVP* value);
00265
00273 EXTERNRT int rtxPrintToStreamFile (OSCTXT* pctxt, const char* filename);
00274
00275 #ifndef __SYMBIAN32__
00276
00279 EXTERNRT void rtxPrintToStreamIndent (OSCTXT* pctxt);
00280
00287 EXTERNRT void rtxPrintToStreamIncrIndent (OSCTXT* pctxt);
00288
00295 EXTERNRT void rtxPrintToStreamDecrIndent (OSCTXT* pctxt);
00296
00301 EXTERNRT void rtxPrintToStreamCloseBrace (OSCTXT* pctxt);
00302
00307 EXTERNRT void rtxPrintToStreamOpenBrace (OSCTXT* pctxt, const char*);
00308
00309 #endif
00310
00319 EXTERNRT void rtxHexDumpToStream
00320 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts);
00321
00333 EXTERNRT void rtxHexDumpToStreamEx
00334 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
00335
00347 EXTERNRT void rtxHexDumpToStreamExNoAscii
00348 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
00349
00353 #ifdef __cplusplus
00354 }
00355 #endif
00356
00357 #endif