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 #ifndef _NO_STREAM
00032
00033 #include <stdio.h>
00034 #include "rtxsrc/rtxContext.h"
00035
00036 #define OSRTINDENTSPACES 3
00037
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041
00042
00043
00060 EXTERNRT void rtxPrintToStreamBoolean
00061 (OSCTXT* pctxt, const char* name, OSBOOL value);
00062
00071 EXTERNRT void rtxPrintToStreamDate
00072 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00073
00082 EXTERNRT void rtxPrintToStreamTime
00083 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00084
00093 EXTERNRT void rtxPrintToStreamDateTime
00094 (OSCTXT* pctxt, const char* name, const OSNumDateTime *pvalue);
00095
00096 EXTERNRT void rtxPrintToStreamGYear
00097 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00098
00099 EXTERNRT void rtxPrintToStreamGYearMonth
00100 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00101
00102 EXTERNRT void rtxPrintToStreamGMonth
00103 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00104
00105 EXTERNRT void rtxPrintToStreamGMonthDay
00106 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00107
00108 EXTERNRT void rtxPrintToStreamGDay
00109 (OSCTXT* pctxt, const char* name, const OSNumDateTime* pvalue);
00110
00118 EXTERNRT void rtxPrintToStreamInteger
00119 (OSCTXT* pctxt, const char* name, OSINT32 value);
00120
00128 EXTERNRT void rtxPrintToStreamInt64
00129 (OSCTXT* pctxt, const char* name, OSINT64 value);
00130
00138 EXTERNRT void rtxPrintToStreamUnsigned
00139 (OSCTXT* pctxt, const char* name, OSUINT32 value);
00140
00148 EXTERNRT void rtxPrintToStreamUInt64
00149 (OSCTXT* pctxt, const char* name, OSUINT64 value);
00150
00162 EXTERNRT void rtxPrintToStreamHexStr
00163 (OSCTXT* pctxt, const char* name, size_t numocts, const OSOCTET* data);
00164
00173 EXTERNRT void rtxPrintToStreamHexBinary
00174 (OSCTXT* pctxt, const char* name, size_t numocts, const OSOCTET* data);
00175
00183 EXTERNRT void rtxPrintToStreamCharStr
00184 (OSCTXT* pctxt, const char* name, const char* cstring);
00185
00193 EXTERNRT void rtxPrintToStreamUTF8CharStr
00194 (OSCTXT* pctxt, const char* name, const OSUTF8CHAR* cstring);
00195
00210 EXTERNRT void rtxPrintToStreamUnicodeCharStr
00211 (OSCTXT* pctxt, const char* name, const OSUNICHAR* str, int nchars);
00212
00220 EXTERNRT void rtxPrintToStreamReal
00221 (OSCTXT* pctxt, const char* name, OSREAL value);
00222
00229 EXTERNRT void rtxPrintToStreamNull (OSCTXT* pctxt, const char* name);
00230
00238 EXTERNRT void rtxPrintToStreamNVP
00239 (OSCTXT* pctxt, const char* name, const OSUTF8NVP* value);
00240
00248 EXTERNRT int rtxPrintToStreamFile (OSCTXT* pctxt, const char* filename);
00249
00250 #ifndef __SYMBIAN32__
00251
00254 EXTERNRT void rtxPrintToStreamIndent (OSCTXT* pctxt);
00255
00262 EXTERNRT void rtxPrintToStreamIncrIndent (OSCTXT* pctxt);
00263
00270 EXTERNRT void rtxPrintToStreamDecrIndent (OSCTXT* pctxt);
00271
00276 EXTERNRT void rtxPrintToStreamCloseBrace (OSCTXT* pctxt);
00277
00282 EXTERNRT void rtxPrintToStreamOpenBrace (OSCTXT* pctxt, const char*);
00283
00284 #endif
00285
00294 EXTERNRT void rtxHexDumpToStream
00295 (OSCTXT* pctxt, const OSOCTET* data, size_t numocts);
00296
00308 EXTERNRT void rtxHexDumpToStreamEx
00309 (OSCTXT* pctxt, const OSOCTET* data, size_t numocts, int bytesPerUnit);
00310
00314 #ifdef __cplusplus
00315 }
00316 #endif
00317
00318 #endif
00319 #endif