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
00042
00043
00044
00045
00046 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00047 # define UNIXSTL_VER_H_UNIXSTL_MAJOR 2
00048 # define UNIXSTL_VER_H_UNIXSTL_MINOR 0
00049 # define UNIXSTL_VER_H_UNIXSTL_REVISION 1
00050 # define UNIXSTL_VER_H_UNIXSTL_EDIT 43
00051 #endif
00052
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00132
00135
00138
00141
00142 #define _UNIXSTL_VER_MAJOR 1
00143 #define _UNIXSTL_VER_MINOR 2
00144 #define _UNIXSTL_VER_REVISION 1
00145 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00146 # define _UNIXSTL_VER_0_9_1 0x00000901
00147 # define _UNIXSTL_VER_0_9_2 0x00000902
00148 # define _UNIXSTL_VER_1_0_1 0x00010001
00149 # define _UNIXSTL_VER_1_0_2 0x00010002
00150 # define _UNIXSTL_VER_1_0_3 0x00010003
00151 # define _UNIXSTL_VER_1_1_1 0x00010101
00152 # define _UNIXSTL_VER_1_2_1 0x00010201
00153 #endif
00154
00155 #define _UNIXSTL_VER _UNIXSTL_VER_1_2_1
00156
00157
00158
00159
00160
00161 #ifndef STLSOFT_INCL_H_STLSOFT
00162 # include "stlsoft.h"
00163 #endif
00164
00165
00166
00167
00168
00169 #if !defined(_STLSOFT_VER_1_5_1) || \
00170 _STLSOFT_VER < _STLSOFT_VER_1_5_1
00171 # error This version of the UNIXSTL libraries requires STLSoft version 1.5.1 or later
00172 #endif
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183 #if defined(__STLSOFT_COMPILER_IS_GCC)
00184
00185 # if __GNUC__ < 2 || \
00186 ( __GNUC__ == 2 && \
00187 __GNUC_MINOR__ < 95)
00188 # error Versions of GNU C/C++ prior to 2.95 are not supported by the UNIXSTL libraries
00189 # endif
00190
00191 #elif defined(__STLSOFT_COMPILER_IS_INTEL)
00192
00193 # if (__INTEL_COMPILER < 700)
00194 # error Versions of Intel C++ prior to 7.0 are not supported by the UNIXSTL libraries
00195 # endif
00196
00197 #else
00198
00199 # ifdef _STLSOFT_FORCE_ANY_COMPILER
00200 # define _UNIXSTL_COMPILER_IS_UNKNOWN
00201 # ifdef _STLSOFT_COMPILE_VERBOSE
00202 # pragma message("Compiler is unknown to UNIXSTL")
00203 # endif
00204 # else
00205 # error Currently only GNU C/C++ compiler supported by the UNIXSTL libraries. To use other, possibly untested, compilers, define _STLSOFT_FORCE_ANY_COMPILER
00206 # endif
00207 #endif
00208
00209
00210
00211
00212
00213
00214
00218 #define unixstl_assert(expr) stlsoft_assert(expr)
00219
00224 #define unixstl_message_assert(msg, expr) stlsoft_message_assert(msg, expr)
00225
00229 #define unixstl_static_assert(expr) stlsoft_static_assert(expr)
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00271
00272 #ifdef _STLSOFT_NO_NAMESPACES
00273 # define _UNIXSTL_NO_NAMESPACES
00274 #endif
00275
00276
00277 #ifdef _UNIXSTL_NO_NAMESPACES
00278 # define _UNIXSTL_NO_NAMESPACE
00279 #endif
00280
00281 #ifndef _UNIXSTL_NO_NAMESPACE
00282 # if defined(_STLSOFT_NO_NAMESPACE) || \
00283 defined(__STLSOFT_DOCUMENTATION_SKIP_SECTION)
00284
00287 namespace unixstl
00288 {
00289 # else
00290
00291
00292 namespace stlsoft
00293 {
00294
00295 namespace unixstl_project
00296 {
00297
00298 # endif
00299 #else
00300 stlsoft_ns_using(move_lhs_from_rhs)
00301 #endif
00302
00305
00308
00309 #ifndef _UNIXSTL_NO_NAMESPACE
00310 # define unixstl_ns_qual(x) ::unixstl::x
00311 # define unixstl_ns_using(x) using ::unixstl::x;
00312 #else
00313 # define unixstl_ns_qual(x) x
00314 # define unixstl_ns_using(x)
00315 #endif
00316
00319
00322
00323 #ifdef __STLSOFT_CF_std_NAMESPACE
00324 # define unixstl_ns_qual_std(x) ::std::x
00325 # define unixstl_ns_using_std(x) using ::std::x;
00326 #else
00327 # define unixstl_ns_qual_std(x) x
00328 # define unixstl_ns_using_std(x)
00329 #endif
00330
00331
00332
00333
00334
00335
00336
00337
00338 typedef stlsoft_ns_qual(ss_char_a_t) us_char_a_t;
00339 typedef stlsoft_ns_qual(ss_char_w_t) us_char_w_t;
00340 typedef stlsoft_ns_qual(ss_sint8_t) us_sint8_t;
00341 typedef stlsoft_ns_qual(ss_uint8_t) us_uint8_t;
00342 typedef stlsoft_ns_qual(ss_int16_t) us_int16_t;
00343 typedef stlsoft_ns_qual(ss_sint16_t) us_sint16_t;
00344 typedef stlsoft_ns_qual(ss_uint16_t) us_uint16_t;
00345 typedef stlsoft_ns_qual(ss_int32_t) us_int32_t;
00346 typedef stlsoft_ns_qual(ss_sint32_t) us_sint32_t;
00347 typedef stlsoft_ns_qual(ss_uint32_t) us_uint32_t;
00348 #ifdef STLSOFT_CF_64BIT_INT_SUPPORT
00349 typedef stlsoft_ns_qual(ss_int64_t) us_int64_t;
00350 typedef stlsoft_ns_qual(ss_sint64_t) us_sint64_t;
00351 typedef stlsoft_ns_qual(ss_uint64_t) us_uint64_t;
00352 #endif
00353 typedef stlsoft_ns_qual(ss_int_t) us_int_t;
00354 typedef stlsoft_ns_qual(ss_sint_t) us_sint_t;
00355 typedef stlsoft_ns_qual(ss_uint_t) us_uint_t;
00356 typedef stlsoft_ns_qual(ss_long_t) us_long_t;
00357 typedef stlsoft_ns_qual(ss_bool_t) us_bool_t;
00358 typedef stlsoft_ns_qual(ss_size_t) us_size_t;
00359 typedef stlsoft_ns_qual(ss_ptrdiff_t) us_ptrdiff_t;
00360 typedef stlsoft_ns_qual(ss_streampos_t) us_streampos_t;
00361 typedef stlsoft_ns_qual(ss_streamoff_t) us_streamoff_t;
00362
00363 #ifndef _UNIXSTL_NO_NAMESPACE
00364 typedef us_char_a_t char_a_t;
00365 typedef us_char_w_t char_w_t;
00366
00367 typedef us_sint8_t sint8_t;
00368 typedef us_uint8_t uint8_t;
00369 typedef us_int16_t int16_t;
00370 typedef us_sint16_t sint16_t;
00371 typedef us_uint16_t uint16_t;
00372 typedef us_int32_t int32_t;
00373 typedef us_sint32_t sint32_t;
00374 typedef us_uint32_t uint32_t;
00375 # ifdef STLSOFT_CF_64BIT_INT_SUPPORT
00376 typedef us_int64_t int64_t;
00377 typedef us_sint64_t sint64_t;
00378 typedef us_uint64_t uint64_t;
00379 # endif
00380
00381 typedef us_int_t int_t;
00382 typedef us_sint_t sint_t;
00383 typedef us_uint_t uint_t;
00384 typedef us_long_t long_t;
00385
00386 typedef us_bool_t bool_t;
00387 # if !defined(__STLSOFT_COMPILER_IS_DMC)
00388 typedef us_size_t size_t;
00389 typedef us_ptrdiff_t ptrdiff_t;
00390 typedef us_streampos_t streampos_t;
00391 typedef us_streamoff_t streamoff_t;
00392 # endif
00393 #endif
00394
00395 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00396
00397
00398
00399
00400
00401
00402
00403
00404 #define us_true_v ss_true_v
00405 #define us_false_v ss_false_v
00406
00407 #endif
00408
00409
00410
00411
00412 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00413
00414 #define unixstl_throw_0() stlsoft_throw_0()
00415 #define unixstl_throw_1(x1) stlsoft_throw_1(x1)
00416 #define unixstl_throw_2(x1, x2) stlsoft_throw_2(x1, x2)
00417 #define unixstl_throw_3(x1, x2, x3) stlsoft_throw_3(x1, x2, x3)
00418 #define unixstl_throw_4(x1, x2, x3, x4) stlsoft_throw_4(x1, x2, x3, x4)
00419 #define unixstl_throw_5(x1, x2, x3, x4, x5) stlsoft_throw_5(x1, x2, x3, x4, x5)
00420 #define unixstl_throw_6(x1, x2, x3, x4, x5, x6) stlsoft_throw_6(x1, x2, x3, x4, x5, x6)
00421 #define unixstl_throw_7(x1, x2, x3, x4, x5, x6, x7) stlsoft_throw_7(x1, x2, x3, x4, x5, x6, x7)
00422 #define unixstl_throw_8(x1, x2, x3, x4, x5, x6, x7, x8) stlsoft_throw_8(x1, x2, x3, x4, x5, x6, x7, x8)
00423 #endif
00424
00426 #define unixstl_num_elements(ar) stlsoft_num_elements(ar)
00427
00429 #define unixstl_destroy_instance(t, _type, p) stlsoft_destroy_instance(t, _type, p)
00430
00432 #define unixstl_gen_opaque(_htype) stlsoft_gen_opaque(_htype)
00433
00434
00435
00436
00437
00438
00439
00440
00441
00442
00443
00444
00445 #endif
00446
00447
00448
00449
00450
00451