A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/value__convert_8hpp_source.html below:

NCBI C++ ToolKit: include/util/value_convert.hpp Source File

1 #ifndef UTIL___VALUE_CONVERT__HPP 2 #define UTIL___VALUE_CONVERT__HPP 42 #if defined(NCBI_COMPILER_MSVC) 43 # define NCBI_CONVERT_TO(x,y) (x).operator y() 45 # define NCBI_CONVERT_TO(x,y) (x) 58 template

<

typename

CP,

typename

FROM>

66 template

<

typename

CP>

82  operator bool

(

void

)

const 90  operator Int1

(

void

)

const 98  operator Int2

(

void

)

const 110  operator unsigned

long(

void

)

const 114  operator

long(

void

)

const 118 #if NCBI_INT8_IS_LONG 119  operator unsigned long

long(

void

)

const 123  operator long

long(

void

)

const 137  operator

float(

void

)

const 141  operator

double(

void

)

const 145  operator long

double(

void

)

const 151  return CTime

(m_Value);

159 template

<

typename

CP>

199  operator unsigned

long(

void

)

const 203  operator

long(

void

)

const 207 #if NCBI_INT8_IS_LONG 208  operator unsigned long

long(

void

)

const 212  operator long

long(

void

)

const 226  operator

float(

void

)

const 230  operator

double(

void

)

const 234  operator long

double(

void

)

const 240  return CTime

(m_Value);

247 template

<

typename

CP>

259 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 260  operator bool

(

void

)

const 262  return

m_Value ? 1 : 0;

264  operator Uint1

(

void

)

const 266  return

m_Value ? 1 : 0;

268  operator Int1

(

void

)

const 270  return

m_Value ? 1 : 0;

272  operator Uint2

(

void

)

const 274  return

m_Value ? 1 : 0;

276  operator Int2

(

void

)

const 278  return

m_Value ? 1 : 0;

280  operator Uint4

(

void

)

const 282  return

m_Value ? 1 : 0;

284  operator Int4

(

void

)

const 286  return

m_Value ? 1 : 0;

288  operator Uint8

(

void

)

const 290  return

m_Value ? 1 : 0;

292  operator Int8

(

void

)

const 294  return

m_Value ? 1 : 0;

296  operator

float(

void

)

const 298  return

m_Value ? 1.0 : 0.0;

300  operator

double(

void

)

const 302  return

m_Value ? 1.0 : 0.0;

304  operator long

double(

void

)

const 306  return

m_Value ? 1.0 : 0.0;

309  template

<

typename

TO>

310  operator

TO(

void

)

const 312  return

m_Value ?

static_cast<

TO

>

(1) :

static_cast<

TO

>

(0);

325 template

<

typename

CP>

337 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 338  operator bool

(

void

)

const 342  operator Uint1

(

void

)

const 344  return

MakeCP<CP>(m_Value);

346  operator Int1

(

void

)

const 348  return

MakeCP<CP>(m_Value);

350  operator Uint2

(

void

)

const 352  return

MakeCP<CP>(m_Value);

354  operator Int2

(

void

)

const 356  return

MakeCP<CP>(m_Value);

358  operator Uint4

(

void

)

const 360  return

MakeCP<CP>(m_Value);

362  operator Int4

(

void

)

const 364  return

MakeCP<CP>(m_Value);

366  operator Uint8

(

void

)

const 368  return

MakeCP<CP>(m_Value);

370  operator Int8

(

void

)

const 372  return

MakeCP<CP>(m_Value);

374  operator

float(

void

)

const 376  return

MakeCP<CP>(m_Value);

378  operator

double(

void

)

const 380  return

MakeCP<CP>(m_Value);

382  operator long

double(

void

)

const 384  return

MakeCP<CP>(m_Value);

387  template

<

typename

TO>

388  operator

TO(

void

)

const 390  return

MakeCP<CP>(m_Value);

399  return CTime

(m_Value);

406 template

<

typename

CP>

418 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 419  operator bool

(

void

)

const 423  operator Uint1

(

void

)

const 425  return

MakeCP<CP>(m_Value);

427  operator Int1

(

void

)

const 429  return

MakeCP<CP>(m_Value);

431  operator Uint2

(

void

)

const 433  return

MakeCP<CP>(m_Value);

435  operator Int2

(

void

)

const 437  return

MakeCP<CP>(m_Value);

439  operator Uint4

(

void

)

const 441  return

MakeCP<CP>(m_Value);

443  operator Int4

(

void

)

const 445  return

MakeCP<CP>(m_Value);

447  operator Uint8

(

void

)

const 449  return

MakeCP<CP>(m_Value);

451  operator Int8

(

void

)

const 453  return

MakeCP<CP>(m_Value);

455  operator

float(

void

)

const 457  return

MakeCP<CP>(m_Value);

459  operator

double(

void

)

const 461  return

MakeCP<CP>(m_Value);

463  operator long

double(

void

)

const 465  return

MakeCP<CP>(m_Value);

468  template

<

typename

TO>

469  operator

TO(

void

)

const 471  return

MakeCP<CP>(m_Value);

480  return CTime

(m_Value);

487 template

<

typename

CP>

499 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 500  operator bool

(

void

)

const 504  operator Uint1

(

void

)

const 506  return

MakeCP<CP>(m_Value);

508  operator Int1

(

void

)

const 510  return

MakeCP<CP>(m_Value);

512  operator Uint2

(

void

)

const 514  return

MakeCP<CP>(m_Value);

516  operator Int2

(

void

)

const 518  return

MakeCP<CP>(m_Value);

520  operator Uint4

(

void

)

const 522  return

MakeCP<CP>(m_Value);

524  operator Int4

(

void

)

const 526  return

MakeCP<CP>(m_Value);

528  operator Uint8

(

void

)

const 530  return

MakeCP<CP>(m_Value);

532  operator Int8

(

void

)

const 534  return

MakeCP<CP>(m_Value);

536  operator

float(

void

)

const 538  return

MakeCP<CP>(m_Value);

540  operator

double(

void

)

const 542  return

MakeCP<CP>(m_Value);

544  operator long

double(

void

)

const 546  return

MakeCP<CP>(m_Value);

549  template

<

typename

TO>

550  operator

TO(

void

)

const 552  return

MakeCP<CP>(m_Value);

561  return CTime

(m_Value);

568 template

<

typename

CP>

580 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 581  operator bool

(

void

)

const 585  operator Uint1

(

void

)

const 587  return

MakeCP<CP>(m_Value);

589  operator Int1

(

void

)

const 591  return

MakeCP<CP>(m_Value);

593  operator Uint2

(

void

)

const 595  return

MakeCP<CP>(m_Value);

597  operator Int2

(

void

)

const 599  return

MakeCP<CP>(m_Value);

601  operator Uint4

(

void

)

const 603  return

MakeCP<CP>(m_Value);

605  operator Int4

(

void

)

const 607  return

MakeCP<CP>(m_Value);

609 #if NCBI_PLATFORM_BITS == 32 610  operator

time_t(

void

)

const 612  return

MakeCP<CP>(m_Value);

615  operator Uint8

(

void

)

const 617  return

MakeCP<CP>(m_Value);

619  operator Int8

(

void

)

const 621  return

MakeCP<CP>(m_Value);

623  operator

float(

void

)

const 625  return

MakeCP<CP>(m_Value);

627  operator

double(

void

)

const 629  return

MakeCP<CP>(m_Value);

631  operator long

double(

void

)

const 633  return

MakeCP<CP>(m_Value);

636  template

<

typename

TO>

637  operator

TO(

void

)

const 639  return

MakeCP<CP>(m_Value);

648  return CTime

(m_Value);

655 template

<

typename

CP>

667 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 668  operator bool

(

void

)

const 672  operator Uint1

(

void

)

const 674  return

MakeCP<CP>(m_Value);

676  operator Int1

(

void

)

const 678  return

MakeCP<CP>(m_Value);

680  operator Uint2

(

void

)

const 682  return

MakeCP<CP>(m_Value);

684  operator Int2

(

void

)

const 686  return

MakeCP<CP>(m_Value);

688  operator Uint4

(

void

)

const 690  return

MakeCP<CP>(m_Value);

692  operator Int4

(

void

)

const 694  return

MakeCP<CP>(m_Value);

696  operator Uint8

(

void

)

const 698  return

MakeCP<CP>(m_Value);

700  operator Int8

(

void

)

const 702  return

MakeCP<CP>(m_Value);

704  operator

float(

void

)

const 706  return

MakeCP<CP>(m_Value);

708  operator

double(

void

)

const 710  return

MakeCP<CP>(m_Value);

712  operator long

double(

void

)

const 714  return

MakeCP<CP>(m_Value);

717  template

<

typename

TO>

718  operator

TO(

void

)

const 720  return

MakeCP<CP>(m_Value);

729  return CTime

(MakeCP<CP>(m_Value));

736 template

<

typename

CP>

748 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 749  operator bool

(

void

)

const 753  operator Uint1

(

void

)

const 755  return

MakeCP<CP>(m_Value);

757  operator Int1

(

void

)

const 759  return

MakeCP<CP>(m_Value);

761  operator Uint2

(

void

)

const 763  return

MakeCP<CP>(m_Value);

765  operator Int2

(

void

)

const 767  return

MakeCP<CP>(m_Value);

769  operator Uint4

(

void

)

const 771  return

MakeCP<CP>(m_Value);

773  operator Int4

(

void

)

const 775  return

MakeCP<CP>(m_Value);

777 #if NCBI_PLATFORM_BITS == 32 778  operator

time_t(

void

)

const 780  return

MakeCP<CP>(m_Value);

783  operator Uint8

(

void

)

const 785  return

MakeCP<CP>(m_Value);

787  operator Int8

(

void

)

const 789  return

MakeCP<CP>(m_Value);

791  operator

float(

void

)

const 793  return

MakeCP<CP>(m_Value);

795  operator

double(

void

)

const 797  return

MakeCP<CP>(m_Value);

799  operator long

double(

void

)

const 801  return

MakeCP<CP>(m_Value);

804  template

<

typename

TO>

805  operator

TO(

void

)

const 807  return

MakeCP<CP>(m_Value);

816  return CTime

(MakeCP<CP>(m_Value));

823 template

<

typename

CP>

835  template

<

typename

TO>

836  operator

TO(

void

)

const 838  return

MakeCP<CP>(m_Value);

846  return CTime

(MakeCP<CP>(m_Value));

853 template

<

typename

CP>

865  template

<

typename

TO>

866  operator

TO(

void

)

const 868  return

MakeCP<CP>(m_Value);

876  return CTime

(MakeCP<CP>(m_Value));

883 #if NCBI_INT8_IS_LONG 884 template

<

typename

CP>

888  typedef unsigned long long

obj_type;

896 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 897  operator bool

(

void

)

const 901  operator Uint1

(

void

)

const 903  return

MakeCP<CP>(m_Value);

905  operator Int1

(

void

)

const 907  return

MakeCP<CP>(m_Value);

909  operator Uint2

(

void

)

const 911  return

MakeCP<CP>(m_Value);

913  operator Int2

(

void

)

const 915  return

MakeCP<CP>(m_Value);

917  operator Uint4

(

void

)

const 919  return

MakeCP<CP>(m_Value);

921  operator Int4

(

void

)

const 923  return

MakeCP<CP>(m_Value);

925  operator Uint8

(

void

)

const 927  return

MakeCP<CP>(m_Value);

929  operator Int8

(

void

)

const 931  return

MakeCP<CP>(m_Value);

933  operator

float(

void

)

const 935  return

MakeCP<CP>(m_Value);

937  operator

double(

void

)

const 939  return

MakeCP<CP>(m_Value);

941  operator long

double(

void

)

const 943  return

MakeCP<CP>(m_Value);

946  template

<

typename

TO>

947  operator

TO(

void

)

const 949  return

MakeCP<CP>(m_Value);

952  operator string

(

void

)

const 956  operator CTime

(

void

)

const 958  return CTime

(MakeCP<CP>(m_Value));

962  const

obj_type m_Value;

965 template

<

typename

CP>

966 class

CValueConvert<

CP

, long long>

969  typedef long long

obj_type;

971

CValueConvert(obj_type

value

)

977 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 978  operator bool

(

void

)

const 982  operator Uint1

(

void

)

const 984  return

MakeCP<CP>(m_Value);

986  operator Int1

(

void

)

const 988  return

MakeCP<CP>(m_Value);

990  operator Uint2

(

void

)

const 992  return

MakeCP<CP>(m_Value);

994  operator Int2

(

void

)

const 996  return

MakeCP<CP>(m_Value);

998  operator Uint4

(

void

)

const 1000  return

MakeCP<CP>(m_Value);

1002  operator Int4

(

void

)

const 1004  return

MakeCP<CP>(m_Value);

1006 #if NCBI_PLATFORM_BITS == 32 1007  operator

time_t(

void

)

const 1009  return

MakeCP<CP>(m_Value);

1012  operator Uint8

(

void

)

const 1014  return

MakeCP<CP>(m_Value);

1016  operator Int8

(

void

)

const 1018  return

MakeCP<CP>(m_Value);

1020  operator

float(

void

)

const 1022  return

MakeCP<CP>(m_Value);

1024  operator

double(

void

)

const 1026  return

MakeCP<CP>(m_Value);

1028  operator long

double(

void

)

const 1030  return

MakeCP<CP>(m_Value);

1033  template

<

typename

TO>

1034  operator

TO(

void

)

const 1036  return

MakeCP<CP>(m_Value);

1039  operator string

(

void

)

const 1043  operator CTime

(

void

)

const 1045  return CTime

(MakeCP<CP>(m_Value));

1049  const

obj_type m_Value;

1052 template

<

typename

CP>

1064 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1065  operator bool

(

void

)

const 1067  return

m_Value != 0;

1069  operator Uint1

(

void

)

const 1071  return

MakeCP<CP>(m_Value);

1073  operator Int1

(

void

)

const 1075  return

MakeCP<CP>(m_Value);

1077  operator Uint2

(

void

)

const 1079  return

MakeCP<CP>(m_Value);

1081  operator Int2

(

void

)

const 1083  return

MakeCP<CP>(m_Value);

1085  operator Uint4

(

void

)

const 1087  return

MakeCP<CP>(m_Value);

1089  operator Int4

(

void

)

const 1091  return

MakeCP<CP>(m_Value);

1093  operator Uint8

(

void

)

const 1095  return

MakeCP<CP>(m_Value);

1097  operator Int8

(

void

)

const 1099  return

MakeCP<CP>(m_Value);

1101  operator

float(

void

)

const 1103  return

MakeCP<CP>(m_Value);

1105  operator

double(

void

)

const 1107  return

MakeCP<CP>(m_Value);

1109  operator long

double(

void

)

const 1111  return

MakeCP<CP>(m_Value);

1114  template

<

typename

TO>

1115  operator

TO(

void

)

const 1117  return

MakeCP<CP>(m_Value);

1126  return CTime

(MakeCP<CP>(m_Value));

1133 template

<

typename

CP>

1145 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1146  operator bool

(

void

)

const 1148  return

m_Value != 0;

1150  operator Uint1

(

void

)

const 1152  return

MakeCP<CP>(m_Value);

1154  operator Int1

(

void

)

const 1156  return

MakeCP<CP>(m_Value);

1158  operator Uint2

(

void

)

const 1160  return

MakeCP<CP>(m_Value);

1162  operator Int2

(

void

)

const 1164  return

MakeCP<CP>(m_Value);

1166  operator Uint4

(

void

)

const 1168  return

MakeCP<CP>(m_Value);

1170  operator Int4

(

void

)

const 1172  return

MakeCP<CP>(m_Value);

1174 #if NCBI_PLATFORM_BITS == 32 1175  operator

time_t(

void

)

const 1177  return

MakeCP<CP>(m_Value);

1180  operator Uint8

(

void

)

const 1182  return

MakeCP<CP>(m_Value);

1184  operator Int8

(

void

)

const 1186  return

MakeCP<CP>(m_Value);

1188  operator

float(

void

)

const 1190  return

MakeCP<CP>(m_Value);

1192  operator

double(

void

)

const 1194  return

MakeCP<CP>(m_Value);

1196  operator long

double(

void

)

const 1198  return

MakeCP<CP>(m_Value);

1201  template

<

typename

TO>

1202  operator

TO(

void

)

const 1204  return

MakeCP<CP>(m_Value);

1213  return CTime

(MakeCP<CP>(m_Value));

1221 template

<

typename

CP>

1233 #if defined(NCBI_COMPILER_MSVC) 1234  operator bool

(

void

)

const 1236  return

m_Value != 0.0F;

1239 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1240  operator bool

(

void

)

const 1242  return

m_Value != 0.0F;

1244  operator Uint1

(

void

)

const 1246  return

MakeCP<CP>(m_Value);

1248  operator Int1

(

void

)

const 1250  return

MakeCP<CP>(m_Value);

1252  operator Uint2

(

void

)

const 1254  return

MakeCP<CP>(m_Value);

1256  operator Int2

(

void

)

const 1258  return

MakeCP<CP>(m_Value);

1260  operator Uint4

(

void

)

const 1262  return

MakeCP<CP>(m_Value);

1264  operator Int4

(

void

)

const 1266  return

MakeCP<CP>(m_Value);

1268 #if NCBI_PLATFORM_BITS == 32 1269  operator

time_t(

void

)

const 1271  return

MakeCP<CP>(m_Value);

1274  operator Uint8

(

void

)

const 1276  return

MakeCP<CP>(m_Value);

1278  operator Int8

(

void

)

const 1280  return

MakeCP<CP>(m_Value);

1282  operator

float(

void

)

const 1284  return

MakeCP<CP>(m_Value);

1286  operator

double(

void

)

const 1288  return

MakeCP<CP>(m_Value);

1290  operator long

double(

void

)

const 1292  return

MakeCP<CP>(m_Value);

1295  template

<

typename

TO>

1296  operator

TO(

void

)

const 1298  return

MakeCP<CP>(m_Value);

1313 template

<

typename

CP>

1325 #if defined(NCBI_COMPILER_MSVC) 1326  operator bool

(

void

)

const 1328  return

m_Value != 0.0;

1331 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1332  operator bool

(

void

)

const 1334  return

m_Value != 0.0;

1336  operator Uint1

(

void

)

const 1338  return

MakeCP<CP>(m_Value);

1340  operator Int1

(

void

)

const 1342  return

MakeCP<CP>(m_Value);

1344  operator Uint2

(

void

)

const 1346  return

MakeCP<CP>(m_Value);

1348  operator Int2

(

void

)

const 1350  return

MakeCP<CP>(m_Value);

1352  operator Uint4

(

void

)

const 1354  return

MakeCP<CP>(m_Value);

1356  operator Int4

(

void

)

const 1358  return

MakeCP<CP>(m_Value);

1360 #if NCBI_PLATFORM_BITS == 32 1361  operator

time_t(

void

)

const 1363  return

MakeCP<CP>(m_Value);

1366  operator Uint8

(

void

)

const 1368  return

MakeCP<CP>(m_Value);

1370  operator Int8

(

void

)

const 1372  return

MakeCP<CP>(m_Value);

1374  operator

float(

void

)

const 1376  return

MakeCP<CP>(m_Value);

1378  operator

double(

void

)

const 1380  return

MakeCP<CP>(m_Value);

1382  operator long

double(

void

)

const 1384  return

MakeCP<CP>(m_Value);

1387  template

<

typename

TO>

1388  operator

TO(

void

)

const 1390  return

MakeCP<CP>(m_Value);

1405 template

<

typename

CP>

1417 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1418  operator bool

(

void

)

const 1420  return

m_Value != 0.0L;

1422  operator Uint1

(

void

)

const 1424  return

MakeCP<CP>(m_Value);

1426  operator Int1

(

void

)

const 1428  return

MakeCP<CP>(m_Value);

1430  operator Uint2

(

void

)

const 1432  return

MakeCP<CP>(m_Value);

1434  operator Int2

(

void

)

const 1436  return

MakeCP<CP>(m_Value);

1438  operator Uint4

(

void

)

const 1440  return

MakeCP<CP>(m_Value);

1442  operator Int4

(

void

)

const 1444  return

MakeCP<CP>(m_Value);

1446  operator Uint8

(

void

)

const 1448  return

MakeCP<CP>(m_Value);

1450  operator Int8

(

void

)

const 1452  return

MakeCP<CP>(m_Value);

1454  operator

float(

void

)

const 1456  return

MakeCP<CP>(m_Value);

1458  operator

double(

void

)

const 1460  return

MakeCP<CP>(m_Value);

1462  operator long

double(

void

)

const 1464  return

MakeCP<CP>(m_Value);

1467  template

<

typename

TO>

1468  operator

TO(

void

)

const 1470  return

MakeCP<CP>(m_Value);

1478 template

<

typename

CP>

1490 #if defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550 1491  operator bool

(

void

)

const 1493  return

!m_Value->IsEmpty();

1495  operator Uint1

(

void

)

const 1497  return

MakeCP<CP>(*m_Value);

1499  operator Int1

(

void

)

const 1501  return

MakeCP<CP>(m_Value);

1503  operator Uint2

(

void

)

const 1505  return

MakeCP<CP>(*m_Value);

1507  operator Int2

(

void

)

const 1509  return

MakeCP<CP>(*m_Value);

1511  operator Uint4

(

void

)

const 1513  return

MakeCP<CP>(*m_Value);

1515  operator Int4

(

void

)

const 1517  return

MakeCP<CP>(*m_Value);

1519  operator Uint8

(

void

)

const 1521  return

MakeCP<CP>(*m_Value);

1523  operator Int8

(

void

)

const 1525  return

MakeCP<CP>(*m_Value);

1527  operator

float(

void

)

const 1529  return

MakeCP<CP>(*m_Value);

1531  operator

double(

void

)

const 1533  return

MakeCP<CP>(*m_Value);

1536  template

<

typename

TO>

1537  operator

TO(

void

)

const 1539  return

MakeCP<CP>(*m_Value);

1546  return

MakeCP<CP>(*m_Value);

1550  return

m_Value->AsString();

1559 #if !(defined(NCBI_COMPILER_WORKSHOP) && NCBI_COMPILER_VERSION <= 550) 1560 template

<>

template

<>

1564  return

m_Value != 0;

1567 template

<>

template

<>

1571  return

m_Value != 0;

1574 template

<>

template

<>

1578  return

m_Value != 0;

1581 template

<>

template

<>

1585  return

m_Value != 0;

1588 template

<>

template

<>

1592  return

m_Value != 0;

1595 template

<>

template

<>

1599  return

m_Value != 0;

1602 template

<>

template

<>

1606  return

m_Value != 0;

1609 template

<>

template

<>

1613  return

m_Value != 0;

1616 template

<>

template

<>

1620  return

m_Value != 0;

1623 template

<>

template

<>

1627  return

m_Value != 0;

1630 template

<>

template

<>

1634  return

m_Value != 0;

1637 template

<>

template

<>

1641  return

m_Value != 0;

1644 #if NCBI_INT8_IS_LONG 1645 template

<>

template

<>

1649  return

m_Value != 0;

1652 template

<>

template

<>

1654

CValueConvert<SRunTimeCP, unsigned long long>::operator

bool

(

void

)

const 1656  return

m_Value != 0;

1659 template

<>

template

<>

1661

CValueConvert<SSafeCP, long long>::operator

bool

(

void

)

const 1663  return

m_Value != 0;

1666 template

<>

template

<>

1668

CValueConvert<SRunTimeCP, long long>::operator

bool

(

void

)

const 1670  return

m_Value != 0;

1673 template

<>

template

<>

1677  return

m_Value != 0;

1680 template

<>

template

<>

1684  return

m_Value != 0;

1687 template

<>

template

<>

1691  return

m_Value != 0;

1694 template

<>

template

<>

1698  return

m_Value != 0;

1703 template

<>

template

<>

1707  return

!m_Value->IsEmpty();

1714 #if defined(NCBI_COMPILER_WORKSHOP) || \ 1715  (defined(NCBI_COMPILER_MSVC) && (_MSC_VER < 1400)) 1719 template

<

typename

CP,

typename

FROM>

1721 bool

operator !(CValueConvert<CP, FROM>

const

&

value

)

1723  const bool

bool_expr =

value

;

1734 bool operator &&

(CValueConvert<CP1, FROM1>

const

&

l

, CValueConvert<CP2, FROM2>

const

&

r

)

1736  const bool

l_expr =

l

;

1752 bool

operator ||(CValueConvert<CP1, FROM1>

const

&

l

, CValueConvert<CP2, FROM2>

const

&

r

)

1754  const bool

l_expr =

l

;

1763 template

<

typename

CP,

typename

FROM>

1765 bool operator &&

(

bool l

, CValueConvert<CP, FROM>

const

&

r

)

1774 template

<

typename

CP,

typename

FROM>

1776 bool operator &&

(CValueConvert<CP, FROM>

const

&

l

,

bool r

)

1778  const bool

l_expr =

l

;

1779  return

l_expr &&

r

;

1782 template

<

typename

CP,

typename

FROM>

1784 bool

operator ||(

bool l

, CValueConvert<CP, FROM>

const

&

r

)

1793 template

<

typename

CP,

typename

FROM>

1795 bool

operator ||(CValueConvert<CP, FROM>

const

&

l

,

bool r

)

1797  const bool

l_expr =

l

;

1798  return

l_expr ||

r

;

1806 template

<

typename

CP,

typename

FROM>

1810  string

str_value(s);

1816 template

<

typename

CP,

typename

FROM>

1826 template

<

typename

CP,

typename

FROM>

1841 template

<

typename

CP,

typename

FROM>

1854 template

<

typename

CP,

typename

FROM>

1864 template

<

typename

FROM>

1872 #if SIZEOF_LONG == 4 1888 template

<

typename

FROM>

1898 template

<

typename

FROM>

1906 #if SIZEOF_LONG == 4 1922 template

<

typename

FROM>

CValueConvert(const obj_type &value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(obj_type value)

CValueConvert(const obj_type &value)

CValueConvert(obj_type value)

The NCBI C++ standard methods for dealing with std::string.

CExpression operator&&(CExpression, CExpression)

uint8_t Uint1

1-byte (8-bit) unsigned integer

int16_t Int2

2-byte (16-bit) signed integer

int32_t Int4

4-byte (32-bit) signed integer

uint32_t Uint4

4-byte (32-bit) unsigned integer

uint16_t Uint2

2-byte (16-bit) unsigned integer

int64_t Int8

8-byte (64-bit) signed integer

uint64_t Uint8

8-byte (64-bit) unsigned integer

int8_t Int1

1-byte (8-bit) signed integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool StringToBool(const CTempString str)

Convert string to bool.

static string Int8ToString(Int8 value, TNumToStringFlags flags=0, int base=10)

Convert Int8 to string.

static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)

Convert double to string.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static Int8 StringToInt8(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to Int8.

static string LongToString(long value, TNumToStringFlags flags=0, int base=10)

Convert Int to string.

static double StringToDouble(const CTempStringEx str, TStringToNumFlags flags=0)

Convert string to double.

static const string BoolToString(bool value)

Convert bool to string.

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

static unsigned long StringToULong(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to unsigned long.

static long StringToLong(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to long.

static string UIntToString(unsigned int value, TNumToStringFlags flags=0, int base=10)

Convert UInt to string.

static Uint8 StringToUInt8(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to Uint8.

static string ULongToString(unsigned long value, TNumToStringFlags flags=0, int base=10)

Convert unsigned long to string.

static unsigned int StringToUInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to unsigned int.

static string UInt8ToString(Uint8 value, TNumToStringFlags flags=0, int base=10)

Convert UInt8 to string.

@ fAllowTrailingSymbols

Ignore trailing non-numerics characters.

const GenericPointer< typename T::ValueType > T2 value

CConvPolicy< CP, FROM > MakeCP(const FROM &value)

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

static SLJIT_INLINE sljit_ins l(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)

const value_slice::CValueConvert< value_slice::SRunTimeCP, FROM > Convert(const FROM &value)

const value_slice::CValueConvert< value_slice::SSafeCP, FROM > ConvertSafe(const FROM &value)

string & operator+=(string &s, const value_slice::CValueConvert< CP, FROM > &value)

string operator+(const string &s, const value_slice::CValueConvert< CP, FROM > &value)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4