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, OSSIZE numocts, const OSOCTET* data);
00164
00175 EXTERNRT void rtxPrintToStreamHexStrPlain
00176 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00177
00189 EXTERNRT void rtxPrintToStreamHexStrNoAscii
00190 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00191
00200 EXTERNRT void rtxPrintToStreamHexBinary
00201 (OSCTXT* pctxt, const char* name, OSSIZE numocts, const OSOCTET* data);
00202
00210 EXTERNRT void rtxPrintToStreamCharStr
00211 (OSCTXT* pctxt, const char* name, const char* cstring);
00212
00220 EXTERNRT void rtxPrintToStreamUTF8CharStr
00221 (OSCTXT* pctxt, const char* name, const OSUTF8CHAR* cstring);
00222
00237 EXTERNRT void rtxPrintToStreamUnicodeCharStr
00238 (OSCTXT* pctxt, const char* name, const OSUNICHAR* str, int nchars);
00239
00247 EXTERNRT void rtxPrintToStreamReal
00248 (OSCTXT* pctxt, const char* name, OSREAL value);
00249
00256 EXTERNRT void rtxPrintToStreamNull (OSCTXT* pctxt, const char* name);
00257
00265 EXTERNRT void rtxPrintToStreamNVP
00266 (OSCTXT* pctxt, const char* name, const OSUTF8NVP* value);
00267
00275 EXTERNRT int rtxPrintToStreamFile (OSCTXT* pctxt, const char* filename);
00276
00277 #ifndef __SYMBIAN32__
00278
00281 EXTERNRT void rtxPrintToStreamIndent (OSCTXT* pctxt);
00282
00289 EXTERNRT void rtxPrintToStreamIncrIndent (OSCTXT* pctxt);
00290
00297 EXTERNRT void rtxPrintToStreamDecrIndent (OSCTXT* pctxt);
00298
00303 EXTERNRT void rtxPrintToStreamCloseBrace (OSCTXT* pctxt);
00304
00309 EXTERNRT void rtxPrintToStreamOpenBrace (OSCTXT* pctxt, const char*);
00310
00311 #endif
00312
00321 EXTERNRT void rtxHexDumpToStream
00322 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts);
00323
00335 EXTERNRT void rtxHexDumpToStreamEx
00336 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
00337
00349 EXTERNRT void rtxHexDumpToStreamExNoAscii
00350 (OSCTXT* pctxt, const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
00351
00355 #ifdef __cplusplus
00356 }
00357 #endif
00358
00359 #endif
00360 #endif