00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00047 #ifndef PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_PROCESSID
00048 #define PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_PROCESSID
00049
00050
00051
00052
00053
00054 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00055 # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_PROCESSID_MAJOR 2
00056 # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_PROCESSID_MINOR 2
00057 # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_PROCESSID_REVISION 3
00058 # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_PROCESSID_EDIT 19
00059 #endif
00060
00061
00062
00063
00064
00065 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS
00066 # include <pantheios/pantheios.h>
00067 #endif
00068 #ifndef PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_FMT
00069 # include <pantheios/inserters/fmt.hpp>
00070 #endif
00071
00072 #ifndef STLSOFT_INCL_STLSOFT_SHIMS_ACCESS_STRING_H_FWD
00073 # include <stlsoft/shims/access/string/fwd.h>
00074 #endif
00075
00076
00077
00078
00079
00080 #if !defined(PANTHEIOS_NO_NAMESPACE)
00081 namespace pantheios
00082 {
00083
00084 #endif
00085
00086
00087
00088
00089
00105 extern struct processId_t const* processId;
00106
00107
00108
00109
00110
00111 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00112
00113 PANTHEIOS_CALL(pan_char_t const*) pantheios_getCurrentProcessIdString(void);
00114 PANTHEIOS_CALL(size_t) pantheios_getCurrentProcessIdStringLength(void);
00115
00116 PANTHEIOS_CALL_DEPRECATED(pan_char_t const*, pantheios_processId, pantheios_getCurrentProcessIdString) pantheios_processId(void);
00117 PANTHEIOS_CALL_DEPRECATED(size_t, pantheios_processIdLength, pantheios_getCurrentProcessIdStringLength) pantheios_processIdLength(void);
00118
00119 #endif
00120
00121
00122
00123
00124
00125 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00126
00127 # if !defined(PANTHEIOS_NO_NAMESPACE)
00128 namespace shims
00129 {
00130 # endif
00131
00132 # ifdef PANTHEIOS_USE_WIDE_STRINGS
00133 inline wchar_t const* c_str_data_w(struct processId_t const*)
00134 # else
00135 inline char const* c_str_data_a(struct processId_t const*)
00136 # endif
00137 {
00138 return pantheios_getCurrentProcessIdString();
00139 }
00140 inline pan_char_t const* c_str_data(struct processId_t const*)
00141 {
00142 return pantheios_getCurrentProcessIdString();
00143 }
00144
00145 # ifdef PANTHEIOS_USE_WIDE_STRINGS
00146 inline size_t c_str_len_w(struct processId_t const*)
00147 # else
00148 inline size_t c_str_len_a(struct processId_t const*)
00149 # endif
00150 {
00151 return pantheios_getCurrentProcessIdStringLength();
00152 }
00153 inline size_t c_str_len(struct processId_t const*)
00154 {
00155 return pantheios_getCurrentProcessIdStringLength();
00156 }
00157
00158 # ifdef PANTHEIOS_USE_WIDE_STRINGS
00159 inline wchar_t const* c_str_ptr_w(struct processId_t const*)
00160 # else
00161 inline char const* c_str_ptr_a(struct processId_t const*)
00162 # endif
00163 {
00164 return pantheios_getCurrentProcessIdString();
00165 }
00166 inline pan_char_t const* c_str_ptr(struct processId_t const*)
00167 {
00168 return pantheios_getCurrentProcessIdString();
00169 }
00170
00171 # if !defined(PANTHEIOS_NO_NAMESPACE)
00172 }
00173
00174 # if defined(STLSOFT_COMPILER_IS_GCC)
00175
00176
00177
00178
00179
00180 # ifdef PANTHEIOS_USE_WIDE_STRINGS
00181 using ::pantheios::shims::c_str_data_w;
00182 using ::pantheios::shims::c_str_len_w;
00183 using ::pantheios::shims::c_str_ptr_w;
00184 # else
00185 using ::pantheios::shims::c_str_data_a;
00186 using ::pantheios::shims::c_str_len_a;
00187 using ::pantheios::shims::c_str_ptr_a;
00188 # endif
00189 using ::pantheios::shims::c_str_data;
00190 using ::pantheios::shims::c_str_len;
00191 using ::pantheios::shims::c_str_ptr;
00192 # endif
00193
00194 # endif
00195
00196 #endif
00197
00198
00199
00200
00201
00202 #if !defined(PANTHEIOS_NO_NAMESPACE)
00203 }
00204
00205 namespace stlsoft
00206 {
00207
00208
00209
00210
00211
00212
00213
00214 #ifdef PANTHEIOS_USE_WIDE_STRINGS
00215 using ::pantheios::shims::c_str_data_w;
00216 using ::pantheios::shims::c_str_len_w;
00217 using ::pantheios::shims::c_str_ptr_w;
00218 #else
00219 using ::pantheios::shims::c_str_data_a;
00220 using ::pantheios::shims::c_str_len_a;
00221 using ::pantheios::shims::c_str_ptr_a;
00222 #endif
00223 using ::pantheios::shims::c_str_data;
00224 using ::pantheios::shims::c_str_len;
00225 using ::pantheios::shims::c_str_ptr;
00226
00227 }
00228
00229 #endif
00230
00231
00232
00233
00234
00235 #ifdef STLSOFT_PPF_pragma_once_SUPPORT
00236 # pragma once
00237 #endif
00238
00239
00240
00241 #endif
00242
00243