Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | ·6853faf09784195a14c81b01e27bfc87·2326112·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_armhf.deb | 1 | ·6853faf09784195a14c81b01e27bfc87·2326112·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_armhf.deb |
2 | ·6ee6abf1b597492c0b741b9cb6f89724·177208·libs·optional·libpqxx-7.8t64_7.8.1-2.1_armhf.deb | 2 | ·6ee6abf1b597492c0b741b9cb6f89724·177208·libs·optional·libpqxx-7.8t64_7.8.1-2.1_armhf.deb |
3 | ·415df0df74d00ce1b6dc9ad8c30c01eb·355120·libdevel·optional·libpqxx-dev_7.8.1-2.1_armhf.deb | 3 | ·415df0df74d00ce1b6dc9ad8c30c01eb·355120·libdevel·optional·libpqxx-dev_7.8.1-2.1_armhf.deb |
4 | ·e | 4 | ·e941c9c65985af3d9932cb469e10d8fe·1821632·doc·optional·libpqxx-doc_7.8.1-2.1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-02-28·19:39:58.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-02-28·19:39:58.000000·debian-binary |
2 | -rw-r--r--···0········0········0····16 | 2 | -rw-r--r--···0········0········0····16400·2024-02-28·19:39:58.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··1805 | 3 | -rw-r--r--···0········0········0··1805040·2024-02-28·19:39:58.000000·data.tar.xz |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | usr/share/doc/libpqxx-doc/html/a00101_source.html | 81 | usr/share/doc/libpqxx-doc/html/a00101_source.html |
82 | usr/share/doc/libpqxx-doc/html/a00104_source.html | 82 | usr/share/doc/libpqxx-doc/html/a00104_source.html |
83 | usr/share/doc/libpqxx-doc/html/a00107_source.html | 83 | usr/share/doc/libpqxx-doc/html/a00107_source.html |
84 | usr/share/doc/libpqxx-doc/html/a00110_source.html | 84 | usr/share/doc/libpqxx-doc/html/a00110_source.html |
85 | usr/share/doc/libpqxx-doc/html/a00113_source.html | 85 | usr/share/doc/libpqxx-doc/html/a00113_source.html |
86 | usr/share/doc/libpqxx-doc/html/a00116_source.html | 86 | usr/share/doc/libpqxx-doc/html/a00116_source.html |
87 | usr/share/doc/libpqxx-doc/html/a00119_source.html | 87 | usr/share/doc/libpqxx-doc/html/a00119_source.html |
88 | usr/share/doc/libpqxx-doc/html/a00 | 88 | usr/share/doc/libpqxx-doc/html/a00179_source.html |
89 | usr/share/doc/libpqxx-doc/html/a00239.html | 89 | usr/share/doc/libpqxx-doc/html/a00239.html |
90 | usr/share/doc/libpqxx-doc/html/a00240.html | 90 | usr/share/doc/libpqxx-doc/html/a00240.html |
91 | usr/share/doc/libpqxx-doc/html/a00240.js | 91 | usr/share/doc/libpqxx-doc/html/a00240.js |
92 | usr/share/doc/libpqxx-doc/html/a00241.html | 92 | usr/share/doc/libpqxx-doc/html/a00241.html |
93 | usr/share/doc/libpqxx-doc/html/a00242.html | 93 | usr/share/doc/libpqxx-doc/html/a00242.html |
94 | usr/share/doc/libpqxx-doc/html/a00243.html | 94 | usr/share/doc/libpqxx-doc/html/a00243.html |
95 | usr/share/doc/libpqxx-doc/html/a00243.js | 95 | usr/share/doc/libpqxx-doc/html/a00243.js |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | ··Streams:···········1 | 1 | ··Streams:···········1 |
2 | ··Blocks:············1 | 2 | ··Blocks:············1 |
3 | ··Compressed·size:···16.0·KiB·(16 | 3 | ··Compressed·size:···16.0·KiB·(16400·B) |
4 | ··Uncompressed·size:·70.0·KiB·(71680·B) | 4 | ··Uncompressed·size:·70.0·KiB·(71680·B) |
5 | ··Ratio:·············0.22 | 5 | ··Ratio:·············0.229 |
6 | ··Check:·············CRC64 | 6 | ··Check:·············CRC64 |
7 | ··Stream·Padding:····0·B | 7 | ··Stream·Padding:····0·B |
8 | ··Streams: | 8 | ··Streams: |
9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding | 9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding |
10 | ·········1·········1···············0···············0···········16 | 10 | ·········1·········1···············0···············0···········16400···········71680··0.229··CRC64············0 |
11 | ··Blocks: | 11 | ··Blocks: |
12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check | 12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check |
13 | ·········1·········1··············12···············0···········163 | 13 | ·········1·········1··············12···············0···········16364···········71680··0.228··CRC64 |
Offset 47, 55 lines modified | Offset 47, 55 lines modified | ||
47 | -rw-r--r--···0·root·········(0)·root·········(0)·····1972·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test87.cxx | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····1972·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test87.cxx |
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····2990·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test88.cxx | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····2990·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test88.cxx |
49 | -rw-r--r--···0·root·········(0)·root·········(0)·····1022·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test89.cxx | 49 | -rw-r--r--···0·root·········(0)·root·········(0)·····1022·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test89.cxx |
50 | -rw-r--r--···0·root·········(0)·root·········(0)······436·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test90.cxx | 50 | -rw-r--r--···0·root·········(0)·root·········(0)······436·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test90.cxx |
51 | -rw-r--r--···0·root·········(0)·root·········(0)····17732·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test_helpers.hxx | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····17732·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test_helpers.hxx |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5510·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test_types.hxx | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5510·2023-07-26·14:42:33.000000·./usr/share/doc/libpqxx-doc/examples/test_types.hxx |
53 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/ | 53 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/ |
54 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····16864·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00002_source.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)····59524·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00005_source.html | 55 | -rw-r--r--···0·root·········(0)·root·········(0)····59524·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00005_source.html |
56 | -rw-r--r--···0·root·········(0)·root·········(0)····12205·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00008_source.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)····92920·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00011_source.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····36 | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····3659·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00014_source.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····4789·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00011_source.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)····11715·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00014_source.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 59 | -rw-r--r--···0·root·········(0)·root·········(0)···144300·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00017_source.html |
60 | -rw-r--r--···0·root·········(0)·root·········(0)····25867·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00020_source.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)····16864·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00023_source.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····31542·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00026_source.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)····19625·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a0002 | 60 | -rw-r--r--···0·root·········(0)·root·········(0)····19625·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00020_source.html |
64 | -rw-r--r--···0·root·········(0)·root·········(0)····12205·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00032_source.html | ||
65 | -rw-r--r--···0·root·········(0)·root·········(0)···115762·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00035_source.html | ||
66 | -rw-r--r--···0·root·········(0)·root·········(0)····25736·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00038_source.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)····50782·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00041_source.html | ||
68 | -rw-r--r--···0·root·········(0)·root·········(0)····12101·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00044_source.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····49711·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00047_source.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)·····8440·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00050_source.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····73883·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00053_source.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)····12552·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00056_source.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)····26859·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00059_source.html | ||
74 | -rw-r--r--···0·root·········(0)·root·········(0)····51677·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00062_source.html | ||
75 | -rw-r--r--···0·root·········(0)·root·········(0)····35409·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00065_source.html | ||
76 | -rw-r--r--···0·root·········(0)·root·········(0)·····3659·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00068_source.html | ||
77 | -rw-r--r--···0·root·········(0)·root·········(0)····19201·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00071_source.html | ||
78 | -rw-r--r--···0·root·········(0)·root·········(0)····14410·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00074_source.html | ||
79 | -rw-r--r--···0·root·········(0)·root·········(0)···137425·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00077_source.html | ||
80 | -rw-r--r--···0·root·········(0)·root·········(0)····16501·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00080_source.html | ||
81 | -rw-r--r--···0·root·········(0)·root·········(0)···144300·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00083_source.html | ||
82 | -rw-r--r--···0·root·········(0)·root·········(0)····17615·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00086_source.html | ||
83 | -rw-r--r--···0·root·········(0)·root·········(0)····12125·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00089_source.html | ||
84 | -rw-r--r--···0·root·········(0)·root·········(0)····84065·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a000 | 61 | -rw-r--r--···0·root·········(0)·root·········(0)····84065·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00023_source.html |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····17615·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00026_source.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)···115762·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00029_source.html | ||
64 | -rw-r--r--···0·root·········(0)·root·········(0)···137425·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00032_source.html | ||
65 | -rw-r--r--···0·root·········(0)·root·········(0)····51677·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00035_source.html | ||
66 | -rw-r--r--···0·root·········(0)·root·········(0)····29095·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00038_source.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)····19201·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00041_source.html | ||
68 | -rw-r--r--···0·root·········(0)·root·········(0)···110355·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00044_source.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····35409·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00047_source.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)····12552·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00050_source.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····16501·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00053_source.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)····31542·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00056_source.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)····12101·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00059_source.html | ||
85 | -rw-r--r--···0·root·········(0)·root·········(0)····57531·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a000 | 74 | -rw-r--r--···0·root·········(0)·root·········(0)····57531·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00062_source.html |
75 | -rw-r--r--···0·root·········(0)·root·········(0)····29915·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00065_source.html | ||
76 | -rw-r--r--···0·root·········(0)·root·········(0)···113680·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00068_source.html | ||
77 | -rw-r--r--···0·root·········(0)·root·········(0)····26859·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00071_source.html | ||
78 | -rw-r--r--···0·root·········(0)·root·········(0)····91868·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00074_source.html | ||
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25867·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00077_source.html | ||
80 | -rw-r--r--···0·root·········(0)·root·········(0)····25736·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00080_source.html | ||
81 | -rw-r--r--···0·root·········(0)·root·········(0)····73883·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00083_source.html | ||
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····4546·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00086_source.html | ||
83 | -rw-r--r--···0·root·········(0)·root·········(0)····49711·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00089_source.html | ||
84 | -rw-r--r--···0·root·········(0)·root·········(0)·····3609·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00092_source.html | ||
85 | -rw-r--r--···0·root·········(0)·root·········(0)·····8440·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00095_source.html | ||
86 | -rw-r--r--···0·root·········(0)·root·········(0)···115169·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00098_source.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)···115169·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00098_source.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 87 | -rw-r--r--···0·root·········(0)·root·········(0)····11715·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00101_source.html |
88 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)····50782·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00104_source.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)····14410·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00107_source.html | ||
90 | -rw-r--r--···0·root·········(0)·root·········(0)····60709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00110_source.html | ||
91 | -rw-r--r--···0·root·········(0)·root·········(0)·····4789·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00113_source.html | ||
92 | -rw-r--r--···0·root·········(0)·root·········(0)····12125·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00116_source.html | ||
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····4221·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a001 | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····4221·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00119_source.html |
90 | -rw-r--r--···0·root·········(0)·root·········(0)····91868·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00110_source.html | ||
91 | -rw-r--r--···0·root·········(0)·root·········(0)···110355·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00113_source.html | ||
92 | -rw-r--r--···0·root·········(0)·root·········(0)····29095·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00116_source.html | ||
93 | -rw-r--r--···0·root·········(0)·root·········(0)····29915·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00119_source.html | ||
94 | -rw-r--r--···0·root·········(0)·root·········(0)·····7709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00 | 94 | -rw-r--r--···0·root·········(0)·root·········(0)·····7709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00179_source.html |
95 | -rw-r--r--···0·root·········(0)·root·········(0)····17165·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00239.html | 95 | -rw-r--r--···0·root·········(0)·root·········(0)····17165·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00239.html |
96 | -rw-r--r--···0·root·········(0)·root·········(0)·····5619·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00240.html | 96 | -rw-r--r--···0·root·········(0)·root·········(0)·····5619·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00240.html |
97 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00240.js | 97 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00240.js |
98 | -rw-r--r--···0·root·········(0)·root·········(0)·····2780·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00241.html | 98 | -rw-r--r--···0·root·········(0)·root·········(0)·····2780·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00241.html |
99 | -rw-r--r--···0·root·········(0)·root·········(0)·····4284·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00242.html | 99 | -rw-r--r--···0·root·········(0)·root·········(0)·····4284·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00242.html |
100 | -rw-r--r--···0·root·········(0)·root·········(0)·····6079·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00243.html | 100 | -rw-r--r--···0·root·········(0)·root·········(0)·····6079·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00243.html |
101 | -rw-r--r--···0·root·········(0)·root·········(0)·····6050·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00243.js | 101 | -rw-r--r--···0·root·········(0)·root·········(0)·····6050·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00243.js |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·errorhandler.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 29 lines modified | Offset 60, 99 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">errorhandler.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::errorhandler·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::errorhandler·handlers·errors·and·warnings·in·a·database·session.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/errorhandler·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ERRORHANDLER</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ERRORHANDLER</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
71 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> | ||
73 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">class·</span>errorhandler_connection;</div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}</div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> | ||
100 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
101 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
102 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};"> | ||
103 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01138.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div> | ||
104 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> | ||
74 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> |
106 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&);</div> | ||
107 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01138.html">~errorhandler</a>();</div> | ||
108 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
110 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·msg[])·<span·class="keyword">noexcept</span>·=·0;</div> | ||
111 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">···67</a></span>··<a·class="code·hl_function"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">errorhandler</a>()·=·<span·class="keyword">delete</span>;</div> | ||
113 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">···68</a></span>··<a·class="code·hl_function"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">errorhandler</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
114 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">···69</a></span>··<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·&<a·class="code·hl_function"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">operator=</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
115 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
116 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">private</span>:</div> | ||
117 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·*m_home;</div> | ||
118 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
119 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01138.html#af70de8ea5e1464b69bc5a4c4eaadb98e">···74</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection;</div> | ||
120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div> | ||
121 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div> | ||
122 | </div> | ||
123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
125 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> | ||
126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01142.html">···80</a></span>class·<a·class="code·hl_class"·href="a01142.html">quiet_errorhandler</a>·:·public·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div> | ||
129 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">···84</a></span>··<a·class="code·hl_function"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&conn)·:·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>{conn}·{}</div> | ||
130 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
131 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">···87</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div> | ||
132 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div> | ||
133 | </div> | ||
134 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
135 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
75 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PQXX_HAVE_SLEEP_FOR·1</span></div> | ||
77 | <div·class=" | 137 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> |
138 | <div·class="ttc"·id="aa00252_html"><div·class="ttname"><a·href="a00252.html">pqxx::internal::gate</a></div><div·class="ttdef"><b>Definition</b>·connection.hxx:112</div></div> | ||
139 | <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div> | ||
140 | <div·class="ttc"·id="aa01138_html"><div·class="ttname"><a·href="a01138.html">pqxx::errorhandler</a></div><div·class="ttdoc">Base·class·for·error-handler·callbacks.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:54</div></div> | ||
141 | <div·class="ttc"·id="aa01138_html_a702298913e5ef0a44552204ab0ef107a"><div·class="ttname"><a·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">pqxx::errorhandler::errorhandler</a></div><div·class="ttdeci">errorhandler()=delete</div></div> | ||
142 | <div·class="ttc"·id="aa01138_html_a8404c336eaefab488ab326cbcb704993"><div·class="ttname"><a·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(char·const·msg[])·noexcept=0</div></div> | ||
143 | <div·class="ttc"·id="aa01138_html_ac52009eced624930fdecaa9594c89c28"><div·class="ttname"><a·href="a01138.html#ac52009eced624930fdecaa9594c89c28">pqxx::errorhandler::operator=</a></div><div·class="ttdeci">errorhandler·&·operator=(errorhandler·const·&)=delete</div></div> | ||
144 | <div·class="ttc"·id="aa01138_html_ae6e3073c572e5ed6190b640be8b08fa1"><div·class="ttname"><a·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">pqxx::errorhandler::errorhandler</a></div><div·class="ttdeci">errorhandler(errorhandler·const·&)=delete</div></div> | ||
145 | <div·class="ttc"·id="aa01142_html"><div·class="ttname"><a·href="a01142.html">pqxx::quiet_errorhandler</a></div><div·class="ttdoc">An·error·handler·that·suppresses·any·previously·registered·error·handlers.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:81</div></div> | ||
146 | <div·class="ttc"·id="aa01142_html_a051f8a9a1019974daffc47c75addc46e"><div·class="ttname"><a·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">pqxx::quiet_errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(char·const[])·noexcept·override</div><div·class="ttdoc">Revert·to·previous·handling·of·error·notices.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:87</div></div> | ||
147 | <div·class="ttc"·id="aa01142_html_a0cbea9b3c07e0bc115df209d34aa762d"><div·class="ttname"><a·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">pqxx::quiet_errorhandler::quiet_errorhandler</a></div><div·class="ttdeci">quiet_errorhandler(connection·&conn)</div><div·class="ttdoc">Suppress·error·notices.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:84</div></div> | ||
78 | </div><!--·fragment·--></div><!--·contents·--> | 148 | </div><!--·fragment·--></div><!--·contents·--> |
79 | </div><!--·doc-content·--> | 149 | </div><!--·doc-content·--> |
80 | <!--·start·footer·part·--> | 150 | <!--·start·footer·part·--> |
81 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 151 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
82 | ··<ul> | 152 | ··<ul> |
83 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b> | 153 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>errorhandler.hxx</b></li> |
84 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 154 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
85 | ··</ul> | 155 | ··</ul> |
86 | </div> | 156 | </div> |
87 | </body> | 157 | </body> |
88 | </html> | 158 | </html> |
Offset 1, 14 lines modified | Offset 1, 99 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-internal-compiler.h | ||
3 | 1/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PQXX_HAVE_CHARCONV_FLOAT·1 | ||
6 | 4#define·PQXX_HAVE_CHARCONV_INT·1 | ||
7 | 5#define·PQXX_HAVE_CXA_DEMANGLE·1 | ||
8 | 6#define·PQXX_HAVE_POLL·1 | ||
9 | 7#define·PQXX_HAVE_SLEEP_FOR·1 | ||
10 | 2 | errorhandler.hxx | |
3 | 1/*·Definition·of·the·pqxx::errorhandler·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::errorhandler·handlers·errors·and·warnings·in·a·database·session. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/errorhandler·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_ERRORHANDLER | ||
16 | 14#define·PQXX_H_ERRORHANDLER | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·"pqxx/types.hxx" | ||
23 | 21 | ||
24 | 22 | ||
25 | 23namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
26 | 24{ | ||
27 | 25class·errorhandler_connection; | ||
28 | 26} | ||
29 | 27 | ||
30 | 28 | ||
31 | 29namespace·_\x8p_\x8q_\x8x_\x8x | ||
32 | 30{ | ||
33 | 35 | ||
34 | 37 | ||
35 | _\x85_\x83class·PQXX_LIBEXPORT·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
36 | 54{ | ||
37 | 55public: | ||
38 | 56·explicit·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&); | ||
39 | 57·virtual·_\x8~_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(); | ||
40 | 58 | ||
41 | 61 | ||
42 | _\x86_\x85·virtual·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(char·const·msg[])·noexcept·=·0; | ||
43 | 66 | ||
44 | _\x86_\x87·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r()·=·delete; | ||
45 | _\x86_\x88·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete; | ||
46 | _\x86_\x89·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete; | ||
47 | 70 | ||
48 | 71private: | ||
49 | 72·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·*m_home; | ||
50 | 73 | ||
51 | _\x87_\x84·friend·class·internal::gate::errorhandler_connection; | ||
52 | 75·void·unregister()·noexcept; | ||
53 | 76}; | ||
54 | 77 | ||
55 | 78 | ||
56 | _\x88_\x80class·_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·:·public·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
57 | 81{ | ||
58 | 82public: | ||
59 | _\x88_\x84·_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&conn)·:·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r{conn}·{} | ||
60 | 85 | ||
61 | _\x88_\x87·virtual·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(char·const[])·noexcept·override·{·return·false;·} | ||
62 | 88}; | ||
63 | 89 | ||
64 | 91}·//·namespace·pqxx | ||
65 | 92#endif | ||
66 | _\x8p_\x8q_\x8x_\x8x | ||
67 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
68 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
69 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
70 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:112 | ||
71 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
72 | Connection·to·a·database. | ||
73 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253 | ||
74 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
75 | Base·class·for·error-handler·callbacks. | ||
76 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:54 | ||
77 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
78 | errorhandler()=delete | ||
79 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | ||
80 | virtual·bool·operator()(char·const·msg[])·noexcept=0 | ||
81 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8= | ||
82 | errorhandler·&·operator=(errorhandler·const·&)=delete | ||
83 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
84 | errorhandler(errorhandler·const·&)=delete | ||
85 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
86 | An·error·handler·that·suppresses·any·previously·registered·error·handlers. | ||
87 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:81 | ||
88 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | ||
89 | virtual·bool·operator()(char·const[])·noexcept·override | ||
90 | Revert·to·previous·handling·of·error·notices. | ||
91 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:87 | ||
92 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
93 | quiet_errorhandler(connection·&conn) | ||
94 | Suppress·error·notices. | ||
95 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:84 | ||
11 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 96 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
12 | ····*·_\x8p_\x8q_\x8x_\x8x | 97 | ····*·_\x8p_\x8q_\x8x_\x8x |
13 | ····*· | 98 | ····*·e.er.rr.ro.or.rh.ha.an.nd.dl.le.er.r...h.hx.xx.x |
14 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 99 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·time.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 23 lines modified | Offset 60, 80 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">time.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span> | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> |
71 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·PQXX_H_TIME</span></div> | ||
72 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_H_TIME</span></div> | ||
71 | <div·class="line"><a·id="l0000 | 73 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
74 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
75 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
76 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#endif</span></div> | ||
77 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
78 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<chrono></span></div> | ||
79 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<cstdlib></span></div> | ||
80 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
81 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
82 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·"pqxx/strconv.hxx"</span></div> | ||
83 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
84 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
85 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·defined(PQXX_HAVE_YEAR_MONTH_DAY)</span></div> | ||
86 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
87 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
88 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> | ||
89 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">using·namespace·</span>std::literals;</div> | ||
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
91 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span><></div> | ||
92 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">struct·</span>nullness<std::chrono::year_month_day></div> | ||
93 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>········:·no_null<std::chrono::year_month_day></div> | ||
94 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{};</div> | ||
95 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
96 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
98 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span><>·<span·class="keyword">struct·</span>PQXX_LIBEXPORT·string_traits<std::chrono::year_month_day></div> | ||
99 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> | ||
100 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··[[nodiscard]]·<span·class="keyword">static</span>·zview</div> | ||
101 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··to_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&value)</div> | ||
102 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
103 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">return</span>·generic_to_buf(begin,·end,·value);</div> | ||
104 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div> | ||
105 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
106 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">static</span>·<span·class="keywordtype">char</span>·*</div> | ||
107 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··into_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&value);</div> | ||
108 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
109 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::chrono::year_month_day</div> | ||
110 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_function"·href="a00250.html#ae3697fd4a0fc1fcdb40937e16e1ec878">from_string</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>);</div> | ||
111 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
112 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::size_t</div> | ||
113 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··size_buffer(std::chrono::year_month_day·<span·class="keyword">const</span>·&)·<span·class="keyword">noexcept</span></div> | ||
114 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> | ||
115 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::min)()}·>=·-99999);</div> | ||
116 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::max)()}·<=·99999);</div> | ||
117 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·5·+·1·+·2·+·1·+·2·+·std::size(s_bc)·+·1;</div> | ||
118 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div> | ||
119 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">private</span>:</div> | ||
121 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::string_view·s_bc{<span·class="stringliteral">"·BC"</span>sv};</div> | ||
122 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div> | ||
123 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
124 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_YEAR_MONTH_DAY</span></div> | ||
125 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="preprocessor">#endif</span></div> | ||
126 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> | ||
127 | <div·class="ttc"·id="aa00250_html_ae3697fd4a0fc1fcdb40937e16e1ec878"><div·class="ttname"><a·href="a00250.html#ae3697fd4a0fc1fcdb40937e16e1ec878">pqxx::from_string</a></div><div·class="ttdeci">T·from_string(field·const·&value)</div><div·class="ttdoc">Convert·a·field's·value·to·type·T.</div><div·class="ttdef"><b>Definition</b>·field.hxx:520</div></div> | ||
128 | <div·class="ttc"·id="aa00250_html_afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1"><div·class="ttname"><a·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">pqxx::format::text</a></div><div·class="ttdeci">@·text</div></div> | ||
72 | </div><!--·fragment·--></div><!--·contents·--> | 129 | </div><!--·fragment·--></div><!--·contents·--> |
73 | </div><!--·doc-content·--> | 130 | </div><!--·doc-content·--> |
74 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
75 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
76 | ··<ul> | 133 | ··<ul> |
77 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b> | 134 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>time.hxx</b></li> |
78 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 135 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
79 | ··</ul> | 136 | ··</ul> |
80 | </div> | 137 | </div> |
81 | </body> | 138 | </body> |
82 | </html> | 139 | </html> |
Offset 1, 8 lines modified | Offset 1, 71 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-public-autotools.h | ||
3 | 1/*·Automatically·generated·from·config.h:·public/autotools·config.·*/ | ||
4 | 2 | time.hxx | |
3 | 1 | ||
4 | 5#ifndef·PQXX_H_TIME | ||
5 | 6#define·PQXX_H_TIME | ||
6 | 7 | ||
7 | 8#if·!defined(PQXX_HEADER_PRE) | ||
8 | 9#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
9 | 10#endif | ||
10 | 11 | ||
11 | 12#include·<chrono> | ||
12 | 13#include·<cstdlib> | ||
13 | 14 | ||
14 | 15#include·"pqxx/internal/concat.hxx" | ||
15 | 16#include·"pqxx/strconv.hxx" | ||
16 | 17 | ||
17 | 18 | ||
18 | 19#if·defined(PQXX_HAVE_YEAR_MONTH_DAY) | ||
19 | 20 | ||
20 | 21namespace·_\x8p_\x8q_\x8x_\x8x | ||
21 | 22{ | ||
22 | 23using·namespace·std::literals; | ||
23 | 24 | ||
24 | 25template<> | ||
25 | 26struct·nullness<std::chrono::year_month_day> | ||
26 | 27·:·no_null<std::chrono::year_month_day> | ||
27 | 28{}; | ||
28 | 29 | ||
29 | 30 | ||
30 | 32 | ||
31 | 60template<>·struct·PQXX_LIBEXPORT·string_traits<std::chrono::year_month_day> | ||
32 | 61{ | ||
33 | 62·[[nodiscard]]·static·zview | ||
34 | 63·to_buf(char·*begin,·char·*end,·std::chrono::year_month_day·const·&value) | ||
35 | 64·{ | ||
36 | 65·return·generic_to_buf(begin,·end,·value); | ||
37 | 66·} | ||
38 | 67 | ||
39 | 68·static·char·* | ||
40 | 69·into_buf(char·*begin,·char·*end,·std::chrono::year_month_day·const·&value); | ||
41 | 70 | ||
42 | 71·[[nodiscard]]·static·std::chrono::year_month_day | ||
43 | 72·_\x8f_\x8r_\x8o_\x8m_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(std::string_view·_\x8t_\x8e_\x8x_\x8t); | ||
44 | 73 | ||
45 | 74·[[nodiscard]]·static·std::size_t | ||
46 | 75·size_buffer(std::chrono::year_month_day·const·&)·noexcept | ||
47 | 76·{ | ||
48 | 77·static_assert(int{(std::chrono::year::min)()}·>=·-99999); | ||
49 | 78·static_assert(int{(std::chrono::year::max)()}·<=·99999); | ||
50 | 79·return·5·+·1·+·2·+·1·+·2·+·std::size(s_bc)·+·1; | ||
51 | 80·} | ||
52 | 81 | ||
53 | 82private: | ||
54 | 84·static·constexpr·std::string_view·s_bc{"·BC"sv}; | ||
55 | 85}; | ||
56 | 86}·//·namespace·pqxx | ||
57 | 87#endif·//·PQXX_HAVE_YEAR_MONTH_DAY | ||
58 | 88#endif | ||
59 | _\x8p_\x8q_\x8x_\x8x | ||
60 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
61 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
62 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8f_\x8r_\x8o_\x8m_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g | ||
63 | T·from_string(field·const·&value) | ||
64 | Convert·a·field's·value·to·type·T. | ||
65 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·field.hxx:520 | ||
66 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8:_\x8:_\x8t_\x8e_\x8x_\x8t | ||
67 | @·text | ||
5 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 68 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
6 | ····*·_\x8p_\x8q_\x8x_\x8x | 69 | ····*·_\x8p_\x8q_\x8x_\x8x |
7 | ····*· | 70 | ····*·t.ti.im.me.e...h.hx.xx.x |
8 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 71 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·field.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 30 lines modified | Offset 60, 539 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00011_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00011_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">field.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::field·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::field·refers·to·a·field·in·a·query·result.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_FIELD</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_FIELD</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<optional></span></div> | ||
71 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/array.hxx"</span></div> | ||
72 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/composite.hxx"</span></div> |
73 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> |
74 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/strconv.hxx"</span></div> |
75 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
100 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> | ||
101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01314.html">···34</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01314.html">field</a></div> | ||
102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> | ||
76 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div> |
104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>;</div> | ||
105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
106 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··[[deprecated(</div> | ||
108 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="stringliteral">"Do·not·construct·fields·yourself.··Get·them·from·the·row."</span>)]]·<a·class="code·hl_class"·href="a01314.html">field</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·<span·class="keyword">const</span>·&r,·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·c)·<span·class="keyword">noexcept</span>;</div> | ||
109 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··[[deprecated(</div> | ||
111 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="stringliteral">"Do·not·construct·fields·yourself.··Get·them·from·the·"</span></div> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">···50</a></span>····<span·class="stringliteral">"row."</span>)]]·<a·class="code·hl_function"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">field</a>()·noexcept·=·default;</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
115 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01314.html">field</a>·const·&)·const·noexcept;</div> | ||
116 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
117 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
118 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> | ||
119 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01314.html#a768ec9ffee118b5eb5a4c371afbacc5a">···78</a></span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01314.html">field</a>·const·&rhs)·const·noexcept</div> | ||
120 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{</div> | ||
121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> | ||
122 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> | ||
123 | </div> | ||
124 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·*name()·const·&;</div> | ||
126 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
127 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·oid·PQXX_PURE·type()·const;</div> | ||
128 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
129 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··[[nodiscard]]·PQXX_PURE·oid·table()·const;</div> | ||
130 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
131 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01314.html#a8e90cf78347c40fb5a975734e8557675">···98</a></span>··PQXX_PURE·constexpr·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·num()·const·noexcept·{·<span·class="keywordflow">return</span>·col();·}</div> | ||
132 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
133 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··[[nodiscard]]·PQXX_PURE·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·table_column()·<span·class="keyword">const</span>;</div> | ||
134 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
135 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
136 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> | ||
137 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01314.html#aa05908e8ed320fac8c96b9eb4cf46813">··113</a></span>··[[nodiscard]]·PQXX_PURE·std::string_view·<a·class="code·hl_function"·href="a01314.html#aa05908e8ed320fac8c96b9eb4cf46813">view</a>()·const·&</div> | ||
138 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> | ||
139 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>·std::string_view(c_str(),·size());</div> | ||
140 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> | ||
141 | </div> | ||
142 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
143 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> | ||
144 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·*c_str()·const·&;</div> | ||
145 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> | ||
146 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·is_null()·const·noexcept;</div> | ||
147 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> | ||
148 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··[[nodiscard]]·PQXX_PURE·size_type·size()·const·noexcept;</div> | ||
149 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | ||
150 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div> | ||
151 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··template<typename·T></div> | ||
152 | <div·class="foldopen"·id="foldopen00141"·data-start="{"·data-end="}"> | ||
153 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno"><a·class="line"·href="a01314.html#a5c13391d9f288b83419cca7865b5be62">··141</a></span>··auto·to(T·&obj)·const·->·typename·std::enable_if_t<</div> | ||
154 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····(not·std::is_pointer<T>::value·or·std::is_same<T,·<span·class="keywordtype">char</span>·const·*>::value),</div> | ||
155 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keywordtype">bool</span>></div> | ||
156 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··{</div> | ||
157 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>····<span·class="keywordflow">if</span>·(is_null())</div> | ||
158 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····{</div> | ||
159 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
160 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····}</div> | ||
161 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····<span·class="keywordflow">else</span></div> | ||
162 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····{</div> | ||
163 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>······<span·class="keyword">auto</span>·<span·class="keyword">const</span>·bytes{c_str()};</div> | ||
164 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>······<a·class="code·hl_function"·href="a00250.html#ae3697fd4a0fc1fcdb40937e16e1ec878">from_string</a>(bytes,·obj);</div> | ||
165 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>······<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
166 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····}</div> | ||
167 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··}</div> | ||
168 | </div> | ||
169 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> | ||
170 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> | ||
Max diff block lines reached; 858/94076 bytes (0.91%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 607 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-internal-autotools.h | ||
3 | 1/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PACKAGE·"libpqxx" | ||
6 | 4#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen" | ||
7 | 5#define·PACKAGE_NAME·"libpqxx" | ||
8 | 6#define·PACKAGE_STRING·"libpqxx·7.8.1" | ||
9 | 7#define·PACKAGE_TARNAME·"libpqxx" | ||
10 | 8#define·PACKAGE_VERSION·"7.8.1" | ||
11 | 2 | field.hxx | |
3 | 1/*·Definitions·for·the·pqxx::field·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::field·refers·to·a·field·in·a·query·result. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_FIELD | ||
16 | 14#define·PQXX_H_FIELD | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·<optional> | ||
23 | 21 | ||
24 | 22#include·"pqxx/array.hxx" | ||
25 | 23#include·"pqxx/composite.hxx" | ||
26 | 24#include·"pqxx/result.hxx" | ||
27 | 25#include·"pqxx/strconv.hxx" | ||
28 | 26#include·"pqxx/types.hxx" | ||
29 | 27 | ||
30 | 28namespace·_\x8p_\x8q_\x8x_\x8x | ||
31 | 29{ | ||
32 | 31 | ||
33 | _\x83_\x84class·PQXX_LIBEXPORT·_\x8f_\x8i_\x8e_\x8l_\x8d | ||
34 | 35{ | ||
35 | 36public: | ||
36 | _\x83_\x87·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
37 | 38 | ||
38 | 40 | ||
39 | 44·[[deprecated( | ||
40 | 45·"Do·not·construct·fields·yourself.·Get·them·from·the·row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d(_\x8r_\x8o_\x8w | ||
41 | const·&r,·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·c)·noexcept; | ||
42 | 46 | ||
43 | 48·[[deprecated( | ||
44 | 49·"Do·not·construct·fields·yourself.·Get·them·from·the·" | ||
45 | _\x85_\x80·"row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d()·noexcept·=·default; | ||
46 | 51 | ||
47 | 57 | ||
48 | 73·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8f_\x8i_\x8e_\x8l_\x8d·const·&)·const·noexcept; | ||
49 | 74 | ||
50 | 76 | ||
51 | _\x87_\x88·[[nodiscard]]·PQXX_PURE·bool·operator!=(_\x8f_\x8i_\x8e_\x8l_\x8d·const·&rhs)·const·noexcept | ||
52 | 79·{ | ||
53 | 80·return·not·operator==(rhs); | ||
54 | 81·} | ||
55 | 83 | ||
56 | 89·[[nodiscard]]·PQXX_PURE·char·const·*name()·const·&; | ||
57 | 90 | ||
58 | 92·[[nodiscard]]·oid·PQXX_PURE·type()·const; | ||
59 | 93 | ||
60 | 95·[[nodiscard]]·PQXX_PURE·oid·table()·const; | ||
61 | 96 | ||
62 | _\x89_\x88·PQXX_PURE·constexpr·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·num()·const·noexcept·{·return·col();·} | ||
63 | 99 | ||
64 | 101·[[nodiscard]]·PQXX_PURE·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·table_column()·const; | ||
65 | 103 | ||
66 | 109 | ||
67 | _\x81_\x81_\x83·[[nodiscard]]·PQXX_PURE·std::string_view·_\x8v_\x8i_\x8e_\x8w()·const·& | ||
68 | 114·{ | ||
69 | 115·return·std::string_view(c_str(),·size()); | ||
70 | 116·} | ||
71 | 117 | ||
72 | 119 | ||
73 | 128·[[nodiscard]]·PQXX_PURE·char·const·*c_str()·const·&; | ||
74 | 129 | ||
75 | 131·[[nodiscard]]·PQXX_PURE·bool·is_null()·const·noexcept; | ||
76 | 132 | ||
77 | 134·[[nodiscard]]·PQXX_PURE·size_type·size()·const·noexcept; | ||
78 | 135 | ||
79 | 137 | ||
80 | 140·template<typename·T> | ||
81 | _\x81_\x84_\x81·auto·to(T·&obj)·const·->·typename·std::enable_if_t< | ||
82 | 142·(not·std::is_pointer<T>::value·or·std::is_same<T,·char·const·*>::value), | ||
83 | 143·bool> | ||
84 | 144·{ | ||
85 | 145·if·(is_null()) | ||
86 | 146·{ | ||
87 | 147·return·false; | ||
88 | 148·} | ||
89 | 149·else | ||
90 | 150·{ | ||
91 | 151·auto·const·bytes{c_str()}; | ||
92 | 152·_\x8f_\x8r_\x8o_\x8m_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(bytes,·obj); | ||
93 | 153·return·true; | ||
94 | 154·} | ||
95 | 155·} | ||
96 | 156 | ||
97 | 158 | ||
98 | _\x81_\x86_\x83·template<typename...·T>·bool·_\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8t_\x8o(T·&...fields)·const | ||
99 | 164·{ | ||
100 | 165·if·(is_null()) | ||
101 | 166·{ | ||
102 | 167·return·false; | ||
103 | 168·} | ||
104 | 169·else | ||
105 | 170·{ | ||
106 | 171·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(m_home.m_encoding,·view(),·fields...); | ||
107 | 172·return·true; | ||
108 | 173·} | ||
109 | 174·} | ||
110 | 175 | ||
111 | _\x81_\x87_\x87·template<typename·T>·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8>_\x8>(T·&obj)·const·{·return·to(obj);·} | ||
112 | 178 | ||
113 | 180 | ||
114 | 190·template<typename·T> | ||
115 | _\x81_\x89_\x81·auto·_\x8t_\x8o(T·&obj,·T·const·&default_value)·const·->·typename·std::enable_if_t< | ||
116 | 192·(not·std::is_pointer<T>::value·or·std::is_same<T,·char·const·*>::value), | ||
117 | 193·bool> | ||
118 | 194·{ | ||
Max diff block lines reached; 197/23348 bytes (0.84%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·prepared_statement.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 71 lines modified | Offset 60, 24 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">prepared_statement.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::subtransaction·class.</span></div> | ||
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a·transaction.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div> | ||
84 | <div·class="line"><a·id="l000 | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> | ||
90 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
94 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};"> | ||
95 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01478.html">···76</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>,</div> | ||
96 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······································<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div> | ||
97 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> | ||
98 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div> | ||
99 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&t,·std::string_view·tname·=·<span·class="stringliteral">""</span>sv);</div> | ||
100 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
101 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·&t,·std::string_view·name·=·<span·class="stringliteral">""</span>sv);</div> | ||
102 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
103 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01478.html">~subtransaction</a>()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div> | ||
104 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
105 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">private</span>:</div> | ||
106 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·quoted_name()<span·class="keyword">·const</span></div> | ||
107 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div> | ||
108 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·quote_name(<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">transaction_focus::name</a>());</div> | ||
109 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
110 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div> | ||
111 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> | ||
112 | </div> | ||
113 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
114 | <div·class="line"><a·id="l000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·"params.hxx"</span></div> |
115 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> | ||
116 | <div·class="ttc"·id="aa01134_html"><div·class="ttname"><a·href="a01134.html">pqxx::dbtransaction</a></div><div·class="ttdoc">Abstract·transaction·base·class:·bracket·transactions·on·the·database.</div><div·class="ttdef"><b>Definition</b>·dbtransaction.hxx:54</div></div> | ||
117 | <div·class="ttc"·id="aa01478_html"><div·class="ttname"><a·href="a01478.html">pqxx::subtransaction</a></div><div·class="ttdoc">"Transaction"·nested·within·another·transaction</div><div·class="ttdef"><b>Definition</b>·subtransaction.hxx:78</div></div> | ||
118 | <div·class="ttc"·id="aa01494_html"><div·class="ttname"><a·href="a01494.html">pqxx::transaction_focus</a></div><div·class="ttdoc">Base·class·for·things·that·monopolise·a·transaction's·attention.</div><div·class="ttdef"><b>Definition</b>·transaction_focus.hxx:29</div></div> | ||
119 | <div·class="ttc"·id="aa01494_html_a4ccffff2688e9e7757acc385be1d781c"><div·class="ttname"><a·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">pqxx::transaction_focus::name</a></div><div·class="ttdeci">std::string_view·name()·const·&noexcept</div><div·class="ttdoc">Name·for·this·object,·if·the·caller·passed·one;·empty·string·otherwise.</div><div·class="ttdef"><b>Definition</b>·transaction_focus.hxx:56</div></div> | ||
120 | </div><!--·fragment·--></div><!--·contents·--> | 73 | </div><!--·fragment·--></div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 74 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 75 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 76 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 77 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b> | 78 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>prepared_statement.hxx</b></li> |
126 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 79 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 80 | ··</ul> |
128 | </div> | 81 | </div> |
129 | </body> | 82 | </body> |
130 | </html> | 83 | </html> |
Offset 1, 66 lines modified | Offset 1, 9 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | prepared_statement.hxx | ||
3 | 1 | ||
4 | 2 | ||
5 | 3#include·"params.hxx" | ||
2 | subtransaction.hxx | ||
3 | 1/*·Definition·of·the·pqxx::subtransaction·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a | ||
6 | transaction. | ||
7 | 4·* | ||
8 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead. | ||
9 | 6·* | ||
10 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
11 | 8·* | ||
12 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
13 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
14 | 11·*·mistake,·or·contact·the·author. | ||
15 | 12·*/ | ||
16 | 13#ifndef·PQXX_H_SUBTRANSACTION | ||
17 | 14#define·PQXX_H_SUBTRANSACTION | ||
18 | 15 | ||
19 | 16#if·!defined(PQXX_HEADER_PRE) | ||
20 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
21 | 18#endif | ||
22 | 19 | ||
23 | 20#include·"pqxx/dbtransaction.hxx" | ||
24 | 21 | ||
25 | 22namespace·_\x8p_\x8q_\x8x_\x8x | ||
26 | 23{ | ||
27 | 28 | ||
28 | _\x87_\x86class·PQXX_LIBEXPORT·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s, | ||
29 | 77·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
30 | 78{ | ||
31 | 79public: | ||
32 | 81·explicit·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·tname·=·""sv); | ||
33 | 82 | ||
34 | 84·explicit·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·name·=·""sv); | ||
35 | 85 | ||
36 | 86·virtual·_\x8~_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·noexcept·override; | ||
37 | 87 | ||
38 | 88private: | ||
39 | 89·std::string·quoted_name()·const | ||
40 | 90·{ | ||
41 | 91·return·quote_name(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8:_\x8:_\x8n_\x8a_\x8m_\x8e()); | ||
42 | 92·} | ||
43 | 93·virtual·void·do_commit()·override; | ||
44 | 94}; | ||
45 | 95}·//·namespace·pqxx | ||
46 | 96#endif | ||
47 | _\x8p_\x8q_\x8x_\x8x | ||
48 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
49 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
50 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
51 | Abstract·transaction·base·class:·bracket·transactions·on·the·database. | ||
52 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·dbtransaction.hxx:54 | ||
53 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
54 | "Transaction"·nested·within·another·transaction | ||
55 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·subtransaction.hxx:78 | ||
56 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
57 | Base·class·for·things·that·monopolise·a·transaction's·attention. | ||
58 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transaction_focus.hxx:29 | ||
59 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8:_\x8:_\x8n_\x8a_\x8m_\x8e | ||
60 | std::string_view·name()·const·&noexcept | ||
61 | Name·for·this·object,·if·the·caller·passed·one;·empty·string·otherwise. | ||
62 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transaction_focus.hxx:56 | ||
63 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 6 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
64 | ····*·_\x8p_\x8q_\x8x_\x8x | 7 | ····*·_\x8p_\x8q_\x8x_\x8x |
65 | ····*· | 8 | ····*·p.pr.re.ep.pa.ar.re.ed.d_._s.st.ta.at.te.em.me.en.nt.t.\x8.h\x8hx\x8xx\x8x |
66 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 9 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·except.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 373 lines modified | Offset 60, 938 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">except.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·libpqxx·exception·classes.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·...</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_EXCEPT</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_EXCEPT</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div> | ||
89 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··include·<source_location></span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
90 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<stdexcept></span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
92 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<string></span></div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/transaction_base.hxx"</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
96 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
97 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
98 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
99 | <div·class="foldopen"·id="foldopen0004 | 99 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> |
100 | <div·class="line"><a·id="l0004 | 100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01146.html">···47</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01146.html">failure</a>·:·std::runtime_error</div> |
101 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> | ||
102 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> | ||
103 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01118.html#a5933f6fed7891b6e7aa9bc43059a0e7b">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01118.html#a5933f6fed7891b6e7aa9bc43059a0e7b">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a>;</div> | ||
104 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01118.html#ada166a0fb33fe691868dad036d3b2d03">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01118.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div> | ||
105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span> | 101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> |
107 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};"> | ||
108 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div> |
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::string·<span·class="keyword">const</span>·&,</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::source_location·=·std::source_location::current());</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::source_location·location;</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#else</span></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(std::string·<span·class="keyword">const</span>·&);</div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div> | ||
109 | <div·class="line"><a·id="l0005 | 110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>};</div> |
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">···54</a></span>····<a·class="code·hl_enumvalue"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">forward_only</a>,</div> | ||
111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····random_access</div> | ||
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2a7f6c1ed7719885433353a78946b2c5f3">···57</a></span>··};</div> | ||
113 | </div> | 111 | </div> |
114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | 112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
115 | <div·class="line"><a·id="l0006 | 114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
116 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="};"> | ||
117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083">···63</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083">update_policy</a></div> | ||
118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a8122c0c4a5eb9c9dbf27ab40a2686eb0">···66</a></span>····<a·class="code·hl_enumvalue"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a8122c0c4a5eb9c9dbf27ab40a2686eb0">read_only</a>,</div> | ||
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····update</div> | ||
121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a12fa229ee3e760f1ca86d66304554b63">···69</a></span>··};</div> | ||
122 | </div> | ||
123 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
124 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
125 | <div·class="foldopen"·id="foldopen0008 | 115 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> |
126 | <div·class="line"><a·id="l0008 | 116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01150.html">···80</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·:·<a·class="code·hl_struct"·href="a01146.html[·...·truncated·by·diffoscope;·len:·9,·SHA:·3a87a7919975c909add1580b28da4111a867cb8e74e1fcf868a71d7e423b9e18·...·]</a></div> |
127 | <div·class="line"><a·id="l0008 | 117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div> |
128 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>();</div> |
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>(</div> | ||
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::string·<span·class="keyword">const</span>·&</div> | ||
121 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div> | ||
122 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····,</div> | ||
123 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::source_location·=·std::source_location::current()</div> | ||
124 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>#endif</div> | ||
129 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··);</div> |
130 | <div·class="line"><a·id="l0009 | 126 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div> |
131 | </div> | 127 | </div> |
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
129 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
132 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 130 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
131 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="};"> | ||
132 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01154.html">··102</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·:·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a></div> | ||
133 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01118.html#aa77f18cfbbb68f81e730f3bfbbb5c89b">···95</a></span>··<a·class="code·hl_function"·href="a01118.html#aa77f18cfbbb68f81e730f3bfbbb5c89b">cursor_base</a>()·=·<span·class="keyword">delete</span>;</div> | ||
134 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01118.html#a8a180b7f834107885a3fc032a88215cd">···96</a></span>··<a·class="code·hl_function"·href="a01118.html#a8a180b7f834107885a3fc032a88215cd">cursor_base</a>(<a·class="code·hl_class"·href="a01118.html">cursor_base</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01118.html#a30364c32caf7fc0627c1079b9f2784bd">···97</a></span>··<a·class="code·hl_class"·href="a01118.html">cursor_base</a>·&<a·class="code·hl_function"·href="a01118.html#a30364c32caf7fc0627c1079b9f2784bd">operator=</a>(<a·class="code·hl_class"·href="a01118.html">cursor_base</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
136 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
137 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span> | 133 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> |
134 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>(</div> | ||
135 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····std::string·<span·class="keyword">const</span>·&</div> | ||
136 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div> | ||
138 | <div·class="line"><a·id="l0010 | 137 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····,</div> |
138 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····std::source_location·=·std::source_location::current()</div> | ||
139 | <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}"> | ||
140 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01118.html#a8ce6273da334bfd0a571c47a7eece137">··108</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01118.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·<a·class="code·hl_function"·href="a01118.html#a8ce6273da334bfd0a571c47a7eece137">all</a>()·noexcept</div> | ||
141 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span> | 139 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>#endif</div> |
142 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·· | 140 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··);</div> |
143 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span> | 141 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>};</div> |
144 | </div> | 142 | </div> |
Max diff block lines reached; 177949/198794 bytes (89.51%) of diff not shown. |
Offset 1, 421 lines modified | Offset 1, 935 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | cursor.hxx | ||
3 | 2 | except.hxx | |
3 | 1/*·Definition·of·libpqxx·exception·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·... |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
10 | 8·* | 10 | 8·* |
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
13 | 11·*·mistake,·or·contact·the·author. | 13 | 11·*·mistake,·or·contact·the·author. |
14 | 12·*/ | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_ | 15 | 13#ifndef·PQXX_H_EXCEPT |
16 | 14#define·PQXX_H_ | 16 | 14#define·PQXX_H_EXCEPT |
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 18#endif | 20 | 18#endif |
21 | 19 | 21 | 19 |
22 | 20#i | 22 | 20#if·pqxx_have_source_location |
23 | 21#·include·<source_location> | ||
24 | 22#endif | ||
25 | 23 | ||
23 | 2 | 26 | 24#include·<stdexcept> |
27 | 25#include·<string> | ||
24 | 22 | ||
25 | 23#include·"pqxx/result.hxx" | ||
26 | 24#include·"pqxx/transaction_base.hxx" | ||
27 | 25 | ||
28 | 26 | 28 | 26 |
29 | 27 | ||
29 | 2 | 30 | 28namespace·_\x8p_\x8q_\x8x_\x8x |
31 | 29{ | ||
32 | _\x84_\x87struct·PQXX_LIBEXPORT·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e·:·std::runtime_error | ||
30 | 28{ | ||
31 | 30 | ||
32 | _\x84_\x81class·PQXX_LIBEXPORT·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e | ||
33 | 42{ | ||
34 | 43public: | ||
35 | _\x84_\x84·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
36 | _\x84_\x85·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
37 | 46 | ||
38 | 48 | 33 | 48{ |
39 | _\x85_\x81·enum·_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
40 | 52·{ | ||
41 | _\x85_\x84·_\x8f_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
42 | 56·random_access | ||
43 | _ | 34 | 49#if·pqxx_have_source_location |
35 | 50·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e( | ||
36 | 51·std::string·const·&, | ||
37 | 52·std::source_location·=·std::source_location::current()); | ||
38 | 53·std::source_location·location; | ||
39 | 54#else | ||
40 | 55·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e(std::string·const·&); | ||
41 | 56#endif | ||
42 | 57}; | ||
44 | 58 | 43 | 58 |
45 | 60 | ||
46 | _\x86_\x83·enum·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
47 | 64·{ | ||
48 | _\x86_\x86·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
49 | 68·update | ||
50 | _\x86_\x89·}; | ||
51 | 70 | ||
52 | 72 | ||
53 | _\x88_\x87·enum·_\x8o_\x8w_\x8n_\x8e_\x8r_\x8s_\x8h_\x8i_\x8p_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
54 | 88·{ | ||
55 | _\x89_\x80·_\x8o_\x8w_\x8n_\x8e_\x8d, | ||
56 | 92·loose | ||
57 | 44 | 59 | |
45 | 61 | ||
46 | _\x88_\x80struct·PQXX_LIBEXPORT·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e | ||
47 | 81{ | ||
48 | 82·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(); | ||
49 | 83·explicit·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
50 | 84·std::string·const·& | ||
51 | 85#if·pqxx_have_source_location | ||
52 | 86·, | ||
53 | 87·std::source_location·=·std::source_location::current() | ||
54 | 88#endif | ||
55 | 89·); | ||
56 | 90}; | ||
57 | 91 | ||
58 | 92 | ||
58 | 94 | 59 | 94 |
60 | _\x81_\x80_\x82struct·PQXX_LIBEXPORT·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·:·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
59 | _\x89_\x85·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e()·=·delete; | ||
60 | _\x89_\x86·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e(_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
61 | _\x89_\x87·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
62 | 98 | ||
63 | 103 | 61 | 103{ |
64 | 105 | ||
65 | _\x81_\x80_\x88·[[nodiscard]]·static·constexpr·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8a_\x8l_\x8l()·noexcept | ||
66 | 109·{ | ||
67 | 1 | 62 | 104·explicit·_.p_.r_.o_.t_.o_.c_.o_.l_.__.v_.i_.o_.l_.a_.t_.i_.o_.n( |
63 | 105·std::string·const·& | ||
64 | 106#if·pqxx_have_source_location | ||
65 | 107·, | ||
66 | 108·std::source_location·=·std::source_location::current() | ||
67 | 109#endif | ||
68 | 110·); | ||
68 | 111 | 69 | 111}; |
69 | 112 | 70 | 112 |
70 | 114 | ||
71 | _\x81_\x81_\x86·[[nodiscard]]·static·constexpr·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8n_\x8e_\x8x_\x8t()·noexcept·{·return·1; | ||
72 | } | ||
73 | 117 | ||
74 | 119 | ||
75 | _\x81_\x82_\x81·[[nodiscard]]·static·constexpr·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8p_\x8r_\x8i_\x8o_\x8r()·noexcept | ||
76 | 122·{ | ||
77 | 1 | 71 | 113 |
72 | _\x81_\x81_\x85struct·PQXX_LIBEXPORT·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e | ||
73 | 116{ | ||
74 | 117·explicit·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l( | ||
75 | 118·std::string·const·& | ||
76 | 119#if·pqxx_have_source_location | ||
77 | 120·, | ||
78 | 121·std::source_location·=·std::source_location::current() | ||
79 | 122#endif | ||
80 | 123·); | ||
78 | 124 | 81 | 124}; |
79 | 125 | 82 | 125 |
83 | 126 | ||
84 | 128 | ||
Max diff block lines reached; 51201/55757 bytes (91.83%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·config.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 165 lines modified | Offset 60, 136 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">config.h</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·include/pqxx/config.h.··Generated·from·config.h.in·by·configure.··*/</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">/*·include/pqxx/config.h.in.··Generated·from·configure.ac·by·autoheader.··*/</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_SEPARATED_LIST</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_SEPARATED_LIST</span></div> | ||
82 | <div·class="line"><a·id="l000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/</span></div> | ||
83 | <div·class="line"><a·id="l000 | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·HAVE_DLFCN_H·1</span></div> |
84 | <div·class="line"><a·id="l000 | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/</span></div> | ||
85 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_LIBPQ·1</span></div> |
86 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/</span></div> | ||
87 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·HAVE_STDINT_H·1</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/</span></div> | ||
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/</span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_STDLIB_H·1</span></div> | ||
89 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/</span></div> | ||
90 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·HAVE_STRINGS_H·1</span></div> |
91 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·C++20:·Simplify·using·std::ranges::range.</span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator.</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/ | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/</span></div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class=" | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·HAVE_SYS_STAT_H·1</span></div> | ||
97 | <div·class="line"><a·id="l0003 | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/</span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div> | ||
98 | <div·class="line"><a·id="l0003 | 102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
99 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/</span></div> |
100 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div> |
101 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> | ||
102 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·LT_OBJDIR·".libs/"</span></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Name·of·package·*/</span></div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·PACKAGE·"libpqxx"</span></div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen"</span></div> | ||
103 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
104 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div> |
105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#define·PACKAGE_NAME·"libpqxx"</span></div> |
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">auto</span>·next{begin};</div> | ||
107 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">if</span>·(next·==·end)</div> | ||
109 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div> |
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#define·PACKAGE_STRING·"libpqxx·7.8.1"</span></div> | ||
110 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·PACKAGE_TARNAME·"libpqxx"</span></div> | ||
111 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·From·here·on,·we've·got·at·least·2·elements·--·meaning·that·we·need·sep.</span></div> | ||
112 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">using·</span>elt_type·=·<a·class="code·hl_typedef"·href="a00250.html#a316a1521470224aad07d24109ff0043d">strip_t</a><<span·class="keyword">decltype</span>(access(begin))>;</div> | ||
113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>traits·=·<a·class="code·hl_struct"·href="a01438.html">string_traits<elt_type></a>;</div> | ||
114 | <div·class="line"><a·id="l0005 | 123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div> | ||
125 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#define·PACKAGE_URL·""</span></div> | ||
115 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··std::size_t·budget{0};</div> | ||
116 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordflow">for</span>·(ITER·cnt{begin};·cnt·!=·end;·++cnt)</div> | ||
117 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····budget·+=·traits::size_buffer(access(cnt));</div> | ||
118 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··budget·+=</div> | ||
119 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(std::distance(begin,·end))·*·std::size(sep);</div> | ||
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··std::string·<a·class="code·hl_class"·href="a01402.html">result</a>;</div> | ||
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01402.html">result</a>.resize(budget);</div> | ||
123 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
124 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div> |
128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_VERSION·"7.8.1"</span></div> | ||
129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·if·<charconv>·supports·floating-point·conversion.·*/</span></div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> | ||
132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
133 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·if·<charconv>·supports·integer·conversion.·*/</span></div> | ||
134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div> | ||
135 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·if·compiler·has·C++20·std::cmp_greater·etc.·*/</span></div> | ||
125 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">/*·#undef·PQXX_HAVE_CMP·*/</span></div> |
126 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keywordtype">char</span>·*stop{data·+·budget};</div> | ||
127 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>· | 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
128 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span> | 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·if·compiler·supports·Concepts·and·<ranges>·header.·*/</span></div> |
140 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">/*·#undef·PQXX_HAVE_CONCEPTS·*/</span></div> | ||
129 | <div·class="line"><a·id="l0007 | 141 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
130 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····here·+=·sep.copy(here,·std::size(sep));</div> | ||
131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span> | 142 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·if·compiler·supports·__cxa_demangle·*/</span></div> |
Max diff block lines reached; 18638/41406 bytes (45.01%) of diff not shown. |
Offset 1, 156 lines modified | Offset 1, 122 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | separated_list.hxx | ||
3 | 1/*·Helper·similar·to·Python's·`str.join()`. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead. | ||
6 | 4·* | ||
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
11 | 9·*·mistake,·or·contact·the·author. | ||
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_SEPARATED_LIST | ||
14 | 12#define·PQXX_H_SEPARATED_LIST | ||
15 | 13 | ||
16 | 14#if·!defined(PQXX_HEADER_PRE) | ||
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
18 | 16#endif | ||
19 | 17 | ||
20 | 18#include·<algorithm> | ||
21 | 19#include·<numeric> | ||
22 | 20 | ||
23 | 21#include·"pqxx/strconv.hxx" | ||
24 | 22 | ||
25 | 23//·C++20:·Simplify·using·std::ranges::range. | ||
26 | 24//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator. | ||
27 | 25//·TODO:·Can·we·pass·separators·at·compile·time? | ||
28 | 2 | config.h | |
3 | 1/*·include/pqxx/config.h.·Generated·from·config.h.in·by·configure.·*/ | ||
4 | 2/*·include/pqxx/config.h.in.·Generated·from·configure.ac·by·autoheader.·*/ | ||
5 | 3 | ||
6 | 4/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/ | ||
7 | 5#define·HAVE_DLFCN_H·1 | ||
8 | 6 | ||
9 | 7/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/ | ||
10 | 8#define·HAVE_INTTYPES_H·1 | ||
11 | 9 | ||
12 | 10/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/ | ||
13 | 11#define·HAVE_LIBPQ·1 | ||
14 | 12 | ||
15 | 13/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/ | ||
16 | 14#define·HAVE_STDINT_H·1 | ||
17 | 15 | ||
18 | 16/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/ | ||
19 | 17#define·HAVE_STDIO_H·1 | ||
20 | 18 | ||
21 | 19/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/ | ||
22 | 20#define·HAVE_STDLIB_H·1 | ||
23 | 21 | ||
24 | 22/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/ | ||
25 | 23#define·HAVE_STRINGS_H·1 | ||
26 | 24 | ||
27 | 25/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/ | ||
28 | 26#define·HAVE_STRING_H·1 | ||
29 | 27 | 29 | 27 |
30 | 32 | ||
31 | 34 | ||
32 | 42template<typename·ITER,·typename·ACCESS> | ||
33 | 43[[nodiscard]]·inline·std::string | ||
34 | 30 | 28/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/ | |
31 | 29#define·HAVE_SYS_STAT_H·1 | ||
32 | 30 | ||
33 | 31/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/ | ||
34 | 32#define·HAVE_SYS_TYPES_H·1 | ||
35 | 33 | ||
36 | 34/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/ | ||
37 | 35#define·HAVE_UNISTD_H·1 | ||
38 | 36 | ||
39 | 37/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/ | ||
40 | 38#define·LT_OBJDIR·".libs/" | ||
41 | 39 | ||
42 | 40/*·Name·of·package·*/ | ||
43 | 41#define·PACKAGE·"libpqxx" | ||
44 | 42 | ||
45 | 43/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent. | ||
46 | */ | ||
47 | 44#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen" | ||
35 | 45 | 48 | 45 |
36 | 46·if·(end·==·begin) | ||
37 | 47·return·{}; | ||
38 | 48·auto·next{begin}; | ||
39 | 49·++next; | ||
40 | 50·if·(next·==·end) | ||
41 | 51·return·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(access(begin)); | ||
42 | 52 | ||
43 | 53·//·From·here·on,·we've·got·at·least·2·elements·--·meaning·that·we·need·sep. | ||
44 | 54·using·elt_type·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t<decltype(access(begin))>; | ||
45 | 55·using·traits·=·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8e_\x8l_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8>; | ||
46 | 56 | ||
47 | 57·std::size_t·budget{0}; | ||
48 | 58·for·(ITER·cnt{begin};·cnt·!=·end;·++cnt) | ||
49 | 59·budget·+=·traits::size_buffer(access(cnt)); | ||
50 | 60·budget·+= | ||
51 | 61·static_cast<std::size_t>(std::distance(begin,·end))·*·std::size(sep); | ||
52 | 62 | ||
53 | 63·std::string·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
54 | 64·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.resize(budget); | ||
55 | 65 | ||
56 | 66·char·*const·data{_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.data()}; | ||
57 | 67·char·*here{data}; | ||
58 | 68·char·*stop{data·+·budget}; | ||
59 | 69·here·=·traits::into_buf(here,·stop,·access(begin))·-·1; | ||
60 | 70·for·(++begin;·begin·!=·end;·++begin) | ||
61 | 71·{ | ||
62 | 72·here·+=·sep.copy(here,·std::size(sep)); | ||
63 | 73·here·=·traits::into_buf(here,·stop,·access(begin))·-·1; | ||
64 | 74·} | ||
65 | 75·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.resize(static_cast<std::size_t>(here·-·data)); | ||
66 | 76·return·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
67 | 49 | 46/*·Define·to·the·full·name·of·this·package.·*/ | |
50 | 47#define·PACKAGE_NAME·"libpqxx" | ||
51 | 48 | ||
52 | 49/*·Define·to·the·full·name·and·version·of·this·package.·*/ | ||
53 | 50#define·PACKAGE_STRING·"libpqxx·7.8.1" | ||
54 | 51 | ||
55 | 52/*·Define·to·the·one·symbol·short·name·of·this·package.·*/ | ||
56 | 53#define·PACKAGE_TARNAME·"libpqxx" | ||
57 | 54 | ||
58 | 55/*·Define·to·the·home·page·for·this·package.·*/ | ||
59 | 56#define·PACKAGE_URL·"" | ||
60 | 57 | ||
61 | 58/*·Define·to·the·version·of·this·package.·*/ | ||
62 | 59#define·PACKAGE_VERSION·"7.8.1" | ||
63 | 60 | ||
64 | 61/*·Define·if·<charconv>·supports·floating-point·conversion.·*/ | ||
65 | 62#define·PQXX_HAVE_CHARCONV_FLOAT·1 | ||
66 | 63 | ||
Max diff block lines reached; 4769/9541 bytes (49.98%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·array.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 99 lines modified | Offset 60, 519 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">array.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Handling·of·SQL·arrays.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<cassert></span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·& | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<stdexcept></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<string></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<utility></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<vector></span></div> | ||
90 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
94 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/connection.hxx"</span></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/internal/encoding_group.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"pqxx/internal/encodings.hxx"</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}</div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
101 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00250.html">···32</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one·buffer.</span></div> | ||
100 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
101 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span><</div> | ||
108 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·ELEMENT,·std::size_t·DIMENSIONS·=·1u,</div> | ||
109 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">char</span>·SEPARATOR·=·array_separator<ELEMENT>></div> | ||
102 | <div·class="foldopen"·id="foldopen0005 | 110 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
103 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01086.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01086.html">array</a>·final</div> |
104 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> |
105 | <div·class="line"><a·id="l0005 | 113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> |
106 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&);</div> | ||
107 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01138.html">~errorhandler</a>();</div> | ||
108 | <div·class="line"><a·id="l0005 | 114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
115 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
116 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01086.html#abf1925ec5be448b26147a100660d936c">···68</a></span>··<a·class="code·hl_function"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>(std::string_view·data,·<a·class="code·hl_class"·href="a01110.html">connection</a>·<span·class="keyword">const</span>·&conn)·:</div> | ||
117 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01086.html">array</a>{data,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::enc_group(conn.encoding_id())}</div> | ||
109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
110 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·msg[])·<span·class="keyword">noexcept</span>·=·0;</div> | ||
111 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">···67</a></span>··<a·class="code·hl_function"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">errorhandler</a>()·=·<span·class="keyword">delete</span>;</div> | ||
113 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">···68</a></span>··<a·class="code·hl_function"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">errorhandler</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
114 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">···69</a></span>··<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·&<a·class="code·hl_function"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">operator=</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
115 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 118 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div> |
116 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">private</span>:</div> | ||
117 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·*m_home;</div> | ||
118 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
119 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01138.html#af70de8ea5e1464b69bc5a4c4eaadb98e">···74</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection;</div> | ||
120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div> | ||
121 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div> | ||
122 | </div> | 119 | </div> |
123 | <div·class="line"><a·id="l0007 | 120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
121 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">···75</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>()·noexcept·{·<span·class="keywordflow">return</span>·DIMENSIONS;·}</div> | ||
123 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
125 | <div·class="foldopen"·id="foldopen0008 | 125 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> |
126 | <div·class="line"><a·id="l0008 | 126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">···82</a></span>··std::array<std::size_t,·DIMENSIONS>·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html[·...·truncated·by·diffoscope;·len:·56,·SHA:·5db189452ca0e97294bb1566f23c8dcf056defe0287d6e2b8fed4c867c3b9e9b·...·]</div> |
127 | <div·class="line"><a·id="l0008 | 127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> |
128 | <div·class="line"><a·id="l0008 | 128 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·m_extents;</div> |
129 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">···84</a></span>··<a·class="code·hl_function"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&conn)·:·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>{conn}·{}</div> | ||
130 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 129 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> |
131 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">···87</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div> | ||
132 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div> | ||
133 | </div> | 130 | </div> |
134 | <div·class="line"><a·id="l0008 | 131 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
132 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | ||
133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">···87</a></span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·INDEX>·ELEMENT·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">at</a>(INDEX...·index)<span·class="keyword">·const</span></div> | ||
134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">··</span>{</div> | ||
135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(index)·==·DIMENSIONS);</div> | ||
136 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····check_bounds(index...);</div> | ||
137 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·m_elts.at(locate(index...));</div> | ||
138 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
139 | </div> | ||
140 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
141 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
142 | <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> | ||
143 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">··103</a></span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·INDEX>·ELEMENT·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">operator[]</a>(INDEX...·index)<span·class="keyword">·const</span></div> | ||
144 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">··</span>{</div> | ||
Max diff block lines reached; 10235/96229 bytes (10.64%) of diff not shown. |
Offset 1, 99 lines modified | Offset 1, 548 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | errorhandler.hxx | ||
3 | 2 | array.hxx | |
3 | 1/*·Handling·of·SQL·arrays. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_ERRORHANDLER | ||
16 | 14#define·PQXX_H_ERRORHANDLER | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_ARRAY |
14 | 12#define·PQXX_H_ARRAY | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
21 | 19 | ||
22 | 20#include·"pqxx/types.hxx" | ||
23 | 21 | ||
24 | 22 | ||
25 | 23namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
26 | 24{ | ||
27 | 25class·errorhandler_connection; | ||
28 | 26} | ||
29 | 27 | ||
30 | 19 | 17 | |
20 | 18#include·<algorithm> | ||
21 | 19#include·<cassert> | ||
22 | 20#include·<stdexcept> | ||
23 | 21#include·<string> | ||
24 | 22#include·<type_traits> | ||
25 | 23#include·<utility> | ||
26 | 24#include·<vector> | ||
27 | 25 | ||
28 | 26#include·"pqxx/connection.hxx" | ||
29 | 27#include·"pqxx/internal/array-composite.hxx" | ||
30 | 28#include·"pqxx/internal/encoding_group.hxx" | ||
31 | 29#include·"pqxx/internal/encodings.hxx" | ||
32 | 30 | ||
33 | 31 | ||
31 | 34 | _.3_.2namespace·_\x8p_\x8q_\x8x_\x8x | |
32 | 3 | 35 | 33{ |
36 | 34//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one | ||
37 | buffer. | ||
33 | 35 | 38 | 35 |
34 | 37 | 39 | 37 |
35 | _\x85_\x83class·PQXX_LIBEXPORT·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
36 | 5 | 40 | 52template< |
41 | 53·typename·ELEMENT,·std::size_t·DIMENSIONS·=·1u, | ||
42 | 54·char·SEPARATOR·=·array_separator<ELEMENT>> | ||
43 | _\x85_\x85class·_\x8a_\x8r_\x8r_\x8a_\x8y·final | ||
44 | 56{ | ||
37 | 5 | 45 | 57public: |
46 | 59 | ||
47 | _\x86_\x88·_\x8a_\x8r_\x8r_\x8a_\x8y(std::string_view·data,·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&conn)·: | ||
48 | 69·_\x8a_\x8r_\x8r_\x8a_\x8y{data,·_\x8p_\x8q_\x8x_\x8x::internal::enc_group(conn.encoding_id())} | ||
49 | 70·{} | ||
50 | 71 | ||
38 | 56·explicit·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&); | ||
39 | 57·virtual·_\x8~_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(); | ||
40 | 58 | ||
41 | 61 | ||
42 | _\x86_\x85·virtual·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(char·const·msg[])·noexcept·=·0; | ||
43 | 66 | ||
44 | _\x86_\x87·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r()·=·delete; | ||
45 | _\x86_\x88·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete; | ||
46 | _\x86_\x89·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete; | ||
47 | 70 | ||
48 | 71private: | ||
49 | 72·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·*m_home; | ||
50 | 73 | 51 | 73 |
52 | _\x87_\x85·constexpr·std::size_t·_\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s()·noexcept·{·return·DIMENSIONS;·} | ||
53 | 76 | ||
51 | _\x87_\x84·friend·class·internal::gate::errorhandler_connection; | ||
52 | 75·void·unregister()·noexcept; | ||
53 | 76}; | ||
54 | 77 | ||
55 | 78 | 54 | 78 |
56 | _\x88_\x80class·_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·:·public·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r | ||
57 | 8 | 55 | _.8_.2·std::array<std::size_t,·DIMENSIONS>·const·&_.s_.i_.z_.e_.s()·noexcept |
56 | 83·{ | ||
57 | 84·return·m_extents; | ||
58 | 85·} | ||
59 | 86 | ||
60 | _\x88_\x87·template<typename...·INDEX>·ELEMENT·const·&_\x8a_\x8t(INDEX...·index)·const | ||
61 | 88·{ | ||
62 | 89·static_assert(sizeof...(index)·==·DIMENSIONS); | ||
63 | 90·check_bounds(index...); | ||
64 | 91·return·m_elts.at(locate(index...)); | ||
65 | 92·} | ||
66 | 93 | ||
67 | 95 | ||
68 | _\x81_\x80_\x83·template<typename...·INDEX>·ELEMENT·const·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8](INDEX...·index)·const | ||
69 | 104·{ | ||
70 | 105·static_assert(sizeof...(index)·==·DIMENSIONS); | ||
71 | 106·return·m_elts[locate(index...)]; | ||
72 | 107·} | ||
73 | 108 | ||
74 | 110 | ||
75 | _\x81_\x81_\x85·constexpr·auto·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.cbegin();·} | ||
76 | _\x81_\x81_\x87·constexpr·auto·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.cend();·} | ||
77 | _\x81_\x81_\x89·constexpr·auto·_\x8c_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.crbegin();·} | ||
78 | _\x81_\x82_\x81·constexpr·auto·_\x8c_\x8r_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.crend();·} | ||
79 | 122 | ||
80 | 124 | ||
81 | _\x81_\x82_\x87·constexpr·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_elts.size();·} | ||
82 | 128 | ||
83 | 130 | ||
84 | _\x81_\x84_\x85·constexpr·auto·_\x8s_\x8s_\x8i_\x8z_\x8e()·const·noexcept | ||
85 | 146·{ | ||
86 | 147·return·static_cast<std::ptrdiff_t>(_\x8s_\x8i_\x8z_\x8e()); | ||
87 | 148·} | ||
88 | 149 | ||
89 | 151 | ||
90 | _\x81_\x85_\x83·constexpr·auto·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·m_elts.front();·} | ||
91 | 154 | ||
92 | 156 | ||
93 | _\x81_\x85_\x88·constexpr·auto·_\x8b_\x8a_\x8c_\x8k()·const·noexcept·{·return·m_elts.back();·} | ||
94 | 159 | ||
95 | 160private: | ||
Max diff block lines reached; 5315/23444 bytes (22.67%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·t | 8 | <title>libpqxx:·transactor.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 185 lines modified | Offset 60, 111 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">t | 67 | ··<div·class="headertitle"><div·class="title">transactor.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·C | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
75 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
77 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
78 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div> |
79 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
84 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<cstdint></span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·< | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<functional></span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>)</span></div> | ||
90 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<type_traits></span></div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/connection.hxx"</span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#en | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/transaction.hxx"</span></div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
94 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
95 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">···28</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a>·=·int;</div> | ||
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">···31</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>·=·int;</div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
100 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">···34</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·=·int;</div> | ||
101 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
102 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">···37</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>·=·int;</div> | ||
103 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
104 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">···40</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>·=·std::size_t;</div> | ||
105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
106 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">···43</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>·=·int64_t;</div> | ||
107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
108 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
109 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//·Forward·declarations,·to·help·break·compilation·dependencies.</span></div> | ||
110 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·These·won't·necessarily·include·all·classes·in·libpqxx.</span></div> | ||
111 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01094.html">binarystring</a>;</div> | ||
112 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01110.html">connection</a>;</div> | ||
113 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>const_result_iterator;</div> | ||
114 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">class·</span>const_reverse_result_iterator;</div> | ||
115 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div> | ||
116 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01134.html">dbtransaction</a>;</div> | ||
118 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01314.html">field</a>;</div> | ||
119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01330.html">largeobjectaccess</a>;</div> | ||
120 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01354.html">notification_receiver</a>;</div> | ||
121 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01210.html">range_error</a>;</div> | ||
122 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01402.html">result</a>;</div> | ||
123 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01418.html">row</a>;</div> | ||
124 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01470.html">stream_from</a>;</div> | ||
125 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01490.html">transaction_base</a>;</div> | ||
126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
127 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
128 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="};"> | ||
129 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01498.html">···67</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01498.html">from_table_t</a></div> | ||
130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{};</div> | ||
131 | </div> | ||
132 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 95 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
133 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 96 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
97 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TRANSACTION_CALLBACK></div> | ||
134 | <div·class="foldopen"·id="foldopen00 | 98 | <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}"> |
135 | <div·class="line"><a·id="l00 | 99 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">··101</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00250.html#a9c2faadd14[·...·truncated·by·diffoscope;·len:·127,·SHA:·67edd5bc48ab88b211232e8c4c2d13df7b5f7d78853348bfbae6e48aa6a8d2b2·...·]</div> |
100 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··->·std::invoke_result_t<TRANSACTION_CALLBACK></div> | ||
136 | <div·class="line"><a·id="l00 | 101 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> |
137 | </div> | 102 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordflow">if</span>·(attempts·<=·0)</div> |
103 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div> | ||
104 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="stringliteral">"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."</span>};</div> | ||
138 | <div·class="line"><a·id="l0007 | 105 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> |
106 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keywordflow">for</span>·(;·attempts·>·0;·--attempts)</div> | ||
139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
140 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
141 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> | ||
142 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360ce">···80</a></span><span·class="keyword">enum·class</span>·<a·class="code·hl_enumeration"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360ce">format</a>·:·<span·class="keywordtype">int</span></div> | ||
143 | <div·class="line"><a·id="l00 | 107 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··{</div> |
144 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>·=·0,</div> | ||
145 | <div·class="line"><a·id="l00 | 108 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">try</span></div> |
109 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div> | ||
110 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·std::invoke(callback);</div> | ||
111 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div> | ||
112 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01166.html">in_doubt_error</a>·<span·class="keyword">const</span>·&)</div> | ||
113 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····{</div> | ||
114 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div> | ||
115 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div> | ||
116 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<span·class="keywordflow">throw</span>;</div> | ||
117 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····}</div> | ||
118 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01178.html">statement_completion_unknown</a>·<span·class="keyword">const</span>·&)</div> | ||
119 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div> | ||
120 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·Not·sure·whether·our·last·statement·succeeded.··Don't·risk·running·it</span></div> | ||
121 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<span·class="comment">//·again.</span></div> | ||
122 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······<span·class="keywordflow">throw</span>;</div> | ||
123 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····}</div> | ||
124 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·<span·class="keyword">const</span>·&)</div> | ||
Max diff block lines reached; 19721/44481 bytes (44.34%) of diff not shown. |
Offset 1, 226 lines modified | Offset 1, 112 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | types.hxx | ||
3 | 2 | transactor.hxx | |
3 | 1/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·C | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
7 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
8 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
9 | 11 | 9·*·mistake,·or·contact·the·author. | |
10 | 8·*/ | ||
11 | 9#ifndef·PQXX_H_TYPES | ||
12 | 10#define·PQXX_H_TYPES | ||
13 | 1 | 12 | 10·*/ |
13 | 11#ifndef·PQXX_H_TRANSACTOR | ||
14 | 12#define·PQXX_H_TRANSACTOR | ||
15 | 13 | ||
14 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
15 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
16 | 1 | 18 | 16#endif |
19 | 17 | ||
20 | 18#include·<functional> | ||
21 | 19#include·<type_traits> | ||
22 | 20 | ||
23 | 21#include·"pqxx/connection.hxx" | ||
24 | 22#include·"pqxx/transaction.hxx" | ||
17 | 15 | ||
18 | 16#include·<cstddef> | ||
19 | 17#include·<cstdint> | ||
20 | 18#include·<iterator> | ||
21 | 19 | ||
22 | 20#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) | ||
23 | 21#·include·<ranges> | ||
24 | 22#endif | ||
25 | 23 | 25 | 23 |
26 | 24 | ||
27 | 2 | 26 | 24namespace·_\x8p_\x8q_\x8x_\x8x |
27 | 25{ | ||
28 | 26{ | ||
29 | _\x82_\x88using·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
30 | 29 | ||
31 | _\x83_\x81using·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
32 | 32 | ||
33 | _\x83_\x84using·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
34 | 35 | ||
35 | _\x83_\x87using·_\x8r_\x8o_\x8w_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
36 | 38 | ||
37 | _\x84_\x80using·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::size_t; | ||
38 | 41 | ||
39 | _\x84_\x83using·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int64_t; | ||
40 | 44 | ||
41 | 45 | ||
42 | 46//·Forward·declarations,·to·help·break·compilation·dependencies. | ||
43 | 47//·These·won't·necessarily·include·all·classes·in·libpqxx. | ||
44 | 48class·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g; | ||
45 | 49class·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
46 | 50class·const_result_iterator; | ||
47 | 51class·const_reverse_result_iterator; | ||
48 | 52class·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
49 | 53class·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
50 | 54class·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
51 | 55class·_\x8f_\x8i_\x8e_\x8l_\x8d; | ||
52 | 56class·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s; | ||
53 | 57class·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r; | ||
54 | 58struct·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r; | ||
55 | 59class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
56 | 60class·_\x8r_\x8o_\x8w; | ||
57 | 61class·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m; | ||
58 | 62class·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e; | ||
59 | 63 | ||
60 | 65 | ||
61 | _\x86_\x87struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t | ||
62 | 68{}; | ||
63 | 69 | 28 | 69 |
64 | 71 | 29 | 71 |
30 | 100template<typename·TRANSACTION_CALLBACK> | ||
31 | _\x81_\x80_\x81inline·auto·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m(TRANSACTION_CALLBACK·&&callback,·int·attempts·=·3) | ||
32 | 102·->·std::invoke_result_t<TRANSACTION_CALLBACK> | ||
65 | _\x87_\x83struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t | ||
66 | 74{}; | ||
67 | 75 | ||
68 | 76 | ||
69 | 78 | ||
70 | _\x88_\x80enum·class·_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t·:·int | ||
71 | 81{ | ||
72 | 82·_\x8t_\x8e_\x8x_\x8t·=·0, | ||
73 | 83·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y·=·1, | ||
74 | 84}; | ||
75 | 85 | ||
76 | 86 | ||
77 | 88 | ||
78 | 90template<typename·TYPE> | ||
79 | _\x89_\x81using·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t·=·std::remove_cv_t<std::remove_reference_t<TYPE>>; | ||
80 | 92 | ||
81 | 93 | ||
82 | 94#if·defined(PQXX_HAVE_CONCEPTS) | ||
83 | 96 | ||
84 | 99template<std::ranges::range·CONTAINER> | ||
85 | 100using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t_\x8<_\x8d_\x8e_\x8c_\x8l_\x8t_\x8y_\x8p_\x8e_\x8(_\x8*_\x8s_\x8t_\x8d_\x8:_\x8:_\x8b_\x8e_\x8g_\x8i_\x8n_\x8(_\x8s_\x8t_\x8d_\x8:_\x8:_\x8d_\x8e_\x8c_\x8l_\x8v_\x8a_\x8l_\x8<_\x8C_\x8O_\x8N_\x8T_\x8A_\x8I_\x8N_\x8E_\x8R_\x8> | ||
86 | ()))>; | ||
87 | 101#else·//·PQXX_HAVE_CONCEPTS | ||
88 | 103 | 33 | 103{ |
89 | 106template<typename·CONTAINER> | ||
90 | _\x81_\x80_\x87using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t_\x8<_\x8d_\x8e_\x8c_\x8l_\x8t_\x8y_\x8p_\x8e_\x8(_\x8*_\x8s_\x8t_\x8d_\x8:_\x8:_\x8b_\x8e_\x8g_\x8i_\x8n_\x8(_\x8s_\x8t_\x8d_\x8:_\x8:_\x8d_\x8e_\x8c_\x8l_\x8v_\x8a_\x8l_\x8<_\x8C_\x8O_\x8N_\x8T_\x8A_\x8I_\x8N_\x8E_\x8R_\x8> | ||
91 | ()))>; | ||
92 | 10 | 34 | 104·if·(attempts·<=·0) |
35 | 105·throw·std::invalid_argument{ | ||
36 | 106·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."}; | ||
37 | 107 | ||
38 | 108·for·(;·attempts·>·0;·--attempts) | ||
93 | 109 | 39 | 109·{ |
94 | 110 | ||
95 | 111#if·defined(PQXX_HAVE_CONCEPTS) | ||
96 | 113template<typename·STRING> | ||
97 | 114concept·char_string·=·std::ranges::contiguous_range<STRING>·and | ||
98 | 115·std::same_as<strip_t<value_type<STRING>>,·char>; | ||
99 | 116 | ||
100 | 118template<typename·RANGE> | ||
101 | 119concept·char_strings·= | ||
102 | 1 | 40 | 110·try |
41 | 111·{ | ||
42 | 112·return·std::invoke(callback); | ||
43 | 113·} | ||
44 | 114·catch·(_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·const·&) | ||
45 | 115·{ | ||
Max diff block lines reached; 5752/12422 bytes (46.30%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·largeobject.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 136 lines modified | Offset 60, 664 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">largeobject.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Large·Objects·interface.··Deprecated;·use·blob·instead.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
71 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_LARGEOBJECT</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_LARGEOBJECT</span></div> | ||
72 | <div·class="line"><a·id="l000 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/</span></div> | ||
74 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/</span></div> | ||
80 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
81 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/</span></div> | ||
83 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<streambuf></span></div> |
84 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/</span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#de | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/</span></div> | ||
92 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div> | ||
96 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
97 | <div·class=" | 95 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> |
96 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01326.html">···33</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01326.html">largeobject</a></div> | ||
97 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
98 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div> |
99 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>;</div> | ||
99 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
101 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01326.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·<a·class="code·hl_function"·href="a01326.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=·default;</div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/</span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/</span></div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·LT_OBJDIR·".libs/"</span></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Name·of·package·*/</span></div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·PACKAGE·"libpqxx"</span></div> | ||
111 | <div·class="line"><a·id="l0004 | 102 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen"</span></div> | ||
114 | <div·class="line"><a·id="l0004 | 103 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div> | ||
116 | <div·class="line"><a·id="l0004 | 104 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··[[deprecated("Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.")]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(<a·class="code·hl_class"·href="a01134[·...·truncated·by·diffoscope;·len:·33,·SHA:·9b334e2fd54362ab18b7189089128c56ab99733c9cbcd309cfb878f87be59964·...·]</div> |
105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div> | ||
119 | <div·class=" | 107 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> |
108 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01326.html#a5fa9d7249fd0d8b471e7df2af8f96df2">···52</a></span>··[[deprecated("Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.")]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(oid·o)·noexcept·:</div> | ||
120 | <div·class="line"><a·id="l0005 | 109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··········m_id{o}</div> |
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·PACKAGE_TARNAME·"libpqxx"</span></div> | ||
123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div> |
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div> | ||
125 | < | 111 | </div> |
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·largeobject(</div> | ||
127 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div> | ||
128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_VERSION·"7.8.1"</span></div> | ||
129 | <div·class="line"><a·id="l0006 | 115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····dbtransaction·&t,·std::string_view·file);</div> |
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·if·<charconv>·supports·floating-point·conversion.·*/</span></div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> | ||
132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
133 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·if·<charconv>·supports·integer·conversion.·*/</span></div> | ||
134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div> | ||
135 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·largeobject(</div> | ||
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····largeobjectaccess·<span·class="keyword">const</span>·&o)·<span·class="keyword">noexcept</span>;</div> | ||
136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·if·compiler·has·C++20·std::cmp_greater·etc.·*/</span></div> | ||
137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">/*·#undef·PQXX_HAVE_CMP·*/</span></div> | ||
138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·if·compiler·supports·Concepts·and·<ranges>·header.·*/</span></div> | ||
140 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">/*·#undef·PQXX_HAVE_CONCEPTS·*/</span></div> | ||
141 | <div·class="line"><a·id="l0007 | 120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
142 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·if·compiler·supports·__cxa_demangle·*/</span></div> | ||
143 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#define·PQXX_HAVE_CXA_DEMANGLE·1</span></div> | ||
144 | <div·class="line"><a·id="l0007 | 121 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
122 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">···77</a></span>··[[nodiscard]]·oid·<a·class="code·hl_function"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">id</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_id;·}</div> | ||
145 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">/*·Define·if·g++·supports·pure·attribute·*/</span></div> | ||
146 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_PURE·1</span></div> | ||
147 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 123 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
Max diff block lines reached; 845/131521 bytes (0.64%) of diff not shown. |
Offset 1, 122 lines modified | Offset 1, 757 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config.h | ||
3 | 1/*·include/pqxx/config.h.·Generated·from·config.h.in·by·configure.·*/ | ||
4 | 2/*·include/pqxx/config.h.in.·Generated·from·configure.ac·by·autoheader.·*/ | ||
5 | 3 | ||
6 | 4/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/ | ||
7 | 5#define·HAVE_DLFCN_H·1 | ||
8 | 6 | ||
9 | 7/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/ | ||
10 | 8#define·HAVE_INTTYPES_H·1 | ||
11 | 9 | ||
12 | 10/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/ | ||
13 | 11#define·HAVE_LIBPQ·1 | ||
14 | 12 | ||
15 | 13/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/ | ||
16 | 14#define·HAVE_STDINT_H·1 | ||
17 | 15 | ||
18 | 16/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/ | ||
19 | 17#define·HAVE_STDIO_H·1 | ||
20 | 18 | ||
21 | 19/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/ | ||
22 | 2 | largeobject.hxx | |
3 | 1/*·Large·Objects·interface.·Deprecated;·use·blob·instead. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead. | ||
6 | 4·* | ||
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
11 | 9·*·mistake,·or·contact·the·author. | ||
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_LARGEOBJECT | ||
14 | 12#define·PQXX_H_LARGEOBJECT | ||
15 | 13 | ||
16 | 14#if·!defined(PQXX_HEADER_PRE) | ||
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
18 | 16#endif | ||
19 | 17 | ||
20 | 18#include·<streambuf> | ||
21 | 19 | ||
22 | 20#include·"pqxx/dbtransaction.hxx" | ||
23 | 21 | 23 | 21 |
24 | 22/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/ | ||
25 | 2 | 24 | 22 |
25 | 23namespace·_\x8p_\x8q_\x8x_\x8x | ||
26 | 24 | 26 | 24{ |
27 | 26 | ||
28 | _\x83_\x83class·PQXX_LIBEXPORT·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t | ||
29 | 34{ | ||
30 | 35public: | ||
31 | _\x83_\x86·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
32 | 37 | ||
33 | _\x84_\x80·[[deprecated("Use·blob·instead.")]]·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t()·noexcept·=·default; | ||
34 | 41 | ||
35 | 43 | ||
36 | 45·[[deprecated("Use·_\x8b_\x8l_\x8o_\x8b·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t); | ||
37 | 46 | ||
27 | 25/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/ | ||
28 | 26#define·HAVE_STRING_H·1 | ||
29 | 27 | ||
30 | 28/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/ | ||
31 | 29#define·HAVE_SYS_STAT_H·1 | ||
32 | 30 | ||
33 | 31/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/ | ||
34 | 32#define·HAVE_SYS_TYPES_H·1 | ||
35 | 33 | ||
36 | 34/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/ | ||
37 | 35#define·HAVE_UNISTD_H·1 | ||
38 | 36 | ||
39 | 37/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/ | ||
40 | 38#define·LT_OBJDIR·".libs/" | ||
41 | 39 | ||
42 | 40/*·Name·of·package·*/ | ||
43 | 41#define·PACKAGE·"libpqxx" | ||
44 | 42 | ||
45 | 43/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent. | ||
46 | */ | ||
47 | 44#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen" | ||
48 | 45 | ||
49 | 46/*·Define·to·the·full·name·of·this·package.·*/ | ||
50 | 47#define·PACKAGE_NAME·"libpqxx" | ||
51 | 48 | 38 | 48 |
39 | _\x85_\x82·[[deprecated("Use·_\x8b_\x8l_\x8o_\x8b·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(oid·o)·noexcept·: | ||
40 | 53·m_id{o} | ||
41 | 54·{} | ||
42 | 55 | ||
52 | 49/*·Define·to·the·full·name·and·version·of·this·package.·*/ | ||
53 | 50#define·PACKAGE_STRING·"libpqxx·7.8.1" | ||
54 | 51 | ||
55 | 52/*·Define·to·the·one·symbol·short·name·of·this·package.·*/ | ||
56 | 53#define·PACKAGE_TARNAME·"libpqxx" | ||
57 | 54 | ||
58 | 55/*·Define·to·the·home·page·for·this·package.·*/ | ||
59 | 56#define·PACKAGE_URL·"" | ||
60 | 57 | 43 | 57 |
44 | 61·[[deprecated("Use·blob·instead.")]]·largeobject( | ||
45 | 62·dbtransaction·&t,·std::string_view·file); | ||
61 | 58/*·Define·to·the·version·of·this·package.·*/ | ||
62 | 59#define·PACKAGE_VERSION·"7.8.1" | ||
63 | 60 | ||
64 | 61/*·Define·if·<charconv>·supports·floating-point·conversion.·*/ | ||
65 | 62#define·PQXX_HAVE_CHARCONV_FLOAT·1 | ||
66 | 63 | 46 | 63 |
47 | 65 | ||
48 | 69·[[deprecated("Use·blob·instead.")]]·largeobject( | ||
49 | 70·largeobjectaccess·const·&o)·noexcept; | ||
50 | 71 | ||
51 | 73 | ||
52 | _\x87_\x87·[[nodiscard]]·oid·_\x8i_\x8d()·const·noexcept·{·return·m_id;·} | ||
67 | 64/*·Define·if·<charconv>·supports·integer·conversion.·*/ | ||
68 | 65#define·PQXX_HAVE_CHARCONV_INT·1 | ||
69 | 66 | ||
70 | 67/*·Define·if·compiler·has·C++20·std::cmp_greater·etc.·*/ | ||
71 | 68/*·#undef·PQXX_HAVE_CMP·*/ | ||
72 | 69 | ||
73 | 70/*·Define·if·compiler·supports·Concepts·and·<ranges>·header.·*/ | ||
74 | 71/*·#undef·PQXX_HAVE_CONCEPTS·*/ | ||
75 | 72 | ||
76 | 73/*·Define·if·compiler·supports·__cxa_demangle·*/ | ||
77 | 74#define·PQXX_HAVE_CXA_DEMANGLE·1 | ||
78 | 75 | ||
79 | 76/*·Define·if·g++·supports·pure·attribute·*/ | ||
80 | 77#define·PQXX_HAVE_GCC_PURE·1 | ||
81 | 78 | 53 | 78 |
82 | 79/*·Define·if·g++·supports·visibility·attribute.·*/ | ||
83 | 80#define·PQXX_HAVE_GCC_VISIBILITY·1 | ||
Max diff block lines reached; 158/37118 bytes (0.43%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·ti | 8 | <title>libpqxx:·connection.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 80 lines modified | Offset 60, 822 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00032_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00032_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">ti | 67 | ··<div·class="headertitle"><div·class="title">connection.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> | Diff chunk too large, falling back to line-by-line diff (735 lines added, 56 lines removed) |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·connection·class.</span></div> |
71 | <div·class="line"><a·id="l0000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l0000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::connection·encapsulates·a·connection·to·a·database.</span></div> |
73 | <div·class="line"><a·id="l0000 | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l0000 | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead.</span></div> |
75 | <div·class="line"><a·id="l0000 | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION</span></div> |
83 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION</span></div> |
84 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<cstddef></span></div> |
90 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<ctime></span></div> |
91 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<initializer_list></span></div> |
92 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<list></span></div> |
93 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> |
94 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<memory></span></div> |
95 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<string_view></span></div> |
96 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<tuple></span></div> |
97 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
98 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning·(#418).</span></div> |
99 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>)</span></div> |
100 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·<ranges></span></div> |
101 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> |
102 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
103 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/errorhandler.hxx"</span></div> |
104 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> |
105 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> |
106 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·"pqxx/params.hxx"</span></div> |
107 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·"pqxx/separated_list.hxx"</span></div> |
108 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·"pqxx/strconv.hxx"</span></div> |
109 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> |
110 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> |
111 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·"pqxx/zview.hxx"</span></div> |
112 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
113 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
114 | <div·class="line"><a·id="l0007 | 114 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> |
115 | <div·class="line"><a·id="l0007 | 115 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>{</div> |
116 | <div·class="line"><a·id="l0007 | 116 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">class·</span>sql_cursor;</div> |
117 | <div·class="line"><a·id="l0007 | 117 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
118 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)</span></div> |
119 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | 119 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> |
120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword"> | 120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">concept·</span>ZKey_ZValues·=</div> |
121 | <div·class="line"><a·id="l0008 | 121 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··std::ranges::input_range<T>·and</div> |
122 | <div·class="line"><a·id="l0008 | 122 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">requires</span>(T·t)·{</div> |
123 | <div·class="line"><a·id="l0008 | 123 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····{</div> |
124 | <div·class="line"><a·id="l0008 | 124 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······std::cbegin(t)</div> |
125 | <div·class="line"><a·id="l0008 | 125 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····};</div> |
126 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div> | ||
127 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······std::get<0>(*std::cbegin(t))</div> | ||
128 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}·->·ZString;</div> | ||
129 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{</div> | ||
130 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······std::get<1>(*std::cbegin(t))</div> | ||
131 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}·->·ZString;</div> | ||
132 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}·and</div> | ||
133 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::tuple_size_v<typename·std::ranges::iterator_t<T>::value_type>·==·2;</div> | ||
134 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_CONCEPTS</span></div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
136 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
137 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
138 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keywordtype">void</span>·PQXX_COLD·PQXX_LIBEXPORT·<a·class="code·hl_function"·href="a00250.html#a71f4fd3d06b6e0a849c58a8160380a86">skip_init_ssl</a>(<span·class="keywordtype">int</span>·flags)·<span·class="keyword">noexcept</span>;</div> | ||
139 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
140 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
141 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
142 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> | ||
143 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00252.html">··111</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> | ||
144 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>{</div> | ||
145 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>connection_dbtransaction;</div> | ||
146 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="keyword">class·</span>connection_errorhandler;</div> | ||
147 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">class·</span>connection_largeobject;</div> | ||
148 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">class·</span>connection_notification_receiver;</div> | ||
149 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">class·</span>connection_pipeline;</div> | ||
150 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="keyword">class·</span>connection_sql_cursor;</div> | ||
151 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">struct·</span>connection_stream_from;</div> | ||
152 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">class·</span>connection_stream_to;</div> | ||
153 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">class·</span>connection_transaction;</div> | ||
154 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="keyword">class·</span>const_connection_largeobject;</div> | ||
155 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div> | ||
156 | </div> | ||
157 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | ||
158 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> | ||
159 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
160 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>{</div> | ||
161 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> | ||
162 | <div·class="foldopen"·id="foldopen00136"·data-start="{"·data-end="};"> | ||
163 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">··136</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">skip_init</a>·:·<span·class="keywordtype">int</span></div> | ||
164 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>{</div> | ||
165 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">··139</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">nothing</a>,</div> | ||
166 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> | ||
167 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da5d4554eccdc33a1da0f98e9eadee475b">··142</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da5d4554eccdc33a1da0f98e9eadee475b">openssl</a>,</div> | ||
168 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> | ||
169 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da53ed303431af4a833cea27c47169ff57">··145</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da53ed303431af4a833cea27c47169ff57">crypto</a>,</div> | ||
Max diff block lines reached; 23433/145813 bytes (16.07%) of diff not shown. |
Offset 1, 71 lines modified | Offset 1, 917 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | time.hxx | ||
3 | 1 | ||
4 | 5#ifndef·PQXX_H_TIME | ||
5 | 6#define·PQXX_H_TIME | ||
6 | 2 | connection.hxx | |
3 | 1/*·Definition·of·the·connection·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::connection·encapsulates·a·connection·to·a·database. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_CONNECTION | ||
16 | 14#define·PQXX_H_CONNECTION | ||
17 | 15 | ||
7 | 18 | 16#if·!defined(PQXX_HEADER_PRE) | |
8 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | |
9 | 1 | 20 | 18#endif |
10 | 11 | ||
11 | 1 | 21 | 19 |
22 | 20#include·<cstddef> | ||
12 | 23 | 21#include·<ctime> | |
13 | 24 | 22#include·<initializer_list> | |
25 | 23#include·<list> | ||
26 | 24#include·<map> | ||
27 | 25#include·<memory> | ||
28 | 26#include·<string_view> | ||
29 | 27#include·<tuple> | ||
30 | 28 | ||
31 | 29//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning | ||
32 | (#418). | ||
33 | 30#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) | ||
34 | 31#·include·<ranges> | ||
35 | 32#endif | ||
36 | 33 | ||
37 | 34#include·"pqxx/errorhandler.hxx" | ||
38 | 35#include·"pqxx/except.hxx" | ||
14 | 39 | 36#include·"pqxx/internal/concat.hxx" | |
40 | 37#include·"pqxx/params.hxx" | ||
41 | 38#include·"pqxx/separated_list.hxx" | ||
15 | 42 | 39#include·"pqxx/strconv.hxx" | |
16 | 17 | ||
17 | 43 | 40#include·"pqxx/types.hxx" | |
44 | 41#include·"pqxx/util.hxx" | ||
45 | 42#include·"pqxx/zview.hxx" | ||
46 | 43 | ||
47 | 44 | ||
48 | 75namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
49 | 76{ | ||
50 | 77class·sql_cursor; | ||
51 | 78 | ||
18 | 52 | 79#if·defined(PQXX_HAVE_CONCEPTS) | |
19 | 53 | 81template<typename·T> | |
54 | 82concept·ZKey_ZValues·= | ||
55 | 83·std::ranges::input_range<T>·and | ||
56 | 84·requires(T·t)·{ | ||
57 | 85·{ | ||
58 | 86·std::cbegin(t) | ||
59 | 87·}; | ||
60 | 88·{ | ||
61 | 89·std::get<0>(*std::cbegin(t)) | ||
62 | 90·}·->·ZString; | ||
63 | 91·{ | ||
64 | 92·std::get<1>(*std::cbegin(t)) | ||
65 | 93·}·->·ZString; | ||
66 | 94·}·and | ||
67 | 95·std::tuple_size_v<typename·std::ranges::iterator_t<T>::value_type>·==·2; | ||
68 | 96#endif·//·PQXX_HAVE_CONCEPTS | ||
69 | 97 | ||
70 | 98 | ||
71 | 100 | ||
72 | 107void·PQXX_COLD·PQXX_LIBEXPORT·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l(int·flags)·noexcept; | ||
73 | 108}·//·namespace·pqxx::internal | ||
74 | 109 | ||
75 | 110 | ||
76 | _\x81_\x81_\x81namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
77 | 112{ | ||
78 | 113class·connection_dbtransaction; | ||
79 | 114class·connection_errorhandler; | ||
80 | 115class·connection_largeobject; | ||
81 | 116class·connection_notification_receiver; | ||
82 | 117class·connection_pipeline; | ||
83 | 118class·connection_sql_cursor; | ||
84 | 119struct·connection_stream_from; | ||
85 | 120class·connection_stream_to; | ||
86 | 121class·connection_transaction; | ||
87 | 122class·const_connection_largeobject; | ||
88 | 123}·//·namespace·pqxx::internal::gate | ||
89 | 124 | ||
90 | 125 | ||
20 | 2 | 91 | 126namespace·_\x8p_\x8q_\x8x_\x8x |
92 | 127{ | ||
21 | 22{ | ||
22 | 23using·namespace·std::literals; | ||
23 | 24 | ||
24 | 25template<> | ||
25 | 26struct·nullness<std::chrono::year_month_day> | ||
26 | 27·:·no_null<std::chrono::year_month_day> | ||
27 | 28{}; | ||
28 | 29 | 93 | 129 |
94 | _\x81_\x83_\x86enum·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t·:·int | ||
95 | 137{ | ||
96 | _\x81_\x83_\x89·_\x8n_\x8o_\x8t_\x8h_\x8i_\x8n_\x8g, | ||
97 | 140 | ||
98 | _\x81_\x84_\x82·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8s_\x8l, | ||
99 | 143 | ||
100 | _\x81_\x84_\x85·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o, | ||
101 | 146}; | ||
102 | 147 | ||
103 | 148 | ||
104 | 150 | ||
105 | _\x81_\x87_\x83template<_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t...·SKIP>·inline·void·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l()·noexcept | ||
106 | 174{ | ||
107 | 175·//·(Normalise·skip·flags·to·one·per.) | ||
108 | 176·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l(((1·<<·SKIP)·|·...)); | ||
109 | 177} | ||
110 | 178 | ||
111 | 179 | ||
112 | 181 | ||
113 | _\x81_\x88_\x88using·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·=·std::initializer_list<std::string_view>; | ||
114 | 189 | ||
Max diff block lines reached; 12499/37162 bytes (33.63%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·stream_from.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 664 lines modified | Offset 60, 310 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">stream_from.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::stream_from·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·C | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_FROM</span></div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_FROM</span></div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<streambuf></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·& | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<cassert></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<variant></span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/connection.hxx"</span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/internal/encoding_group.hxx"</span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/internal/stream_iterator.hxx"</span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/separated_list.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"pqxx/transaction_focus.hxx"</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
92 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
94 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
95 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> | ||
96 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01326.html">···33</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01326.html">largeobject</a></div> | ||
97 | <div·class="line"><a·id="l0003 | 102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> |
98 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>transaction_base;</div> |
99 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>;</div> | ||
100 | <div·class="line"><a·id="l0003 | 104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
101 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01326.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·<a·class="code·hl_function"·href="a01326.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=·default;</div> | ||
102 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
103 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
104 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a66648ed503eb162846c41247daa32660">···40</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01498.html">from_table_t</a>·<a·class="code·hl_variable"·href="a00250.html#a66648ed503eb162846c41247daa32660">from_table</a>;</div> | ||
108 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">···44</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01502.html">from_query_t</a>·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>;</div> | ||
110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
107 | <div·class="foldopen"·id="foldopen000 | 113 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};"> |
114 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01470.html">···78</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01470.html">stream_from</a>·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div> | ||
108 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01326.html#a5fa9d7249fd0d8b471e7df2af8f96df2">···52</a></span>··[[deprecated("Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.")]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(oid·o)·noexcept·:</div> | ||
109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··········m_id{o}</div> | ||
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div> | ||
111 | </div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
113 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> |
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·largeobject(</div> | ||
115 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">public</span>:</div> |
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">raw_line</a>·=</div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····std::pair<std::unique_ptr<char,·void·(*)(<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*)>,·std::size_t>;</div> | ||
116 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">···84</a></span>··<a·class="code·hl_function"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">stream_from</a>(<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
121 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01470.html#aaf2ff6b8c825cf39a4100dc423471908">···85</a></span>··<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&<a·class="code·hl_function"·href="a01470.html#aaf2ff6b8c825cf39a4100dc423471908">operator=</a>(<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
117 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··[[deprecated(<span·class="stringliteral">"Use·blob·instead."</span>)]]·largeobject(</div> | ||
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····largeobjectaccess·<span·class="keyword">const</span>·&o)·<span·class="keyword">noexcept</span>;</div> | ||
120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
121 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
122 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">···77</a></span>··[[nodiscard]]·oid·<a·class="code·hl_function"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">id</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_id;·}</div> | ||
123 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
124 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | 123 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
124 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··[[deprecated(<span·class="stringliteral">"Use·transaction_base::stream·instead."</span>)]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01470.html">stream_from</a></div> | ||
125 | <div·class="foldopen"·id="foldopen000 | 125 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}"> |
126 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">···98</a></span>··<a·class="code·hl_function"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">query</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&tx,·std::string_view·q)</div> | ||
126 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01326.html#a00f0df981995f7ca9991ba7162bdaa16">···89</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01326.html#a00f0df981995f7ca9991ba7162bdaa16">operator==</a>(<a·class="code·hl_class"·href="a01326.html">largeobject</a>·<span·class="keyword">const</span>·&other)<span·class="keyword">·const</span></div> | ||
127 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div> | ||
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·m_id·==·other.m_id;</div> | ||
129 | <div·class="line"><a·id="l0009 | 127 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div> |
128 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-pre.hxx"</span></div> | ||
129 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·{tx,·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>,·q};</div> | ||
130 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-post.hxx"</span></div> | ||
131 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div> | ||
130 | </div> | 132 | </div> |
131 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
132 | <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}"> | ||
133 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01326.html#ad326bef1920744c3d450406f43dbc6b5">···95</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01326.html#ad326bef1920744c3d450406f43dbc6b5">operator!=</a>(<a·class="code·hl_class"·href="a01326.html">largeobject</a>·<span·class="keyword">const</span>·&other)<span·class="keyword">·const</span></div> | ||
134 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">··</span>{</div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">return</span>·m_id·!=·other.m_id;</div> | ||
136 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··}</div> | ||
137 | </div> | ||
138 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
139 | <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}"> | ||
140 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01326.html#a4a7766ea88d7e0aa68ed78e0f4bb8cab">··101</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01326.html#a4a7766ea88d7e0aa68ed78e0f4bb8cab">operator<=</a>(<a·class="code·hl_class"·href="a01326.html">largeobject</a>·<span·class="keyword">const</span>·&other)<span·class="keyword">·const</span></div> | ||
141 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">··</span>{</div> | ||
142 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">return</span>·m_id·<=·other.m_id;</div> | ||
143 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>· | 133 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> |
144 | </div> | ||
Max diff block lines reached; 133123/162675 bytes (81.83%) of diff not shown. |
Offset 1, 757 lines modified | Offset 1, 338 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | largeobject.hxx | ||
3 | 2 | stream_from.hxx | |
3 | 1/*·Definition·of·the·pqxx::stream_from·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
9 | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 13 | 11·*·mistake,·or·contact·the·author. | |
12 | 1 | 14 | 12·*/ |
13 | 11#ifndef·PQXX_H_LARGEOBJECT | ||
14 | 12#define·PQXX_H_LARGEOBJECT | ||
15 | 13 | 15 | 13#ifndef·PQXX_H_STREAM_FROM |
16 | 14#define·PQXX_H_STREAM_FROM | ||
17 | 15 | ||
16 | 1 | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 20 | 18#endif |
19 | 17 | ||
20 | 18#include·<streambuf> | ||
21 | 19 | 21 | 19 |
22 | 20#include·"pqxx/dbtransaction.hxx" | ||
23 | 2 | 22 | 20#include·<cassert> |
23 | 21#include·<variant> | ||
24 | 22 | 24 | 22 |
25 | 23#include·"pqxx/connection.hxx" | ||
26 | 24#include·"pqxx/except.hxx" | ||
27 | 25#include·"pqxx/internal/concat.hxx" | ||
28 | 26#include·"pqxx/internal/encoding_group.hxx" | ||
29 | 27#include·"pqxx/internal/stream_iterator.hxx" | ||
30 | 28#include·"pqxx/separated_list.hxx" | ||
31 | 29#include·"pqxx/transaction_focus.hxx" | ||
32 | 30 | ||
33 | 31 | ||
25 | 34 | 32namespace·_\x8p_\x8q_\x8x_\x8x | |
35 | 33{ | ||
36 | 34class·transaction_base; | ||
37 | 35 | ||
38 | 36 | ||
39 | 38 | ||
40 | _\x84_\x80constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e; | ||
41 | 42 | ||
42 | _\x84_\x84constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y; | ||
43 | 45 | ||
26 | 24{ | ||
27 | 26 | ||
28 | _\x83_\x83class·PQXX_LIBEXPORT·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t | ||
29 | 34{ | ||
30 | 35public: | ||
31 | _\x83_\x86·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
32 | 37 | ||
33 | _\x84_\x80·[[deprecated("Use·blob·instead.")]]·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t()·noexcept·=·default; | ||
34 | 41 | ||
35 | 43 | ||
36 | 45·[[deprecated("Use·_\x8b_\x8l_\x8o_\x8b·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t); | ||
37 | 46 | 44 | 46 |
38 | 48 | 45 | 48 |
46 | _\x87_\x88class·PQXX_LIBEXPORT·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
47 | 79{ | ||
48 | 80public: | ||
49 | _\x88_\x81·using·_\x8r_\x8a_\x8w_\x8__\x8l_\x8i_\x8n_\x8e·= | ||
50 | 82·std::pair<std::unique_ptr<char,·void·(*)(void·const·*)>,·std::size_t>; | ||
51 | 83 | ||
52 | _\x88_\x84·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&&)·=·delete; | ||
53 | _\x88_\x85·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&&)·=·delete; | ||
54 | 86 | ||
39 | _\x85_\x82·[[deprecated("Use·_\x8b_\x8l_\x8o_\x8b·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(oid·o)·noexcept·: | ||
40 | 53·m_id{o} | ||
41 | 54·{} | ||
42 | 55 | ||
43 | 57 | ||
44 | 61·[[deprecated("Use·blob·instead.")]]·largeobject( | ||
45 | 62·dbtransaction·&t,·std::string_view·file); | ||
46 | 63 | ||
47 | 65 | ||
48 | 69·[[deprecated("Use·blob·instead.")]]·largeobject( | ||
49 | 70·largeobjectaccess·const·&o)·noexcept; | ||
50 | 71 | ||
51 | 73 | ||
52 | _\x87_\x87·[[nodiscard]]·oid·_\x8i_\x8d()·const·noexcept·{·return·m_id;·} | ||
53 | 78 | ||
54 | 88 | 55 | 88 |
55 | 56 | 97·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_.s_.t_.r_.e_.a_.m_.__.f_.r_.o_.m | |
57 | _\x89_\x88·_\x8q_\x8u_\x8e_\x8r_\x8y(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·q) | ||
56 | 9 | 58 | 99·{ |
59 | 100#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
60 | 101·return·{tx,·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y,·q}; | ||
61 | 102#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
57 | 91·return·m_id·==·other.m_id; | ||
58 | 92·} | ||
59 | 94 | ||
60 | _\x89_\x85·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=(_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t·const·&other)·const | ||
61 | 96·{ | ||
62 | 97·return·m_id·!=·other.m_id; | ||
63 | 98·} | ||
64 | 100 | ||
65 | _\x81_\x80_\x81·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8=(_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t·const·&other)·const | ||
66 | 102·{ | ||
67 | 103·return·m_id·<=·other.m_id; | ||
68 | 10 | 62 | 103·} |
63 | 104 | ||
64 | 115 | ||
65 | 117 | ||
66 | 133·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m | ||
67 | 134·raw_table( | ||
68 | 135·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·path, | ||
69 | 136·std::string_view·columns·=·""sv); | ||
70 | 137 | ||
71 | 139 | ||
72 | 141·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m | ||
73 | 142·table( | ||
74 | 143·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·path, | ||
75 | 144·std::initializer_list<std::string_view>·columns·=·{}); | ||
76 | 146 | ||
69 | 106 | ||
70 | _\x81_\x80_\x87·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8>_\x8=(_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t·const·&other)·const | ||
71 | 108·{ | ||
72 | 109·return·m_id·>=·other.m_id; | ||
73 | 110·} | ||
74 | 112 | ||
75 | _\x81_\x81_\x83·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<(_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t·const·&other)·const | ||
76 | 114·{ | ||
Max diff block lines reached; 41493/47176 bytes (87.95%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·zview.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 154 lines modified | Offset 60, 180 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">zview.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Zero-terminated·string·view.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | ||
71 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ZVIEW</span></div> |
72 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ZVIEW</span></div> |
73 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
74 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
75 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
76 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor"># | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<string></span></div> |
77 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<string_view></span></div> |
78 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·& | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<type_traits></span></div> |
79 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
80 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class=" | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> |
81 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
82 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> | ||
92 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
83 | <div·class="foldopen"·id="foldopen000 | 93 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
84 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01510.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01510.html">zview</a>·:·<span·class="keyword">public</span>·std::string_view</div> |
85 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> |
86 | <div·class="line"><a·id="l0003 | 96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> |
97 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01510.html#a634d664ac04e4686856df66fed64780d">···40</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a634d664ac04e4686856df66fed64780d">zview</a>()·noexcept·=·default;</div> | ||
98 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
87 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> |
88 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">···31</a></span>··<a·class="code·hl_function"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">transaction_focus</a>(</div> | ||
89 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·cname,·std::string_view·oname)·:</div> | ||
90 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01510.html#a766cc45a178d43b1471fdc025f01535d">···43</a></span>··constexpr·<a·class="code·hl_class"·href="a01510.html">zview</a>(<span·class="keywordtype">char</span>·const·<a·class="code·hl_[·...·truncated·by·diffoscope;·len:·138,·SHA:·273518cc3ef0767a67ba78cf2d3827560ffd2ebe507e3d70798768119eb2235f·...·]</div> |
101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····noexcept(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}))·:</div> | ||
102 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}</div> | ||
91 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{}</div> |
92 | </div> | 104 | </div> |
93 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
94 | <div·class="foldopen"·id="foldopen000 | 106 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> |
95 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">···36</a></span>··<a·class="code·hl_function"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">transaction_focus</a>(</div> | ||
96 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·cname,·std::string·&&oname)·:</div> | ||
97 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">···49</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">zview<[·...·truncated·by·diffoscope;·len:·227,·SHA:·cbd1be15ccc202979597f07c54a582f9ccf19364cac12d529e48dbcd07e54b63·...·]</div> |
108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">noexcept</span>(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}))·:</div> | ||
109 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}</div> | ||
98 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{}</div> |
99 | </div> | 111 | </div> |
100 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
101 | <div·class="foldopen"·id="foldopen000 | 113 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> |
102 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">···55</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#aa7[·...·truncated·by·diffoscope;·len:·74,·SHA:·655c579f5c90197ac1f6af87548342e3923b8d67fc8a7ed77b551cc1b5073f2e·...·]·:</div> |
103 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········std::string_view{other}</div> |
104 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div> |
105 | </div> | 117 | </div> |
106 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
107 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">···45</a></span>··<a·class="code·hl_function"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">transaction_focus</a>()·=·<span·class="keyword">delete</span>;</div> | ||
108 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">···46</a></span>··<a·class="code·hl_function"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">transaction_focus</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
109 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01494.html#aea03cea4362d054357b9923be5e93669">···47</a></span>··<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&<a·class="code·hl_function"·href="a01494.html#aea03cea4362d054357b9923be5e93669">operator=</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
110 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
111 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">···50</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">classname</a>()·const·noexcept</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> | ||
114 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">return</span>·m_classname;</div> | ||
115 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··}</div> | ||
116 | </div> | ||
117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">···56</a></span>··[[nodiscard]]·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">name</a>()·const·&noexcept·{·<span·class="keywordflow">return</span>·m_name;·}</div> | ||
119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
120 | <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}"> | ||
121 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">···58</a></span>··[[nodiscard]]·std::string·<a·class="code·hl_function"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">description</a>()<span·class="keyword">·const</span></div> | ||
122 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> | ||
123 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00251.html#a9e632aaf61a00536f6ddea8a2472c80a">pqxx::internal::describe_object</a>(m_classname,·m_name);</div> | ||
124 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l0006 | 119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·Args></div> | ||
127 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | 121 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
128 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01 | 122 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">···63</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">zview</a>(Args·&&...args)·:</div> |
129 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·········· | 123 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········std::string_view(std::forward<Args>(args)...)</div> |
130 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········m_registered{other.m_registered},</div> | ||
131 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········m_classname{other.m_classname},</div> | ||
132 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="comment">//·We·can't·move·the·name·until·later.</span></div> | ||
133 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··········m_name{}</div> | ||
134 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div> |
135 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·This·is·a·bit·more·complicated·than·you·might·expect.··The·transaction</span></div> | ||
136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new</span></div> | ||
137 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·focus.</span></div> | ||
138 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····move_name_and_registration(other);</div> | ||
139 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
140 | </div> | 125 | </div> |
141 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·C++20:·constexpr.</span></div> | ||
142 | <div·class="foldopen"·id="foldopen000 | 128 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> |
143 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">···69</a></span>··<a·class="code·hl_function"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">zview</a>(std::string·<span·class="keyword">c[·...·truncated·by·diffoscope;·len:·32,·SHA:·06a6533fa298fc7847b9e27f907d8badb6b31c09903dbf5fda44a4b54b9ecc81·...·]</div> |
130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··········std::string_view{str.c_str(),·str.size()}</div> | ||
144 | <div·class="line"><a·id="l0007 | 131 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{}</div> |
145 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">if</span>·(&other·!=·<span·class="keyword">this</span>)</div> | ||
146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{</div> | ||
147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(m_registered)</div> | ||
148 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········unregister_me();</div> | ||
149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······m_trans·=·other.m_trans;</div> | ||
Max diff block lines reached; 23825/50368 bytes (47.30%) of diff not shown. |
Offset 1, 159 lines modified | Offset 1, 171 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | transaction_focus.hxx | ||
3 | 1 | ||
4 | 9#ifndef·PQXX_H_TRANSACTION_FOCUS | ||
5 | 10#define·PQXX_H_TRANSACTION_FOCUS | ||
6 | 11 | ||
7 | 12#if·!defined(PQXX_HEADER_PRE) | ||
8 | 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
9 | 14#endif | ||
10 | 15 | ||
11 | 2 | zview.hxx | |
3 | 1/*·Zero-terminated·string·view. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead. | ||
6 | 4·* | ||
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
11 | 9·*·mistake,·or·contact·the·author. | ||
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_ZVIEW | ||
14 | 12#define·PQXX_H_ZVIEW | ||
15 | 13 | ||
16 | 14#include·<string> | ||
17 | 15#include·<string_view> | ||
18 | 16#include·<type_traits> | ||
12 | 17 | 19 | 17 |
20 | 18#include·"pqxx/types.hxx" | ||
21 | 19 | ||
22 | 20 | ||
13 | 23 | 21namespace·_\x8p_\x8q_\x8x_\x8x | |
14 | 19{ | ||
15 | 21 | ||
16 | _\x82_\x88class·PQXX_LIBEXPORT·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
17 | 2 | 24 | 22{ |
25 | 24 | ||
26 | _\x83_\x87class·_\x8z_\x8v_\x8i_\x8e_\x8w·:·public·std::string_view | ||
27 | 38{ | ||
18 | 3 | 28 | 39public: |
19 | _\x83_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( | ||
20 | 32·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string_view·oname)·: | ||
21 | 29 | _.4_.0·constexpr·_.z_.v_.i_.e_.w()·noexcept·=·default; | |
30 | 41 | ||
31 | _\x84_\x83·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept( | ||
32 | 44·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·: | ||
33 | 45·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)} | ||
22 | 34 | 46·{} | |
23 | 35 | ||
24 | _\x83_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( | ||
25 | 37·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string·&&oname)·: | ||
26 | 35 | 47 | |
36 | _\x84_\x89·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept( | ||
37 | 50·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·: | ||
38 | 51·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)} | ||
39 | 52·{} | ||
40 | 53 | ||
41 | _\x85_\x85·explicit·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(std::string_view·other)·noexcept·: | ||
42 | 56·std::string_view{other} | ||
43 | 57·{} | ||
44 | 58 | ||
45 | 60 | ||
46 | 62·template<typename...·Args> | ||
47 | _\x86_\x83·explicit·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(Args·&&...args)·: | ||
48 | 64·std::string_view(std::forward<Args>(args)...) | ||
49 | 65·{} | ||
50 | 66 | ||
51 | 67·//·C++20:·constexpr. | ||
52 | _\x86_\x89·_\x8z_\x8v_\x8i_\x8e_\x8w(std::string·const·&str)·noexcept·: | ||
53 | 70·std::string_view{str.c_str(),·str.size()} | ||
54 | 71·{} | ||
55 | 72 | ||
56 | 74 | ||
57 | _\x87_\x88·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·str[])·noexcept(noexcept(std::string_view{str})) | ||
58 | : | ||
59 | 79·std::string_view{str} | ||
60 | 80·{} | ||
61 | 81 | ||
62 | 83 | ||
63 | 91·template<size_t·size> | ||
64 | _\x89_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·(&literal)[size])·:·_\x8z_\x8v_\x8i_\x8e_\x8w(literal,·size·-·1) | ||
27 | 65 | 93·{} | |
28 | 40 | ||
29 | _\x84_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname)·: | ||
30 | 42·m_trans{&t},·m_classname{cname} | ||
31 | 43·{} | ||
32 | 44 | ||
33 | _\x84_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s()·=·delete; | ||
34 | _\x84_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; | ||
35 | _\x84_\x87·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; | ||
36 | 48 | ||
37 | _\x85_\x80·[[nodiscard]]·constexpr·std::string_view·_\x8c_\x8l_\x8a_\x8s_\x8s_\x8n_\x8a_\x8m_\x8e()·const·noexcept | ||
38 | 51·{ | ||
39 | 52·return·m_classname; | ||
40 | 53·} | ||
41 | 54 | ||
42 | _\x85_\x86·[[nodiscard]]·std::string_view·_\x8n_\x8a_\x8m_\x8e()·const·&noexcept·{·return·m_name;·} | ||
43 | 57 | ||
44 | _\x85_\x88·[[nodiscard]]·std::string·_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8i_\x8o_\x8n()·const | ||
45 | 59·{ | ||
46 | 60·return·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8b_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(m_classname,·m_name); | ||
47 | 61·} | ||
48 | 62 | ||
49 | _\x86_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other)·: | ||
50 | 64·m_trans{other.m_trans}, | ||
51 | 65·m_registered{other.m_registered}, | ||
52 | 66·m_classname{other.m_classname}, | ||
53 | 67·//·We·can't·move·the·name·until·later. | ||
54 | 68·m_name{} | ||
55 | 69·{ | ||
56 | 70·//·This·is·a·bit·more·complicated·than·you·might·expect.·The·transaction | ||
57 | 71·//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new | ||
58 | 72·//·focus. | ||
59 | 73·move_name_and_registration(other); | ||
60 | 74·} | ||
61 | 75 | ||
62 | _\x87_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other) | ||
63 | 77·{ | ||
64 | 78·if·(&other·!=·this) | ||
65 | 79·{ | ||
66 | 80·if·(m_registered) | ||
67 | 81·unregister_me(); | ||
68 | 82·m_trans·=·other.m_trans; | ||
69 | 83·m_classname·=·other.m_classname; | ||
70 | 84·move_name_and_registration(other); | ||
71 | 85·} | ||
72 | 86·return·*this; | ||
Max diff block lines reached; 8268/13114 bytes (63.05%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·r | 8 | <title>libpqxx:·robusttransaction.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 280 lines modified | Offset 60, 112 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">r | 67 | ··<div·class="headertitle"><div·class="title">robusttransaction.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::robusttransaction·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::r | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/r | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_R | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_R | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROBUSTTRANSACTION</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·& | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<ios></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<memory></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<stdexcept></span></div> | ||
93 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/zview.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"pqxx/internal/encodings.hxx"</span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
102 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> |
103 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> |
104 | <div·class=" | 93 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01406.html">···25</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
105 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01406.html#a533c620d4ebc725446866c9370620b04">···29</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01406.html#a533c620d4ebc725446866c9370620b04">~basic_robusttransaction</a>()·<span·class="keyword">override</span>·=·0;</div> | ||
106 | <div·class="line"><a·id="l0003 | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">protected</span>:</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(</div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">private</span>:</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span> | 108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::string·m_conn_string;</div> |
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··std::string·m_xid;</div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</div> | ||
109 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordtype">void</span>·init(<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_connection;</div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_creation;</div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_pipeline;</div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span> | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>result_sql_cursor;</div> | ||
115 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·@warning·This·function·will·become·`final`.</span></div> |
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div> | ||
116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div> |
117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div> | ||
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
121 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};"> | ||
122 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01402.html">···72</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01402.html">result</a></div> | ||
123 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> | ||
124 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> | ||
125 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01402.html#a45143316d9e7b9a658850326732d2786">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a>;</div> | ||
126 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div> | ||
127 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01402.html#a331bc56dd4ef9020f184f6909b3dd119">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01418.html">reference</a>·=·<a·class="code·hl_class"·href="a01418.html">row</a>;</div> | ||
128 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>·=·const_result_iterator;</div> | ||
129 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> | ||
130 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> | ||
131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>·=·const_reverse_result_iterator;</div> | ||
132 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">reverse_iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>;</div> | ||
133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
134 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
135 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">···84</a></span>··<a·class="code·hl_function"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:</div> | ||
136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········m_data{make_data_pointer()},</div> | ||
137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········m_query{},</div> | ||
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········m_encoding{internal::encoding_group::MONOBYTE}</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{}</div> | ||
140 | </div> | 117 | </div> |
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
141 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
142 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01402.html#af78abacdc250b2b6997b933379e112da">···90</a></span>··<a·class="code·hl_function"·href="a01402.html#af78abacdc250b2b6997b933379e112da">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> | ||
143 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
144 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> |
123 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
124 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><isolation_level·ISOLATION·=·read_committed></div> | ||
125 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">class·</span>robusttransaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01406.html">internal::basic_robusttransaction</a></div> | ||
126 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> | ||
127 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div> | ||
128 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··robusttransaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> | ||
129 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div> | ||
130 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd<ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>>,</div> | ||
131 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············tname}</div> | ||
Max diff block lines reached; 41153/63230 bytes (65.08%) of diff not shown. |
Offset 1, 316 lines modified | Offset 1, 118 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | result.hxx | ||
3 | 2 | robusttransaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::robusttransaction·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·pqxx::r | 5 | 3·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class. |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/r | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
10 | 8·* | 10 | 8·* |
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
13 | 11·*·mistake,·or·contact·the·author. | 13 | 11·*·mistake,·or·contact·the·author. |
14 | 12·*/ | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_RESULT | ||
16 | 1 | 15 | 13#ifndef·PQXX_H_ROBUSTTRANSACTION |
16 | 14#define·PQXX_H_ROBUSTTRANSACTION | ||
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 18#endif | 20 | 18#endif |
21 | 19 | 21 | 19 |
22 | 20#include·<functional> | ||
23 | 21#include·<ios> | ||
24 | 22#include·<memory> | ||
25 | 23#include·<stdexcept> | ||
26 | 24 | ||
27 | 25#include·"pqxx/except.hxx" | ||
28 | 26#include·"pqxx/types.hxx" | ||
29 | 2 | 22 | 20#include·"pqxx/dbtransaction.hxx" |
23 | 21 | ||
30 | 28#include·"pqxx/zview.hxx" | ||
31 | 29 | ||
32 | 30#include·"pqxx/internal/encodings.hxx" | ||
33 | 31 | ||
34 | 32 | ||
35 | 24 | 22namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | |
36 | 34{ | ||
37 | 35PQXX_LIBEXPORT·void·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(pq::PGresult·const·*)·noexcept; | ||
38 | 36}·//·namespace·pqxx::internal | ||
39 | 3 | 25 | 23{ |
26 | _\x82_\x85class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
27 | 26·:·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
28 | 27{ | ||
29 | 28public: | ||
30 | _\x82_\x89·virtual·_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·override·=·0; | ||
31 | 30 | ||
32 | 31protected: | ||
33 | 32·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
34 | 33·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string_view·tname); | ||
35 | 34·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
36 | 35 | ||
37 | 36private: | ||
38 | 37·using·IDType·=·unsigned·long; | ||
40 | 38 | 39 | 38 |
41 | 39namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
42 | 40{ | ||
43 | 41class·result_connection; | ||
44 | 42class·result_creation; | ||
45 | 43class·result_pipeline; | ||
46 | 44class·result_row; | ||
47 | 40 | 39·std::string·m_conn_string; | |
41 | 40·std::string·m_xid; | ||
42 | 41·int·m_backendpid·=·-1; | ||
43 | 42 | ||
44 | 43·void·init(_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
45 | 44 | ||
46 | 45·//·@warning·This·function·will·become·`final`. | ||
47 | 46·virtual·void·do_commit()·override; | ||
48 | 47}; | ||
48 | 4 | 49 | 48}·//·namespace·pqxx::internal |
49 | 47 | ||
50 | 4 | 50 | 49 |
51 | 50 | ||
51 | 52 | 51namespace·_\x8p_\x8q_\x8x_\x8x | |
52 | 50{ | ||
53 | 52 | 53 | 52{ |
54 | _\x87_\x82class·PQXX_LIBEXPORT·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t | ||
55 | 54 | 60 | |
55 | 81template<isolation_level·ISOLATION·=·read_committed> | ||
56 | 82class·robusttransaction·final·:·public·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
57 | 83{ | ||
56 | 58 | 84public: | |
59 | 89·robusttransaction(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname)·: | ||
60 | 90·internal::_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
61 | 91·c,·_\x8p_\x8q_\x8x_\x8x::internal::begin_cmd<ISOLATION,·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y::_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e>, | ||
62 | 92·tname} | ||
63 | 93·{} | ||
57 | _\x87_\x85·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
58 | _\x87_\x86·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
59 | _\x87_\x87·using·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8r_\x8o_\x8w; | ||
60 | _\x87_\x88·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·const_result_iterator; | ||
61 | _\x87_\x89·using·_\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
62 | _\x88_\x80·using·_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
63 | _\x88_\x81·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·const_reverse_result_iterator; | ||
64 | _\x88_\x82·using·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
65 | 83 | ||
66 | _\x88_\x84·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t()·noexcept·: | ||
67 | 85·m_data{make_data_pointer()}, | ||
68 | 86·m_query{}, | ||
69 | 87·m_encoding{internal::encoding_group::MONOBYTE} | ||
70 | 88·{} | ||
71 | 89 | ||
72 | _\x89_\x80·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&rhs)·noexcept·=·default; | ||
73 | _\x89_\x81·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&&rhs)·noexcept·=·default; | ||
74 | 92 | ||
75 | 94 | 64 | 94 |
65 | 99·robusttransaction(connection·&c,·std::string·&&tname)·: | ||
66 | 100·internal::_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
67 | 101·c,·_\x8p_\x8q_\x8x_\x8x::internal::begin_cmd<ISOLATION,·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y::_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e>, | ||
68 | 102·std::move(tname)} | ||
69 | 103·{} | ||
70 | 104 | ||
71 | 108·explicit·robusttransaction(connection·&c)·: | ||
72 | 109·internal::_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
73 | 110·c,·_\x8p_\x8q_\x8x_\x8x::internal::begin_cmd<ISOLATION,·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y::_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e>} | ||
74 | 111·{} | ||
75 | 112 | ||
76 | 113·virtual·~robusttransaction()·noexcept·override·{·_\x8c_\x8l_\x8o_\x8s_\x8e();·} | ||
77 | 114}; | ||
78 | 115 | ||
76 | _\x89_\x87·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&rhs)·noexcept·=·default; | ||
77 | 98 | ||
78 | _\x81_\x80_\x80·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&&rhs)·noexcept·=·default; | ||
79 | 101 | ||
80 | 111·[[nodiscard]]·bool·operator==(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&)·const·noexcept; | ||
Max diff block lines reached; 6431/17578 bytes (36.59%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·row.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 76 lines modified | Offset 60, 620 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">row.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·o | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx:: | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/ | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/field.hxx"</span></div> | ||
90 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/transaction.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class=" | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword"> | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01414.html">···28</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>...·T>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01414.html">result_iter</a>;</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
97 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
98 | <div·class="foldopen"·id="foldopen000 | 104 | <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};"> |
99 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01418.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01418.html">row</a></div> |
100 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> |
101 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> |
108 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>;</div> | ||
109 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>;</div> | ||
110 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01418.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_iterator</a>;</div> | ||
112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01418.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01314.html">reference</a>·=·<a·class="code·hl_class"·href="a01314.html">field</a>;</div> | ||
113 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01418.html#a2e922bcb1a3a3e003e4b31dfc8428974">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">pointer</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div> | ||
115 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8f09d3a10886af67da65026d1e0a0004">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>;</div> | ||
102 | <div·class="line"><a·id="l0005 | 116 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
117 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01418.html#aac9770e8157db227ea58b66f34865677">···58</a></span>··<a·class="code·hl_function"·href="a01418.html#aac9770e8157db227ea58b66f34865677">row</a>()·noexcept·=·default;</div> | ||
118 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01418.html#aa1cb06aed0b36221084d040461e17e5f">···59</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·&&)·noexcept·=·default;</div> | ||
119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0e77f25a475909b6ea6f5feda5c7cd5a">···60</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·noexcept·=·default;</div> | ||
120 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01418.html#ae980f90b6dfc0c4201cbdac6b91bf2a0">···61</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·noexcept·=·default;</div> | ||
121 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01418.html#aeaedfbaee84c9b14f8c71789bf5a3d5c">···62</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·&&)·noexcept·=·default;</div> | ||
122 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·const·noexcept;</div> | ||
103 | <div·class="foldopen"·id="foldopen0006 | 124 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> |
125 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0a4f6ee20682572863f56454a414891b">···69</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&rhs)·const·noexcept</div> | ||
104 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">···64</a></span>··<a·class="code·hl_function"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">nontransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname·=·<span·class="stringliteral">""</span>sv)·:</div> | ||
105 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·std::shared_ptr<std::string>{}}</div> | ||
106 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> | ||
107 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····register_transaction();</div> | ||
108 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
111 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">···70</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">~nontransaction</a>()<span·class="keyword">·override·</span>{·close();·}</div> | ||
112 | <div·class="line"><a·id="l0007 | 126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> |
113 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> |
114 | <div·class="line"><a·id="l0007 | 128 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div> |
129 | </div> | ||
115 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span> | 130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··[[nodiscard]]·const_iterator·begin()·const·noexcept;</div> | ||
132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··[[nodiscard]]·const_iterator·cbegin()·const·noexcept;</div> | ||
133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··[[nodiscard]]·const_iterator·end()·const·noexcept;</div> | ||
134 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[nodiscard]]·const_iterator·cend()·const·noexcept;</div> | ||
135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
136 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··[[nodiscard]]·reference·front()·const·noexcept;</div> | ||
137 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[nodiscard]]·reference·back()·const·noexcept;</div> | ||
138 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
139 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rbegin()·const·noexcept;</div> | ||
140 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crbegin()·const·noexcept;</div> | ||
141 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rend()·const·noexcept;</div> | ||
142 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crend()·const·noexcept;</div> | ||
143 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
144 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·reference·operator[](size_type)·const·noexcept;</div> | ||
145 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··[[nodiscard]]·reference·operator[](<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div> | ||
146 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
147 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··reference·at(size_type)·const;</div> | ||
148 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··reference·at(<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div> | ||
149 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01418.html#a5188d51a9ae821ac1c2a5071b092e7ac">··104</a></span>··[[nodiscard]]·constexpr·<a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·size()·const·noexcept</div> | ||
152 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div> | ||
153 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·m_end·-·m_begin;</div> | ||
154 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> | ||
155 | </div> | ||
156 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
157 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··[[deprecated(<span·class="stringliteral">"Swap·iterators,·not·rows."</span>)]]·<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01418.html">row</a>·&)·<span·class="keyword">noexcept</span>;</div> | ||
158 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
159 | <div·class="foldopen"·id="foldopen00112"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">··112</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">result::size_type</a>·<a·class="code·hl_function"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">rownumber</a>()·const·noexcept</div> | ||
161 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··{</div> | ||
Max diff block lines reached; 23983/116587 bytes (20.57%) of diff not shown. |
Offset 1, 70 lines modified | Offset 1, 655 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | nontransaction.hxx | ||
3 | 2 | row.hxx | |
3 | 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·pqxx:: | 5 | 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
10 | 8·* | 10 | 8·* |
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
13 | 11·*·mistake,·or·contact·the·author. | 13 | 11·*·mistake,·or·contact·the·author. |
14 | 12·*/ | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_NONTRANSACTION | ||
16 | 1 | 15 | 13#ifndef·PQXX_H_ROW |
16 | 14#define·PQXX_H_ROW | ||
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 18#endif | 20 | 18#endif |
21 | 19 | 21 | 19 |
22 | 20#include·"pqxx/ | 22 | 20#include·"pqxx/except.hxx" |
23 | 21#include·"pqxx/field.hxx" | ||
23 | 2 | 24 | 22#include·"pqxx/result.hxx" |
24 | 22#include·"pqxx/transaction.hxx" | ||
25 | 23 | 25 | 23 |
26 | 24#include·"pqxx/internal/concat.hxx" | ||
27 | 25 | ||
28 | 26namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
29 | 27{ | ||
30 | _\x82_\x88template<typename...·T>·class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8i_\x8t_\x8e_\x8r; | ||
31 | 29}·//·namespace·pqxx::internal | ||
32 | 30 | ||
33 | 31 | ||
26 | 34 | 32namespace·_\x8p_\x8q_\x8x_\x8x | |
27 | 25{ | ||
28 | 35 | 33{ | |
36 | 35 | ||
37 | _\x84_\x86class·PQXX_LIBEXPORT·_\x8r_\x8o_\x8w | ||
38 | 47{ | ||
39 | 48public: | ||
40 | _\x84_\x89·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
41 | _\x85_\x80·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
42 | _\x85_\x81·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
43 | _\x85_\x82·using·_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
44 | _\x85_\x83·using·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8f_\x8i_\x8e_\x8l_\x8d; | ||
45 | _\x85_\x84·using·_\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
46 | _\x85_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
47 | _\x85_\x86·using·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
48 | 57 | ||
49 | _\x85_\x88·_\x8r_\x8o_\x8w()·noexcept·=·default; | ||
50 | _\x85_\x89·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·&&)·noexcept·=·default; | ||
51 | _\x86_\x80·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default; | ||
52 | _\x86_\x81·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default; | ||
53 | _\x86_\x82·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·&&)·noexcept·=·default; | ||
54 | 63 | ||
55 | 68·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8r_\x8o_\x8w·const·&)·const·noexcept; | ||
56 | _\x86_\x89·[[nodiscard]]·bool·operator!=(_\x8r_\x8o_\x8w·const·&rhs)·const·noexcept | ||
57 | 70·{ | ||
58 | 71·return·not·operator==(rhs); | ||
59 | 72·} | ||
60 | 74 | ||
61 | 75·[[nodiscard]]·const_iterator·begin()·const·noexcept; | ||
62 | 76·[[nodiscard]]·const_iterator·cbegin()·const·noexcept; | ||
63 | 77·[[nodiscard]]·const_iterator·end()·const·noexcept; | ||
64 | 78·[[nodiscard]]·const_iterator·cend()·const·noexcept; | ||
65 | 79 | ||
66 | 84·[[nodiscard]]·reference·front()·const·noexcept; | ||
67 | 85·[[nodiscard]]·reference·back()·const·noexcept; | ||
68 | 86 | ||
69 | 87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const·noexcept; | ||
70 | 88·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crbegin()·const·noexcept; | ||
71 | 89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rend()·const·noexcept; | ||
72 | 90·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crend()·const·noexcept; | ||
73 | 91 | ||
74 | 92·[[nodiscard]]·reference·operator[](size_type)·const·noexcept; | ||
75 | 96·[[nodiscard]]·reference·operator[](_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
76 | 97 | ||
77 | 98·reference·at(size_type)·const; | ||
78 | 102·reference·at(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
79 | 103 | ||
80 | _\x81_\x80_\x84·[[nodiscard]]·constexpr·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept | ||
81 | 105·{ | ||
82 | 106·return·m_end·-·m_begin; | ||
83 | 107·} | ||
84 | 108 | ||
85 | 109·[[deprecated("Swap·iterators,·not·rows.")]]·void·swap(_\x8r_\x8o_\x8w·&)·noexcept; | ||
86 | 110 | ||
87 | _\x81_\x81_\x82·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8r_\x8o_\x8w_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r()·const·noexcept | ||
88 | 113·{ | ||
89 | 114·return·m_index; | ||
90 | 115·} | ||
91 | 116 | ||
92 | 122·[[nodiscard]]·size_type·column_number(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
93 | 123 | ||
94 | 125·[[nodiscard]]·oid·column_type(size_type)·const; | ||
95 | 126 | ||
96 | _\x81_\x82_\x88·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8y_\x8p_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
97 | 129·{ | ||
98 | 130·return·column_type(column_number(col_name)); | ||
99 | 131·} | ||
100 | 132 | ||
101 | 134·[[nodiscard]]·oid·column_table(size_type·col_num)·const; | ||
102 | 135 | ||
103 | _\x81_\x83_\x87·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8a_\x8b_\x8l_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
104 | 138·{ | ||
105 | 139·return·column_table(column_number(col_name)); | ||
106 | 140·} | ||
107 | 141 | ||
108 | 143 | ||
109 | 150·[[nodiscard]]·size_type·table_column(size_type)·const; | ||
110 | 151 | ||
111 | _\x81_\x85_\x83·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8l_\x8u_\x8m_\x8n(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
112 | 154·{ | ||
113 | 155·return·table_column(column_number(col_name)); | ||
114 | 156·} | ||
115 | 158 | ||
116 | _\x81_\x85_\x89·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8n_\x8u_\x8m()·const·noexcept | ||
117 | 160·{ | ||
118 | 161·return·rownumber(); | ||
119 | 162·} | ||
120 | 163 | ||
121 | 175·[[deprecated("Row·slicing·is·going·away.·File·a·bug·if·you·need·it.")]]·_\x8r_\x8o_\x8w | ||
122 | 176·slice(size_type·sbegin,·size_type·send)·const; | ||
123 | 177 | ||
Max diff block lines reached; 13901/35006 bytes (39.71%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·blob.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 312 lines modified | Offset 60, 233 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">blob.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Binary·Large·Objects·interface.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·Read·or·write·large·objects,·stored·in·their·own·storage·on·the·server.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·C | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_BLOB</span></div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_BLOB</span></div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<array></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·& | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<cstdint></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/internal/statement_parameters.hxx"</span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#if·defined(PQXX_HAVE_PATH)</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#··include·<filesystem></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#endif</span></div> | ||
93 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
94 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}"> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"> | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>)</span></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··include·<ranges></span></div> | ||
96 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div> |
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_SPAN)·&&·__has_include(<span>)</span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·<span></span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
108 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01106.html">···52</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01106.html">blob</a></div> | ||
110 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div> | ||
111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">public</span>:</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··[[nodiscard]]·<span·class="keyword">static</span>·oid·create(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid·=·0);</div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
115 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·remove(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··[[nodiscard]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01106.html">blob</a>·open_r(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
118 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·Open·blob·for·writing.··Any·attempt·to·read·from·it·will·fail.</span></div> | ||
119 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01106.html">blob</a>·open_w(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
120 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·Open·blob·for·reading·and/or·writing.</span></div> | ||
121 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··[[nodiscard]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01106.html">blob</a>·open_rw(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
122 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
123 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
124 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01106.html#a3c1c5fcc157476dfe938c6901059502f">···76</a></span>··<a·class="code·hl_function"·href="a01106.html#a3c1c5fcc157476dfe938c6901059502f">blob</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
126 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<a·class="code·hl_class"·href="a01106.html">blob</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·&&);</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<a·class="code·hl_class"·href="a01106.html">blob</a>·&operator=(<a·class="code·hl_class"·href="a01106.html">blob</a>·&&);</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01106.html#a3741a6a2f1e5ee885b791cf6233d9efc">···83</a></span>··<a·class="code·hl_function"·href="a01106.html#a3741a6a2f1e5ee885b791cf6233d9efc">blob</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01106.html#ae79a34157fab7b86690d4df7153db127">···84</a></span>··<a·class="code·hl_class"·href="a01106.html">blob</a>·&<a·class="code·hl_function"·href="a01106.html#ae79a34157fab7b86690d4df7153db127">operator=</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<a·class="code·hl_class"·href="a01106.html">~blob</a>();</div> | ||
132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
133 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
134 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01106.html#a97cbe71ff064096c70fcc58e9bd72b2b">···94</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·chunk_limit·=·0x7fffffff;</div> | ||
135 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
136 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
137 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··std::size_t·read(std::basic_string<std::byte>·&buf,·std::size_t·size);</div> | ||
138 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | ||
139 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#if·defined(PQXX_HAVE_SPAN)</span></div> | ||
140 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
141 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·extent·=·std::dynamic_extent></div> | ||
142 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··std::span<std::byte>·read(std::span<std::byte,·extent>·buf)</div> | ||
143 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··{</div> | ||
144 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·buf.subspan(0,·raw_read(std::data(buf),·std::size(buf)));</div> | ||
145 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> | ||
146 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_SPAN</span></div> | ||
147 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | ||
148 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·defined(PQXX_HAVE_SPAN)</span></div> | ||
149 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> | ||
150 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··<span·class="keyword">template</span><binary·DATA>·std::span<std::byte>·read(DATA·&buf)</div> | ||
151 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··{</div> | ||
152 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keywordflow">return</span>·{std::data(buf),·raw_read(std::data(buf),·std::size(buf))};</div> | ||
153 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··}</div> | ||
154 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="preprocessor">#else··</span><span·class="comment">//·PQXX_HAVE_CONCEPTS·&&·PQXX_HAVE_SPAN</span></div> | ||
155 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> | ||
98 | <div·class="line"><a·id="l00 | 156 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·ALLOC></div> |
99 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>[[deprecated(<span·class="stringliteral">"Use·the·params·class·instead."</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> | ||
100 | <div·class="foldopen"·id="foldopen00 | 157 | <div·class="foldopen"·id="foldopen00147"·data-start="{"·data-end="}"> |
101 | <div·class="line"><a·id="l00 | 158 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01106.html#ab144879f55c469d66b49e835f2b56d3c">··147</a></span>··std::basic_string_view<std::byte>·<a·class="code·hl_function"·href="a01106.html#ab144879f55c469d66b49e835f2b56d3c">read[·...·truncated·by·diffoscope;·len:·49,·SHA:·6bf1784ec7cd4e8b7a0dcc8e3e9fcddc4ef5108baeee0ec82e2c338d72c35454·...·])</div> |
102 | <div·class="line"><a·id="l00 | 159 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··{</div> |
103 | <div·class="line"><a·id="l00 | 160 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····<span·class="keywordflow">return</span>·{std::data(buf),·raw_read(std::data(buf),·std::size(buf))};</div> |
104 | <div·class="line"><a·id="l00 | 161 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>··}</div> |
162 | </div> | ||
163 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_CONCEPTS·&&·PQXX_HAVE_SPAN</span></div> | ||
164 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> | ||
Max diff block lines reached; 56863/79539 bytes (71.49%) of diff not shown. |
Offset 1, 334 lines modified | Offset 1, 229 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | params.hxx | ||
3 | 2 | blob.hxx | |
3 | 1/*·Binary·Large·Objects·interface. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·Read·or·write·large·objects,·stored·in·their·own·storage·on·the·server. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
9 | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 13 | 11·*·mistake,·or·contact·the·author. | |
12 | 1 | 14 | 12·*/ |
13 | 11#ifndef·PQXX_H_PARAMS | ||
14 | 12#define·PQXX_H_PARAMS | ||
15 | 13 | 15 | 13#ifndef·PQXX_H_BLOB |
16 | 14#define·PQXX_H_BLOB | ||
17 | 15 | ||
16 | 1 | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 20 | 18#endif |
19 | 17 | ||
20 | 18#include·<array> | ||
21 | 19 | 21 | 19 |
22 | 20#include·"pqxx/internal/concat.hxx" | ||
23 | 21#include·"pqxx/internal/statement_parameters.hxx" | ||
24 | 22#include·"pqxx/types.hxx" | ||
25 | 23 | ||
26 | 24 | ||
27 | _\x82_\x86namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8e_\x8p_\x8a_\x8r_\x8e | ||
28 | 2 | 22 | 20#include·<cstdint> |
23 | 21 | ||
24 | 22#if·defined(PQXX_HAVE_PATH) | ||
25 | 23#·include·<filesystem> | ||
26 | 24#endif | ||
27 | 25 | ||
28 | 26#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>) | ||
29 | 27#·include·<ranges> | ||
30 | 28#endif | ||
29 | 29 | 31 | 29 |
32 | 30#if·defined(PQXX_HAVE_SPAN)·&&·__has_include(<span>) | ||
33 | 31#·include·<span> | ||
34 | 32#endif | ||
35 | 33 | ||
36 | 34#include·"pqxx/dbtransaction.hxx" | ||
37 | 35 | ||
38 | 36 | ||
30 | 46template<typename·IT> | ||
31 | 47[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
32 | _\x84_\x88_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(IT·begin,·IT·end) | ||
33 | 49{ | ||
34 | 50·return·pqxx::internal::dynamic_params(begin,·end); | ||
35 | 51} | ||
36 | 52 | ||
37 | 53 | ||
38 | 55 | ||
39 | 71template<typename·C> | ||
40 | 72[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
41 | _\x87_\x83_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(C·const·&container) | ||
42 | 74{ | ||
43 | 75·using·IT·=·typename·C::const_iterator; | ||
44 | 76#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
45 | 77·return·pqxx::internal::dynamic_params<IT>{container}; | ||
46 | 78#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
47 | 79} | ||
48 | 80 | ||
49 | 81 | ||
50 | 83 | ||
51 | 100template<typename·C,·typename·ACCESSOR> | ||
52 | 101[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
53 | _\x81_\x80_\x82_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(C·&container,·ACCESSOR·accessor) | ||
54 | 103{ | ||
55 | 104·using·IT·=·decltype(std::begin(container)); | ||
56 | 105#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
57 | 106·return·pqxx::internal::dynamic_params<IT,·ACCESSOR>{container,·accessor}; | ||
58 | 107#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
59 | 108} | ||
60 | 109}·//·namespace·pqxx::prepare | ||
61 | 110 | ||
62 | 111 | ||
63 | 39 | 37namespace·_\x8p_\x8q_\x8x_\x8x | |
64 | 113{ | ||
65 | 115 | ||
66 | _\x81_\x82_\x85template<typename·COUNTER·=·unsigned·int>·class·_\x8p_\x8l_\x8a_\x8c_\x8e_\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8s | ||
67 | 126{ | ||
68 | 127public: | ||
69 | _\x81_\x82_\x89·static·inline·constexpr·unsigned·int·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s{ | ||
70 | 130·(std::numeric_limits<COUNTER>::max)()}; | ||
71 | 131 | ||
72 | _\x81_\x83_\x82·_\x8p_\x8l_\x8a_\x8c_\x8e_\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8s() | ||
73 | 133·{ | ||
74 | 134·static·constexpr·auto·initial{"$1\0"sv}; | ||
75 | 135·initial.copy(std::data(m_buf),·std::size(initial)); | ||
76 | 136·} | ||
77 | 137 | ||
78 | 139 | ||
79 | _\x81_\x84_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w·_\x8v_\x8i_\x8e_\x8w()·const·&noexcept | ||
80 | 143·{ | ||
81 | 144·return·_\x8z_\x8v_\x8i_\x8e_\x8w{std::data(m_buf),·m_len}; | ||
82 | 145·} | ||
83 | 146 | ||
84 | 148 | ||
85 | _\x81_\x85_\x83·std::string·_\x8g_\x8e_\x8t()·const·{·return·std::string(std::data(m_buf),·m_len);·} | ||
86 | 154 | ||
87 | _\x81_\x85_\x86·void·_\x8n_\x8e_\x8x_\x8t()·& | ||
88 | 157·{ | ||
89 | 158·if·(m_current·>=·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s) | ||
90 | 159·throw·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{pqxx::internal::concat( | ||
91 | 160·"Too·many·parameters·in·one·statement:·limit·is·",·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s,·".")}; | ||
92 | 161·++m_current; | ||
93 | 40 | 38{ | |
41 | _\x85_\x82class·PQXX_LIBEXPORT·_\x8b_\x8l_\x8o_\x8b | ||
42 | 53{ | ||
43 | 54public: | ||
44 | 56 | ||
45 | 60·[[nodiscard]]·static·oid·create(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid·=·0); | ||
46 | 61 | ||
47 | 63·static·void·remove(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
48 | 64 | ||
49 | 66·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_r(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
50 | 67·//·Open·blob·for·writing.·Any·attempt·to·read·from·it·will·fail. | ||
51 | 68·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_w(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
52 | 69·//·Open·blob·for·reading·and/or·writing. | ||
53 | 70·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_rw(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
54 | 71 | ||
Max diff block lines reached; 12644/19165 bytes (65.97%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·isolation.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 54 lines modified | Offset 60, 74 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00050_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00050_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">isolation.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·transaction·isolation·levels,·and·such.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ISOLATION</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor"># | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ISOLATION</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor"># | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#·· | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor"># | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
87 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#··define·PQXX_VERSION·"7.8.1"</span></div> | ||
88 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div> | ||
89 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··define·PQXX_VERSION_MAJOR·7</span></div> | ||
91 | <div·class=" | 92 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> |
93 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">···26</a></span><span·class="keyword">enum·class</span>·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a></div> | ||
92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 94 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 95 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe">read_only</a>,</div> |
96 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a></div> | ||
94 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>};</div> |
95 | < | 98 | </div> |
96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
97 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
98 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
102 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> | ||
103 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">···65</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a></div> | ||
104 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div> | ||
105 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·PostgreSQL·only·has·the·better·isolation·levels.</span></div> | ||
106 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·read_uncommitted,</span></div> | ||
107 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
108 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">···70</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div> | ||
109 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">···71</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">repeatable_read</a>,</div> | ||
110 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">···72</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">serializable</a>,</div> | ||
111 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div> | ||
112 | </div> | ||
99 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>}·<span·class="comment">//·namespace·pqxx</span></div> |
100 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#endif</span></div> |
101 | <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div> | ||
102 | <div·class="ttc"·id="aa0025 | 115 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> |
116 | <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">pqxx::write_policy</a></div><div·class="ttdeci">write_policy</div><div·class="ttdoc">Should·a·transaction·be·read-only,·or·read-write?</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:27</div></div> | ||
117 | <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">pqxx::write_policy::read_write</a></div><div·class="ttdeci">@·read_write</div></div> | ||
118 | <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe">pqxx::write_policy::read_only</a></div><div·class="ttdeci">@·read_only</div></div> | ||
119 | <div·class="ttc"·id="aa00250_html_a8f05a60f9e1f7dc4e4af5dce6b987c8c"><div·class="ttname"><a·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">pqxx::isolation_level</a></div><div·class="ttdeci">isolation_level</div><div·class="ttdoc">Transaction·isolation·levels.</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:66</div></div> | ||
120 | <div·class="ttc"·id="aa00250_html_a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569"><div·class="ttname"><a·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">pqxx::serializable</a></div><div·class="ttdeci">@·serializable</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:72</div></div> | ||
121 | <div·class="ttc"·id="aa00250_html_a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d"><div·class="ttname"><a·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">pqxx::read_committed</a></div><div·class="ttdeci">@·read_committed</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:70</div></div> | ||
122 | <div·class="ttc"·id="aa00250_html_a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053"><div·class="ttname"><a·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">pqxx::repeatable_read</a></div><div·class="ttdeci">@·repeatable_read</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:71</div></div> | ||
103 | </div><!--·fragment·--></div><!--·contents·--> | 123 | </div><!--·fragment·--></div><!--·contents·--> |
104 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
105 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
106 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
107 | ··<ul> | 127 | ··<ul> |
108 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b> | 128 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>isolation.hxx</b></li> |
109 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
110 | ··</ul> | 130 | ··</ul> |
111 | </div> | 131 | </div> |
112 | </body> | 132 | </body> |
113 | </html> | 133 | </html> |
Offset 1, 44 lines modified | Offset 1, 71 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | version.hxx | ||
3 | 2 | isolation.hxx | |
3 | 1/*·Definitions·for·transaction·isolation·levels,·and·such. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
11 | 9·*·mistake,·or·contact·the·author. | 11 | 9·*·mistake,·or·contact·the·author. |
12 | 10·*/ | 12 | 10·*/ |
13 | 11#if | 13 | 11#ifndef·PQXX_H_ISOLATION |
14 | 12# | 14 | 12#define·PQXX_H_ISOLATION |
15 | 13 | 15 | 13 |
16 | 14# | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 16# | 18 | 16#endif |
19 | 17 | 19 | 17 |
20 | 19#·define·PQXX_VERSION·"7.8.1" | ||
21 | 21#·define·PQXX_ABI·"7.8" | ||
22 | 22 | ||
23 | 24#·define·PQXX_VERSION_MAJOR·7 | ||
24 | 20 | 18#include·"pqxx/util.hxx" | |
21 | 19 | ||
22 | 20namespace·_\x8p_\x8q_\x8x_\x8x | ||
23 | 21{ | ||
24 | 23 | ||
25 | _\x82_\x86enum·class·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
25 | 27 | 26 | 27{ |
26 | 28#·define·PQXX_VERSION_CHECK·check_pqxx_version_7_8 | ||
27 | 29 | ||
28 | 27 | 28·_.r_.e_.a_.d_.__.o_.n_.l_.y, | |
28 | 29·_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e | ||
29 | 30}; | ||
29 | 31 | 30 | 31 |
30 | 33 | ||
31 | 54PQXX_LIBEXPORT·int·_\x8P_\x8Q_\x8X_\x8X_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8__\x8C_\x8H_\x8E_\x8C_\x8K()·noexcept; | ||
32 | 31 | 32 | |
32 | 34 | ||
33 | _\x86_\x85enum·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | ||
34 | 66{ | ||
35 | 67·//·PostgreSQL·only·has·the·better·isolation·levels. | ||
36 | 68·//·read_uncommitted, | ||
37 | 69 | ||
38 | _\x87_\x80·_\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8o_\x8m_\x8m_\x8i_\x8t_\x8t_\x8e_\x8d, | ||
39 | _\x87_\x81·_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8r_\x8e_\x8a_\x8d, | ||
40 | _\x87_\x82·_\x8s_\x8e_\x8r_\x8i_\x8a_\x8l_\x8i_\x8z_\x8a_\x8b_\x8l_\x8e, | ||
41 | 73}; | ||
42 | 74}·//·namespace·pqxx | ||
33 | 43 | 75#endif | |
34 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
35 | 44 | _.p_.q_.x_.x | |
45 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
36 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 46 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 |
37 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8P_\x8Q_\x8X_\x8X_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8__\x8C_\x8H_\x8E_\x8C_\x8K | ||
38 | int·PQXX_VERSION_CHECK()·noexcept | ||
39 | 47 | _.p_.q_.x_.x_.:_.:_.w_.r_.i_.t_.e_.__.p_.o_.l_.i_.c_.y | |
48 | write_policy | ||
49 | Should·a·transaction·be·read-only,·or·read-write? | ||
40 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:27 |
51 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y_\x8:_\x8:_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e | ||
52 | @·read_write | ||
53 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y_\x8:_\x8:_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y | ||
54 | @·read_only | ||
55 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | ||
56 | isolation_level | ||
57 | Transaction·isolation·levels. | ||
58 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:66 | ||
59 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8s_\x8e_\x8r_\x8i_\x8a_\x8l_\x8i_\x8z_\x8a_\x8b_\x8l_\x8e | ||
60 | @·serializable | ||
61 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:72 | ||
62 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8o_\x8m_\x8m_\x8i_\x8t_\x8t_\x8e_\x8d | ||
63 | @·read_committed | ||
64 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:70 | ||
65 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8r_\x8e_\x8a_\x8d | ||
66 | @·repeatable_read | ||
67 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:71 | ||
41 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 68 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
42 | ····*·_\x8p_\x8q_\x8x_\x8x | 69 | ····*·_\x8p_\x8q_\x8x_\x8x |
43 | ····*· | 70 | ····*·i.is.so.ol.la.at.ti\x8io\x8on\x8n.\x8.h\x8hx\x8xx\x8x |
44 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 71 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·transaction.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 435 lines modified | Offset 60, 103 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">transaction.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::transaction·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*·pqxx::transaction·represents·a·standard·database·transaction.</span></div> | ||
71 | <div·class="line"><a·id="l0000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l0000 | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</span></div> |
73 | <div·class="line"><a·id="l0000 | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l0000 | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION</span></div> |
81 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div> |
82 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·& | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<limits></span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<sstream></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<stdexcept></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<typeinfo></span></div> | ||
93 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__has_include(<charconv>)</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··include·<charconv></span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif</span></div> | ||
97 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>)</span></div> | ||
99 | <div·class=" | 92 | <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="};"> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01482.html">···24</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
100 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">protected</span>:</div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string·&&tname);</div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> | ||
101 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> | ||
104 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">···32</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">~basic_tr[·...·truncated·by·diffoscope;·len:·38,·SHA:·ab61bfbc5534303ef8fcecc1e19855907c85888dc29ac2e4cae367149a9a90b1·...·]</div> |
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>private:</div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··virtual·<span·class="keywordtype">void</span>·do_commit()·override;</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div> |
106 | </div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
106 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span> | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
109 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>PQXX_LIBEXPORT·std::string·<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">demangle_type_name</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[]);</div> | ||
110 | <div·class="line"><a·id="l0004 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>namespace·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
111 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
112 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
113 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
114 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 112 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
114 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><</div> | ||
115 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATION·=·isolation_level::read_committed,</div> | ||
116 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>·READWRITE·=·write_policy::read_write></div> | ||
117 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">class·</span>transaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a></div> | ||
118 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>{</div> | ||
119 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">public</span>:</div> | ||
115 | <div·class="line"><a·id="l0007 | 120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
116 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
118 | <div·class="line"><a·id="l0008 | 121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> |
122 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div> | ||
123 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············c,·internal::begin_cmd<ISOLATION,·READWRITE>,·tname}</div> | ||
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 124 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> |
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | 125 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
121 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | 126 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
122 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};"> | ||
123 | <div·class="line"><a·id="l0009 | 127 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">explicit</span>·transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c)·:</div> |
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div> | ||
129 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············c,·internal::begin_cmd<ISOLATION,·READWRITE>}</div> | ||
124 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>{</div> | 130 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> |
125 | <div·class="line"><a·id="l0009 | 131 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
132 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">virtual</span>·~transaction()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·close();·}</div> | ||
126 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span> | 133 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div> |
127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">···98</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">always_null</a>;</div> | ||
128 | <div·class="line"><a·id="l0009 | 134 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
129 | <div·class="line"><a·id="l00 | 135 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> |
136 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">using·</span>work·=·transaction<>;</div> | ||
130 | <div·class="line"><a·id="l0010 | 137 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
138 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">using·</span>read_transaction·=</div> | ||
139 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··transaction<isolation_level::read_committed,·write_policy::read_only>;</div> | ||
131 | <div·class="line"><a·id="l0010 | 140 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
132 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">··109</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·TYPE·<a·class="code·hl_function"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>();</div> | ||
133 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div> | ||
134 | </div> | ||
135 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
136 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> | ||
137 | <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="};"> | ||
138 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01434.html">··114</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">no_null</a></div> | ||
139 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>{</div> | ||
140 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
141 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01434.html#a8f3b58a4b6b3d4161e63e53431a7d2d1">··127</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01434.html#a8f3b58a4b6b3d4161e63e53431a7d2d1">has_null</a>·=·<span·class="keyword">false</span>;</div> | ||
142 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> | ||
Max diff block lines reached; 15580/85801 bytes (18.16%) of diff not shown. |
Offset 1, 479 lines modified | Offset 1, 105 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | strconv.hxx | ||
3 | 1/*·String·conversion·definitions. | ||
4 | 2 | transaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::transaction·class. | ||
4 | 2·*·pqxx::transaction·represents·a·standard·database·transaction. | ||
5 | 3·* | ||
5 | 6 | 4·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead. | |
6 | 7 | 5·* | |
7 | 8 | 6·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | |
8 | 9 | 7·* | |
9 | 10 | 8·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 11 | 9·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 12 | 10·*·mistake,·or·contact·the·author. | |
12 | 1 | 13 | 11·*/ |
13 | 1 | 14 | 12#ifndef·PQXX_H_TRANSACTION |
14 | 1 | 15 | 13#define·PQXX_H_TRANSACTION |
15 | 1 | 16 | 14 |
16 | 1 | 17 | 15#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 18 | 16#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 19 | 17#endif |
20 | 18 | ||
21 | 19#include·"pqxx/dbtransaction.hxx" | ||
22 | 20 | ||
19 | 17 | ||
20 | 18#include·<algorithm> | ||
21 | 19#include·<cstring> | ||
22 | 20#include·<limits> | ||
23 | 21#include·<sstream> | ||
24 | 22#include·<stdexcept> | ||
25 | 23#include·<typeinfo> | ||
26 | 24 | ||
27 | 25#if·__has_include(<charconv>) | ||
28 | 26#·include·<charconv> | ||
29 | 27#endif | ||
30 | 28 | ||
31 | 29#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>) | ||
32 | 30#·include·<ranges> | ||
33 | 31#endif | ||
34 | 32 | ||
35 | 33#include·"pqxx/except.hxx" | ||
36 | 34#include·"pqxx/util.hxx" | ||
37 | 35#include·"pqxx/zview.hxx" | ||
38 | 36 | ||
39 | 37 | ||
40 | 23 | 21namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | |
41 | 39{ | ||
42 | 24 | 22{ | |
25 | _\x82_\x84class·PQXX_LIBEXPORT·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·:·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 25{ | ||
27 | 26protected: | ||
28 | 27·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
29 | 28·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string_view·tname); | ||
30 | 29·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string·&&tname); | ||
31 | 30·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
32 | 31 | ||
33 | _\x83_\x82·virtual·_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·noexcept·override·=·0; | ||
34 | 33 | ||
35 | 34private: | ||
36 | 35·virtual·void·do_commit()·override; | ||
37 | 36}; | ||
43 | 38 | 37}·//·namespace·pqxx::internal | |
44 | 43 | ||
45 | 39 | 38 | |
40 | 39 | ||
46 | 4 | 41 | 40namespace·_\x8p_\x8q_\x8x_\x8x |
42 | 41{ | ||
47 | 46 | 43 | 46 |
48 | 71 | ||
49 | 73 | ||
50 | 81template<typename·TYPE> | ||
51 | _\x88_\x82std::string·const·_\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e{_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8m_\x8a_\x8n_\x8g_\x8l_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e(typeid(TYPE).name | ||
52 | ())}; | ||
53 | 44 | 48 | |
45 | 68template< | ||
46 | 69·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l·ISOLATION·=·isolation_level::read_committed, | ||
47 | 70·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y·READWRITE·=·write_policy::read_write> | ||
48 | 71class·transaction·final·:·public·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
49 | 72{ | ||
50 | 73public: | ||
51 | 75 | ||
52 | 80·transaction(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname)·: | ||
53 | 81·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
54 | 82·c,·internal::begin_cmd<ISOLATION,·READWRITE>,·tname} | ||
55 | 83·{} | ||
54 | 84 | 56 | 84 |
55 | 86 | 57 | 86 |
56 | 58 | 90·explicit·transaction(_.c_.o_.n_.n_.e_.c_.t_.i_.o_.n·&c)·: | |
59 | 91·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
60 | 92·c,·internal::begin_cmd<ISOLATION,·READWRITE>} | ||
57 | 93{ | 61 | 93·{} |
62 | 94 | ||
63 | 95·virtual·~transaction()·noexcept·override·{·close();·} | ||
64 | 96}; | ||
65 | 97 | ||
66 | 98 | ||
67 | 100using·work·=·transaction<>; | ||
68 | 101 | ||
69 | 103using·read_transaction·= | ||
70 | 104·transaction<isolation_level::read_committed,·write_policy::read_only>; | ||
71 | 105 | ||
58 | _\x89_\x85·static·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l; | ||
59 | 96 | ||
60 | _\x89_\x88·static·bool·_\x8a_\x8l_\x8w_\x8a_\x8y_\x8s_\x8__\x8n_\x8u_\x8l_\x8l; | ||
61 | 99 | ||
62 | _\x81_\x80_\x81·static·bool·_\x8i_\x8s_\x8__\x8n_\x8u_\x8l_\x8l(TYPE·const·&value); | ||
63 | 102 | ||
64 | 104 | ||
65 | _\x81_\x80_\x89·[[nodiscard]]·static·TYPE·_\x8n_\x8u_\x8l_\x8l(); | ||
66 | 110}; | ||
67 | 111 | ||
68 | 112 | ||
69 | _\x81_\x81_\x84template<typename·TYPE>·struct·_\x8n_\x8o_\x8__\x8n_\x8u_\x8l_\x8l | ||
70 | 115{ | ||
71 | 117 | ||
72 | _\x81_\x82_\x87·static·constexpr·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l·=·false; | ||
73 | 128 | ||
74 | 130 | ||
75 | _\x81_\x83_\x83·static·constexpr·bool·_\x8a_\x8l_\x8w_\x8a_\x8y_\x8s_\x8__\x8n_\x8u_\x8l_\x8l·=·false; | ||
76 | 134 | ||
77 | 136 | ||
78 | _\x81_\x84_\x80·[[nodiscard]]·static·constexpr·bool·_\x8i_\x8s_\x8__\x8n_\x8u_\x8l_\x8l(TYPE·const·&)·noexcept | ||
79 | 141·{ | ||
80 | 142·return·false; | ||
81 | 143·} | ||
82 | 144}; | ||
83 | 145 | ||
Max diff block lines reached; 8788/21956 bytes (40.03%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·types.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 74 lines modified | Offset 60, 185 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">types.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Basic·type·aliases·and·forward·declarations.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l0000 | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_TYPES</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_TYPES</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<cstdint></span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·& | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<iterator></span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class=" | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>)</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··include·<ranges></span></div> | ||
90 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div> |
91 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
92 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
93 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
94 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> |
96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">···28</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a>·=·int;</div> | ||
95 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe">read_only</a>,</div> | ||
96 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a></div> | ||
97 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>};</div> | ||
98 | </div> | ||
99 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">···31</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>·=·int;</div> | ||
100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
100 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">···34</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·=·int;</div> | ||
101 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
102 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">···37</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>·=·int;</div> | ||
103 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
104 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">···40</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>·=·std::size_t;</div> | ||
105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
106 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">···43</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>·=·int64_t;</div> | ||
107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
108 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
109 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//·Forward·declarations,·to·help·break·compilation·dependencies.</span></div> | ||
110 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·These·won't·necessarily·include·all·classes·in·libpqxx.</span></div> | ||
111 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01094.html">binarystring</a>;</div> | ||
112 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01110.html">connection</a>;</div> | ||
113 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>const_result_iterator;</div> | ||
114 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">class·</span>const_reverse_result_iterator;</div> | ||
115 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div> | ||
116 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01134.html">dbtransaction</a>;</div> | ||
118 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01314.html">field</a>;</div> | ||
119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01330.html">largeobjectaccess</a>;</div> | ||
120 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01354.html">notification_receiver</a>;</div> | ||
121 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01210.html">range_error</a>;</div> | ||
122 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01402.html">result</a>;</div> | ||
123 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01418.html">row</a>;</div> | ||
124 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01470.html">stream_from</a>;</div> | ||
125 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01490.html">transaction_base</a>;</div> | ||
126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
127 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
102 | <div·class="foldopen"·id="foldopen0006 | 128 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="};"> |
103 | <div·class="line"><a·id="l0006 | 129 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01498.html">···67</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01498.html">from_table_t</a></div> |
104 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{};</div> |
131 | </div> | ||
105 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·PostgreSQL·only·has·the·better·isolation·levels.</span></div> | ||
106 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·read_uncommitted,</span></div> | ||
107 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 132 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
108 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">···70</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div> | ||
109 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">···71</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">repeatable_read</a>,</div> | ||
110 | <div·class="line"><a·id="l0007 | 133 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
134 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};"> | ||
135 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01502.html">···73</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01502.html">from_query_t</a></div> | ||
111 | <div·class="line"><a·id="l0007 | 136 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{};</div> |
137 | </div> | ||
138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
140 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
141 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> | ||
142 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360ce">···80</a></span><span·class="keyword">enum·class</span>·<a·class="code·hl_enumeration"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360ce">format</a>·:·<span·class="keywordtype">int</span></div> | ||
143 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div> | ||
144 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>·=·0,</div> | ||
145 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea9d7183f16acce70658f686ae7f1a4d20">binary</a>·=·1,</div> | ||
146 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>};</div> | ||
112 | </div> | 147 | </div> |
148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
150 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
151 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
152 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00250.html#a316a1521470224aad07d24109ff0043d">···91</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a316a1521470224aad07d24109ff0043d">strip_t</a>·=·std::remove_cv_t<std::remove_reference_t<TYPE>>;</div> | ||
153 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
154 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)</span></div> | ||
156 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
157 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">template</span><std::ranges::range·CONTAINER></div> | ||
158 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00250.html#a934fca7aa1250b4c488ac2f09ac2bf1b">value_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a316a1521470224aad07d24109ff0043d">strip_t<decltype(*std::begin(std::declval<CONTAINER></a>()))>;</div> | ||
159 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">#else··</span><span·class="comment">//·PQXX_HAVE_CONCEPTS</span></div> | ||
Max diff block lines reached; 10730/39287 bytes (27.31%) of diff not shown. |
Offset 1, 71 lines modified | Offset 1, 226 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | isolation.hxx | ||
3 | 2 | types.hxx | |
3 | 1/*·Basic·type·aliases·and·forward·declarations. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen |
6 | 4·* | 6 | 4·* |
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7 | 5·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 8 | 6·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 9 | 7·*·mistake,·or·contact·the·author. | |
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_ISOLATION | ||
14 | 12#define·PQXX_H_ISOLATION | ||
15 | 10 | 8·*/ | |
11 | 9#ifndef·PQXX_H_TYPES | ||
12 | 10#define·PQXX_H_TYPES | ||
13 | 11 | ||
16 | 1 | 14 | 12#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 15 | 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 16 | 14#endif |
19 | 17 | ||
20 | 1 | 17 | 15 |
18 | 16#include·<cstddef> | ||
19 | 17#include·<cstdint> | ||
20 | 18#include·<iterator> | ||
21 | 19 | 21 | 19 |
22 | 20namespace·_\x8p_\x8q_\x8x_\x8x | ||
23 | 2 | 22 | 20#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) |
23 | 21#·include·<ranges> | ||
24 | 22#endif | ||
24 | 23 | 25 | 23 |
25 | _\x82_\x86enum·class·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
26 | 27{ | ||
27 | 28·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
28 | 29·_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e | ||
29 | 30}; | ||
30 | 26 | 24 | |
27 | 25namespace·_\x8p_\x8q_\x8x_\x8x | ||
28 | 26{ | ||
29 | _\x82_\x88using·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
30 | 29 | ||
31 | _\x83_\x81using·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
31 | 32 | 32 | 32 |
32 | 34 | ||
33 | _\x86_\x85enum·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | ||
34 | 66{ | ||
35 | 67·//·PostgreSQL·only·has·the·better·isolation·levels. | ||
36 | 33 | _.3_.4using·_.r_.o_.w_.__.s_.i_.z_.e_.__.t_.y_.p_.e·=·int; | |
34 | 35 | ||
35 | _\x83_\x87using·_\x8r_\x8o_\x8w_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
36 | 38 | ||
37 | _\x84_\x80using·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::size_t; | ||
38 | 41 | ||
39 | _\x84_\x83using·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int64_t; | ||
40 | 44 | ||
41 | 45 | ||
42 | 46//·Forward·declarations,·to·help·break·compilation·dependencies. | ||
43 | 47//·These·won't·necessarily·include·all·classes·in·libpqxx. | ||
44 | 48class·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g; | ||
45 | 49class·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
46 | 50class·const_result_iterator; | ||
47 | 51class·const_reverse_result_iterator; | ||
48 | 52class·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
49 | 53class·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
50 | 54class·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
51 | 55class·_\x8f_\x8i_\x8e_\x8l_\x8d; | ||
52 | 56class·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s; | ||
53 | 57class·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r; | ||
54 | 58struct·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r; | ||
55 | 59class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
56 | 60class·_\x8r_\x8o_\x8w; | ||
57 | 61class·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m; | ||
58 | 62class·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e; | ||
59 | 63 | ||
60 | 65 | ||
61 | _\x86_\x87struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t | ||
62 | 68{}; | ||
37 | 69 | 63 | 69 |
38 | _\x87_\x80·_\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8o_\x8m_\x8m_\x8i_\x8t_\x8t_\x8e_\x8d, | ||
39 | _\x87_\x81·_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8r_\x8e_\x8a_\x8d, | ||
40 | _\x87_\x82·_\x8s_\x8e_\x8r_\x8i_\x8a_\x8l_\x8i_\x8z_\x8a_\x8b_\x8l_\x8e, | ||
41 | 7 | 64 | 71 |
65 | _\x87_\x83struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t | ||
66 | 74{}; | ||
67 | 75 | ||
68 | 76 | ||
69 | 78 | ||
70 | _\x88_\x80enum·class·_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t·:·int | ||
71 | 81{ | ||
72 | 82·_\x8t_\x8e_\x8x_\x8t·=·0, | ||
73 | 83·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y·=·1, | ||
74 | 84}; | ||
75 | 85 | ||
76 | 86 | ||
77 | 88 | ||
78 | 90template<typename·TYPE> | ||
79 | _\x89_\x81using·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t·=·std::remove_cv_t<std::remove_reference_t<TYPE>>; | ||
80 | 92 | ||
81 | 93 | ||
82 | 94#if·defined(PQXX_HAVE_CONCEPTS) | ||
83 | 96 | ||
84 | 99template<std::ranges::range·CONTAINER> | ||
85 | 100using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t_\x8<_\x8d_\x8e_\x8c_\x8l_\x8t_\x8y_\x8p_\x8e_\x8(_\x8*_\x8s_\x8t_\x8d_\x8:_\x8:_\x8b_\x8e_\x8g_\x8i_\x8n_\x8(_\x8s_\x8t_\x8d_\x8:_\x8:_\x8d_\x8e_\x8c_\x8l_\x8v_\x8a_\x8l_\x8<_\x8C_\x8O_\x8N_\x8T_\x8A_\x8I_\x8N_\x8E_\x8R_\x8> | ||
86 | ()))>; | ||
87 | 101#else·//·PQXX_HAVE_CONCEPTS | ||
88 | 103 | ||
89 | 106template<typename·CONTAINER> | ||
90 | _\x81_\x80_\x87using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t_\x8<_\x8d_\x8e_\x8c_\x8l_\x8t_\x8y_\x8p_\x8e_\x8(_\x8*_\x8s_\x8t_\x8d_\x8:_\x8:_\x8b_\x8e_\x8g_\x8i_\x8n_\x8(_\x8s_\x8t_\x8d_\x8:_\x8:_\x8d_\x8e_\x8c_\x8l_\x8v_\x8a_\x8l_\x8<_\x8C_\x8O_\x8N_\x8T_\x8A_\x8I_\x8N_\x8E_\x8R_\x8> | ||
91 | ()))>; | ||
92 | 108#endif·//·PQXX_HAVE_CONCEPTS | ||
93 | 109 | ||
94 | 110 | ||
95 | 111#if·defined(PQXX_HAVE_CONCEPTS) | ||
96 | 113template<typename·STRING> | ||
97 | 114concept·char_string·=·std::ranges::contiguous_range<STRING>·and | ||
98 | 115·std::same_as<strip_t<value_type<STRING>>,·char>; | ||
99 | 116 | ||
100 | 118template<typename·RANGE> | ||
101 | 119concept·char_strings·= | ||
102 | 120·std::ranges::range<RANGE>·and·char_string<strip_t<value_type<RANGE>>>; | ||
103 | 121 | ||
104 | 123template<typename·DATA> | ||
105 | 124concept·potential_binary·=·std::ranges::contiguous_range<DATA>·and | ||
106 | 125·(sizeof(_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8<_\x8D_\x8A_\x8T_\x8A_\x8>)·==·1); | ||
107 | 126#endif·//·PQXX_HAVE_CONCEPTS | ||
Max diff block lines reached; 5336/10616 bytes (50.26%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·nontransaction.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 159 lines modified | Offset 60, 76 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">nontransaction.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class=" | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::nontransaction·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class=" | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::nontransaction·provides·nontransactional·database·access</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class=" | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class=" | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class=" | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class=" | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
79 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span> | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NONTRANSACTION</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NONTRANSACTION</span></div> | ||
83 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/connection.hxx"</span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/transaction.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
84 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">using·namespace·</span>std::literals;</div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
85 | <div·class="foldopen"·id="foldopen000 | 98 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
99 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01350.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01350.html">nontransaction</a>·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div> | ||
86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">···35</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(</div> | ||
87 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··pqxx::internal::encoding_group·enc,·std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&...fields)</div> | ||
88 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> |
89 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> |
90 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
103 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> | ||
104 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">···64</a></span>··<a·class="code·hl_function"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">nontransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname·=·<span·class="stringliteral">""</span>sv)·:</div> | ||
105 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·std::shared_ptr<std::string>{}}</div> | ||
91 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·scan{<a·class="code·hl_function"·href="a00251.html#a0e21b3091e1c76c9cbd604e0cff6f17a">pqxx::internal::get_glyph_scanner</a>(enc)};</div> | ||
92 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·data{std::data(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
93 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·size{std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
94 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordflow">if</span>·(size·==·0)</div> | ||
95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{<span·class="stringliteral">"Cannot·parse·composite·value·from·empty·string."</span>};</div> | ||
96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··std::size_t·here{0},·next{scan(data,·size,·here)};</div> | ||
98 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keywordflow">if</span>·(next·!=·1·or·data[here]·!=·<span·class="charliteral">'('</span>)</div> | ||
99 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{</div> | ||
100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······internal::concat(<span·class="stringliteral">"Invalid·composite·value·string:·"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
101 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
102 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··here·=·next;</div> | ||
103 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
104 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·TODO:·Reuse·parse_composite_field·specialisation·across·calls.</span></div> | ||
105 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·num_fields{<span·class="keyword">sizeof</span>...(fields)};</div> | ||
106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::size_t·index{0};</div> | ||
107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··(pqxx::internal::specialize_parse_composite_field<T>(enc)(</div> | ||
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····index,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·here,·fields,·num_fields·-·1),</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···...);</div> | ||
110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">if</span>·(here·!=·std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>))</div> | ||
111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> | ||
112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="stringliteral">"Composite·value·did·not·end·at·the·closing·parenthesis:·'"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,</div> | ||
113 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="stringliteral">"'."</span>)};</div> | ||
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[here·-·1]·!=·<span·class="charliteral">')'</span>)</div> | ||
115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="stringliteral">"Composive·value·did·not·end·in·parenthesis:·'"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="stringliteral">"'"</span>)};</div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span> | 106 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> |
107 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····register_transaction();</div> | ||
108 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
111 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">···70</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">~nontransaction</a>()<span·class="keyword">·override·</span>{·close();·}</div> | ||
112 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
113 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">private</span>:</div> | ||
114 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()<span·class="keyword">·override·</span>{}</div> | ||
115 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div> | ||
118 | </div> | 116 | </div> |
119 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
121 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span><<span·class="keyword">typename</span>...·T></div> | ||
123 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> | ||
124 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00250.html#a0cd702e0c9b6172bf07f0253b238506b">···76</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&...fields)</div> | ||
125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div> | ||
126 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(pqxx::internal::encoding_group::MONOBYTE,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·fields...);</div> | ||
127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> | ||
128 | </div> | ||
129 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}·<span·class="comment">//·namespace·pqxx</span></div> |
130 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
131 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
132 | <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}"> | ||
133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00251.html">···83</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
134 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div> | ||
135 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">···85</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">char</span>·<a·class="code·hl_variable"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">empty_composite_str</a>[]{<span·class="stringliteral">"()"</span>};</div> | ||
136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
137 | </div> | ||
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>{</div> | ||
142 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
Max diff block lines reached; 5199/34654 bytes (15.00%) of diff not shown. |
Offset 1, 155 lines modified | Offset 1, 70 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | composite.hxx | ||
3 | 1#ifndef·PQXX_H_COMPOSITE | ||
4 | 2#define·PQXX_H_COMPOSITE | ||
5 | 3 | ||
6 | 4#if·!defined(PQXX_HEADER_PRE) | ||
7 | 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
8 | 6#endif | ||
9 | 7 | ||
10 | 8#include·"pqxx/internal/array-composite.hxx" | ||
11 | 9#include·"pqxx/internal/concat.hxx" | ||
12 | 10#include·"pqxx/util.hxx" | ||
13 | 11 | ||
14 | 12namespace·_\x8p_\x8q_\x8x_\x8x | ||
15 | 2 | nontransaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::nontransaction·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::nontransaction·provides·nontransactional·database·access | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_NONTRANSACTION | ||
16 | 14#define·PQXX_H_NONTRANSACTION | ||
16 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·"pqxx/connection.hxx" | ||
23 | 21#include·"pqxx/result.hxx" | ||
24 | 22#include·"pqxx/transaction.hxx" | ||
25 | 23 | ||
17 | 34template<typename...·T> | ||
18 | _\x83_\x85inline·void·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e( | ||
19 | 36·pqxx::internal::encoding_group·enc,·std::string_view·_\x8t_\x8e_\x8x_\x8t,·T·&...fields) | ||
20 | 37{ | ||
21 | 38·static_assert(sizeof...(fields)·>·0); | ||
22 | 39 | ||
23 | 40·auto·const·scan{_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h_\x8__\x8s_\x8c_\x8a_\x8n_\x8n_\x8e_\x8r(enc)}; | ||
24 | 41·auto·const·data{std::data(_\x8t_\x8e_\x8x_\x8t)}; | ||
25 | 42·auto·const·size{std::size(_\x8t_\x8e_\x8x_\x8t)}; | ||
26 | 43·if·(size·==·0) | ||
27 | 44·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Cannot·parse·composite·value·from·empty·string."}; | ||
28 | 45 | ||
29 | 46·std::size_t·here{0},·next{scan(data,·size,·here)}; | ||
30 | 47·if·(next·!=·1·or·data[here]·!=·'(') | ||
31 | 48·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{ | ||
32 | 49·internal::concat("Invalid·composite·value·string:·",·_\x8t_\x8e_\x8x_\x8t)}; | ||
33 | 50 | ||
34 | 51·here·=·next; | ||
35 | 52 | ||
36 | 53·//·TODO:·Reuse·parse_composite_field·specialisation·across·calls. | ||
37 | 54·constexpr·auto·num_fields{sizeof...(fields)}; | ||
38 | 55·std::size_t·index{0}; | ||
39 | 56·(pqxx::internal::specialize_parse_composite_field<T>(enc)( | ||
40 | 57·index,·_\x8t_\x8e_\x8x_\x8t,·here,·fields,·num_fields·-·1), | ||
41 | 58·...); | ||
42 | 59·if·(here·!=·std::size(_\x8t_\x8e_\x8x_\x8t)) | ||
43 | 60·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( | ||
44 | 61·"Composite·value·did·not·end·at·the·closing·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t, | ||
45 | 62·"'.")}; | ||
46 | 63·if·(_\x8t_\x8e_\x8x_\x8t[here·-·1]·!=·')') | ||
47 | 64·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( | ||
48 | 65·"Composive·value·did·not·end·in·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t,·"'")}; | ||
49 | 66} | ||
50 | 67 | ||
51 | 68 | ||
52 | 70 | ||
53 | 75template<typename...·T> | ||
54 | _\x87_\x86inline·void·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(std::string_view·_\x8t_\x8e_\x8x_\x8t,·T·&...fields) | ||
55 | 77{ | ||
56 | 78·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(pqxx::internal::encoding_group::MONOBYTE,·_\x8t_\x8e_\x8x_\x8t,·fields...); | ||
57 | 79} | ||
58 | 80}·//·namespace·pqxx | ||
59 | 81 | ||
60 | 82 | ||
61 | _\x88_\x83namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
62 | 84{ | ||
63 | _\x88_\x85constexpr·char·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8t_\x8r[]{"()"}; | ||
64 | 86}·//·namespace·pqxx::internal | ||
65 | 87 | ||
66 | 88 | ||
67 | 26 | 24namespace·_\x8p_\x8q_\x8x_\x8x | |
27 | 25{ | ||
28 | 26using·namespace·std::literals; | ||
29 | 27 | ||
30 | 29 | ||
31 | _\x85_\x85class·PQXX_LIBEXPORT·_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·final·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e | ||
32 | 56{ | ||
33 | 57public: | ||
34 | 59 | ||
35 | _\x86_\x84·_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname·=·""sv)·: | ||
36 | 65·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e{c,·tname,·std::shared_ptr<std::string>{}} | ||
37 | 66·{ | ||
38 | 67·register_transaction(); | ||
39 | 68·} | ||
40 | 69 | ||
41 | _\x87_\x80·virtual·_\x8~_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·override·{·close();·} | ||
42 | 71 | ||
43 | 72private: | ||
44 | 73·virtual·void·do_commit()·override·{} | ||
45 | 74}; | ||
68 | 90{ | ||
69 | 92 | ||
70 | 94template<typename...·T> | ||
71 | 95[[nodiscard]]·inline·std::size_t | ||
72 | _\x89_\x86_\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r(T·const·&...fields)·noexcept | ||
73 | 97{ | ||
74 | 98·constexpr·auto·num{sizeof...(fields)}; | ||
75 | 99 | ||
76 | 100·//·Size·for·a·multi-field·composite·includes·room·for... | ||
77 | 101·//·+·opening·parenthesis | ||
78 | 102·//·+·field·budgets | ||
79 | 103·//·+·separating·comma·per·field | ||
80 | 104·//·-·comma·after·final·field | ||
81 | 105·//·+·closing·parenthesis | ||
82 | 106·//·+·terminating·zero | ||
83 | 107 | ||
84 | 108·if·constexpr·(num·==·0) | ||
85 | 109·return·std::size(_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8e_\x8m_\x8p_\x8t_\x8y_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8t_\x8r); | ||
86 | 110·else | ||
Max diff block lines reached; 2872/8477 bytes (33.88%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·binarystring.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 310 lines modified | Offset 60, 284 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">binarystring.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·De | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Deprecated·representation·for·raw,·binary·data.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
89 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<memory></span></div> |
90 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<string></span></div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<string_view></span></div> | ||
91 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/ | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/strconv.hxx"</span></div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
93 | <div·class="line"><a·id="l0002 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span>binarystring;</div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><>·<span·class="keyword">struct·</span>string_traits<binarystring>;</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/internal/encoding_group.hxx"</span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/internal/stream_iterator.hxx"</span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/separated_list.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"pqxx/transaction_focus.hxx"</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
100 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>transaction_base;</div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a66648ed503eb162846c41247daa32660">···40</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01498.html">from_table_t</a>·<a·class="code·hl_variable"·href="a00250.html#a66648ed503eb162846c41247daa32660">from_table</a>;</div> | ||
108 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">···44</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01502.html">from_query_t</a>·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>;</div> | ||
110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
113 | <div·class="foldopen"·id="foldopen000 | 101 | <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};"> |
114 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01094.html">···58</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01094.html">binarystring</a></div> |
115 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> |
116 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">raw_line</a>·=</div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····std::pair<std::unique_ptr<char,·void·(*)(<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*)>,·std::size_t>;</div> | ||
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">···84</a></span>··<a·class="code·hl_function"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">stream_from</a>(<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
121 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</[·...·truncated·by·diffoscope;·len:·51,·SHA:·3566641c97f66b5074a787923e4daff2310bb6bcc1d18c75eeda944c3345c76d·...·];</div> |
106 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits<char_type>::char_type;</div> | ||
107 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·=·std::size_t;</div> | ||
108 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div> | ||
109 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·&;</div> | ||
110 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01094.html#af70ec84cf927dceb10418da704722a71">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·*;</div> | ||
111 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>;</div> | ||
112 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator<const_iterator>;</div> | ||
122 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
114 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">···70</a></span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_function"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">binarystring</a>(</div> | ||
115 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<a·class="code·hl_class"·href="a01094.html">binarystring</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
116 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
117 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
118 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
119 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_class"·href="a01314.html">field</a>·<span·class="keyword">const</span>·&);</div> | ||
123 | <div·class="line"><a·id="l0008 | 120 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
124 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
122 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
123 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string_view);</div> | ||
124 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
126 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*,·std::size_t);</div> | ||
127 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
125 | <div·class="foldopen"·id="foldopen0009 | 128 | <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> |
126 | <div·class="line"><a·id="l0009 | 129 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">···93</a></span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_function"·href=[·...·truncated·by·diffoscope;·len:·65,·SHA:·9faa19d5956b59771bfa8abc2a2d6d84d08d181a9d1f2d48771661559207774a·...·]</div> |
130 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····std::shared_ptr<value_type>·ptr,·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·size)·:</div> | ||
131 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········m_buf{std::move(ptr)},·m_size{size}</div> | ||
127 | <div·class="line"><a·id="l0009 | 132 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{}</div> |
128 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-pre.hxx"</span></div> | ||
129 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·{tx,·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>,·q};</div> | ||
130 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-post.hxx"</span></div> | ||
131 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div> | ||
132 | </div> | 133 | </div> |
134 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
135 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">···99</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}</div> | ||
136 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">··101</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}</div> | ||
137 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">··102</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()·==·0;·}</div> | ||
133 | <div·class="line"><a·id="l0010 | 138 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> |
139 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">··104</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}</div> | ||
140 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">··105</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div> | ||
141 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">··106</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()·+·m_size;·}</div> | ||
142 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">··107</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div> | ||
143 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
Max diff block lines reached; 70075/104458 bytes (67.08%) of diff not shown. |
Offset 1, 338 lines modified | Offset 1, 352 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | stream_from.hxx | ||
3 | 2 | binarystring.hxx | |
3 | 1/*·Deprecated·representation·for·raw,·binary·data. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_STREAM_FROM | ||
16 | 14#define·PQXX_H_STREAM_FROM | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_BINARYSTRING |
14 | 12#define·PQXX_H_BINARYSTRING | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
21 | 19 | ||
22 | 19 | 17 | |
20 | 18#include·<memory> | ||
23 | 21 | 19#include·<string> | |
24 | 22 | ||
25 | 2 | 22 | 20#include·<string_view> |
23 | 21 | ||
26 | 2 | 24 | 22#include·"pqxx/result.hxx" |
27 | 2 | 25 | 23#include·"pqxx/strconv.hxx" |
28 | 26#include·"pqxx/internal/encoding_group.hxx" | ||
29 | 27#include·"pqxx/internal/stream_iterator.hxx" | ||
30 | 28#include·"pqxx/separated_list.hxx" | ||
31 | 2 | 26 | 24 |
27 | 25namespace·_\x8p_\x8q_\x8x_\x8x | ||
28 | 26{ | ||
29 | 27class·binarystring; | ||
30 | 28template<>·struct·string_traits<binarystring>; | ||
31 | 29 | ||
32 | 30 | 32 | 30 |
33 | 32 | ||
34 | _\x85_\x88class·PQXX_LIBEXPORT·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g | ||
35 | 59{ | ||
33 | 31 | ||
34 | 32namespace·_\x8p_\x8q_\x8x_\x8x | ||
35 | 33{ | ||
36 | 34class·transaction_base; | ||
37 | 35 | ||
38 | 36 | ||
39 | 38 | ||
40 | _\x84_\x80constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e; | ||
41 | 42 | ||
42 | _\x84_\x84constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y; | ||
43 | 45 | ||
44 | 46 | ||
45 | 48 | ||
46 | _\x87_\x88class·PQXX_LIBEXPORT·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
47 | 79{ | ||
48 | 36 | 60public: | |
49 | _\x88_\x81·using·_\x8r_\x8a_\x8w_\x8__\x8l_\x8i_\x8n_\x8e·= | ||
50 | 82·std::pair<std::unique_ptr<char,·void·(*)(void·const·*)>,·std::size_t>; | ||
51 | 83 | ||
52 | _\x88_\x84·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&&)·=·delete; | ||
53 | _\x88_\x85·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&&)·=·delete; | ||
54 | 86 | ||
55 | 88 | ||
56 | 97·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m | ||
57 | _\x89_\x88·_\x8q_\x8u_\x8e_\x8r_\x8y(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·q) | ||
58 | 99·{ | ||
59 | 100#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
60 | 101·return·{tx,·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y,·q}; | ||
61 | 37 | _.6_.1·using·_.c_.h_.a_.r_.__.t_.y_.p_.e·=·unsigned·char; | |
38 | _\x86_\x82·using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::char_traits<char_type>::char_type; | ||
39 | _\x86_\x83·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::size_t; | ||
40 | _\x86_\x84·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·long; | ||
41 | _\x86_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·&; | ||
42 | _\x86_\x86·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·*; | ||
43 | _\x86_\x87·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r; | ||
44 | _\x86_\x88·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·std::reverse_iterator<const_iterator>; | ||
45 | 69 | ||
46 | _\x87_\x80·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
47 | 71·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&)·=·default; | ||
48 | 72 | ||
49 | 74 | ||
50 | 78·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
51 | 79·_\x8f_\x8i_\x8e_\x8l_\x8d·const·&); | ||
52 | 80 | ||
53 | 82 | ||
54 | 85·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
55 | 86·std::string_view); | ||
56 | 87 | ||
57 | 89·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
58 | 90·void·const·*,·std::size_t); | ||
59 | 91 | ||
60 | _\x89_\x83·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
61 | 94·std::shared_ptr<value_type>·ptr,·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size)·: | ||
62 | 95·m_buf{std::move(ptr)},·m_size{size} | ||
63 | 96·{} | ||
64 | 97 | ||
65 | _\x89_\x89·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_size;·} | ||
66 | _\x81_\x80_\x81·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h()·const·noexcept·{·return·size();·} | ||
67 | _\x81_\x80_\x82·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·size()·==·0;·} | ||
68 | 103 | ||
69 | _\x81_\x80_\x84·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·data();·} | ||
70 | _\x81_\x80_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·begin();·} | ||
71 | _\x81_\x80_\x86·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8e_\x8n_\x8d()·const·noexcept·{·return·data()·+·m_size; | ||
72 | } | ||
73 | _\x81_\x80_\x87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·end();·} | ||
74 | 108 | ||
75 | _\x81_\x80_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·*begin();·} | ||
76 | _\x81_\x81_\x80·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8b_\x8a_\x8c_\x8k()·const·noexcept | ||
77 | 111·{ | ||
78 | 112·return·*(data()·+·m_size·-·1); | ||
62 | 1 | 79 | 113·} |
63 | 104 | ||
64 | 115 | ||
65 | 117 | ||
66 | 133·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m | ||
67 | 134·raw_table( | ||
68 | 135·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·path, | ||
69 | 136·std::string_view·columns·=·""sv); | ||
70 | 1 | 80 | 114 |
81 | _\x81_\x81_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const | ||
82 | 116·{ | ||
83 | 117·return·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r{end()}; | ||
Max diff block lines reached; 24402/31573 bytes (77.29%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·pipeline.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 233 lines modified | Offset 60, 199 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">pipeline.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::pipeline·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*···Throughput-optimized·mechanism·for·executing·queries.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·< | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<limits></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<map></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<string></span></div> | ||
90 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#if·defined(PQXX_HAVE_PATH)</span></div> | ||
92 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/transaction_base.hxx"</span></div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#endif</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>)</span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··include·<ranges></span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div> | ||
98 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_SPAN)·&&·__has_include(<span>)</span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·<span></span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
107 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·TODO:·libpq·14·introduced·a·similar·"pipeline·mode."··Can·we·use·that?</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
108 | <div·class="foldopen"·id="foldopen0005 | 101 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> |
109 | <div·class="line"><a·id="l0005 | 102 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01366.html">···50</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01366.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_[·...·truncated·by·diffoscope;·len:·43,·SHA:·b8d30e5cea6ff059e0bfdacc92b74d57e933b788c3b143cb95ac13ab28ee8a79·...·]</a></div> |
110 | <div·class="line"><a·id="l0005 | 103 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> |
111 | <div·class="line"><a·id="l0005 | 104 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> |
105 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·=·long;</div> | ||
112 | <div·class="line"><a·id="l0005 | 106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
113 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">···56</a></span>··<a·class="code·hl_function"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">pipeline</a>(<a·class="code·hl_class"·href="a[·...·truncated·by·diffoscope;·len:·104,·SHA:·e5231c25e878eefd7d4e45ccd3ba367d04e0ce106b423ee542e9111a569d5193·...·];</div> |
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">···57</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&<a·class="code·hl_function"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">···58</a></span>··<a·class="code·hl_function"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">···59</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&<a·class="code·hl_function"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
115 | <div·class=" | 113 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t)·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname}</div> | ||
116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> |
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··[[nodiscard]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01106.html">blob</a>·open_r(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
118 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·Open·blob·for·writing.··Any·attempt·to·read·from·it·will·fail.</span></div> | ||
119 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01106.html">blob</a>·open_w(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&,·oid);</div> | ||
120 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·Open·blob·for·reading·and/or·writing.</span></div> | ||
121 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····init();</div> |
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div> | ||
118 | </div> | ||
119 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">···68</a></span>··<a·class="code·hl_function"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·tname)·:</div> | ||
121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname,·tname}</div> | ||
122 | <div·class="line"><a·id="l0007 | 122 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> |
123 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····init();</div> | ||
124 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div> | ||
125 | </div> | ||
123 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
124 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01366.html">~pipeline</a>()·noexcept;</div> |
125 | <div·class="line"><a·id="l0007 | 128 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
126 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<a·class="code·hl_class"·href="a01106.html">blob</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·&&);</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<a·class="code·hl_class"·href="a01106.html">blob</a>·&operator=(<a·class="code·hl_class"·href="a01106.html">blob</a>·&&);</div> | ||
128 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··query_id·insert(std::string_view)·&;</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01106.html#a3741a6a2f1e5ee885b791cf6233d9efc">···83</a></span>··<a·class="code·hl_function"·href="a01106.html#a3741a6a2f1e5ee885b791cf6233d9efc">blob</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01106.html#ae79a34157fab7b86690d4df7153db127">···84</a></span>··<a·class="code·hl_class"·href="a01106.html">blob</a>·&<a·class="code·hl_function"·href="a01106.html#ae79a34157fab7b86690d4df7153db127">operator=</a>(<a·class="code·hl_class"·href="a01106.html">blob</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<a·class="code·hl_class"·href="a01106.html">~blob</a>();</div> | ||
132 | <div·class="line"><a·id="l0008 | 131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
133 | <div·class="line"><a·id="l0008 | 132 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
134 | <div·class="line"><a·id="l0009 | 133 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordtype">void</span>·complete();</div> |
135 | <div·class="line"><a·id="l0009 | 134 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
136 | <div·class="line"><a·id="l0009 | 135 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
137 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·· | 136 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keywordtype">void</span>·flush();</div> |
138 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | 137 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> |
139 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#if·defined(PQXX_HAVE_SPAN)</span></div> | ||
140 | <div·class="line"><a·id="l0010 | 138 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
139 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordtype">void</span>·cancel();</div> | ||
141 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·extent·=·std::dynamic_extent></div> | ||
142 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··std::span<std::byte>·read(std::span<std::byte,·extent>·buf)</div> | ||
143 | <div·class="line"><a·id="l0011 | 140 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> |
141 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·is_finished(query_id)·const;</div> | ||
144 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·buf.subspan(0,·raw_read(std::data(buf),·std::size(buf)));</div> | ||
145 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> | ||
146 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_SPAN</span></div> | ||
147 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 142 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
148 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·defined(PQXX_HAVE_SPAN)</span></div> | ||
Max diff block lines reached; 34923/58157 bytes (60.05%) of diff not shown. |
Offset 1, 229 lines modified | Offset 1, 202 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | blob.hxx | ||
3 | 2 | pipeline.hxx | |
3 | 1/*·Definition·of·the·pqxx::pipeline·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·Throughput-optimized·mechanism·for·executing·queries. |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
10 | 8·* | 10 | 8·* |
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
13 | 11·*·mistake,·or·contact·the·author. | 13 | 11·*·mistake,·or·contact·the·author. |
14 | 12·*/ | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_ | 15 | 13#ifndef·PQXX_H_PIPELINE |
16 | 14#define·PQXX_H_ | 16 | 14#define·PQXX_H_PIPELINE |
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 18#endif | 20 | 18#endif |
21 | 19 | 21 | 19 |
22 | 20#include·<limits> | ||
23 | 21#include·<map> | ||
22 | 2 | 24 | 22#include·<string> |
25 | 23 | ||
26 | 24#include·"pqxx/transaction_base.hxx" | ||
23 | 21 | ||
24 | 22#if·defined(PQXX_HAVE_PATH) | ||
25 | 23#·include·<filesystem> | ||
26 | 24#endif | ||
27 | 25 | 27 | 25 |
28 | 26 | ||
28 | 26#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>) | ||
29 | 27#·include·<ranges> | ||
30 | 28#endif | ||
31 | 29 | ||
32 | 30#if·defined(PQXX_HAVE_SPAN)·&&·__has_include(<span>) | ||
33 | 31#·include·<span> | ||
34 | 32#endif | ||
35 | 33 | ||
36 | 34#include·"pqxx/dbtransaction.hxx" | ||
37 | 35 | ||
38 | 36 | ||
39 | 29 | 27namespace·_\x8p_\x8q_\x8x_\x8x | |
40 | 38{ | ||
41 | _\x85_\x82class·PQXX_LIBEXPORT·_\x8b_\x8l_\x8o_\x8b | ||
42 | 30 | 28{ | |
31 | 29//·TODO:·libpq·14·introduced·a·similar·"pipeline·mode."·Can·we·use·that? | ||
32 | 30 | ||
33 | 32 | ||
34 | _\x85_\x80class·PQXX_LIBEXPORT·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
35 | 51{ | ||
43 | 5 | 36 | 52public: |
44 | 56 | ||
45 | 37 | _.5_.4·using·_.q_.u_.e_.r_.y_.__.i_.d·=·long; | |
38 | 55 | ||
39 | _\x85_\x86·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; | ||
40 | _\x85_\x87·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; | ||
41 | _\x85_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; | ||
42 | _\x85_\x89·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; | ||
43 | 60 | ||
46 | 61 | 44 | 61 |
47 | 63·static·void·remove(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
48 | 64 | ||
49 | 66·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_r(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
50 | 67·//·Open·blob·for·writing.·Any·attempt·to·read·from·it·will·fail. | ||
51 | 68·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_w(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
52 | 69·//·Open·blob·for·reading·and/or·writing. | ||
53 | 70·[[nodiscard]]·static·_\x8b_\x8l_\x8o_\x8b·open_rw(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&,·oid); | ||
54 | 45 | _.6_.3·explicit·_.p_.i_.p_.e_.l_.i_.n_.e(_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e·&t)·:·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s{t,·s_classname} | |
46 | 64·{ | ||
47 | 65·init(); | ||
48 | 66·} | ||
49 | _\x86_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·tname)·: | ||
50 | 69·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname,·tname} | ||
51 | 70·{ | ||
52 | 71·init(); | ||
53 | 72·} | ||
55 | 73 | 54 | 73 |
55 | 75·_\x8~_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e()·noexcept; | ||
56 | 76 | ||
57 | 78 | ||
58 | 84·query_id·insert(std::string_view)·&; | ||
59 | 85 | ||
60 | 87 | ||
61 | 93·void·complete(); | ||
62 | 94 | ||
63 | 96 | ||
64 | 105·void·flush(); | ||
56 | _\x87_\x86·_\x8b_\x8l_\x8o_\x8b()·=·default; | ||
57 | 77 | ||
58 | 79·_\x8b_\x8l_\x8o_\x8b(_\x8b_\x8l_\x8o_\x8b·&&); | ||
59 | 81·_\x8b_\x8l_\x8o_\x8b·&operator=(_\x8b_\x8l_\x8o_\x8b·&&); | ||
60 | 82 | ||
61 | _\x88_\x83·_\x8b_\x8l_\x8o_\x8b(_\x8b_\x8l_\x8o_\x8b·const·&)·=·delete; | ||
62 | _\x88_\x84·_\x8b_\x8l_\x8o_\x8b·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8b_\x8l_\x8o_\x8b·const·&)·=·delete; | ||
63 | 85·_\x8~_\x8b_\x8l_\x8o_\x8b(); | ||
64 | 86 | ||
65 | 88 | ||
66 | _\x89_\x84·static·constexpr·std::size_t·chunk_limit·=·0x7fffffff; | ||
67 | 95 | ||
68 | 97 | ||
69 | 105·std::size_t·read(std::basic_string<std::byte>·&buf,·std::size_t·size); | ||
70 | 106 | 65 | 106 |
66 | 108 | ||
67 | 116·void·cancel(); | ||
68 | 117 | ||
69 | 119·[[nodiscard]]·bool·is_finished(query_id)·const; | ||
71 | 107#if·defined(PQXX_HAVE_SPAN) | ||
72 | 109 | ||
73 | 114·template<std::size_t·extent·=·std::dynamic_extent> | ||
74 | 115·std::span<std::byte>·read(std::span<std::byte,·extent>·buf) | ||
75 | 116·{ | ||
76 | 117·return·buf.subspan(0,·raw_read(std::data(buf),·std::size(buf))); | ||
77 | 118·} | ||
78 | 119#endif·//·PQXX_HAVE_SPAN | ||
79 | 120 | 70 | 120 |
71 | 122 | ||
72 | _\x81_\x82_\x88·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·retrieve(_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·qid) | ||
80 | 121#if·defined(PQXX_HAVE_CONCEPTS)·&&·defined(PQXX_HAVE_SPAN) | ||
81 | 123 | ||
82 | 128·template<binary·DATA>·std::span<std::byte>·read(DATA·&buf) | ||
83 | 129·{ | 73 | 129·{ |
84 | 130·return· | 74 | 130·return·retrieve(m_queries.find(qid)).second; |
85 | 131·} | 75 | 131·} |
86 | 132 | 76 | 132 |
Max diff block lines reached; 8888/13320 bytes (66.73%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·range.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 24 lines modified | Offset 60, 631 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">range.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_RANGE</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_RANGE</span></div> | ||
71 | <div·class="line"><a·id="l0000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
72 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<variant></span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div> | ||
85 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
86 | <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};"> | ||
87 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01374.html">···23</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01374.html">no_bound</a></div> | ||
88 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
89 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
90 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}"> | ||
91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">···26</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> | ||
92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> | ||
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··}</div> | ||
95 | </div> | ||
96 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
97 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">···31</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div> | ||
100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}</div> | ||
102 | </div> | ||
103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> | ||
104 | </div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
107 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
108 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> | ||
109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01378.html">···42</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01378.html">inclusive_bound</a></div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.)</span></div> | ||
112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div> | ||
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··TYPE·m_value;</div> | ||
114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">···49</a></span>··<a·class="code·hl_function"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div> | ||
117 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> | ||
118 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">···50</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&value)·:·m_value{value}</div> | ||
119 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> | ||
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">if</span>·(is_null(value))</div> | ||
121 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">"Got·null·value·as·an·inclusive·range·bound."</span>};</div> | ||
122 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> | ||
123 | </div> | ||
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
125 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">···56</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">get</a>()·const·&noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div> | ||
126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
127 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">···59</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&value)·<span·class="keyword">const</span></div> | ||
129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·<·m_value))</div> | ||
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·not(value·<·m_value);</div> | ||
132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div> | ||
133 | </div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
135 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">···66</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&value)·<span·class="keyword">const</span></div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·<·m_value))</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·not(m_value·<·value);</div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
141 | </div> | ||
142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>};</div> | ||
143 | </div> | ||
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
146 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
147 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};"> | ||
148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01382.html">···78</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01382.html">exclusive_bound</a></div> | ||
149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> | ||
150 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.)</span></div> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··TYPE·m_value;</div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div> | ||
155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">···85</a></span>··<a·class="code·hl_function"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">exclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div> | ||
156 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
157 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">···86</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&value)·:·m_value{value}</div> | ||
158 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> | ||
159 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">if</span>·(is_null(value))</div> | ||
160 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">"Got·null·value·as·an·exclusive·range·bound."</span>};</div> | ||
161 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··}</div> | ||
162 | </div> | ||
163 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
164 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01382.html#a48eb7938ae1fa47f568f02e4753bb4f2">···92</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01382.html#a48eb7938ae1fa47f568f02e4753bb4f2">get</a>()·const·&noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div> | ||
165 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
166 | <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}"> | ||
167 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01382.html#a9dc981842fd802771fa55cd91088b3ab">···95</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01382.html#a9dc981842fd802771fa55cd91088b3ab">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&value)·<span·class="keyword">const</span></div> | ||
168 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(m_value·<·value))</div> | ||
169 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> | ||
170 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·m_value·<·value;</div> | ||
Max diff block lines reached; 853/113792 bytes (0.75%) of diff not shown. |
Offset 1, 9 lines modified | Offset 1, 686 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | prepared_statement.hxx | ||
3 | 1 | ||
4 | 2 | ||
5 | 2 | range.hxx | |
3 | 1#ifndef·PQXX_H_RANGE | ||
4 | 2#define·PQXX_H_RANGE | ||
5 | 3 | ||
6 | 4#if·!defined(PQXX_HEADER_PRE) | ||
7 | 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
8 | 6#endif | ||
9 | 7 | ||
10 | 8#include·<utility> | ||
11 | 9#include·<variant> | ||
12 | 10 | ||
13 | 11#include·"pqxx/internal/array-composite.hxx" | ||
14 | 12#include·"pqxx/internal/concat.hxx" | ||
15 | 13 | ||
16 | 14namespace·_\x8p_\x8q_\x8x_\x8x | ||
17 | 15{ | ||
18 | 17 | ||
19 | _\x82_\x83struct·_\x8n_\x8o_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
20 | 24{ | ||
21 | 25·template<typename·TYPE> | ||
22 | _\x82_\x86·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept | ||
23 | 27·{ | ||
24 | 28·return·true; | ||
25 | 29·} | ||
26 | 30·template<typename·TYPE> | ||
27 | _\x83_\x81·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept | ||
28 | 32·{ | ||
29 | 33·return·true; | ||
30 | 34·} | ||
31 | 35}; | ||
32 | 36 | ||
33 | 37 | ||
34 | 39 | ||
35 | _\x84_\x82template<typename·TYPE>·class·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
36 | 43{ | ||
37 | 44·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) | ||
38 | 45private: | ||
39 | 46·TYPE·m_value; | ||
40 | 47 | ||
41 | 48public: | ||
42 | _\x84_\x89·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; | ||
43 | _\x85_\x80·constexpr·explicit·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} | ||
44 | 51·{ | ||
45 | 52·if·(is_null(value)) | ||
46 | 53·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·inclusive·range·bound."}; | ||
47 | 54·} | ||
48 | 55 | ||
49 | _\x85_\x86·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; | ||
50 | } | ||
51 | 57 | ||
52 | _\x85_\x89·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
53 | 60·noexcept(noexcept(value·<·m_value)) | ||
54 | 61·{ | ||
55 | 62·return·not(value·<·m_value); | ||
56 | 63·} | ||
57 | 64 | ||
58 | _\x86_\x86·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
59 | 67·noexcept(noexcept(value·<·m_value)) | ||
60 | 68·{ | ||
61 | 69·return·not(m_value·<·value); | ||
62 | 70·} | ||
63 | 71}; | ||
64 | 72 | ||
65 | 73 | ||
66 | 75 | ||
67 | _\x87_\x88template<typename·TYPE>·class·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
68 | 79{ | ||
69 | 80·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) | ||
70 | 81private: | ||
71 | 82·TYPE·m_value; | ||
72 | 83 | ||
73 | 84public: | ||
74 | _\x88_\x85·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; | ||
75 | _\x88_\x86·constexpr·explicit·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} | ||
76 | 87·{ | ||
77 | 88·if·(is_null(value)) | ||
78 | 89·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·exclusive·range·bound."}; | ||
79 | 90·} | ||
80 | 91 | ||
81 | _\x89_\x82·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; | ||
82 | } | ||
83 | 93 | ||
84 | _\x89_\x85·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
85 | 96·noexcept(noexcept(m_value·<·value)) | ||
86 | 97·{ | ||
87 | 98·return·m_value·<·value; | ||
88 | 99·} | ||
89 | 100 | ||
90 | _\x81_\x80_\x82·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
91 | 103·noexcept(noexcept(value·<·m_value)) | ||
92 | 104·{ | ||
93 | 105·return·value·<·m_value; | ||
94 | 106·} | ||
95 | 107}; | ||
96 | 108 | ||
97 | 109 | ||
98 | 111 | ||
99 | _\x81_\x81_\x84template<typename·TYPE>·class·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
100 | 115{ | ||
101 | 116·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see | ||
102 | #665.) | ||
103 | 117private: | ||
104 | 118·std::variant<no_bound,·inclusive_bound<TYPE>,·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>> | ||
105 | m_bound; | ||
106 | 119 | ||
107 | 120public: | ||
108 | _\x81_\x82_\x81·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; | ||
109 | _\x81_\x82_\x82·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8n_\x8o_\x8__\x8b_\x8o_\x8u_\x8n_\x8d)·noexcept·:·m_bound{}·{} | ||
110 | 123 | ||
111 | _\x81_\x82_\x84·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>·const·&bound)·noexcept( | ||
112 | 125·noexcept(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{bound}))·: | ||
113 | 126·m_bound{bound} | ||
114 | 127·{} | ||
115 | 128 | ||
116 | _\x81_\x82_\x89·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>·const·&bound)·noexcept( | ||
117 | 130·noexcept(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d{bound}))·: | ||
118 | 131·m_bound{bound} | ||
119 | 132·{} | ||
120 | 133 | ||
121 | _\x81_\x83_\x84·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d·const·&)·noexcept( | ||
122 | 135·noexcept(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{ | ||
123 | 136·std::declval<inclusive_bound<TYPE>·const·&>()}) | ||
124 | 137·and·noexcept(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{ | ||
Max diff block lines reached; 182/30813 bytes (0.59%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·composite.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 112 lines modified | Offset 60, 159 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">composite.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class=" | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_COMPOSITE</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="co | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_COMPOSITE</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span> | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="co | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class=" | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class=" | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
80 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> |
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div> | ||
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 83 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
84 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">typename</span>...·T></div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
93 | <div·class="foldopen"·id="foldopen000 | 85 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="}"> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01406.html">···25</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a></div> | ||
95 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">···35</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686[·...·truncated·by·diffoscope;·len:·47,·SHA:·767eea30a686e5a7bd7cda38f8cdae477fa0e1b311751b28188c7174ddd230b3·...·]</div> |
87 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··pqxx::internal::encoding_group·enc,·std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&...fields)</div> | ||
96 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
89 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(fields)·>·0);</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01406.html#a533c620d4ebc725446866c9370620b04">···29</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01406.html#a533c620d4ebc725446866c9370620b04">~basic_robusttransaction</a>()·<span·class="keyword">override</span>·=·0;</div> | ||
99 | <div·class="line"><a·id="l0003 | 90 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
91 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·scan{<a·class="code·hl_function"·href="a00251.html#a0e21b3091e1c76c9cbd604e0cff6f17a">pqxx::internal::get_glyph_scanner</a>(enc)};</div> | ||
92 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·data{std::data(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
93 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·size{std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
100 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordflow">if</span>·(size·==·0)</div> |
95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{<span·class="stringliteral">"Cannot·parse·composite·value·from·empty·string."</span>};</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(</div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> | ||
104 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">private</span>:</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::string·m_conn_string;</div> | ||
109 | <div·class="line"><a·id="l0004 | 97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··std::size_t·here{0},·next{scan(data,·size,·here)};</div> |
98 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keywordflow">if</span>·(next·!=·1·or·data[here]·!=·<span·class="charliteral">'('</span>)</div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
112 | <div·class="line"><a·id="l0004 | 99 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{</div> |
100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······internal::concat(<span·class="stringliteral">"Invalid·composite·value·string:·"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·@warning·This·function·will·become·`final`.</span></div> | ||
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div> | ||
116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div> | ||
117 | </div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 101 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 102 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··here·=·next;</div> |
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 103 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
104 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·TODO:·Reuse·parse_composite_field·specialisation·across·calls.</span></div> | ||
105 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·num_fields{<span·class="keyword">sizeof</span>...(fields)};</div> | ||
106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::size_t·index{0};</div> | ||
107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··(pqxx::internal::specialize_parse_composite_field<T>(enc)(</div> | ||
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····index,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·here,·fields,·num_fields·-·1),</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···...);</div> | ||
110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">if</span>·(here·!=·std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>))</div> | ||
111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> | ||
112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="stringliteral">"Composite·value·did·not·end·at·the·closing·parenthesis:·'"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,</div> | ||
113 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="stringliteral">"'."</span>)};</div> | ||
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[here·-·1]·!=·<span·class="charliteral">')'</span>)</div> | ||
115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="stringliteral">"Composive·value·did·not·end·in·parenthesis:·'"</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="stringliteral">"'"</span>)};</div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
118 | </div> | ||
123 | <div·class="line"><a·id="l0006 | 119 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
121 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
124 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span><<span·class="keyword">typename</span>...·T></div> |
125 | <div·class=" | 123 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> |
124 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00250.html#a0cd702e0c9b6172bf07f0253b238506b">···76</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&...fields)</div> | ||
125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div> | ||
126 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(pqxx::internal::encoding_group::MONOBYTE,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·fields...);</div> | ||
127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> | ||
128 | </div> | ||
129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
130 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
131 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
132 | <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}"> | ||
133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00251.html">···83</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
126 | <div·class="line"><a·id="l0008 | 134 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div> |
135 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">···85</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">char</span>·<a·class="code·hl_variable"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">empty_composite_str</a>[]{<span·class="stringliteral">"()"</span>};</div> | ||
127 | <div·class="line"><a·id="l0008 | 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> |
137 | </div> | ||
128 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··robusttransaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> | ||
129 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div> | ||
130 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd<ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>>,</div> | ||
Max diff block lines reached; 11848/41357 bytes (28.65%) of diff not shown. |
Offset 1, 118 lines modified | Offset 1, 155 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | composite.hxx | ||
3 | 1#ifndef·PQXX_H_COMPOSITE | ||
4 | 2#define·PQXX_H_COMPOSITE | ||
5 | 3 | ||
6 | 4#if·!defined(PQXX_HEADER_PRE) | ||
7 | 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
8 | 6#endif | ||
9 | 7 | ||
10 | 8#include·"pqxx/internal/array-composite.hxx" | ||
11 | 9#include·"pqxx/internal/concat.hxx" | ||
12 | 10#include·"pqxx/util.hxx" | ||
13 | 11 | ||
14 | 12namespace·_\x8p_\x8q_\x8x_\x8x | ||
15 | 13{ | ||
2 | robusttransaction.hxx | ||
3 | 1/*·Definition·of·the·pqxx::robusttransaction·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_ROBUSTTRANSACTION | ||
16 | 14#define·PQXX_H_ROBUSTTRANSACTION | ||
17 | 15 | 16 | 15 |
17 | 34template<typename...·T> | ||
18 | _\x83_\x85inline·void·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e( | ||
19 | 36·pqxx::internal::encoding_group·enc,·std::string_view·_\x8t_\x8e_\x8x_\x8t,·T·&...fields) | ||
20 | 37{ | ||
21 | 38·static_assert(sizeof...(fields)·>·0); | ||
22 | 39 | ||
23 | 40·auto·const·scan{_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h_\x8__\x8s_\x8c_\x8a_\x8n_\x8n_\x8e_\x8r(enc)}; | ||
24 | 41·auto·const·data{std::data(_\x8t_\x8e_\x8x_\x8t)}; | ||
25 | 42·auto·const·size{std::size(_\x8t_\x8e_\x8x_\x8t)}; | ||
26 | 43·if·(size·==·0) | ||
27 | 44·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Cannot·parse·composite·value·from·empty·string."}; | ||
28 | 45 | ||
29 | 46·std::size_t·here{0},·next{scan(data,·size,·here)}; | ||
30 | 47·if·(next·!=·1·or·data[here]·!=·'(') | ||
31 | 48·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{ | ||
32 | 49·internal::concat("Invalid·composite·value·string:·",·_\x8t_\x8e_\x8x_\x8t)}; | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·"pqxx/dbtransaction.hxx" | ||
23 | 21 | ||
24 | 22namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
25 | 23{ | ||
26 | _\x82_\x85class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
27 | 26·:·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
28 | 27{ | ||
29 | 28public: | ||
30 | _\x82_\x89·virtual·_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·override·=·0; | ||
31 | 30 | ||
32 | 31protected: | ||
33 | 32·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
34 | 33·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string_view·tname); | ||
35 | 34·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8r_\x8o_\x8b_\x8u_\x8s_\x8t_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
36 | 35 | ||
37 | 36private: | ||
38 | 37·using·IDType·=·unsigned·long; | ||
39 | 38 | ||
40 | 39·std::string·m_conn_string; | ||
41 | 40·std::string·m_xid; | ||
42 | 41·int·m_backendpid·=·-1; | ||
43 | 42 | ||
44 | 43·void·init(_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
45 | 44 | ||
46 | 45·//·@warning·This·function·will·become·`final`. | ||
47 | 46·virtual·void·do_commit()·override; | ||
48 | 47}; | ||
49 | 48}·//·namespace·pqxx::internal | ||
50 | 49 | ||
51 | 50 | 33 | 50 |
34 | 51·here·=·next; | ||
35 | 52 | ||
36 | 53·//·TODO:·Reuse·parse_composite_field·specialisation·across·calls. | ||
37 | 54·constexpr·auto·num_fields{sizeof...(fields)}; | ||
38 | 55·std::size_t·index{0}; | ||
39 | 56·(pqxx::internal::specialize_parse_composite_field<T>(enc)( | ||
40 | 57·index,·_\x8t_\x8e_\x8x_\x8t,·here,·fields,·num_fields·-·1), | ||
41 | 58·...); | ||
42 | 59·if·(here·!=·std::size(_\x8t_\x8e_\x8x_\x8t)) | ||
43 | 60·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( | ||
44 | 61·"Composite·value·did·not·end·at·the·closing·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t, | ||
45 | 62·"'.")}; | ||
46 | 63·if·(_\x8t_\x8e_\x8x_\x8t[here·-·1]·!=·')') | ||
47 | 64·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( | ||
48 | 65·"Composive·value·did·not·end·in·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t,·"'")}; | ||
49 | 66} | ||
50 | 67 | ||
51 | 68 | ||
52 | 70 | ||
53 | 75template<typename...·T> | ||
54 | _\x87_\x86inline·void·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(std::string_view·_\x8t_\x8e_\x8x_\x8t,·T·&...fields) | ||
55 | 77{ | ||
56 | 78·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(pqxx::internal::encoding_group::MONOBYTE,·_\x8t_\x8e_\x8x_\x8t,·fields...); | ||
57 | 79} | ||
58 | 80}·//·namespace·pqxx | ||
59 | 81 | ||
60 | 82 | ||
61 | _\x88_\x83namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
62 | 84{ | ||
63 | _\x88_\x85constexpr·char·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8t_\x8r[]{"()"}; | ||
64 | 86}·//·namespace·pqxx::internal | ||
65 | 87 | ||
66 | 88 | ||
52 | 67 | 89namespace·_\x8p_\x8q_\x8x_\x8x | |
68 | 90{ | ||
69 | 92 | ||
70 | 94template<typename...·T> | ||
71 | 95[[nodiscard]]·inline·std::size_t | ||
72 | _\x89_\x86_\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r(T·const·&...fields)·noexcept | ||
73 | 97{ | ||
74 | 98·constexpr·auto·num{sizeof...(fields)}; | ||
75 | 99 | ||
76 | 100·//·Size·for·a·multi-field·composite·includes·room·for... | ||
77 | 101·//·+·opening·parenthesis | ||
78 | 102·//·+·field·budgets | ||
79 | 103·//·+·separating·comma·per·field | ||
Max diff block lines reached; 4740/10866 bytes (43.62%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·util.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 82 lines modified | Offset 60, 550 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">util.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Various·utility·definitions·for·libpqxx.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_UTIL</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_UTIL</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<cassert></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<cctype></span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<cerrno></span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<cstdio></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<cstring></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<functional></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iterator></span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<limits></span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<memory></span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<stdexcept></span></div> | ||
89 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<string></span></div> |
90 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<string_view></span></div> |
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<typeinfo></span></div> | ||
91 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<utility></span></div> |
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<vector></span></div> | ||
92 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·"pqxx/version.hxx"</span></div> | ||
93 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
94 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
95 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{}</div> |
111 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
112 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·<pqxx/internal/libpq-forward.hxx></span></div> | ||
113 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
114 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
115 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·C++23:·Retire·wrapper.</span></div> | ||
116 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#if·pqxx_have_unreachable</span></div> | ||
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·std::unreachable()</span></div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#else</span></div> | ||
119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·assert(false)</span></div> | ||
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> | ||
121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
123 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
96 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> |
125 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
126 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> | ||
127 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT></div> | ||
97 | <div·class="foldopen"·id="foldopen000 | 128 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
129 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">···63</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">cmp_less</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div> | ||
98 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01354.html">···56</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01354.html">notification_receiver</a></div> | ||
99 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
100 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> | ||
101 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{</div> |
131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> | ||
132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·std::cmp_less(lhs,·rhs);</div> | ||
102 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·channel);</div> | ||
103 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">···66</a></span>··<a·class="code·hl_function"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
104 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01354.html#afcf701e264edd9a14513765f542b446d">···68</a></span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·&<a·class="code·hl_function"·href="a01354.html#afcf701e264edd9a14513765f542b446d">operator=</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
105 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01354.html">~notification_receiver</a>();</div> | ||
106 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#else</span></div> |
107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">···73</a></span>··[[nodiscard]]·std::string·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>()·const·&·{·<span·class="keywordflow">return</span>·m_channel;·}</div> | ||
108 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive</span></div> |
135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·warning·when·we·compare·the·values·directly.··It·considers·that·a</span></div> | ||
109 | <div·class="line"><a·id="l0007 | 136 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="comment">//·"self-comparison."</span></div> |
110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
111 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">···84</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">operator()</a>(std::string·<span·class="keyword">const</span>·&payload,·<span·class="keywordtype">int</span>·backend_pid)·=·0;</div> | ||
112 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·left_signed{std::is_signed_v<LEFT>};</div> |
138 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(left_signed·==·std::is_signed_v<RIGHT>)</div> | ||
139 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·lhs·<·rhs;</div> | ||
140 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(std::is_signed_v<LEFT>)</div> | ||
141 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·(lhs·<=·0)·?·true·:·(std::make_unsigned_t<LEFT>(lhs)·<·rhs);</div> | ||
113 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">else</span></div> |
143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·(rhs·<=·0)·?·false·:·(lhs·<·std::make_unsigned_t<RIGHT>(rhs));</div> | ||
114 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">···87</a></span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&<a·class="code·hl_function"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">conn</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_conn;·}</div> | ||
115 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
116 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> |
117 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&m_conn;</div> | ||
118 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·m_channel;</div> | ||
119 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> |
120 | </div> | 146 | </div> |
147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
148 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> | ||
150 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT></div> | ||
151 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> | ||
152 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">···85</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">cmp_greater</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div> | ||
153 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>{</div> | ||
154 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> | ||
Max diff block lines reached; 17071/102093 bytes (16.72%) of diff not shown. |
Offset 1, 81 lines modified | Offset 1, 614 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | notification.hxx | ||
3 | 2 | util.hxx | |
3 | 1/*·Various·utility·definitions·for·libpqxx. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_NOTIFICATION | ||
16 | 14#define·PQXX_H_NOTIFICATION | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_UTIL |
14 | 12#define·PQXX_H_UTIL | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
21 | 1 | 19 | 17 |
20 | 18#include·<cassert> | ||
21 | 19#include·<cctype> | ||
22 | 20#include·<cerrno> | ||
23 | 21#include·<cstdio> | ||
24 | 22#include·<cstring> | ||
25 | 23#include·<functional> | ||
26 | 24#include·<iterator> | ||
27 | 25#include·<limits> | ||
28 | 26#include·<memory> | ||
29 | 27#include·<stdexcept> | ||
22 | 2 | 30 | 28#include·<string> |
23 | 2 | 31 | 29#include·<string_view> |
32 | 30#include·<type_traits> | ||
33 | 31#include·<typeinfo> | ||
34 | 32#include·<utility> | ||
35 | 33#include·<vector> | ||
36 | 34 | ||
37 | 35#include·"pqxx/except.hxx" | ||
24 | 38 | 36#include·"pqxx/types.hxx" | |
25 | 23 | ||
26 | 39 | 37#include·"pqxx/version.hxx" | |
40 | 38 | ||
41 | 39 | ||
27 | 42 | 41namespace·_\x8p_\x8q_\x8x_\x8x | |
28 | 26{ | ||
29 | 28 | ||
30 | _\x85_\x86class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r | ||
31 | 57{ | ||
32 | 58public: | ||
33 | 60 | ||
34 | 64·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·channel); | ||
35 | _\x86_\x86·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete; | ||
36 | _\x86_\x88·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete; | ||
37 | 70·virtual·_\x8~_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(); | ||
38 | 71 | ||
39 | _\x87_\x83·[[nodiscard]]·std::string·const·&_\x8c_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l()·const·&·{·return·m_channel;·} | ||
40 | 74 | ||
41 | 75·//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref. | ||
42 | 77 | ||
43 | _\x88_\x84·virtual·void·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(std::string·const·&payload,·int·backend_pid)·=·0; | ||
44 | 85 | ||
45 | 86protected: | ||
46 | _\x88_\x87·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&_\x8c_\x8o_\x8n_\x8n()·const·noexcept·{·return·m_conn;·} | ||
47 | 88 | ||
48 | 89private: | ||
49 | 90·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&m_conn; | ||
50 | 43 | 42{} | |
44 | 43 | ||
45 | 44#include·<pqxx/internal/libpq-forward.hxx> | ||
46 | 45 | ||
47 | 46 | ||
48 | 47//·C++23:·Retire·wrapper. | ||
49 | 48#if·pqxx_have_unreachable | ||
50 | 50#·define·PQXX_UNREACHABLE·std::unreachable() | ||
51 | 51#else | ||
52 | 52#·define·PQXX_UNREACHABLE·assert(false) | ||
53 | 53#endif | ||
54 | 54 | ||
55 | 55 | ||
56 | 57namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
57 | 58{ | ||
58 | 59 | ||
59 | 60//·C++20:·Retire·wrapper. | ||
60 | 62template<typename·LEFT,·typename·RIGHT> | ||
61 | _\x86_\x83inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
62 | 64{ | ||
63 | 65#if·defined(PQXX_HAVE_CMP) | ||
64 | 66·return·std::cmp_less(lhs,·rhs); | ||
65 | 67#else | ||
66 | 68·//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive | ||
67 | 69·//·warning·when·we·compare·the·values·directly.·It·considers·that·a | ||
68 | 70·//·"self-comparison." | ||
69 | 71·constexpr·bool·left_signed{std::is_signed_v<LEFT>}; | ||
70 | 72·if·constexpr·(left_signed·==·std::is_signed_v<RIGHT>) | ||
71 | 73·return·lhs·<·rhs; | ||
72 | 74·else·if·constexpr·(std::is_signed_v<LEFT>) | ||
73 | 75·return·(lhs·<=·0)·?·true·:·(std::make_unsigned_t<LEFT>(lhs)·<·rhs); | ||
74 | 76·else | ||
75 | 77·return·(rhs·<=·0)·?·false·:·(lhs·<·std::make_unsigned_t<RIGHT>(rhs)); | ||
76 | 78#endif | ||
77 | 79} | ||
78 | 80 | ||
79 | 81 | ||
80 | 82//·C++20:·Retire·wrapper. | ||
81 | 84template<typename·LEFT,·typename·RIGHT> | ||
82 | _\x88_\x85inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8g_\x8r_\x8e_\x8a_\x8t_\x8e_\x8r(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
83 | 86{ | ||
84 | 87#if·defined(PQXX_HAVE_CMP) | ||
85 | 88·return·std::cmp_greater(lhs,·rhs); | ||
86 | 89#else | ||
87 | 90·return·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(rhs,·lhs); | ||
88 | 91#endif | ||
51 | 92} | 89 | 92} |
90 | 93 | ||
91 | 94 | ||
92 | 95//·C++20:·Retire·wrapper. | ||
93 | 97template<typename·LEFT,·typename·RIGHT> | ||
94 | _\x89_\x88inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s_\x8__\x8e_\x8q_\x8u_\x8a_\x8l(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
95 | 99{ | ||
96 | 100#if·defined(PQXX_HAVE_CMP) | ||
97 | 101·return·std::cmp_less_equal(lhs,·rhs); | ||
98 | 102#else | ||
99 | 103·return·not·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(rhs,·lhs); | ||
Max diff block lines reached; 9907/26471 bytes (37.43%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·separated_list.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 822 lines modified | Offset 60, 165 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00077_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00077_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">separated_list.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helper·similar·to·Python's·`str.join()`.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_SEPARATED_LIST</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_SEPARATED_LIST</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
89 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> |
90 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<numeric></span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<list></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<memory></span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<string_view></span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<tuple></span></div> | ||
97 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning·(#418).</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>)</span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·<ranges></span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/errorhandler.hxx"</span></div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·"pqxx/params.hxx"</span></div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·"pqxx/separated_list.hxx"</span></div> | ||
108 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/strconv.hxx"</span></div> |
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·"pqxx/zview.hxx"</span></div> | ||
112 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
114 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
115 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>{</div> | ||
116 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">class·</span>sql_cursor;</div> | ||
117 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
118 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)</span></div> | ||
119 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">concept·</span>ZKey_ZValues·=</div> | ||
121 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··std::ranges::input_range<T>·and</div> | ||
122 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">requires</span>(T·t)·{</div> | ||
123 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····{</div> | ||
124 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······std::cbegin(t)</div> | ||
125 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····};</div> | ||
126 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div> | ||
127 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······std::get<0>(*std::cbegin(t))</div> | ||
128 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}·->·ZString;</div> | ||
129 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{</div> | ||
130 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······std::get<1>(*std::cbegin(t))</div> | ||
131 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}·->·ZString;</div> | ||
132 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}·and</div> | ||
133 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::tuple_size_v<typename·std::ranges::iterator_t<T>::value_type>·==·2;</div> | ||
134 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_CONCEPTS</span></div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
136 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
137 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
138 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keywordtype">void</span>·PQXX_COLD·PQXX_LIBEXPORT·<a·class="code·hl_function"·href="a00250.html#a71f4fd3d06b6e0a849c58a8160380a86">skip_init_ssl</a>(<span·class="keywordtype">int</span>·flags)·<span·class="keyword">noexcept</span>;</div> | ||
139 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
140 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
141 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
142 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> | ||
143 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00252.html">··111</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> | ||
144 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>{</div> | ||
145 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>connection_dbtransaction;</div> | ||
146 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="keyword">class·</span>connection_errorhandler;</div> | ||
147 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">class·</span>connection_largeobject;</div> | ||
148 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">class·</span>connection_notification_receiver;</div> | ||
149 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">class·</span>connection_pipeline;</div> | ||
150 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="keyword">class·</span>connection_sql_cursor;</div> | ||
151 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">struct·</span>connection_stream_from;</div> | ||
152 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">class·</span>connection_stream_to;</div> | ||
153 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">class·</span>connection_transaction;</div> | ||
154 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="keyword">class·</span>const_connection_largeobject;</div> | ||
155 | <div·class="line"><a·id="l00 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·C++20:·Simplify·using·std::ranges::range.</span></div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator.</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·TODO:·Can·we·pass·separators·at·compile·time?</span></div> | ||
156 | </div> | ||
157 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | ||
158 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> | ||
159 | <div·class="line"><a·id="l00 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
160 | <div·class="line"><a·id="l00 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
161 | <div·class="line"><a·id="l00 | 97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
162 | <div·class="foldopen"·id="foldopen00136"·data-start="{"·data-end="};"> | ||
163 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">··136</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">skip_init</a>·:·<span·class="keywordtype">int</span></div> | ||
164 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>{</div> | ||
165 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">··139</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">nothing</a>,</div> | ||
166 | <div·class="line"><a·id="l00 | 98 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
99 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·ITER,·<span·class="keyword">typename</span>·ACCESS></div> | ||
100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>[[nodiscard]]·<span·class="keyword">inline</span>·std::string</div> | ||
Max diff block lines reached; 103425/158397 bytes (65.29%) of diff not shown. |
Offset 1, 917 lines modified | Offset 1, 156 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | connection.hxx | ||
3 | 2 | separated_list.hxx | |
3 | 1/*·Helper·similar·to·Python's·`str.join()`. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_CONNECTION | ||
16 | 14#define·PQXX_H_CONNECTION | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_SEPARATED_LIST |
14 | 12#define·PQXX_H_SEPARATED_LIST | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
19 | 17 | ||
20 | 18#include·<algorithm> | ||
21 | 19#include·<numeric> | ||
22 | 20 | ||
21 | 19 | ||
22 | 20#include·<cstddef> | ||
23 | 21#include·<ctime> | ||
24 | 22#include·<initializer_list> | ||
25 | 23#include·<list> | ||
26 | 24#include·<map> | ||
27 | 25#include·<memory> | ||
28 | 26#include·<string_view> | ||
29 | 27#include·<tuple> | ||
30 | 28 | ||
31 | 29//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning | ||
32 | (#418). | ||
33 | 30#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) | ||
34 | 31#·include·<ranges> | ||
35 | 32#endif | ||
36 | 33 | ||
37 | 34#include·"pqxx/errorhandler.hxx" | ||
38 | 35#include·"pqxx/except.hxx" | ||
39 | 36#include·"pqxx/internal/concat.hxx" | ||
40 | 37#include·"pqxx/params.hxx" | ||
41 | 38#include·"pqxx/separated_list.hxx" | ||
42 | 23 | 21#include·"pqxx/strconv.hxx" | |
43 | 40#include·"pqxx/types.hxx" | ||
44 | 41#include·"pqxx/util.hxx" | ||
45 | 42#include·"pqxx/zview.hxx" | ||
46 | 43 | ||
47 | 44 | ||
48 | 75namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
49 | 76{ | ||
50 | 24 | 22 | |
25 | 23//·C++20:·Simplify·using·std::ranges::range. | ||
26 | 24//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator. | ||
27 | 25//·TODO:·Can·we·pass·separators·at·compile·time? | ||
28 | 26namespace·_\x8p_\x8q_\x8x_\x8x | ||
29 | 27{ | ||
30 | 32 | ||
31 | 34 | ||
32 | 42template<typename·ITER,·typename·ACCESS> | ||
33 | 43[[nodiscard]]·inline·std::string | ||
34 | _\x84_\x84_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·ITER·begin,·ITER·end,·ACCESS·access) | ||
35 | 45{ | ||
36 | 46·if·(end·==·begin) | ||
37 | 47·return·{}; | ||
38 | 48·auto·next{begin}; | ||
39 | 49·++next; | ||
40 | 50·if·(next·==·end) | ||
41 | 51·return·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(access(begin)); | ||
42 | 52 | ||
43 | 53·//·From·here·on,·we've·got·at·least·2·elements·--·meaning·that·we·need·sep. | ||
44 | 54·using·elt_type·=·_\x8s_\x8t_\x8r_\x8i_\x8p_\x8__\x8t<decltype(access(begin))>; | ||
45 | 55·using·traits·=·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8e_\x8l_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8>; | ||
46 | 56 | ||
47 | 57·std::size_t·budget{0}; | ||
48 | 58·for·(ITER·cnt{begin};·cnt·!=·end;·++cnt) | ||
49 | 59·budget·+=·traits::size_buffer(access(cnt)); | ||
50 | 60·budget·+= | ||
51 | 61·static_cast<std::size_t>(std::distance(begin,·end))·*·std::size(sep); | ||
52 | 62 | ||
53 | 63·std::string·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
54 | 64·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.resize(budget); | ||
55 | 65 | ||
56 | 66·char·*const·data{_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.data()}; | ||
57 | 67·char·*here{data}; | ||
58 | 68·char·*stop{data·+·budget}; | ||
59 | 69·here·=·traits::into_buf(here,·stop,·access(begin))·-·1; | ||
60 | 70·for·(++begin;·begin·!=·end;·++begin) | ||
61 | 71·{ | ||
62 | 72·here·+=·sep.copy(here,·std::size(sep)); | ||
63 | 73·here·=·traits::into_buf(here,·stop,·access(begin))·-·1; | ||
64 | 74·} | ||
65 | 75·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t.resize(static_cast<std::size_t>(here·-·data)); | ||
66 | 76·return·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t; | ||
67 | 77} | ||
51 | 78 | 68 | 78 |
52 | 79 | 69 | 79 |
53 | 81template<typename·T> | 70 | 81template<typename·ITER> |
54 | 82concept·ZKey_ZValues·= | ||
55 | 83·std::ranges::input_range<T>·and | ||
56 | 84·requires(T·t)·{ | ||
57 | 85·{ | ||
58 | 86·std::cbegin(t) | ||
59 | 87·}; | ||
60 | 88·{ | ||
61 | 89·std::get<0>(*std::cbegin(t)) | ||
62 | 90·}·->·ZString; | ||
63 | 91·{ | ||
64 | 92·std::get<1>(*std::cbegin(t)) | ||
65 | 93·}·->·ZString; | ||
66 | 94·}·and | ||
67 | 95·std::tuple_size_v<typename·std::ranges::iterator_t<T>::value_type>·==·2; | ||
68 | 96#endif·//·PQXX_HAVE_CONCEPTS | ||
69 | 97 | ||
70 | 98 | ||
71 | 100 | ||
72 | 107void·PQXX_COLD·PQXX_LIBEXPORT·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l(int·flags)·noexcept; | ||
73 | 108}·//·namespace·pqxx::internal | ||
74 | 109 | ||
75 | 110 | ||
76 | _\x81_\x81_\x81namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
77 | 112{ | ||
Max diff block lines reached; 12723/40431 bytes (31.47%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·transaction.hxx·Source·File</title> | 8 | <title>libpqxx:·transaction_focus.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 103 lines modified | Offset 60, 154 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">transaction.hxx</div></div> | 67 | ··<div·class="headertitle"><div·class="title">transaction_focus.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span> | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*·pqxx::transaction·represents·a·standard·database·transaction.</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*/</span></div> | ||
81 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_FOCUS</span></div> |
82 | <div·class="line"><a·id="l0001 | 72 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_FOCUS</span></div> |
83 | <div·class="line"><a·id="l0001 | 73 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
84 | <div·class="line"><a·id="l0001 | 74 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
85 | <div·class="line"><a·id="l0001 | 75 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
86 | <div·class="line"><a·id="l0001 | 76 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div> |
87 | <div·class="line"><a·id="l0001 | 77 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
88 | <div·class="line"><a·id="l0001 | 78 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> |
79 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
80 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
81 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>{</div> | ||
89 | <div·class="line"><a·id="l0002 | 82 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> | ||
92 | <div·class="foldopen"·id="foldopen0002 | 83 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> |
93 | <div·class="line"><a·id="l0002 | 84 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01494.html">···28</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div> |
94 | <div·class="line"><a·id="l0002 | 85 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
95 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string·&&tname);</div> | ||
99 | <div·class=" | 87 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> |
88 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">···31</a></span>··<a·class="code·hl_function"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">transaction_focus</a>(</div> | ||
89 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·cname,·std::string_view·oname)·:</div> | ||
90 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········m_trans{&t},·m_classname{cname},·m_name{oname}</div> | ||
100 | <div·class="line"><a·id="l0003 | 91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{}</div> |
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">···32</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">~basic_transaction</a>()·noexcept·override·=·0;</div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>private:</div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··virtual·<span·class="keywordtype">void</span>·do_commit()·override;</div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div> | ||
106 | </div> | 92 | </div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
108 | <div·class="line"><a·id="l0003 | 93 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
94 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> | ||
95 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">···36</a></span>··<a·class="code·hl_function"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">transaction_focus</a>(</div> | ||
96 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·cname,·std::string·&&oname)·:</div> | ||
97 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··········m_trans{&t},·m_classname{cname},·m_name{std::move(oname)}</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 98 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{}</div> |
99 | </div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>namespace·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
112 | <div·class="line"><a·id="l0004 | 100 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
101 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> | ||
102 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">···41</a></span>··<a·class="code·hl_function"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">transaction_focus</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·cname)·:</div> | ||
103 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··········m_trans{&t},·m_classname{cname}</div> | ||
104 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> | ||
105 | </div> | ||
106 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
107 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">···45</a></span>··<a·class="code·hl_function"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">transaction_focus</a>()·=·<span·class="keyword">delete</span>;</div> | ||
108 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">···46</a></span>··<a·class="code·hl_function"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">transaction_focus</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
109 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01494.html#aea03cea4362d054357b9923be5e93669">···47</a></span>··<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&<a·class="code·hl_function"·href="a01494.html#aea03cea4362d054357b9923be5e93669">operator=</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
111 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">···50</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">classname</a>()·const·noexcept</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> | ||
114 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">return</span>·m_classname;</div> |
115 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATION·=·isolation_level::read_committed,</div> | ||
116 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>·READWRITE·=·write_policy::read_write></div> | ||
117 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··}</div> |
116 | </div> | ||
117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">···56</a></span>··[[nodiscard]]·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">name</a>()·const·&noexcept·{·<span·class="keywordflow">return</span>·m_name;·}</div> | ||
118 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
120 | <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}"> | ||
121 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">···58</a></span>··[[nodiscard]]·std::string·<a·class="code·hl_function"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">description</a>()<span·class="keyword">·const</span></div> | ||
119 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> |
123 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00251.html#a9e632aaf61a00536f6ddea8a2472c80a">pqxx::internal::describe_object</a>(m_classname,·m_name);</div> | ||
124 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
127 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | ||
128 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01494.html#a5f7c64916c66dea3ea3f80a3131c7005">···63</a></span>··<a·class="code·hl_function"·href="a01494.html#a5f7c64916c66dea3ea3f80a3131c7005">transaction_focus</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&&other)·:</div> | ||
129 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········m_trans{other.m_trans},</div> | ||
130 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········m_registered{other.m_registered},</div> | ||
131 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········m_classname{other.m_classname},</div> | ||
132 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="comment">//·We·can't·move·the·name·until·later.</span></div> | ||
133 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··········m_name{}</div> | ||
134 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{</div> | ||
135 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·This·is·a·bit·more·complicated·than·you·might·expect.··The·transaction</span></div> | ||
136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new</span></div> | ||
137 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·focus.</span></div> | ||
138 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····move_name_and_registration(other);</div> | ||
139 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
140 | </div> | ||
120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 141 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> | ||
122 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div> | ||
123 | <div·class=" | 142 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> |
143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01494.html#aac813196ce2667d141d45242c7d0df22">···76</a></span>··<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&<a·class="code·hl_function"·href="a01494.html#aac813196ce2667d141d45242c7d0df22">operator=</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&&other)</div> | ||
Max diff block lines reached; 13510/37683 bytes (35.85%) of diff not shown. |
Offset 1, 105 lines modified | Offset 1, 159 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | transaction.hxx | 2 | transaction_focus.hxx |
3 | 1 | ||
3 | 1/*·Definition·of·the·pqxx::transaction·class. | ||
4 | 2·*·pqxx::transaction·represents·a·standard·database·transaction. | ||
5 | 3·* | ||
6 | 4·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead. | ||
7 | 5·* | ||
8 | 6·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
9 | 7·* | ||
10 | 8·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
11 | 9·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
12 | 10·*·mistake,·or·contact·the·author. | ||
13 | 11·*/ | ||
14 | 4 | 9#ifndef·PQXX_H_TRANSACTION_FOCUS | |
15 | 1 | 5 | 10#define·PQXX_H_TRANSACTION_FOCUS |
16 | 1 | 6 | 11 |
17 | 1 | 7 | 12#if·!defined(PQXX_HEADER_PRE) |
18 | 1 | 8 | 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
19 | 1 | 9 | 14#endif |
20 | 1 | 10 | 15 |
21 | 1 | 11 | 16#include·"pqxx/util.hxx" |
12 | 17 | ||
22 | 20 | ||
23 | 21namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
24 | 22{ | ||
25 | _\x82_\x84class·PQXX_LIBEXPORT·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·:·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 25{ | ||
27 | 26protected: | ||
28 | 27·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
29 | 28·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string_view·tname); | ||
30 | 29·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command,·std::string·&&tname); | ||
31 | 30·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·_\x8z_\x8v_\x8i_\x8e_\x8w·begin_command); | ||
32 | 31 | ||
33 | _\x83_\x82·virtual·_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·noexcept·override·=·0; | ||
34 | 33 | ||
35 | 34private: | ||
36 | 35·virtual·void·do_commit()·override; | ||
37 | 36}; | ||
38 | 37}·//·namespace·pqxx::internal | ||
39 | 38 | ||
40 | 39 | ||
41 | 13 | 18namespace·_\x8p_\x8q_\x8x_\x8x | |
42 | 41{ | ||
43 | 14 | 19{ | |
15 | 21 | ||
16 | _\x82_\x88class·PQXX_LIBEXPORT·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
17 | 29{ | ||
18 | 30public: | ||
19 | _\x83_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( | ||
20 | 32·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string_view·oname)·: | ||
21 | 33·m_trans{&t},·m_classname{cname},·m_name{oname} | ||
22 | 34·{} | ||
23 | 35 | ||
24 | _\x83_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( | ||
25 | 37·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string·&&oname)·: | ||
26 | 38·m_trans{&t},·m_classname{cname},·m_name{std::move(oname)} | ||
27 | 39·{} | ||
28 | 40 | ||
29 | _\x84_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname)·: | ||
30 | 42·m_trans{&t},·m_classname{cname} | ||
31 | 43·{} | ||
32 | 44 | ||
33 | _\x84_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s()·=·delete; | ||
34 | _\x84_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; | ||
35 | _\x84_\x87·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; | ||
44 | 48 | 36 | 48 |
45 | 68template< | ||
46 | 69·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l·ISOLATION·=·isolation_level::read_committed, | ||
47 | 70·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y·READWRITE·=·write_policy::read_write> | ||
48 | 71class·transaction·final·:·public·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
49 | 72{ | ||
50 | 37 | _.5_.0·[[nodiscard]]·constexpr·std::string_view·_.c_.l_.a_.s_.s_.n_.a_.m_.e()·const·noexcept | |
38 | 51·{ | ||
39 | 52·return·m_classname; | ||
40 | 53·} | ||
41 | 54 | ||
42 | _\x85_\x86·[[nodiscard]]·std::string_view·_\x8n_\x8a_\x8m_\x8e()·const·&noexcept·{·return·m_name;·} | ||
43 | 57 | ||
44 | _\x85_\x88·[[nodiscard]]·std::string·_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8i_\x8o_\x8n()·const | ||
45 | 59·{ | ||
46 | 60·return·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8b_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(m_classname,·m_name); | ||
47 | 61·} | ||
48 | 62 | ||
49 | _\x86_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other)·: | ||
50 | 64·m_trans{other.m_trans}, | ||
51 | 65·m_registered{other.m_registered}, | ||
52 | 66·m_classname{other.m_classname}, | ||
53 | 67·//·We·can't·move·the·name·until·later. | ||
54 | 68·m_name{} | ||
55 | 69·{ | ||
56 | 70·//·This·is·a·bit·more·complicated·than·you·might·expect.·The·transaction | ||
57 | 71·//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new | ||
58 | 72·//·focus. | ||
59 | 73·move_name_and_registration(other); | ||
60 | 74·} | ||
51 | 75 | 61 | 75 |
52 | 80·transaction(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname)·: | ||
53 | 81·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
54 | 82·c,·internal::begin_cmd<ISOLATION,·READWRITE>,·tname} | ||
55 | 83·{} | ||
56 | 84 | ||
57 | 86 | ||
58 | 90·explicit·transaction(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c)·: | ||
59 | 91·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n{ | ||
60 | 92·c,·internal::begin_cmd<ISOLATION,·READWRITE>} | ||
61 | 62 | _.7_.6·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s·&_.o_.p_.e_.r_.a_.t_.o_.r_.=(_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s·&&other) | |
63 | 77·{ | ||
64 | 78·if·(&other·!=·this) | ||
65 | 79·{ | ||
66 | 80·if·(m_registered) | ||
67 | 81·unregister_me(); | ||
68 | 82·m_trans·=·other.m_trans; | ||
69 | 83·m_classname·=·other.m_classname; | ||
70 | 84·move_name_and_registration(other); | ||
71 | 85·} | ||
72 | 86·return·*this; | ||
73 | 87·} | ||
74 | 88 | ||
75 | 89protected: | ||
76 | 90·void·register_me(); | ||
77 | 91·void·unregister_me()·noexcept; | ||
78 | 92·void·reg_pending_error(std::string·const·&)·noexcept; | ||
79 | _\x89_\x83·bool·registered()·const·noexcept·{·return·m_registered;·} | ||
62 | 94 | 80 | 94 |
63 | 95·virtual·~transaction()·noexcept·override·{·close();·} | ||
64 | 96}; | ||
Max diff block lines reached; 5874/11462 bytes (51.25%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·strconv.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 938 lines modified | Offset 60, 435 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">strconv.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·String·conversion·definitions.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_STRCONV</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_STRCONV</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<cstring></span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#i | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<limits></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor"># | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<sstream></span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
93 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<stdexcept></span></div> |
94 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<typeinfo></span></div> |
95 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__has_include(<charconv>)</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··include·<charconv></span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif</span></div> | ||
96 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>)</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#··include·<ranges></span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#endif</span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> | ||
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"pqxx/zview.hxx"</span></div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> | ||
109 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>PQXX_LIBEXPORT·std::string·<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">demangle_type_name</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[]);</div> | ||
110 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
111 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
112 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
97 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
99 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> | ||
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01146.html">···47</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01146.html">failure</a>·:·std::runtime_error</div> | ||
101 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div> | ||
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::string·<span·class="keyword">const</span>·&,</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::source_location·=·std::source_location::current());</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::source_location·location;</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#else</span></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(std::string·<span·class="keyword">const</span>·&);</div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div> | ||
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>};</div> | ||
111 | </div> | ||
112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
114 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
115 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> | ||
116 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00250.html#a03b51dc175989959be170596670dafa4">···82</a></span>std::string·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a00250.html#a03b51dc175989959be170596670dafa4">type_name</a>{<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">internal::demangle_type_name</a>(<span·class="keyword">typeid</span>(TYPE).name())};</div> | ||
117 | <div·class="line"><a·id="l0008 | 119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>();</div> | ||
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>(</div> | ||
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>· | 120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
121 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div> | ||
122 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>· | 121 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
123 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::source_location·=·std::source_location::current()</div> | ||
124 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>#endif</div> | ||
125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··);</div> | ||
126 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div> | ||
127 | </div> | ||
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
129 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
130 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
131 | <div·class="foldopen"·id="foldopen00 | 122 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};"> |
132 | <div·class="line"><a·id="l00 | 123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01430.html">···92</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE,·<span·class="keyword">typename</span>·ENABLE·=·<span·class="keywordtype">voi[·...·truncated·by·diffoscope;·len:·102,·SHA:·db7c0cfe5d3604b586642a7b57f88e6cfaa77bfe1f23440cd77f4793deb6be86·...·]</a></div> |
133 | <div·class="line"><a·id="l00 | 124 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>{</div> |
134 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>(</div> | ||
135 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····std::string·<span·class="keyword">const</span>·&</div> | ||
136 | <div·class="line"><a·id="l00 | 125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01430.html#a9edbc6067a38f35a42723ed6fbaf6200">···95</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#a9edb[·...·truncated·by·diffoscope;·len:·43,·SHA:·d1a1e390e96044b22f53adc0f26b60d6dbfeb7848add3bc894460deb9a1a592f·...·]</div> |
126 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">···98</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">always_null</a>;</div> | ||
128 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
129 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">··101</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>(TYPE·<span·class="keyword">const</span>·&value);</div> | ||
137 | <div·class="line"><a·id="l0010 | 130 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> |
138 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····std::source_location·=·std::source_location::current()</div> | ||
139 | <div·class="line"><a·id="l0010 | 131 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> |
132 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">··109</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·TYPE·<a·class="code·hl_function"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>();</div> | ||
140 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span> | 133 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div> |
141 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>};</div> | ||
142 | </div> | 134 | </div> |
135 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
Max diff block lines reached; 192688/213799 bytes (90.13%) of diff not shown. |
Offset 1, 935 lines modified | Offset 1, 479 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | except.hxx | ||
3 | 2 | strconv.hxx | |
3 | 1/*·String·conversion·definitions. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_EXCEPT | ||
16 | 14#define·PQXX_H_EXCEPT | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_STRCONV |
14 | 12#define·PQXX_H_STRCONV | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
21 | 19 | ||
22 | 20#if·pqxx_have_source_location | ||
23 | 21#·include·<source_location> | ||
24 | 22#endif | ||
25 | 19 | 17 | |
20 | 18#include·<algorithm> | ||
21 | 19#include·<cstring> | ||
22 | 20#include·<limits> | ||
23 | 21#include·<sstream> | ||
26 | 2 | 24 | 22#include·<stdexcept> |
27 | 2 | 25 | 23#include·<typeinfo> |
28 | 26 | ||
29 | 2 | 26 | 24 |
27 | 25#if·__has_include(<charconv>) | ||
28 | 26#·include·<charconv> | ||
29 | 27#endif | ||
30 | 28 | ||
31 | 29#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>) | ||
32 | 30#·include·<ranges> | ||
33 | 31#endif | ||
34 | 32 | ||
35 | 33#include·"pqxx/except.hxx" | ||
36 | 34#include·"pqxx/util.hxx" | ||
37 | 35#include·"pqxx/zview.hxx" | ||
38 | 36 | ||
39 | 37 | ||
40 | 38namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
41 | 39{ | ||
42 | 41PQXX_LIBEXPORT·std::string·_\x8d_\x8e_\x8m_\x8a_\x8n_\x8g_\x8l_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e(char·const[]); | ||
43 | 42}·//·namespace·pqxx::internal | ||
44 | 43 | ||
45 | 44 | ||
30 | 46 | 45namespace·_\x8p_\x8q_\x8x_\x8x | |
47 | 46{ | ||
48 | 71 | ||
49 | 73 | ||
50 | 81template<typename·TYPE> | ||
51 | _\x88_\x82std::string·const·_\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e{_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8m_\x8a_\x8n_\x8g_\x8l_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e(typeid(TYPE).name | ||
52 | ())}; | ||
53 | 83 | ||
54 | 84 | ||
55 | 86 | ||
56 | _\x89_\x82template<typename·TYPE,·typename·ENABLE·=·void>·struct·_\x8n_\x8u_\x8l_\x8l_\x8n_\x8e_\x8s_\x8s | ||
57 | 93{ | ||
58 | _\x89_\x85·static·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l; | ||
59 | 96 | ||
60 | _\x89_\x88·static·bool·_\x8a_\x8l_\x8w_\x8a_\x8y_\x8s_\x8__\x8n_\x8u_\x8l_\x8l; | ||
61 | 99 | ||
62 | _\x81_\x80_\x81·static·bool·_\x8i_\x8s_\x8__\x8n_\x8u_\x8l_\x8l(TYPE·const·&value); | ||
63 | 102 | ||
64 | 104 | ||
65 | _\x81_\x80_\x89·[[nodiscard]]·static·TYPE·_\x8n_\x8u_\x8l_\x8l(); | ||
31 | 29{ | ||
32 | _\x84_\x87struct·PQXX_LIBEXPORT·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e·:·std::runtime_error | ||
33 | 48{ | ||
34 | 49#if·pqxx_have_source_location | ||
35 | 50·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e( | ||
36 | 51·std::string·const·&, | ||
37 | 52·std::source_location·=·std::source_location::current()); | ||
38 | 53·std::source_location·location; | ||
39 | 54#else | ||
40 | 55·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e(std::string·const·&); | ||
41 | 56#endif | ||
42 | 57}; | ||
43 | 58 | ||
44 | 59 | ||
45 | 61 | ||
46 | _\x88_\x80struct·PQXX_LIBEXPORT·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e | ||
47 | 81{ | ||
48 | 82·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(); | ||
49 | 83·explicit·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
50 | 84·std::string·const·& | ||
51 | 85#if·pqxx_have_source_location | ||
52 | 86·, | ||
53 | 87·std::source_location·=·std::source_location::current() | ||
54 | 88#endif | ||
55 | 89·); | ||
56 | 90}; | ||
57 | 91 | ||
58 | 92 | ||
59 | 94 | ||
60 | _\x81_\x80_\x82struct·PQXX_LIBEXPORT·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·:·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
61 | 103{ | ||
62 | 104·explicit·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n( | ||
63 | 105·std::string·const·& | ||
64 | 106#if·pqxx_have_source_location | ||
65 | 107·, | ||
66 | 108·std::source_location·=·std::source_location::current() | ||
67 | 109#endif | ||
68 | 110·); | ||
69 | 11 | 66 | 110}; |
67 | 111 | ||
70 | 112 | 68 | 112 |
69 | _\x81_\x81_\x84template<typename·TYPE>·struct·_\x8n_\x8o_\x8__\x8n_\x8u_\x8l_\x8l | ||
71 | 113 | ||
72 | _\x81_\x81_\x85struct·PQXX_LIBEXPORT·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e | ||
73 | 11 | 70 | 115{ |
71 | 117 | ||
72 | _\x81_\x82_\x87·static·constexpr·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l·=·false; | ||
74 | 117·explicit·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l( | ||
75 | 118·std::string·const·& | ||
76 | 119#if·pqxx_have_source_location | ||
77 | 120·, | ||
78 | 121·std::source_location·=·std::source_location::current() | ||
Max diff block lines reached; 54592/58810 bytes (92.83%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·tra | 8 | <title>libpqxx:·config-internal-compiler.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 111 lines modified | Offset 60, 29 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">tra | 67 | ··<div·class="headertitle"><div·class="title">config-internal-compiler.h</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/</span></div> | ||
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions.</span></div> | ||
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<functional></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
89 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> | ||
90 | <div·class="line"><a·id="l000 | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div> |
91 | <div·class="line"><a·id="l000 | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PQXX_HAVE_CXA_DEMANGLE·1</span></div> |
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
95 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
96 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
97 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TRANSACTION_CALLBACK></div> | ||
98 | <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}"> | ||
99 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">··101</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">perform</a>(TRANSACTION_CALLBACK·&&callback,·<span·class="keywordtype">int</span>·attempts·=·3)</div> | ||
100 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··->·std::invoke_result_t<TRANSACTION_CALLBACK></div> | ||
101 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> | ||
102 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordflow">if</span>·(attempts·<=·0)</div> | ||
103 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div> | ||
104 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="stringliteral">"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."</span>};</div> | ||
105 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
106 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keywordflow">for</span>·(;·attempts·>·0;·--attempts)</div> | ||
107 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··{</div> | ||
108 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">try</span></div> | ||
109 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div> | ||
110 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·std::invoke(callback);</div> | ||
111 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div> | ||
112 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01166.html">in_doubt_error</a>·<span·class="keyword">const</span>·&)</div> | ||
113 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····{</div> | ||
114 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div> | ||
115 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div> | ||
116 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<span·class="keywordflow">throw</span>;</div> | ||
117 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····}</div> | ||
118 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01178.html">statement_completion_unknown</a>·<span·class="keyword">const</span>·&)</div> | ||
119 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div> | ||
120 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·Not·sure·whether·our·last·statement·succeeded.··Don't·risk·running·it</span></div> | ||
121 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<span·class="comment">//·again.</span></div> | ||
122 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······<span·class="keywordflow">throw</span>;</div> | ||
123 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····}</div> | ||
124 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·<span·class="keyword">const</span>·&)</div> | ||
125 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····{</div> | ||
126 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="comment">//·This·is·a·subclass·of·broken_connection,·but·it's·not·one·where</span></div> | ||
127 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······<span·class="comment">//·retrying·is·likely·to·do·us·any·good.</span></div> | ||
128 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>······<span·class="keywordflow">throw</span>;</div> | ||
129 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····}</div> | ||
130 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·<span·class="keyword">const</span>·&)</div> | ||
131 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····{</div> | ||
132 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="comment">//·Connection·failed.··May·be·worth·retrying,·if·the·transactor·opens·its</span></div> | ||
133 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······<span·class="comment">//·own·connection.</span></div> | ||
134 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<span·class="keywordflow">if</span>·(attempts·<=·1)</div> | ||
135 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>········<span·class="keywordflow">throw</span>;</div> | ||
136 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······<span·class="keywordflow">continue</span>;</div> | ||
137 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····}</div> | ||
138 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01170.html">transaction_rollback</a>·<span·class="keyword">const</span>·&)</div> | ||
139 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····{</div> | ||
140 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>······<span·class="comment">//·Some·error·that·may·well·be·transient,·such·as·serialization·failure</span></div> | ||
141 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>······<span·class="comment">//·or·deadlock.··Worth·retrying.</span></div> | ||
142 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>······<span·class="keywordflow">if</span>·(attempts·<=·1)</div> | ||
143 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>········<span·class="keywordflow">throw</span>;</div> | ||
144 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······<span·class="keywordflow">continue</span>;</div> | ||
145 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····}</div> | ||
146 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··}</div> | ||
147 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01186.html">pqxx::internal_error</a>{<span·class="stringliteral">"No·outcome·reached·on·perform()."</span>};</div> | ||
148 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>}</div> | ||
149 | </div> | ||
150 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
151 | <div·class="line"><a·id="l00 | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_HAVE_POLL·1</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PQXX_HAVE_SLEEP_FOR·1</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·PQXX_HAVE_THREAD_LOCAL·1</span></div> | ||
152 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> | ||
153 | <div·class="ttc"·id="aa00250_html_a9c2faadd143f7c48353eb23b2aa24134"><div·class="ttname"><a·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">pqxx::perform</a></div><div·class="ttdeci">auto·perform(TRANSACTION_CALLBACK·&&callback,·int·attempts=3)·->·std::invoke_result_t<·TRANSACTION_CALLBACK·></div><div·class="ttdoc">Simple·way·to·execute·a·transaction·with·automatic·retry.</div><div·class="ttdef"><b>Definition</b>·transactor.hxx:101</div></div> | ||
154 | <div·class="ttc"·id="aa01150_html"><div·class="ttname"><a·href="a01150.html">pqxx::broken_connection</a></div><div·class="ttdoc">Exception·class·for·lost·or·failed·backend·connection.</div><div·class="ttdef"><b>Definition</b>·except.hxx:81</div></div> | ||
155 | <div·class="ttc"·id="aa01154_html"><div·class="ttname"><a·href="a01154.html">pqxx::protocol_violation</a></div><div·class="ttdoc">Exception·class·for·micommunication·with·the·server.</div><div·class="ttdef"><b>Definition</b>·except.hxx:103</div></div> | ||
156 | <div·class="ttc"·id="aa01166_html"><div·class="ttname"><a·href="a01166.html">pqxx::in_doubt_error</a></div><div·class="ttdoc">"Help,·I·don't·know·whether·transaction·was·committed·successfully!"</div><div·class="ttdef"><b>Definition</b>·except.hxx:165</div></div> | ||
157 | <div·class="ttc"·id="aa01170_html"><div·class="ttname"><a·href="a01170.html">pqxx::transaction_rollback</a></div><div·class="ttdoc">The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.</div><div·class="ttdef"><b>Definition</b>·except.hxx:178</div></div> | ||
158 | <div·class="ttc"·id="aa01178_html"><div·class="ttname"><a·href="a01178.html">pqxx::statement_completion_unknown</a></div><div·class="ttdoc">We·can't·tell·whether·our·last·statement·succeeded.</div><div·class="ttdef"><b>Definition</b>·except.hxx:214</div></div> | ||
159 | <div·class="ttc"·id="aa01186_html"><div·class="ttname"><a·href="a01186.html">pqxx::internal_error</a></div><div·class="ttdoc">Internal·error·in·libpqxx·library.</div><div·class="ttdef"><b>Definition</b>·except.hxx:242</div></div> | ||
160 | </div><!--·fragment·--></div><!--·contents·--> | 78 | </div><!--·fragment·--></div><!--·contents·--> |
161 | </div><!--·doc-content·--> | 79 | </div><!--·doc-content·--> |
162 | <!--·start·footer·part·--> | 80 | <!--·start·footer·part·--> |
163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 81 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
164 | ··<ul> | 82 | ··<ul> |
165 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>tra | 83 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>config-internal-compiler.h</b></li> |
166 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 84 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
Max diff block lines reached; 26/18099 bytes (0.14%) of diff not shown. |
Offset 1, 112 lines modified | Offset 1, 14 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-internal-compiler.h | ||
3 | 1/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PQXX_HAVE_CHARCONV_FLOAT·1 | ||
6 | 4#define·PQXX_HAVE_CHARCONV_INT·1 | ||
7 | 5#define·PQXX_HAVE_CXA_DEMANGLE·1 | ||
8 | 6#define·PQXX_HAVE_POLL·1 | ||
9 | 7#define·PQXX_HAVE_SLEEP_FOR·1 | ||
10 | 8#define·PQXX_HAVE_THREAD_LOCAL·1 | ||
2 | transactor.hxx | ||
3 | 1/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead. | ||
6 | 4·* | ||
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
11 | 9·*·mistake,·or·contact·the·author. | ||
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_TRANSACTOR | ||
14 | 12#define·PQXX_H_TRANSACTOR | ||
15 | 13 | ||
16 | 14#if·!defined(PQXX_HEADER_PRE) | ||
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
18 | 16#endif | ||
19 | 17 | ||
20 | 18#include·<functional> | ||
21 | 19#include·<type_traits> | ||
22 | 20 | ||
23 | 21#include·"pqxx/connection.hxx" | ||
24 | 22#include·"pqxx/transaction.hxx" | ||
25 | 23 | ||
26 | 24namespace·_\x8p_\x8q_\x8x_\x8x | ||
27 | 25{ | ||
28 | 69 | ||
29 | 71 | ||
30 | 100template<typename·TRANSACTION_CALLBACK> | ||
31 | _\x81_\x80_\x81inline·auto·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m(TRANSACTION_CALLBACK·&&callback,·int·attempts·=·3) | ||
32 | 102·->·std::invoke_result_t<TRANSACTION_CALLBACK> | ||
33 | 103{ | ||
34 | 104·if·(attempts·<=·0) | ||
35 | 105·throw·std::invalid_argument{ | ||
36 | 106·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."}; | ||
37 | 107 | ||
38 | 108·for·(;·attempts·>·0;·--attempts) | ||
39 | 109·{ | ||
40 | 110·try | ||
41 | 111·{ | ||
42 | 112·return·std::invoke(callback); | ||
43 | 113·} | ||
44 | 114·catch·(_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·const·&) | ||
45 | 115·{ | ||
46 | 116·//·Not·sure·whether·transaction·went·through·or·not.·The·last·thing·in | ||
47 | 117·//·the·world·that·we·should·do·now·is·try·again! | ||
48 | 118·throw; | ||
49 | 119·} | ||
50 | 120·catch·(_\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n·const·&) | ||
51 | 121·{ | ||
52 | 122·//·Not·sure·whether·our·last·statement·succeeded.·Don't·risk·running·it | ||
53 | 123·//·again. | ||
54 | 124·throw; | ||
55 | 125·} | ||
56 | 126·catch·(_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·const·&) | ||
57 | 127·{ | ||
58 | 128·//·This·is·a·subclass·of·broken_connection,·but·it's·not·one·where | ||
59 | 129·//·retrying·is·likely·to·do·us·any·good. | ||
60 | 130·throw; | ||
61 | 131·} | ||
62 | 132·catch·(_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&) | ||
63 | 133·{ | ||
64 | 134·//·Connection·failed.·May·be·worth·retrying,·if·the·transactor·opens·its | ||
65 | 135·//·own·connection. | ||
66 | 136·if·(attempts·<=·1) | ||
67 | 137·throw; | ||
68 | 138·continue; | ||
69 | 139·} | ||
70 | 140·catch·(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8o_\x8l_\x8l_\x8b_\x8a_\x8c_\x8k·const·&) | ||
71 | 141·{ | ||
72 | 142·//·Some·error·that·may·well·be·transient,·such·as·serialization·failure | ||
73 | 143·//·or·deadlock.·Worth·retrying. | ||
74 | 144·if·(attempts·<=·1) | ||
75 | 145·throw; | ||
76 | 146·continue; | ||
77 | 147·} | ||
78 | 148·} | ||
79 | 149·throw·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"No·outcome·reached·on·perform()."}; | ||
80 | 150} | ||
81 | 151}·//·namespace·pqxx | ||
82 | 153#endif | ||
83 | _\x8p_\x8q_\x8x_\x8x | ||
84 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
85 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
86 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m | ||
87 | auto·perform(TRANSACTION_CALLBACK·&&callback,·int·attempts=3)·->·std:: | ||
88 | invoke_result_t<·TRANSACTION_CALLBACK·> | ||
89 | Simple·way·to·execute·a·transaction·with·automatic·retry. | ||
90 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transactor.hxx:101 | ||
91 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
92 | Exception·class·for·lost·or·failed·backend·connection. | ||
93 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:81 | ||
94 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n | ||
95 | Exception·class·for·micommunication·with·the·server. | ||
96 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:103 | ||
97 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | ||
98 | "Help,·I·don't·know·whether·transaction·was·committed·successfully!" | ||
99 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:165 | ||
100 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8o_\x8l_\x8l_\x8b_\x8a_\x8c_\x8k | ||
101 | The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction. | ||
102 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:178 | ||
103 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n | ||
104 | We·can't·tell·whether·our·last·statement·succeeded. | ||
105 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:214 | ||
106 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | ||
107 | Internal·error·in·libpqxx·library. | ||
108 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:242 | ||
109 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 11 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
110 | ····*·_\x8p_\x8q_\x8x_\x8x | 12 | ····*·_\x8p_\x8q_\x8x_\x8x |
111 | ····*·t.tr.ra.a | 13 | ····*·c.co.on.nf.fi.ig.g-.-i.in.nt.te.er.rn.na.al.l-.-c.co.om.mp.pi.il.le.er.r...h.h |
112 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 14 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·params.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 73 lines modified | Offset 60, 312 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">params.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helpers·for·prepared·statements·and·parameterised·statements.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·See·the·connection·class·for·more·about·such·statements.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*· | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PARAMS</span></div> |
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_PARAMS</span></div> |
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<array></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/t | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
91 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/internal/statement_parameters.hxx"</span></div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
93 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
94 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};"> | ||
95 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01134.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div> | ||
96 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> | ||
97 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">protected</span>:</div> | ||
98 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">···57</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c)·:·<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c}·{}</div> | ||
99 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
100 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">···59</a></span>··<a·class="code·hl_function"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> | ||
101 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname}</div> | ||
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{}</div> | ||
103 | </div> | ||
104 | <div·class="foldopen"·id="foldopen000 | 94 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}"> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00253.html">···26</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00253.html">pqxx::prepare</a></div> | ||
105 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">···63</a></span>··<a·class="code·hl_function"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">dbtransaction</a>(</div> | ||
106 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname,</div> | ||
107 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····std::shared_ptr<std::string>·rollback_cmd)·:</div> | ||
108 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·rollback_cmd}</div> | ||
109 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
98 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·IT></div> | ||
99 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>[[deprecated(<span·class="stringliteral">"Use·the·params·class·instead."</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> | ||
100 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">···48</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(IT·begin,·IT·end)</div> | ||
102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | ||
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params(begin,·end);</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div> | ||
110 | </div> | 105 | </div> |
106 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
107 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
109 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
110 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>[[deprecated(<span·class="stringliteral">"Use·the·params·class·instead."</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> | ||
111 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
112 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6de97f407faf3f08ad4df4db9cc338b">···73</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·<span·class="keyword">const</span>·&container)</div> | ||
113 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> | ||
114 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">typename</span>·C::const_iterator;</div> | ||
115 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-pre.hxx"</span></div> | ||
116 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params<IT>{container};</div> | ||
117 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-post.hxx"</span></div> | ||
111 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> |
112 | </div> | 119 | </div> |
120 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
121 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
122 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
123 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·ACCESSOR></div> | ||
124 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>[[deprecated(<span·class="stringliteral">"Use·the·params·class·instead."</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> | ||
125 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> | ||
126 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00253.html#a1a203b1fe19277c71759412f2f6c6cb1">··102</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·&container,·ACCESSOR·accessor)</div> | ||
127 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> | ||
128 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">decltype</span>(std::begin(container));</div> | ||
129 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-pre.hxx"</span></div> | ||
130 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params<IT,·ACCESSOR>{container,·accessor};</div> | ||
131 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#include·"pqxx/internal/ignore-deprecated-post.hxx"</span></div> | ||
132 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> | ||
133 | </div> | ||
113 | <div·class="line"><a·id="l00 | 134 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>}·<span·class="comment">//·namespace·pqxx::prepare</span></div> |
135 | </div> | ||
136 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
137 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
138 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
139 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>{</div> | ||
140 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | ||
141 | <div·class="foldopen"·id="foldopen00125"·data-start="{"·data-end="};"> | ||
142 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01358.html">··125</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·COUNTER·=·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01358.html">placeholders</a></div> | ||
143 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>{</div> | ||
144 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keyword">public</span>:</div> | ||
145 | <div·class="foldopen"·id="foldopen00129"·data-start="{"·data-end="};"> | ||
146 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01358.html#a066068da0d7ca3d0b38ee47ce0098843">··129</a></span>··<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01358.html#a066068da0d7ca3d0b38ee47ce0098843">max_params</a>{</div> | ||
147 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····(std::numeric_limits<COUNTER>::max)()};</div> | ||
148 | </div> | ||
149 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00132"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno"><a·class="line"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">··132</a></span>··<a·class="code·hl_function"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">placeholders</a>()</div> | ||
152 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··{</div> | ||
153 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·initial{<span·class="stringliteral">"$1\0"</span>sv};</div> | ||
Max diff block lines reached; 11029/57303 bytes (19.25%) of diff not shown. |
Offset 1, 70 lines modified | Offset 1, 334 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | dbtransaction.hxx | ||
3 | 2 | params.hxx | |
3 | 1/*·Helpers·for·prepared·statements·and·parameterised·statements. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·See·the·connection·class·for·more·about·such·statements. |
6 | 4·* | 6 | 4·* |
7 | 5·*· | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 11 | 9·*·mistake,·or·contact·the·author. | |
14 | 1 | 12 | 10·*/ |
15 | 13#ifndef·PQXX_H_DBTRANSACTION | ||
16 | 14#define·PQXX_H_DBTRANSACTION | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_PARAMS |
14 | 12#define·PQXX_H_PARAMS | ||
15 | 13 | ||
18 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 18 | 16#endif |
19 | 17 | ||
20 | 18#include·<array> | ||
21 | 19 | 21 | 19 |
22 | 20#include·"pqxx/t | 22 | 20#include·"pqxx/internal/concat.hxx" |
23 | 21 | 23 | 21#include·"pqxx/internal/statement_parameters.hxx" |
24 | 22#include·"pqxx/types.hxx" | ||
25 | 23 | ||
26 | 24 | ||
27 | _\x82_\x86namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8e_\x8p_\x8a_\x8r_\x8e | ||
28 | 27{ | ||
29 | 29 | ||
30 | 46template<typename·IT> | ||
31 | 47[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
32 | _\x84_\x88_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(IT·begin,·IT·end) | ||
33 | 49{ | ||
34 | 50·return·pqxx::internal::dynamic_params(begin,·end); | ||
35 | 51} | ||
36 | 52 | ||
37 | 53 | ||
38 | 55 | ||
39 | 71template<typename·C> | ||
40 | 72[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
41 | _\x87_\x83_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(C·const·&container) | ||
42 | 74{ | ||
43 | 75·using·IT·=·typename·C::const_iterator; | ||
44 | 76#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
45 | 77·return·pqxx::internal::dynamic_params<IT>{container}; | ||
46 | 78#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
47 | 79} | ||
48 | 80 | ||
49 | 81 | ||
50 | 83 | ||
51 | 100template<typename·C,·typename·ACCESSOR> | ||
52 | 101[[deprecated("Use·the·params·class·instead.")]]·constexpr·inline·auto | ||
53 | _\x81_\x80_\x82_\x8m_\x8a_\x8k_\x8e_\x8__\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s(C·&container,·ACCESSOR·accessor) | ||
54 | 103{ | ||
55 | 104·using·IT·=·decltype(std::begin(container)); | ||
56 | 105#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
57 | 106·return·pqxx::internal::dynamic_params<IT,·ACCESSOR>{container,·accessor}; | ||
58 | 107#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
59 | 108} | ||
60 | 109}·//·namespace·pqxx::prepare | ||
61 | 110 | ||
62 | 111 | ||
24 | 63 | 112namespace·_\x8p_\x8q_\x8x_\x8x | |
25 | 64 | 113{ | |
65 | 115 | ||
66 | _\x81_\x82_\x85template<typename·COUNTER·=·unsigned·int>·class·_\x8p_\x8l_\x8a_\x8c_\x8e_\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8s | ||
67 | 126{ | ||
68 | 127public: | ||
69 | _\x81_\x82_\x89·static·inline·constexpr·unsigned·int·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s{ | ||
70 | 130·(std::numeric_limits<COUNTER>::max)()}; | ||
71 | 131 | ||
72 | _\x81_\x83_\x82·_\x8p_\x8l_\x8a_\x8c_\x8e_\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8s() | ||
73 | 133·{ | ||
74 | 134·static·constexpr·auto·initial{"$1\0"sv}; | ||
75 | 135·initial.copy(std::data(m_buf),·std::size(initial)); | ||
76 | 136·} | ||
77 | 137 | ||
78 | 139 | ||
79 | _\x81_\x84_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w·_\x8v_\x8i_\x8e_\x8w()·const·&noexcept | ||
80 | 143·{ | ||
81 | 144·return·_\x8z_\x8v_\x8i_\x8e_\x8w{std::data(m_buf),·m_len}; | ||
82 | 145·} | ||
83 | 146 | ||
84 | 148 | ||
85 | _\x81_\x85_\x83·std::string·_\x8g_\x8e_\x8t()·const·{·return·std::string(std::data(m_buf),·m_len);·} | ||
86 | 154 | ||
87 | _\x81_\x85_\x86·void·_\x8n_\x8e_\x8x_\x8t()·& | ||
88 | 157·{ | ||
89 | 158·if·(m_current·>=·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s) | ||
90 | 159·throw·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{pqxx::internal::concat( | ||
91 | 160·"Too·many·parameters·in·one·statement:·limit·is·",·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s,·".")}; | ||
92 | 161·++m_current; | ||
93 | 162·if·(m_current·%·10·==·0) | ||
94 | 163·{ | ||
95 | 164·//·Carry·the·1.·Don't·get·too·clever·for·this·relatively·rare | ||
96 | 165·//·case,·just·rewrite·the·entire·number.·Leave·the·$·in·place | ||
97 | 166·//·though. | ||
98 | 167·char·*const·data{std::data(m_buf)}; | ||
99 | 168·char·*const·end{_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8C_\x8O_\x8U_\x8N_\x8T_\x8E_\x8R_\x8>_\x8:_\x8:_\x8i_\x8n_\x8t_\x8o_\x8__\x8b_\x8u_\x8f( | ||
100 | 169·data·+·1,·data·+·std::size(m_buf),·m_current)}; | ||
101 | 170·//·(Subtract·because·we·don't·include·the·trailing·zero.) | ||
102 | 171·m_len·=·check_cast<COUNTER>(end·-·data,·"placeholders·counter")·-·1; | ||
103 | 172·} | ||
104 | 173·else | ||
105 | 174·{ | ||
106 | 175·PQXX_LIKELY | ||
107 | 176·//·Shortcut·for·the·common·case:·just·increment·that·last·digit. | ||
108 | 177·++m_buf[m_len·-·1]; | ||
109 | 178·} | ||
110 | 179·} | ||
111 | 180 | ||
112 | _\x81_\x88_\x82·COUNTER·_\x8c_\x8o_\x8u_\x8n_\x8t()·const·noexcept·{·return·m_current;·} | ||
113 | 183 | ||
114 | 184private: | ||
115 | 186·COUNTER·m_current·=·1; | ||
116 | 187 | ||
117 | 189·COUNTER·m_len·=·2; | ||
118 | 190 | ||
119 | 192 | ||
120 | 199·std::array<char,·std::numeric_limits<COUNTER>::digits10·+·3>·m_buf; | ||
121 | 200}; | ||
122 | 201 | ||
Max diff block lines reached; 5957/14858 bytes (40.09%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·a | 8 | <title>libpqxx:·config-public-autotools.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 519 lines modified | Offset 60, 23 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">a | 67 | ··<div·class="headertitle"><div·class="title">config-public-autotools.h</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/autotools·config.·*/</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<cassert></span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<stdexcept></span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<string></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<utility></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<vector></span></div> | ||
94 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/connection.hxx"</span></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/internal/encoding_group.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"pqxx/internal/encodings.hxx"</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
101 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00250.html">···32</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one·buffer.</span></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span><</div> | ||
108 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·ELEMENT,·std::size_t·DIMENSIONS·=·1u,</div> | ||
109 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">char</span>·SEPARATOR·=·array_separator<ELEMENT>></div> | ||
110 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01086.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01086.html">array</a>·final</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> | ||
113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> | ||
114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
115 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
116 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01086.html#abf1925ec5be448b26147a100660d936c">···68</a></span>··<a·class="code·hl_function"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>(std::string_view·data,·<a·class="code·hl_class"·href="a01110.html">connection</a>·<span·class="keyword">const</span>·&conn)·:</div> | ||
117 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01086.html">array</a>{data,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::enc_group(conn.encoding_id())}</div> | ||
118 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div> | ||
119 | </div> | ||
120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
121 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">···75</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>()·noexcept·{·<span·class="keywordflow">return</span>·DIMENSIONS;·}</div> | ||
123 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
125 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> | ||
126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">···82</a></span>··std::array<std::size_t,·DIMENSIONS>·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">sizes</a>()·noexcept</div> | ||
127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> | ||
128 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·m_extents;</div> | ||
129 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> | ||
130 | </div> | ||
131 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
132 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | ||
133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">···87</a></span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·INDEX>·ELEMENT·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">at</a>(INDEX...·index)<span·class="keyword">·const</span></div> | ||
134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">··</span>{</div> | ||
135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(index)·==·DIMENSIONS);</div> | ||
136 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····check_bounds(index...);</div> | ||
137 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·m_elts.at(locate(index...));</div> | ||
138 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
139 | </div> | ||
140 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
141 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
142 | <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> | ||
143 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">··103</a></span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·INDEX>·ELEMENT·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">operator[]</a>(INDEX...·index)<span·class="keyword">·const</span></div> | ||
144 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">··</span>{</div> | ||
145 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(index)·==·DIMENSIONS);</div> | ||
146 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·m_elts[locate(index...)];</div> | ||
147 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> | ||
148 | </div> | ||
149 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
150 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
151 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01086.html#aa091e8641639a3802f44b565194d1119">··115</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#aa091e8641639a3802f44b565194d1119">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.cbegin();·}</div> | ||
152 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01086.html#a14d57111c8af2324a8e9e8e3df162d9d">··117</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a14d57111c8af2324a8e9e8e3df162d9d">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.cend();·}</div> | ||
153 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01086.html#a2499a20fcc7d9da7e7f303b6e16fb254">··119</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a2499a20fcc7d9da7e7f303b6e16fb254">crbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.crbegin();·}</div> | ||
154 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01086.html#ac2f300e0917b8e0afbc9d77bbc26534a">··121</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#ac2f300e0917b8e0afbc9d77bbc26534a">crend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.crend();·}</div> | ||
155 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> | ||
156 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | ||
157 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">··127</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.size();·}</div> | ||
158 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> | ||
159 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> | ||
160 | <div·class="foldopen"·id="foldopen00145"·data-start="{"·data-end="}"> | ||
161 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a01086.html#a707b514df7835fa198a29ae68897efd8">··145</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a707b514df7835fa198a29ae68897efd8">ssize</a>()·const·noexcept</div> | ||
162 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··{</div> | ||
163 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span>std::ptrdiff_t<span·class="keyword">></span>(<a·class="code·hl_function"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">size</a>());</div> | ||
164 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··}</div> | ||
165 | </div> | ||
166 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> | ||
167 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> | ||
168 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a01086.html#af0f6cbf8e3621dc46e59b9563ed436b1">··153</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#af0f6cbf8e3621dc46e59b9563ed436b1">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.front();·}</div> | ||
169 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> | ||
170 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> | ||
Max diff block lines reached; 856/84014 bytes (1.02%) of diff not shown. |
Offset 1, 548 lines modified | Offset 1, 8 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-public-autotools.h | ||
3 | 1/*·Automatically·generated·from·config.h:·public/autotools·config.·*/ | ||
4 | 2 | ||
2 | array.hxx | ||
3 | 1/*·Handling·of·SQL·arrays. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead. | ||
6 | 4·* | ||
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
8 | 6·* | ||
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
11 | 9·*·mistake,·or·contact·the·author. | ||
12 | 10·*/ | ||
13 | 11#ifndef·PQXX_H_ARRAY | ||
14 | 12#define·PQXX_H_ARRAY | ||
15 | 13 | ||
16 | 14#if·!defined(PQXX_HEADER_PRE) | ||
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
18 | 16#endif | ||
19 | 17 | ||
20 | 18#include·<algorithm> | ||
21 | 19#include·<cassert> | ||
22 | 20#include·<stdexcept> | ||
23 | 21#include·<string> | ||
24 | 22#include·<type_traits> | ||
25 | 23#include·<utility> | ||
26 | 24#include·<vector> | ||
27 | 25 | ||
28 | 26#include·"pqxx/connection.hxx" | ||
29 | 27#include·"pqxx/internal/array-composite.hxx" | ||
30 | 28#include·"pqxx/internal/encoding_group.hxx" | ||
31 | 29#include·"pqxx/internal/encodings.hxx" | ||
32 | 30 | ||
33 | 31 | ||
34 | _\x83_\x82namespace·_\x8p_\x8q_\x8x_\x8x | ||
35 | 33{ | ||
36 | 34//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one | ||
37 | buffer. | ||
38 | 35 | ||
39 | 37 | ||
40 | 52template< | ||
41 | 53·typename·ELEMENT,·std::size_t·DIMENSIONS·=·1u, | ||
42 | 54·char·SEPARATOR·=·array_separator<ELEMENT>> | ||
43 | _\x85_\x85class·_\x8a_\x8r_\x8r_\x8a_\x8y·final | ||
44 | 56{ | ||
45 | 57public: | ||
46 | 59 | ||
47 | _\x86_\x88·_\x8a_\x8r_\x8r_\x8a_\x8y(std::string_view·data,·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&conn)·: | ||
48 | 69·_\x8a_\x8r_\x8r_\x8a_\x8y{data,·_\x8p_\x8q_\x8x_\x8x::internal::enc_group(conn.encoding_id())} | ||
49 | 70·{} | ||
50 | 71 | ||
51 | 73 | ||
52 | _\x87_\x85·constexpr·std::size_t·_\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s()·noexcept·{·return·DIMENSIONS;·} | ||
53 | 76 | ||
54 | 78 | ||
55 | _\x88_\x82·std::array<std::size_t,·DIMENSIONS>·const·&_\x8s_\x8i_\x8z_\x8e_\x8s()·noexcept | ||
56 | 83·{ | ||
57 | 84·return·m_extents; | ||
58 | 85·} | ||
59 | 86 | ||
60 | _\x88_\x87·template<typename...·INDEX>·ELEMENT·const·&_\x8a_\x8t(INDEX...·index)·const | ||
61 | 88·{ | ||
62 | 89·static_assert(sizeof...(index)·==·DIMENSIONS); | ||
63 | 90·check_bounds(index...); | ||
64 | 91·return·m_elts.at(locate(index...)); | ||
65 | 92·} | ||
66 | 93 | ||
67 | 95 | ||
68 | _\x81_\x80_\x83·template<typename...·INDEX>·ELEMENT·const·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8](INDEX...·index)·const | ||
69 | 104·{ | ||
70 | 105·static_assert(sizeof...(index)·==·DIMENSIONS); | ||
71 | 106·return·m_elts[locate(index...)]; | ||
72 | 107·} | ||
73 | 108 | ||
74 | 110 | ||
75 | _\x81_\x81_\x85·constexpr·auto·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.cbegin();·} | ||
76 | _\x81_\x81_\x87·constexpr·auto·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.cend();·} | ||
77 | _\x81_\x81_\x89·constexpr·auto·_\x8c_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.crbegin();·} | ||
78 | _\x81_\x82_\x81·constexpr·auto·_\x8c_\x8r_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.crend();·} | ||
79 | 122 | ||
80 | 124 | ||
81 | _\x81_\x82_\x87·constexpr·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_elts.size();·} | ||
82 | 128 | ||
83 | 130 | ||
84 | _\x81_\x84_\x85·constexpr·auto·_\x8s_\x8s_\x8i_\x8z_\x8e()·const·noexcept | ||
85 | 146·{ | ||
86 | 147·return·static_cast<std::ptrdiff_t>(_\x8s_\x8i_\x8z_\x8e()); | ||
87 | 148·} | ||
88 | 149 | ||
89 | 151 | ||
90 | _\x81_\x85_\x83·constexpr·auto·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·m_elts.front();·} | ||
91 | 154 | ||
92 | 156 | ||
93 | _\x81_\x85_\x88·constexpr·auto·_\x8b_\x8a_\x8c_\x8k()·const·noexcept·{·return·m_elts.back();·} | ||
94 | 159 | ||
95 | 160private: | ||
96 | 162 | ||
97 | 170·void·check_dims(std::string_view·data) | ||
98 | 171·{ | ||
99 | 172·auto·sz{std::size(data)}; | ||
100 | 173·if·(sz·<·DIMENSIONS·*·2) | ||
101 | 174·throw·conversion_error{pqxx::internal::concat( | ||
102 | 175·"Trying·to·parse·a·",·DIMENSIONS,·"-dimensional·array·out·of·'",·data, | ||
103 | 176·"'.")}; | ||
104 | 177 | ||
105 | 178·//·Making·some·assumptions·here: | ||
106 | 179·//·*·The·array·holds·no·extraneous·whitespace. | ||
107 | 180·//·*·None·of·the·sub-arrays·can·be·null. | ||
108 | 181·//·*·Only·ASCII·characters·start·off·with·a·byte·in·the·0-127·range. | ||
109 | 182·// | ||
110 | 183·//·Given·those,·the·input·must·start·with·a·sequence·of·DIMENSIONS·bytes | ||
111 | 184·//·with·the·ASCII·value·for·'{';·and·likewise·it·must·end·with·a·sequence | ||
112 | 185·//·of·DIMENSIONS·bytes·with·the·ASCII·value·for·'}'. | ||
113 | 186 | ||
114 | 187·if·(data[0]·!=·'{') | ||
115 | 188·throw·conversion_error{"Malformed·array:·does·not·start·with·'{'."}; | ||
116 | 189·for·(std::size_t·i{0};·i·<·DIMENSIONS;·++i) | ||
117 | 190·if·(data[i]·!=·'{') | ||
118 | 191·throw·conversion_error{pqxx::internal::concat( | ||
119 | 192·"Expecting·",·DIMENSIONS,·"-dimensional·array,·but·found·",·i,·".")}; | ||
120 | 193·if·(data[DIMENSIONS]·==·'{') | ||
121 | 194·throw·conversion_error{pqxx::internal::concat( | ||
122 | 195·"Tried·to·parse·",·DIMENSIONS, | ||
123 | 196·"-dimensional·array·from·array·data·that·has·more·dimensions.")}; | ||
124 | 197·for·(std::size_t·i{0};·i·<·DIMENSIONS;·++i) | ||
Max diff block lines reached; 191/19988 bytes (0.96%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·version.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 284 lines modified | Offset 60, 54 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">version.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Version·info·for·libpqxx.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if·!defined(PQXX_H_VERSION)</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#··define·PQXX_H_VERSION</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#··if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#····error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··endif</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<memory></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#in | 87 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#··define·PQXX_VERSION·"7.8.1"</span></div> |
89 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··define·PQXX_ABI·"7.8"</span></div> |
90 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
91 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··define·PQXX_VERSION_MAJOR·7</span></div> |
92 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··define·PQXX_VERSION_MINOR·8</span></div> |
93 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#··define·PQXX_VERSION_CHECK·check_pqxx_version_7_8</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span>binarystring;</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><>·<span·class="keyword">struct·</span>string_traits<binarystring>;</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div> | ||
99 | <div·class="line"><a·id="l0003 | 97 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
98 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>PQXX_LIBEXPORT·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00251.html#a0b3caa100e732c23e2f94129d0f164e6">PQXX_VERSION_CHECK</a>()·noexcept;</div> | ||
100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
101 | <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};"> | ||
102 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01094.html">···58</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01094.html">binarystring</a></div> | ||
103 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> | ||
104 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
105 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·<span·class="keywordtype">unsigned</span>·char;</div> | ||
106 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits<char_type>::char_type;</div> | ||
107 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·=·std::size_t;</div> | ||
108 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div> | ||
109 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·&;</div> | ||
110 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01094.html#af70ec84cf927dceb10418da704722a71">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·*;</div> | ||
111 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>;</div> | ||
112 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator<const_iterator>;</div> | ||
113 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
114 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">···70</a></span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_function"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">binarystring</a>(</div> | ||
115 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<a·class="code·hl_class"·href="a01094.html">binarystring</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
116 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
117 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
118 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
119 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_class"·href="a01314.html">field</a>·<span·class="keyword">const</span>·&);</div> | ||
120 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
121 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
122 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
123 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string_view);</div> | ||
124 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> | ||
126 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*,·std::size_t);</div> | ||
127 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
128 | <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> | ||
129 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">···93</a></span>··[[deprecated(<span·class="stringliteral">"Use·std::byte·for·binary·data."</span>)]]·<a·class="code·hl_function"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">binarystring</a>(</div> | ||
130 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····std::shared_ptr<value_type>·ptr,·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·size)·:</div> | ||
131 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········m_buf{std::move(ptr)},·m_size{size}</div> | ||
132 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{}</div> | ||
133 | </div> | ||
134 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
135 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">···99</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}</div> | ||
136 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">··101</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}</div> | ||
137 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">··102</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()·==·0;·}</div> | ||
138 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
139 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">··104</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}</div> | ||
140 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">··105</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div> | ||
141 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">··106</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()·+·m_size;·}</div> | ||
142 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">··107</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div> | ||
143 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
144 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">··109</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·*begin();·}</div> | ||
145 | <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01094.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">··110</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">back</a>()·const·noexcept</div> | ||
147 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··{</div> | ||
148 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">return</span>·*(data()·+·m_size·-·1);</div> | ||
149 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··}</div> | ||
150 | </div> | ||
151 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
152 | <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="}"> | ||
153 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01094.html#a23036afb38422a54c60acdea2652891f">··115</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a23036afb38422a54c60acdea2652891f">rbegin</a>()<span·class="keyword">·const</span></div> | ||
154 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">··</span>{</div> | ||
155 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{end()};</div> | ||
156 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> | ||
157 | </div> | ||
158 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01094.html#a809e9b45877602d87d923a91fbe9adc4">··119</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a809e9b45877602d87d923a91fbe9adc4">crbegin</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rbegin();·}</div> | ||
159 | <div·class="foldopen"·id="foldopen00120"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01094.html#ab10688f2e2fd77c3ef1a122c8aad5198">··120</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#ab10688f2e2fd77c3ef1a122c8aad5198">rend</a>()<span·class="keyword">·const</span></div> | ||
161 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">··</span>{</div> | ||
162 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{begin()};</div> | ||
163 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··}</div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a01094.html#a1fda08303c1ae00bb224c1c75c55b43e">··124</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a1fda08303c1ae00bb224c1c75c55b43e">crend</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rend();·}</div> | ||
166 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> | ||
Max diff block lines reached; 849/60623 bytes (1.40%) of diff not shown. |
Offset 1, 352 lines modified | Offset 1, 44 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | binarystring.hxx | ||
3 | 2 | version.hxx | |
3 | 1/*·Version·info·for·libpqxx. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead. |
6 | 4·* | 6 | 4·* |
7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 7 | 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
8 | 6·* | 8 | 6·* |
9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 9 | 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 10 | 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
11 | 9·*·mistake,·or·contact·the·author. | 11 | 9·*·mistake,·or·contact·the·author. |
12 | 10·*/ | 12 | 10·*/ |
13 | 11#ifndef·PQXX_H_BINARYSTRING | ||
14 | 1 | 13 | 11#if·!defined(PQXX_H_VERSION) |
14 | 12#·define·PQXX_H_VERSION | ||
15 | 13 | 15 | 13 |
16 | 14#if·!defined(PQXX_HEADER_PRE) | 16 | 14#·if·!defined(PQXX_HEADER_PRE) |
17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 16#endif | 18 | 16#·endif |
19 | 17 | 19 | 17 |
20 | 19#·define·PQXX_VERSION·"7.8.1" | ||
21 | 21#·define·PQXX_ABI·"7.8" | ||
22 | 22 | ||
23 | 24#·define·PQXX_VERSION_MAJOR·7 | ||
24 | 26#·define·PQXX_VERSION_MINOR·8 | ||
25 | 27 | ||
26 | 28#·define·PQXX_VERSION_CHECK·check_pqxx_version_7_8 | ||
20 | 18#include·<memory> | ||
21 | 19#include·<string> | ||
22 | 20#include·<string_view> | ||
23 | 21 | ||
24 | 22#include·"pqxx/result.hxx" | ||
25 | 23#include·"pqxx/strconv.hxx" | ||
26 | 24 | ||
27 | 25namespace·_\x8p_\x8q_\x8x_\x8x | ||
28 | 26{ | ||
29 | 27class·binarystring; | ||
30 | 28template<>·struct·string_traits<binarystring>; | ||
31 | 29 | 27 | 29 |
28 | 30namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
29 | 31{ | ||
32 | 30 | ||
33 | 32 | ||
34 | _\x85_\x88class·PQXX_LIBEXPORT·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g | ||
35 | 59{ | ||
36 | 60public: | ||
37 | _\x86_\x81·using·_\x8c_\x8h_\x8a_\x8r_\x8__\x8t_\x8y_\x8p_\x8e·=·unsigned·char; | ||
38 | _\x86_\x82·using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::char_traits<char_type>::char_type; | ||
39 | _\x86_\x83·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::size_t; | ||
40 | _\x86_\x84·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·long; | ||
41 | _\x86_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·&; | ||
42 | _\x86_\x86·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·*; | ||
43 | _\x86_\x87·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r; | ||
44 | _\x86_\x88·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·std::reverse_iterator<const_iterator>; | ||
45 | 69 | ||
46 | _\x87_\x80·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
47 | 71·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&)·=·default; | ||
48 | 72 | ||
49 | 74 | ||
50 | 78·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
51 | 79·_\x8f_\x8i_\x8e_\x8l_\x8d·const·&); | ||
52 | 80 | ||
53 | 82 | ||
54 | 85·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
55 | 86·std::string_view); | ||
56 | 87 | ||
57 | 89·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
58 | 90·void·const·*,·std::size_t); | ||
59 | 91 | ||
60 | _\x89_\x83·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( | ||
61 | 94·std::shared_ptr<value_type>·ptr,·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size)·: | ||
62 | 95·m_buf{std::move(ptr)},·m_size{size} | ||
63 | 96·{} | ||
64 | 97 | ||
65 | _\x89_\x89·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_size;·} | ||
66 | _\x81_\x80_\x81·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h()·const·noexcept·{·return·size();·} | ||
67 | _\x81_\x80_\x82·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·size()·==·0;·} | ||
68 | 103 | ||
69 | _\x81_\x80_\x84·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·data();·} | ||
70 | _\x81_\x80_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·begin();·} | ||
71 | _\x81_\x80_\x86·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8e_\x8n_\x8d()·const·noexcept·{·return·data()·+·m_size; | ||
72 | } | ||
73 | _\x81_\x80_\x87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·end();·} | ||
74 | 108 | ||
75 | _\x81_\x80_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·*begin();·} | ||
76 | _\x81_\x81_\x80·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8b_\x8a_\x8c_\x8k()·const·noexcept | ||
77 | 111·{ | ||
78 | 112·return·*(data()·+·m_size·-·1); | ||
79 | 113·} | ||
80 | 114 | ||
81 | _\x81_\x81_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const | ||
82 | 116·{ | ||
83 | 117·return·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r{end()}; | ||
84 | 118·} | ||
85 | _\x81_\x81_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const·{·return·rbegin();·} | ||
86 | _\x81_\x82_\x80·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8r_\x8e_\x8n_\x8d()·const | ||
87 | 121·{ | ||
88 | 122·return·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r{begin()}; | ||
89 | 123·} | ||
90 | _\x81_\x82_\x84·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8r_\x8e_\x8n_\x8d()·const·{·return·rend();·} | ||
91 | 125 | ||
92 | _\x81_\x82_\x87·[[nodiscard]]·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·*_\x8d_\x8a_\x8t_\x8a()·const·noexcept·{·return·m_buf.get(); | ||
93 | } | ||
94 | 128 | ||
95 | _\x81_\x82_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8](_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·i)·const·noexcept | ||
96 | 130·{ | ||
97 | 131·return·data()[i]; | ||
98 | 132·} | ||
99 | 30 | 33 | |
31 | 54PQXX_LIBEXPORT·int·_\x8P_\x8Q_\x8X_\x8X_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8__\x8C_\x8H_\x8E_\x8C_\x8K()·noexcept; | ||
100 | 134·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&)·const | ||
101 | noexcept; | ||
102 | _\x81_\x83_\x85·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=(_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&rhs)·const·noexcept | ||
103 | 136·{ | ||
104 | 137·return·not·operator==(rhs); | ||
105 | 138·} | ||
106 | 139 | ||
107 | _\x81_\x84_\x80·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&); | ||
108 | 141 | ||
109 | 143·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·at(_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e)·const; | ||
110 | 144 | ||
111 | 146·void·swap(_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·&); | ||
112 | 147 | ||
113 | 149 | ||
114 | _\x81_\x85_\x82·[[nodiscard]]·char·const·*_\x8g_\x8e_\x8t()·const·noexcept | ||
115 | 153·{ | ||
Max diff block lines reached; 170/18906 bytes (0.90%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·ran | 8 | <title>libpqxx:·subtransaction.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 631 lines modified | Offset 60, 71 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">ran | 67 | ··<div·class="headertitle"><div·class="title">subtransaction.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::subtransaction·class.</span></div> | ||
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a·transaction.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
70 | <div·class=" | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div> |
71 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<variant></span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·"pqxx/internal/array-composite.hxx"</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·"pqxx/internal/concat.hxx"</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
85 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
86 | <div·class=" | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/dbtransaction.hxx"</span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
87 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
88 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> |
89 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
90 | <div·class="foldopen"·id="foldopen000 | 94 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};"> |
91 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01478.html">···76</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·:·<span·class="keyword">public</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·55,·SHA:·04fd802f3bbc44af99cab59c6386cc5eb21816eebf81057cb236068676adbb83·...·]</div> |
96 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······································<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div> | ||
92 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> |
98 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div> | ||
99 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&t,·std::string_view·tname·=·<span·class="stringliteral">""</span>sv);</div> | ||
100 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
101 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·&t,·std::string_view·name·=·<span·class="stringliteral">""</span>sv);</div> | ||
102 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
103 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01478.html">~subtransaction</a>()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div> | ||
104 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
93 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">private</span>:</div> |
106 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·quoted_name()<span·class="keyword">·const</span></div> | ||
107 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div> | ||
108 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·quote_name(<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">transaction_focus::name</a>());</div> | ||
94 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> |
110 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div> | ||
111 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> | ||
95 | </div> | 112 | </div> |
96 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE></div> | ||
97 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">···31</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div> | ||
100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}</div> | ||
102 | </div> | ||
103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> | ||
104 | </div> | ||
105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
107 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
108 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> | ||
109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01378.html">···42</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>·TYPE>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01378.html">inclusive_bound</a></div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.)</span></div> | ||
112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div> | ||
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··TYPE·m_value;</div> | ||
114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">···49</a></span>··<a·class="code·hl_function"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div> | ||
117 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> | ||
118 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">···50</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&value)·:·m_value{value}</div> | ||
119 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> | ||
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">if</span>·(is_null(value))</div> | ||
121 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">"Got·null·value·as·an·inclusive·range·bound."</span>};</div> | ||
122 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> | ||
123 | </div> | ||
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
125 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">···56</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">get</a>()·const·&noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div> | ||
126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
127 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">···59</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&value)·<span·class="keyword">const</span></div> | ||
129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·<·m_value))</div> | ||
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·not(value·<·m_value);</div> | ||
132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div> | ||
133 | </div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
135 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">···66</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&value)·<span·class="keyword">const</span></div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·<·m_value))</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·not(m_value·<·value);</div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
141 | </div> | ||
Max diff block lines reached; 22224/121649 bytes (18.27%) of diff not shown. |
Offset 1, 686 lines modified | Offset 1, 66 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | range.hxx | ||
3 | 1#ifndef·PQXX_H_RANGE | ||
4 | 2#define·PQXX_H_RANGE | ||
5 | 2 | subtransaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::subtransaction·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a | ||
6 | transaction. | ||
7 | 4·* | ||
8 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead. | ||
9 | 6·* | ||
10 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
11 | 8·* | ||
12 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
13 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
14 | 11·*·mistake,·or·contact·the·author. | ||
15 | 12·*/ | ||
16 | 13#ifndef·PQXX_H_SUBTRANSACTION | ||
17 | 14#define·PQXX_H_SUBTRANSACTION | ||
18 | 15 | ||
6 | 19 | 16#if·!defined(PQXX_HEADER_PRE) | |
7 | 20 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | |
21 | 18#endif | ||
22 | 19 | ||
23 | 20#include·"pqxx/dbtransaction.hxx" | ||
24 | 21 | ||
25 | 22namespace·_\x8p_\x8q_\x8x_\x8x | ||
26 | 23{ | ||
27 | 28 | ||
28 | _\x87_\x86class·PQXX_LIBEXPORT·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s, | ||
29 | 77·public·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
30 | 78{ | ||
31 | 79public: | ||
32 | 81·explicit·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·tname·=·""sv); | ||
33 | 82 | ||
34 | 84·explicit·_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·name·=·""sv); | ||
35 | 85 | ||
36 | 86·virtual·_\x8~_\x8s_\x8u_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·noexcept·override; | ||
37 | 87 | ||
38 | 88private: | ||
39 | 89·std::string·quoted_name()·const | ||
40 | 90·{ | ||
41 | 91·return·quote_name(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s_\x8:_\x8:_\x8n_\x8a_\x8m_\x8e()); | ||
42 | 92·} | ||
43 | 93·virtual·void·do_commit()·override; | ||
44 | 94}; | ||
45 | 95}·//·namespace·pqxx | ||
8 | 6#endif | 46 | 96#endif |
9 | 7 | ||
10 | 8#include·<utility> | ||
11 | 9#include·<variant> | ||
12 | 10 | ||
13 | 11#include·"pqxx/internal/array-composite.hxx" | ||
14 | 12#include·"pqxx/internal/concat.hxx" | ||
15 | 13 | ||
16 | 14namespace·_\x8p_\x8q_\x8x_\x8x | ||
17 | 15{ | ||
18 | 17 | ||
19 | _\x82_\x83struct·_\x8n_\x8o_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
20 | 24{ | ||
21 | 25·template<typename·TYPE> | ||
22 | _\x82_\x86·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept | ||
23 | 27·{ | ||
24 | 28·return·true; | ||
25 | 29·} | ||
26 | 30·template<typename·TYPE> | ||
27 | _\x83_\x81·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept | ||
28 | 32·{ | ||
29 | 33·return·true; | ||
30 | 34·} | ||
31 | 35}; | ||
32 | 36 | ||
33 | 37 | ||
34 | 39 | ||
35 | _\x84_\x82template<typename·TYPE>·class·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
36 | 43{ | ||
37 | 44·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) | ||
38 | 45private: | ||
39 | 46·TYPE·m_value; | ||
40 | 47 | ||
41 | 48public: | ||
42 | _\x84_\x89·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; | ||
43 | _\x85_\x80·constexpr·explicit·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} | ||
44 | 51·{ | ||
45 | 52·if·(is_null(value)) | ||
46 | 53·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·inclusive·range·bound."}; | ||
47 | 54·} | ||
48 | 55 | ||
49 | _\x85_\x86·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; | ||
50 | } | ||
51 | 57 | ||
52 | _\x85_\x89·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
53 | 60·noexcept(noexcept(value·<·m_value)) | ||
54 | 61·{ | ||
55 | 62·return·not(value·<·m_value); | ||
56 | 63·} | ||
57 | 64 | ||
58 | _\x86_\x86·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
59 | 67·noexcept(noexcept(value·<·m_value)) | ||
60 | 68·{ | ||
61 | 69·return·not(m_value·<·value); | ||
62 | 70·} | ||
63 | 71}; | ||
64 | 72 | ||
65 | 73 | ||
66 | 75 | ||
67 | _\x87_\x88template<typename·TYPE>·class·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d | ||
68 | 79{ | ||
69 | 80·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) | ||
70 | 81private: | ||
71 | 82·TYPE·m_value; | ||
72 | 83 | ||
73 | 84public: | ||
74 | _\x88_\x85·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; | ||
75 | _\x88_\x86·constexpr·explicit·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} | ||
76 | 87·{ | ||
77 | 88·if·(is_null(value)) | ||
78 | 89·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·exclusive·range·bound."}; | ||
79 | 90·} | ||
80 | 91 | ||
81 | _\x89_\x82·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; | ||
82 | } | ||
83 | 93 | ||
84 | _\x89_\x85·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const | ||
85 | 96·noexcept(noexcept(m_value·<·value)) | ||
86 | 97·{ | ||
Max diff block lines reached; 12924/33112 bytes (39.03%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·result.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 539 lines modified | Offset 60, 280 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">result.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx:: | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx:: | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | 76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> |
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | 77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> |
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT</span></div> |
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·< | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<functional></span></div> |
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<ios></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<memory></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<stdexcept></span></div> | ||
90 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/array.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/composite.hxx"</span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/ | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
97 | <div·class="line"><a·id="l0002 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"pqxx/util.hxx"</span></div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"pqxx/zview.hxx"</span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"pqxx/internal/encodings.hxx"</span></div> | ||
99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
100 | <div·class=" | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
101 | <div·class="line"><a·id="l0003 | 102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> |
102 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> |
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00251.html#ade1b58f5fe0254e0282e837865408e81">clear_result</a>(pq::PGresult·<span·class="keyword">const</span>·*)·<span·class="keyword">noexcept</span>;</div> | ||
103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class=" | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> |
104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"> | 106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> | ||
106 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> |
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_connection;</div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_creation;</div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_pipeline;</div> | ||
107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>· | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span>result_row;</div> |
108 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>result_sql_cursor;</div> |
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div> | ||
109 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··[[deprecated(</div> | ||
111 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="stringliteral">"Do·not·construct·fields·yourself.··Get·them·from·the·"</span></div> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">···50</a></span>····<span·class="stringliteral">"row."</span>)]]·<a·class="code·hl_function"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">field</a>()·noexcept·=·default;</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
115 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01314.html">field</a>·const·&)·const·noexcept;</div> | ||
116 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div> | ||
117 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
118 | <div·class="foldopen"·id="foldopen0007 | 121 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};"> |
119 | <div·class="line"><a·id="l0007 | 122 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01402.html">···72</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01402.html">result</a></div> |
120 | <div·class="line"><a·id="l0007 | 123 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> |
121 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> |
122 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> | ||
123 | </div> | 125 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01402.html#a45143316d9e7b9a658850326732d2786">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a65[·...·truncated·by·diffoscope;·len:·135,·SHA:·18cdbd41d76062b35fd674e757437f02f4a748c9541a7136085dcf983eec96b4·...·]/div> |
126 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div> | ||
127 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01402.html#a331bc56dd4ef9020f184f6909b3dd119">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01418.html">reference</a>·=·<a·class="code·hl_class"·href="a01418.html">row</a>;</div> | ||
128 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>·=·const_result_iterator;</div> | ||
129 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> | ||
130 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> | ||
131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>·=·const_reverse_result_iterator;</div> | ||
132 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">reverse_iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>;</div> | ||
124 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
125 | <div·class=" | 134 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> |
135 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">···84</a></span>··<a·class="code·hl_function"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:</div> | ||
136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········m_data{make_data_pointer()},</div> | ||
137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········m_query{},</div> | ||
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········m_encoding{internal::encoding_group::MONOBYTE}</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{}</div> | ||
140 | </div> | ||
126 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
127 | <div·class="line"><a·id="l0009 | 142 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01402.html#af78abacdc250b2b6997b933379e112da">···90</a></span>··<a·class="code·hl_function"·href="a01402.html#af78abacdc250b2b6997b933379e112da">result</a>(<a·class="code·hl_class"·href="a014[·...·truncated·by·diffoscope;·len:·145,·SHA:·1a8462f3e433c83c28d5b211b6d64040f3a9db6dd97c621dbee52414dd7150b5·...·];</div> |
143 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">···91</a></span>··<a·class="code·hl_function"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·&&rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> | ||
128 | <div·class="line"><a·id="l0009 | 144 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
129 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··[[nodiscard]]·PQXX_PURE·oid·table()·const;</div> | ||
130 | <div·class="line"><a·id="l0009 | 145 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
131 | <div·class="line"><a·id="l0009 | 146 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01402.html#ada6d82fe35f72cb45623fba4f8066279">···97</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&<a·class="code·hl_function"·href="a01402.html#ada6d82fe35f72cb45623[·...·truncated·by·diffoscope;·len:·209,·SHA:·79732bb8fb3ff18e5bcaf3925c0be66a20bbc866340a93fad4869c967fecfcd6·...·]</div> |
132 | <div·class="line"><a·id="l0009 | 147 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> |
133 | <div·class="line"><a·id="l0010 | 148 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01402.html#a399cde6713d4b415e229d67bfba4eccd">··100</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&<a·class="code·hl_function"·href="a01402.html#a399cde6713d4b415e229[·...·truncated·by·diffoscope;·len:·170,·SHA:·77bd48b8f926af04451f2ee939cdc2dc28969f66a61634376dbd08d100d79417·...·]t</span>;</div> |
134 | <div·class="line"><a·id="l0010 | 149 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
135 | <div·class="line"><a·id="l001 | 150 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&)·<span·class="keyword">const</span>·<spa[·...·truncated·by·diffoscope;·len:·34,·SHA:·28f58d23e733d7bead988ee2e70dc668842a458ba87b78a4dbc64d24fb86cf38·...·]</div> |
136 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> | 151 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> |
137 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01 | 152 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">··113</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">operator!=</a>(<a·class="code·hl_class"·href="a01402.html">re[·...·truncated·by·diffoscope;·len:·126,·SHA:·99a0ec0c722321c89808e48b6707c707f581b308712d8e3dac9a616f7cd08899·...·]</div> |
138 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> | 153 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> |
139 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>· | 154 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> |
140 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> | 155 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> |
141 | </div> | 156 | </div> |
142 | <div·class="line"><a·id="l0011 | 157 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
143 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> | ||
Max diff block lines reached; 107123/134411 bytes (79.70%) of diff not shown. |
Offset 1, 607 lines modified | Offset 1, 316 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | field.hxx | ||
3 | 2 | result.hxx | |
3 | 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·pqxx:: | 5 | 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. |
10 | 8·* | 10 | 8·* |
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called |
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this |
13 | 11·*·mistake,·or·contact·the·author. | 13 | 11·*·mistake,·or·contact·the·author. |
14 | 12·*/ | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_ | 15 | 13#ifndef·PQXX_H_RESULT |
16 | 14#define·PQXX_H_ | 16 | 14#define·PQXX_H_RESULT |
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 18#endif | 20 | 18#endif |
21 | 19 | 21 | 19 |
22 | 20#include·< | 22 | 20#include·<functional> |
23 | 21 | ||
24 | 22#include·"pqxx/array.hxx" | ||
25 | 2 | 23 | 21#include·<ios> |
24 | 22#include·<memory> | ||
25 | 23#include·<stdexcept> | ||
26 | 24 | ||
26 | 2 | 27 | 25#include·"pqxx/except.hxx" |
27 | 25#include·"pqxx/strconv.hxx" | ||
28 | 26#include·"pqxx/types.hxx" | 28 | 26#include·"pqxx/types.hxx" |
29 | 27 | ||
30 | 2 | 29 | 27#include·"pqxx/util.hxx" |
30 | 28#include·"pqxx/zview.hxx" | ||
31 | 29 | 31 | 29 |
32 | 30#include·"pqxx/internal/encodings.hxx" | ||
32 | 31 | 33 | 31 |
33 | _\x83_\x84class·PQXX_LIBEXPORT·_\x8f_\x8i_\x8e_\x8l_\x8d | ||
34 | 35{ | ||
35 | 36public: | ||
36 | 34 | 32 | |
35 | 33namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
36 | 34{ | ||
37 | 35PQXX_LIBEXPORT·void·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(pq::PGresult·const·*)·noexcept; | ||
38 | 36}·//·namespace·pqxx::internal | ||
39 | 37 | ||
37 | 38 | 40 | 38 |
41 | 39namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
38 | 40 | 42 | 40{ |
39 | 44·[[deprecated( | ||
40 | 45·"Do·not·construct·fields·yourself.·Get·them·from·the·row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d(_\x8r_\x8o_\x8w | ||
41 | const·&r,·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·c)·noexcept; | ||
42 | 46 | ||
43 | 48·[[deprecated( | ||
44 | 49·"Do·not·construct·fields·yourself.·Get·them·from·the·" | ||
45 | _\x85_\x80·"row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d()·noexcept·=·default; | ||
46 | 51 | ||
47 | 57 | ||
48 | 73·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8f_\x8i_\x8e_\x8l_\x8d·const·&)·const·noexcept; | ||
49 | 74 | ||
50 | 76 | ||
51 | _\x87_\x88·[[nodiscard]]·PQXX_PURE·bool·operator!=(_\x8f_\x8i_\x8e_\x8l_\x8d·const·&rhs)·const·noexcept | ||
52 | 79·{ | ||
53 | 80·return·not·operator==(rhs); | ||
54 | 43 | 41class·result_connection; | |
44 | 42class·result_creation; | ||
45 | 43class·result_pipeline; | ||
46 | 44class·result_row; | ||
47 | 45class·result_sql_cursor; | ||
48 | 46}·//·namespace·pqxx::internal::gate | ||
49 | 47 | ||
50 | 48 | ||
51 | 49namespace·_\x8p_\x8q_\x8x_\x8x | ||
52 | 50{ | ||
53 | 52 | ||
54 | _\x87_\x82class·PQXX_LIBEXPORT·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t | ||
55 | 73{ | ||
56 | 74public: | ||
57 | _\x87_\x85·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
58 | _\x87_\x86·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
59 | _\x87_\x87·using·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8r_\x8o_\x8w; | ||
60 | _\x87_\x88·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·const_result_iterator; | ||
61 | _\x87_\x89·using·_\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
62 | _\x88_\x80·using·_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
63 | _\x88_\x81·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·const_reverse_result_iterator; | ||
64 | _\x88_\x82·using·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
55 | 83 | 65 | 83 |
56 | 89·[[nodiscard]]·PQXX_PURE·char·const·*name()·const·&; | ||
57 | 90 | ||
58 | 92·[[nodiscard]]·oid·PQXX_PURE·type()·const; | ||
59 | 93 | ||
60 | 95·[[nodiscard]]·PQXX_PURE·oid·table()·const; | ||
61 | 96 | ||
62 | _\x89_\x88·PQXX_PURE·constexpr·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·num()·const·noexcept·{·return·col();·} | ||
63 | 99 | ||
64 | 101·[[nodiscard]]·PQXX_PURE·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·table_column()·const; | ||
65 | 103 | ||
66 | 109 | ||
67 | _\x8 | 66 | _\x88_.4·_.r_.e_.s_.u_.l_.t()·noexcept·: |
67 | 85·m_data{make_data_pointer()}, | ||
68 | 86·m_query{}, | ||
69 | 87·m_encoding{internal::encoding_group::MONOBYTE} | ||
70 | 88·{} | ||
71 | 89 | ||
72 | _\x89_\x80·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&rhs)·noexcept·=·default; | ||
73 | _\x89_\x81·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&&rhs)·noexcept·=·default; | ||
74 | 92 | ||
75 | 94 | ||
76 | _\x89_\x87·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&rhs)·noexcept·=·default; | ||
77 | 98 | ||
78 | _\x81_\x80_\x80·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&&rhs)·noexcept·=·default; | ||
79 | 101 | ||
80 | 111·[[nodiscard]]·bool·operator==(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&)·const·noexcept; | ||
81 | _\x81_\x81_\x83·[[nodiscard]]·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·const·&rhs)·const·noexcept | ||
68 | 114·{ | 82 | 114·{ |
69 | 115·return· | 83 | 115·return·not·operator==(rhs); |
70 | 116·} | 84 | 116·} |
71 | 117 | ||
72 | 119 | ||
73 | 128·[[nodiscard]]·PQXX_PURE·char·const·*c_str()·const·&; | ||
74 | 129 | ||
75 | 1 | 85 | 118 |
86 | 120 | ||
87 | _\x81_\x82_\x86·template<typename...·TYPE>·auto·_\x8i_\x8t_\x8e_\x8r()·const; | ||
88 | 127 | ||
89 | 128·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const; | ||
Max diff block lines reached; 28972/34257 bytes (84.57%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·notification.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 27 lines modified | Offset 60, 82 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">notification.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::notification_receiver·functor·interface.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::notification_receiver·handles·incoming·notifications.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NOTIFICATION</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NOTIFICATION</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<string></span></div> | ||
71 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
97 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
98 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01354.html">···56</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01354.html">notification_receiver</a></div> | ||
99 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
72 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> |
101 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
102 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·channel);</div> | ||
103 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">···66</a></span>··<a·class="code·hl_function"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
104 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01354.html#afcf701e264edd9a14513765f542b446d">···68</a></span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·&<a·class="code·hl_function"·href="a01354.html#afcf701e264edd9a14513765f542b446d">operator=</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
105 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01354.html">~notification_receiver</a>();</div> | ||
106 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">···73</a></span>··[[nodiscard]]·std::string·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>()·const·&·{·<span·class="keywordflow">return</span>·m_channel;·}</div> | ||
108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
109 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref.</span></div> | ||
110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
111 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">···84</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">operator()</a>(std::string·<span·class="keyword">const</span>·&payload,·<span·class="keywordtype">int</span>·backend_pid)·=·0;</div> | ||
112 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
73 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">protected</span>:</div> |
114 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">···87</a></span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&<a·class="code·hl_function"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">conn</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_conn;·}</div> | ||
115 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
116 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">private</span>:</div> | ||
117 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&m_conn;</div> | ||
118 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·m_channel;</div> | ||
119 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> | ||
120 | </div> | ||
121 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>}·<span·class="comment">//·namespace·pqxx</span></div> | ||
74 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#endif</span></div> |
75 | <div·class=" | 123 | <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> |
124 | <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div> | ||
125 | <div·class="ttc"·id="aa01354_html"><div·class="ttname"><a·href="a01354.html">pqxx::notification_receiver</a></div><div·class="ttdef"><b>Definition</b>·notification.hxx:57</div></div> | ||
126 | <div·class="ttc"·id="aa01354_html_a44ffe1ed8ec8020f4106ef8427e09d17"><div·class="ttname"><a·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">pqxx::notification_receiver::notification_receiver</a></div><div·class="ttdeci">notification_receiver(notification_receiver·const·&)=delete</div><div·class="ttdoc">Register·the·receiver·with·a·connection.</div></div> | ||
127 | <div·class="ttc"·id="aa01354_html_a57732bae437844782bdfe6314f829d9a"><div·class="ttname"><a·href="a01354.html#a57732bae437844782bdfe6314f829d9a">pqxx::notification_receiver::channel</a></div><div·class="ttdeci">std::string·const·&·channel()·const·&</div><div·class="ttdoc">The·channel·that·this·receiver·listens·on.</div><div·class="ttdef"><b>Definition</b>·notification.hxx:73</div></div> | ||
128 | <div·class="ttc"·id="aa01354_html_abb6fd7dd38319fc35e354e23d7f337d0"><div·class="ttname"><a·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">pqxx::notification_receiver::operator()</a></div><div·class="ttdeci">virtual·void·operator()(std::string·const·&payload,·int·backend_pid)=0</div><div·class="ttdoc">Overridable:·action·to·invoke·when·notification·arrives.</div></div> | ||
129 | <div·class="ttc"·id="aa01354_html_aedbe7f73abc3d4a1e211fa512b91479f"><div·class="ttname"><a·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">pqxx::notification_receiver::conn</a></div><div·class="ttdeci">connection·&·conn()·const·noexcept</div><div·class="ttdef"><b>Definition</b>·notification.hxx:87</div></div> | ||
130 | <div·class="ttc"·id="aa01354_html_afcf701e264edd9a14513765f542b446d"><div·class="ttname"><a·href="a01354.html#afcf701e264edd9a14513765f542b446d">pqxx::notification_receiver::operator=</a></div><div·class="ttdeci">notification_receiver·&·operator=(notification_receiver·const·&)=delete</div><div·class="ttdoc">Register·the·receiver·with·a·connection.</div></div> | ||
76 | </div><!--·fragment·--></div><!--·contents·--> | 131 | </div><!--·fragment·--></div><!--·contents·--> |
77 | </div><!--·doc-content·--> | 132 | </div><!--·doc-content·--> |
78 | <!--·start·footer·part·--> | 133 | <!--·start·footer·part·--> |
79 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 134 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
80 | ··<ul> | 135 | ··<ul> |
81 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b> | 136 | ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>notification.hxx</b></li> |
82 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 137 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
83 | ··</ul> | 138 | ··</ul> |
84 | </div> | 139 | </div> |
85 | </body> | 140 | </body> |
86 | </html> | 141 | </html> |
Offset 1, 12 lines modified | Offset 1, 81 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-public-compiler.h | ||
3 | 1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PQXX_HAVE_GCC_PURE·1 | ||
6 | 4#define·PQXX_HAVE_GCC_VISIBILITY·1 | ||
7 | 5#define·PQXX_HAVE_PATH·1 | ||
8 | 2 | notification.hxx | |
3 | 1/*·Definition·of·the·pqxx::notification_receiver·functor·interface. | ||
4 | 2·* | ||
5 | 3·*·pqxx::notification_receiver·handles·incoming·notifications. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_NOTIFICATION | ||
16 | 14#define·PQXX_H_NOTIFICATION | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·<string> | ||
23 | 21 | ||
24 | 22#include·"pqxx/types.hxx" | ||
25 | 23 | ||
26 | 24 | ||
27 | 25namespace·_\x8p_\x8q_\x8x_\x8x | ||
28 | 26{ | ||
29 | 28 | ||
30 | _\x85_\x86class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r | ||
31 | 57{ | ||
32 | 58public: | ||
33 | 60 | ||
34 | 64·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·channel); | ||
35 | _\x86_\x86·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete; | ||
36 | _\x86_\x88·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete; | ||
37 | 70·virtual·_\x8~_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(); | ||
38 | 71 | ||
39 | _\x87_\x83·[[nodiscard]]·std::string·const·&_\x8c_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l()·const·&·{·return·m_channel;·} | ||
40 | 74 | ||
41 | 75·//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref. | ||
42 | 77 | ||
43 | _\x88_\x84·virtual·void·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(std::string·const·&payload,·int·backend_pid)·=·0; | ||
44 | 85 | ||
45 | 86protected: | ||
46 | _\x88_\x87·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&_\x8c_\x8o_\x8n_\x8n()·const·noexcept·{·return·m_conn;·} | ||
47 | 88 | ||
48 | 89private: | ||
49 | 90·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&m_conn; | ||
50 | 91·std::string·m_channel; | ||
51 | 92}; | ||
52 | 93}·//·namespace·pqxx | ||
53 | 94#endif | ||
54 | _\x8p_\x8q_\x8x_\x8x | ||
55 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
56 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
57 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
58 | Connection·to·a·database. | ||
59 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253 | ||
60 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r | ||
61 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:57 | ||
62 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r | ||
63 | notification_receiver(notification_receiver·const·&)=delete | ||
64 | Register·the·receiver·with·a·connection. | ||
65 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8c_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l | ||
66 | std::string·const·&·channel()·const·& | ||
67 | The·channel·that·this·receiver·listens·on. | ||
68 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:73 | ||
69 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | ||
70 | virtual·void·operator()(std::string·const·&payload,·int·backend_pid)=0 | ||
71 | Overridable:·action·to·invoke·when·notification·arrives. | ||
72 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n | ||
73 | connection·&·conn()·const·noexcept | ||
74 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:87 | ||
75 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8= | ||
76 | notification_receiver·&·operator=(notification_receiver·const·&)=delete | ||
77 | Register·the·receiver·with·a·connection. | ||
9 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 78 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
10 | ····*·_\x8p_\x8q_\x8x_\x8x | 79 | ····*·_\x8p_\x8q_\x8x_\x8x |
11 | ····*· | 80 | ····*·n.no.ot.ti.if.fi.ic.ca.at.ti.io.on.n...h.hx.xx.x |
12 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 81 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·u | 8 | <title>libpqxx:·cursor.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 550 lines modified | Offset 60, 373 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">u | 67 | ··<div·class="headertitle"><div·class="title">cursor.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·iterator/container-style·cursor·classes.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·C++-style·wrappers·for·SQL·cursors.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·C | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/cursor·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CURSOR</span></div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CURSOR</span></div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> |
84 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> |
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
86 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<cassert></span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<cctype></span></div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<cerrno></span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<cstdio></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<cstring></span></div> | ||
92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<functional></span></div> | ||
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iterator></span></div> | ||
94 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<limits></span></div> |
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<memory></span></div> | ||
96 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<stdexcept></span></div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<string></span></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<string_view></span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<typeinfo></span></div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<utility></span></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<vector></span></div> | ||
103 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
105 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> |
106 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/transaction_base.hxx"</span></div> |
107 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
108 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
109 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
98 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
99 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> | ||
100 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01118.html">···41</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01118.html">cursor_base</a></div> | ||
110 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{ | 101 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
111 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 102 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> |
112 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·<pqxx/internal/libpq-forward.hxx></span></div> | ||
113 | <div·class="line"><a·id="l0004 | 103 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01118.html#a5933f6fed7891b6e7aa9bc43059a0e7b">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01118.html#a5933f6fed7891b6e7aa9bc43059a0e7b">size_type</a[·...·truncated·by·diffoscope;·len:·105,·SHA:·6b8dd21423a17107ad3dd8a1db59135a848b2b524bffd4a8e9111a736798ce7d·...·]</div> |
104 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01118.html#ada166a0fb33fe691868dad036d3b2d03">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01118.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div> | ||
114 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
115 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·C++23:·Retire·wrapper.</span></div> | ||
116 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#if·pqxx_have_unreachable</span></div> | ||
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·std::unreachable()</span></div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#else</span></div> | ||
119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·assert(false)</span></div> | ||
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> | ||
121 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
123 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
124 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> | ||
125 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
126 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> | ||
127 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT></div> | ||
128 | <div·class="foldopen"·id="foldopen000 | 107 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};"> |
129 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">···51</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">access_p[·...·truncated·by·diffoscope;·len:·8,·SHA:·ded26405b35a9141f3d5d13b6fc8d97ced765b201bc157eea77e91dbd4e88579·...·]></div> |
130 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> |
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">···54</a></span>····<a·class="code·hl_enumvalue"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">forward_only</a>,</div> | ||
131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> | ||
132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·std::cmp_less(lhs,·rhs);</div> | ||
133 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#else</span></div> | ||
134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive</span></div> | ||
135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·warning·when·we·compare·the·values·directly.··It·considers·that·a</span></div> | ||
136 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="comment">//·"self-comparison."</span></div> | ||
137 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·left_signed{std::is_signed_v<LEFT>};</div> | ||
138 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(left_signed·==·std::is_signed_v<RIGHT>)</div> | ||
139 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·lhs·<·rhs;</div> | ||
140 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(std::is_signed_v<LEFT>)</div> | ||
141 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·(lhs·<=·0)·?·true·:·(std::make_unsigned_t<LEFT>(lhs)·<·rhs);</div> | ||
142 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">else</span></div> | ||
143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·(rhs·<=·0)·?·false·:·(lhs·<·std::make_unsigned_t<RIGHT>(rhs));</div> | ||
144 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> | ||
145 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····random_access</div> |
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2a7f6c1ed7719885433353a78946b2c5f3">···57</a></span>··};</div> | ||
146 | </div> | 113 | </div> |
147 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
148 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> | ||
150 | <div·class=" | 116 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="};"> |
117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083">···63</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083">update_policy</a></div> | ||
118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a8122c0c4a5eb9c9dbf27ab40a2686eb0">···66</a></span>····<a·class="code·hl_enumvalue"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a8122c0c4a5eb9c9dbf27ab40a2686eb0">read_only</a>,</div> | ||
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····update</div> | ||
121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01118.html#ace67894e61fba0ce9f9f6e5b9dd33083a12fa229ee3e760f1ca86d66304554b63">···69</a></span>··};</div> | ||
122 | </div> | ||
123 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
124 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
151 | <div·class="foldopen"·id="foldopen0008 | 125 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};"> |
152 | <div·class="line"><a·id="l0008 | 126 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01118.html#ac06b19ea7f07f4e251560f49bee2e490">···87</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01118.html#ac06b19ea7f07f4e251560f49bee2e490">ownership[·...·truncated·by·diffoscope;·len:·10,·SHA:·cd1993e47367c4cffbb090c264ae1d9d83cadb7b276f747b7a5343a0607c4dc8·...·]></div> |
153 | <div·class="line"><a·id="l0008 | 127 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> |
Max diff block lines reached; 122671/146612 bytes (83.67%) of diff not shown. |
Offset 1, 614 lines modified | Offset 1, 421 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | util.hxx | ||
3 | 2 | cursor.hxx | |
3 | 1/*·Definition·of·the·iterator/container-style·cursor·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·C++-style·wrappers·for·SQL·cursors. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/cursor·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
9 | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 13 | 11·*·mistake,·or·contact·the·author. | |
12 | 1 | 14 | 12·*/ |
13 | 1 | 15 | 13#ifndef·PQXX_H_CURSOR |
14 | 1 | 16 | 14#define·PQXX_H_CURSOR |
15 | 1 | 17 | 15 |
16 | 1 | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 20 | 18#endif |
21 | 19 | ||
19 | 17 | ||
20 | 18#include·<cassert> | ||
21 | 19#include·<cctype> | ||
22 | 20#include·<cerrno> | ||
23 | 21#include·<cstdio> | ||
24 | 22#include·<cstring> | ||
25 | 23#include·<functional> | ||
26 | 24#include·<iterator> | ||
27 | 2 | 22 | 20#include·<limits> |
28 | 26#include·<memory> | ||
29 | 2 | 23 | 21#include·<stdexcept> |
24 | 22 | ||
30 | 28#include·<string> | ||
31 | 29#include·<string_view> | ||
32 | 30#include·<type_traits> | ||
33 | 31#include·<typeinfo> | ||
34 | 32#include·<utility> | ||
35 | 33#include·<vector> | ||
36 | 34 | ||
37 | 35#include·"pqxx/except.hxx" | ||
38 | 25 | 23#include·"pqxx/result.hxx" | |
39 | 37#include·"pqxx/version.hxx" | ||
40 | 38 | ||
41 | 26 | 24#include·"pqxx/transaction_base.hxx" | |
27 | 25 | ||
28 | 26 | ||
42 | 29 | 27namespace·_\x8p_\x8q_\x8x_\x8x | |
30 | 28{ | ||
31 | 30 | ||
32 | _\x84_\x81class·PQXX_LIBEXPORT·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e | ||
43 | 42{ | 33 | 42{ |
44 | 43 | ||
45 | 44#include·<pqxx/internal/libpq-forward.hxx> | ||
46 | 4 | 34 | 43public: |
35 | _\x84_\x84·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
36 | _\x84_\x85·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
47 | 46 | 37 | 46 |
38 | 48 | ||
39 | _\x85_\x81·enum·_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
40 | 52·{ | ||
41 | _\x85_\x84·_\x8f_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
42 | 56·random_access | ||
43 | _\x85_\x87·}; | ||
48 | 47//·C++23:·Retire·wrapper. | ||
49 | 48#if·pqxx_have_unreachable | ||
50 | 50#·define·PQXX_UNREACHABLE·std::unreachable() | ||
51 | 51#else | ||
52 | 52#·define·PQXX_UNREACHABLE·assert(false) | ||
53 | 53#endif | ||
54 | 54 | ||
55 | 55 | ||
56 | 57namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
57 | 58 | 44 | 58 |
45 | 60 | ||
46 | _\x86_\x83·enum·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
58 | 59 | ||
59 | 60//·C++20:·Retire·wrapper. | ||
60 | 62template<typename·LEFT,·typename·RIGHT> | ||
61 | _\x86_\x83inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
62 | 64{ | 47 | 64·{ |
48 | _\x86_\x86·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
49 | 68·update | ||
50 | _\x86_\x89·}; | ||
51 | 70 | ||
52 | 72 | ||
53 | _\x88_\x87·enum·_\x8o_\x8w_\x8n_\x8e_\x8r_\x8s_\x8h_\x8i_\x8p_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
54 | 88·{ | ||
55 | _\x89_\x80·_\x8o_\x8w_\x8n_\x8e_\x8d, | ||
56 | 92·loose | ||
57 | _\x89_\x83·}; | ||
63 | 65#if·defined(PQXX_HAVE_CMP) | ||
64 | 66·return·std::cmp_less(lhs,·rhs); | ||
65 | 67#else | ||
66 | 68·//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive | ||
67 | 69·//·warning·when·we·compare·the·values·directly.·It·considers·that·a | ||
68 | 70·//·"self-comparison." | ||
69 | 71·constexpr·bool·left_signed{std::is_signed_v<LEFT>}; | ||
70 | 72·if·constexpr·(left_signed·==·std::is_signed_v<RIGHT>) | ||
71 | 73·return·lhs·<·rhs; | ||
72 | 74·else·if·constexpr·(std::is_signed_v<LEFT>) | ||
73 | 75·return·(lhs·<=·0)·?·true·:·(std::make_unsigned_t<LEFT>(lhs)·<·rhs); | ||
74 | 76·else | ||
75 | 77·return·(rhs·<=·0)·?·false·:·(lhs·<·std::make_unsigned_t<RIGHT>(rhs)); | ||
76 | 78#endif | ||
77 | 79} | ||
78 | 80 | ||
79 | 81 | ||
80 | 82//·C++20:·Retire·wrapper. | ||
81 | 84template<typename·LEFT,·typename·RIGHT> | ||
82 | _\x88_\x85inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8g_\x8r_\x8e_\x8a_\x8t_\x8e_\x8r(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
83 | 86{ | ||
84 | 87#if·defined(PQXX_HAVE_CMP) | ||
85 | 88·return·std::cmp_greater(lhs,·rhs); | ||
86 | 89#else | ||
87 | 90·return·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(rhs,·lhs); | ||
88 | 91#endif | ||
89 | 92} | ||
90 | 93 | ||
91 | 94 | 58 | 94 |
59 | _\x89_\x85·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e()·=·delete; | ||
60 | _\x89_\x86·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e(_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
61 | _\x89_\x87·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
62 | 98 | ||
63 | 103 | ||
92 | 95//·C++20:·Retire·wrapper. | ||
Max diff block lines reached; 32783/38026 bytes (86.21%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:·ro | 8 | <title>libpqxx:·config-internal-autotools.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 620 lines modified | Offset 60, 30 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">ro | 67 | ··<div·class="headertitle"><div·class="title">config-internal-autotools.h</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/</span></div> | ||
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div> | ||
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/except.hxx"</span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·"pqxx/field.hxx"</span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·"pqxx/result.hxx"</span></div> | ||
92 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div> |
93 | <div·class="line"><a·id="l000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PACKAGE·"libpqxx"</span></div> |
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01414.html">···28</a></span><span·class="keyword">template</span><<span·class="keyword">typename</span>...·T>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01414.html">result_iter</a>;</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
104 | <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};"> | ||
105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01418.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01418.html">row</a></div> | ||
106 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> | ||
107 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
108 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>;</div> | ||
109 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>;</div> | ||
110 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01418.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_iterator</a>;</div> | ||
112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01418.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01314.html">reference</a>·=·<a·class="code·hl_class"·href="a01314.html">field</a>;</div> | ||
113 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01418.html#a2e922bcb1a3a3e003e4b31dfc8428974">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">pointer</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> | ||
114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div> | ||
115 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8f09d3a10886af67da65026d1e0a0004">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>;</div> | ||
116 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
117 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01418.html#aac9770e8157db227ea58b66f34865677">···58</a></span>··<a·class="code·hl_function"·href="a01418.html#aac9770e8157db227ea58b66f34865677">row</a>()·noexcept·=·default;</div> | ||
118 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01418.html#aa1cb06aed0b36221084d040461e17e5f">···59</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·&&)·noexcept·=·default;</div> | ||
119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0e77f25a475909b6ea6f5feda5c7cd5a">···60</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·noexcept·=·default;</div> | ||
120 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01418.html#ae980f90b6dfc0c4201cbdac6b91bf2a0">···61</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·noexcept·=·default;</div> | ||
121 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01418.html#aeaedfbaee84c9b14f8c71789bf5a3d5c">···62</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·&&)·noexcept·=·default;</div> | ||
122 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&)·const·noexcept;</div> | ||
124 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
125 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0a4f6ee20682572863f56454a414891b">···69</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&rhs)·const·noexcept</div> | ||
126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> | ||
127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> | ||
128 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div> | ||
129 | </div> | ||
130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··[[nodiscard]]·const_iterator·begin()·const·noexcept;</div> | ||
132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··[[nodiscard]]·const_iterator·cbegin()·const·noexcept;</div> | ||
133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··[[nodiscard]]·const_iterator·end()·const·noexcept;</div> | ||
134 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[nodiscard]]·const_iterator·cend()·const·noexcept;</div> | ||
135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
136 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··[[nodiscard]]·reference·front()·const·noexcept;</div> | ||
137 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[nodiscard]]·reference·back()·const·noexcept;</div> | ||
138 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
139 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rbegin()·const·noexcept;</div> | ||
140 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crbegin()·const·noexcept;</div> | ||
141 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rend()·const·noexcept;</div> | ||
142 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crend()·const·noexcept;</div> | ||
143 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
144 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·reference·operator[](size_type)·const·noexcept;</div> | ||
145 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··[[nodiscard]]·reference·operator[](<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div> | ||
146 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
147 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··reference·at(size_type)·const;</div> | ||
148 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··reference·at(<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div> | ||
149 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01418.html#a5188d51a9ae821ac1c2a5071b092e7ac">··104</a></span>··[[nodiscard]]·constexpr·<a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·size()·const·noexcept</div> | ||
152 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div> | ||
153 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·m_end·-·m_begin;</div> | ||
154 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> | ||
155 | </div> | ||
156 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
157 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··[[deprecated(<span·class="stringliteral">"Swap·iterators,·not·rows."</span>)]]·<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01418.html">row</a>·&)·<span·class="keyword">noexcept</span>;</div> | ||
158 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
159 | <div·class="foldopen"·id="foldopen00112"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">··112</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">result::size_type</a>·<a·class="code·hl_function"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">rownumber</a>()·const·noexcept</div> | ||
161 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··{</div> | ||
162 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">return</span>·m_index;</div> | ||
163 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··}</div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> | ||
166 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··[[nodiscard]]·size_type·column_number(<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·<span·class="keyword">const</span>;</div> | ||
167 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> | ||
168 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··[[nodiscard]]·oid·column_type(size_type)·<span·class="keyword">const</span>;</div> | ||
169 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> | ||
Max diff block lines reached; 856/111592 bytes (0.77%) of diff not shown. |
Offset 1, 655 lines modified | Offset 1, 15 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-internal-autotools.h | ||
3 | 1/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PACKAGE·"libpqxx" | ||
6 | 4#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen" | ||
7 | 5#define·PACKAGE_NAME·"libpqxx" | ||
8 | 6#define·PACKAGE_STRING·"libpqxx·7.8.1" | ||
9 | 7#define·PACKAGE_TARNAME·"libpqxx" | ||
10 | 8#define·PACKAGE_VERSION·"7.8.1" | ||
11 | 9#define·VERSION·"7.8.1" | ||
2 | row.hxx | ||
3 | 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. | ||
4 | 2·* | ||
5 | 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_ROW | ||
16 | 14#define·PQXX_H_ROW | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·"pqxx/except.hxx" | ||
23 | 21#include·"pqxx/field.hxx" | ||
24 | 22#include·"pqxx/result.hxx" | ||
25 | 23 | ||
26 | 24#include·"pqxx/internal/concat.hxx" | ||
27 | 25 | ||
28 | 26namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
29 | 27{ | ||
30 | _\x82_\x88template<typename...·T>·class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8i_\x8t_\x8e_\x8r; | ||
31 | 29}·//·namespace·pqxx::internal | ||
32 | 30 | ||
33 | 31 | ||
34 | 32namespace·_\x8p_\x8q_\x8x_\x8x | ||
35 | 33{ | ||
36 | 35 | ||
37 | _\x84_\x86class·PQXX_LIBEXPORT·_\x8r_\x8o_\x8w | ||
38 | 47{ | ||
39 | 48public: | ||
40 | _\x84_\x89·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
41 | _\x85_\x80·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
42 | _\x85_\x81·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
43 | _\x85_\x82·using·_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
44 | _\x85_\x83·using·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8f_\x8i_\x8e_\x8l_\x8d; | ||
45 | _\x85_\x84·using·_\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
46 | _\x85_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
47 | _\x85_\x86·using·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r; | ||
48 | 57 | ||
49 | _\x85_\x88·_\x8r_\x8o_\x8w()·noexcept·=·default; | ||
50 | _\x85_\x89·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·&&)·noexcept·=·default; | ||
51 | _\x86_\x80·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default; | ||
52 | _\x86_\x81·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default; | ||
53 | _\x86_\x82·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·&&)·noexcept·=·default; | ||
54 | 63 | ||
55 | 68·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8r_\x8o_\x8w·const·&)·const·noexcept; | ||
56 | _\x86_\x89·[[nodiscard]]·bool·operator!=(_\x8r_\x8o_\x8w·const·&rhs)·const·noexcept | ||
57 | 70·{ | ||
58 | 71·return·not·operator==(rhs); | ||
59 | 72·} | ||
60 | 74 | ||
61 | 75·[[nodiscard]]·const_iterator·begin()·const·noexcept; | ||
62 | 76·[[nodiscard]]·const_iterator·cbegin()·const·noexcept; | ||
63 | 77·[[nodiscard]]·const_iterator·end()·const·noexcept; | ||
64 | 78·[[nodiscard]]·const_iterator·cend()·const·noexcept; | ||
65 | 79 | ||
66 | 84·[[nodiscard]]·reference·front()·const·noexcept; | ||
67 | 85·[[nodiscard]]·reference·back()·const·noexcept; | ||
68 | 86 | ||
69 | 87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const·noexcept; | ||
70 | 88·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crbegin()·const·noexcept; | ||
71 | 89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rend()·const·noexcept; | ||
72 | 90·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crend()·const·noexcept; | ||
73 | 91 | ||
74 | 92·[[nodiscard]]·reference·operator[](size_type)·const·noexcept; | ||
75 | 96·[[nodiscard]]·reference·operator[](_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
76 | 97 | ||
77 | 98·reference·at(size_type)·const; | ||
78 | 102·reference·at(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
79 | 103 | ||
80 | _\x81_\x80_\x84·[[nodiscard]]·constexpr·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept | ||
81 | 105·{ | ||
82 | 106·return·m_end·-·m_begin; | ||
83 | 107·} | ||
84 | 108 | ||
85 | 109·[[deprecated("Swap·iterators,·not·rows.")]]·void·swap(_\x8r_\x8o_\x8w·&)·noexcept; | ||
86 | 110 | ||
87 | _\x81_\x81_\x82·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8r_\x8o_\x8w_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r()·const·noexcept | ||
88 | 113·{ | ||
89 | 114·return·m_index; | ||
90 | 115·} | ||
91 | 116 | ||
92 | 122·[[nodiscard]]·size_type·column_number(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const; | ||
93 | 123 | ||
94 | 125·[[nodiscard]]·oid·column_type(size_type)·const; | ||
95 | 126 | ||
96 | _\x81_\x82_\x88·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8y_\x8p_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
97 | 129·{ | ||
98 | 130·return·column_type(column_number(col_name)); | ||
99 | 131·} | ||
100 | 132 | ||
101 | 134·[[nodiscard]]·oid·column_table(size_type·col_num)·const; | ||
102 | 135 | ||
103 | _\x81_\x83_\x87·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8a_\x8b_\x8l_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
104 | 138·{ | ||
105 | 139·return·column_table(column_number(col_name)); | ||
106 | 140·} | ||
107 | 141 | ||
108 | 143 | ||
109 | 150·[[nodiscard]]·size_type·table_column(size_type)·const; | ||
110 | 151 | ||
111 | _\x81_\x85_\x83·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8l_\x8u_\x8m_\x8n(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const | ||
112 | 154·{ | ||
113 | 155·return·table_column(column_number(col_name)); | ||
114 | 156·} | ||
115 | 158 | ||
116 | _\x81_\x85_\x89·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8n_\x8u_\x8m()·const·noexcept | ||
117 | 160·{ | ||
Max diff block lines reached; 191/33397 bytes (0.57%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·dbtransaction.hxx·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 180 lines modified | Offset 60, 73 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">dbtransaction.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class.</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> |
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*· | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database.</span></div> |
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> |
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·C | 74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead.</span></div> |
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | 75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> |
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> |
77 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> |
78 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> |
79 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_DBTRANSACTION</span></div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_DBTRANSACTION</span></div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
83 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> |
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<string_view></span></div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·"pqxx/types.hxx"</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·"pqxx/transaction_base.hxx"</span></div> | ||
89 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
90 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> |
91 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> |
92 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
93 | <div·class="foldopen"·id="foldopen000 | 94 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};"> |
95 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01134.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div> | ||
94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01510.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01510.html">zview</a>·:·<span·class="keyword">public</span>·std::string_view</div> | ||
95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> | ||
97 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01510.html#a634d664ac04e4686856df66fed64780d">···40</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a634d664ac04e4686856df66fed64780d">zview</a>()·noexcept·=·default;</div> | ||
98 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> |
97 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">protected</span>:</div> | ||
98 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">···57</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c)·:·<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c}·{}</div> | ||
99 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> |
100 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">···59</a></span>··<a·class="code·hl_function"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname)·:</div> | ||
101 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname}</div> | ||
100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01510.html#a766cc45a178d43b1471fdc025f01535d">···43</a></span>··constexpr·<a·class="code·hl_class"·href="a01510.html">zview</a>(<span·class="keywordtype">char</span>·const·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·noexcept(</div> | ||
101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····noexcept(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}))·:</div> | ||
102 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}</div> | ||
103 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{}</div> |
104 | </div> | 103 | </div> |
105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
106 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> | ||
107 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">···49</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">zview</a>(<span·class="keywordtype">char</span>·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·<span·class="keyword">noexcept</span>(</div> | ||
108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">noexcept</span>(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}))·:</div> | ||
109 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast<</span>std::size_t<span·class="keyword">></span>(len)}</div> | ||
110 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{}</div> | ||
111 | </div> | ||
112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
113 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> | ||
114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">···55</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">zview</a>(std::string_view·other)·noexcept·:</div> | ||
115 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········std::string_view{other}</div> | ||
116 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div> | ||
117 | </div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>...·Args></div> | ||
121 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | 104 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
122 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">···63</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">zview</a>(Args·&&...args)·:</div> | ||
123 | <div·class="line"><a·id="l0006 | 105 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">···63</a></span>··<a·class="code·hl_function"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">dbtransaction</a>(</div> |
106 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&c,·std::string_view·tname,</div> | ||
107 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····std::shared_ptr<std::string>·rollback_cmd)·:</div> | ||
108 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·rollback_cmd}</div> | ||
124 | <div·class="line"><a·id="l0006 | 109 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{}</div> |
125 | </div> | 110 | </div> |
126 | <div·class="line"><a·id="l0006 | 111 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> |
127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·C++20:·constexpr.</span></div> | ||
128 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">···69</a></span>··<a·class="code·hl_function"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">zview</a>(std::string·<span·class="keyword">const</span>·&str)·noexcept·:</div> | ||
130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··········std::string_view{str.c_str(),·str.size()}</div> | ||
131 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{}</div> | ||
132 | </div> | ||
133 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
135 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">···78</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">zview</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·str[])·<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(std::string_view{str}))·:</div> | ||
137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········std::string_view{str}</div> | ||
138 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{}</div> | ||
139 | </div> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
141 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
142 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span><<span·class="keywordtype">size_t</span>·size></div> | ||
143 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
144 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01510.html#a19fb305262e043452bd898774d6c277f">···92</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a19fb305262e043452bd898774d6c277f">zview</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·(&literal)[size])·:·<a·class="code·hl_class"·href="a01510.html">zview</a>(literal,·size·-·1)</div> | ||
145 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> | ||
146 | </div> | ||
147 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
148 | <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> | ||
149 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01510.html#a3306a96bedcda83725687e6e9757b586">···96</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·*<a·class="code·hl_function"·href="a01510.html#a3306a96bedcda83725687e6e9757b586">c_str</a>()·const·&noexcept</div> | ||
150 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> | ||
151 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·data();</div> | ||
152 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> | ||
153 | </div> | ||
154 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>};</div> | ||
155 | </div> | ||
156 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
157 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
Max diff block lines reached; 7774/36492 bytes (21.30%) of diff not shown. |
Offset 1, 171 lines modified | Offset 1, 70 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | zview.hxx | ||
3 | 2 | dbtransaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead. |
8 | 6·* | 8 | 6·* |
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
9 | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 13 | 11·*·mistake,·or·contact·the·author. | |
12 | 1 | 14 | 12·*/ |
15 | 13#ifndef·PQXX_H_DBTRANSACTION | ||
16 | 14#define·PQXX_H_DBTRANSACTION | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
13 | 11#ifndef·PQXX_H_ZVIEW | ||
14 | 12#define·PQXX_H_ZVIEW | ||
15 | 13 | ||
16 | 14#include·<string> | ||
17 | 15#include·<string_view> | ||
18 | 16#include·<type_traits> | ||
19 | 17 | ||
20 | 18#include·"pqxx/types.hxx" | ||
21 | 19 | 21 | 19 |
22 | 20 | 22 | 20#include·"pqxx/transaction_base.hxx" |
23 | 21 | ||
23 | 2 | 24 | 22namespace·_\x8p_\x8q_\x8x_\x8x |
25 | 23{ | ||
26 | 25 | ||
27 | _\x85_\x83class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e | ||
28 | 54{ | ||
29 | 55protected: | ||
30 | _\x85_\x87·explicit·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c)·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e{c}·{} | ||
31 | _\x85_\x89·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname)·: | ||
32 | 60·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e{c,·tname} | ||
24 | 22{ | ||
25 | 24 | ||
26 | _\x83_\x87class·_\x8z_\x8v_\x8i_\x8e_\x8w·:·public·std::string_view | ||
27 | 38{ | ||
28 | 39public: | ||
29 | _\x84_\x80·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w()·noexcept·=·default; | ||
30 | 41 | ||
31 | _\x84_\x83·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept( | ||
32 | 44·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·: | ||
33 | 45·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)} | ||
34 | 33 | 61·{} | |
34 | _\x86_\x83·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n( | ||
35 | 64·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname, | ||
36 | 65·std::shared_ptr<std::string>·rollback_cmd)·: | ||
37 | 66·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e{c,·tname,·rollback_cmd} | ||
35 | 47 | ||
36 | _\x84_\x89·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept( | ||
37 | 50·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·: | ||
38 | 51·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)} | ||
39 | 52·{} | ||
40 | 53 | ||
41 | _\x85_\x85·explicit·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(std::string_view·other)·noexcept·: | ||
42 | 56·std::string_view{other} | ||
43 | 38 | 67·{} | |
39 | 68}; | ||
44 | 58 | ||
45 | 60 | ||
46 | 62·template<typename...·Args> | ||
47 | _\x86_\x83·explicit·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(Args·&&...args)·: | ||
48 | 64·std::string_view(std::forward<Args>(args)...) | ||
49 | 65·{} | ||
50 | 66 | ||
51 | 67·//·C++20:·constexpr. | ||
52 | _\x86_\x89·_\x8z_\x8v_\x8i_\x8e_\x8w(std::string·const·&str)·noexcept·: | ||
53 | 70·std::string_view{str.c_str(),·str.size()} | ||
54 | 71·{} | ||
55 | 72 | ||
56 | 74 | ||
57 | _\x87_\x88·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·str[])·noexcept(noexcept(std::string_view{str})) | ||
58 | : | ||
59 | 79·std::string_view{str} | ||
60 | 80·{} | ||
61 | 81 | ||
62 | 83 | ||
63 | 91·template<size_t·size> | ||
64 | _\x89_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·(&literal)[size])·:·_\x8z_\x8v_\x8i_\x8e_\x8w(literal,·size·-·1) | ||
65 | 93·{} | ||
66 | 94 | ||
67 | _\x89_\x86·[[nodiscard]]·constexpr·char·const·*_\x8c_\x8__\x8s_\x8t_\x8r()·const·&noexcept | ||
68 | 97·{ | ||
69 | 98·return·data(); | ||
70 | 99·} | ||
71 | 100}; | ||
72 | 101 | ||
73 | 102 | ||
74 | 104 | ||
75 | _\x81_\x81_\x81constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w·operator""·_zv(char·const·str[],·std::size_t·len)·noexcept | ||
76 | 112{ | ||
77 | 113·return·_\x8z_\x8v_\x8i_\x8e_\x8w{str,·len}; | ||
78 | 114} | ||
79 | 40 | 69}·//·namespace·pqxx | |
80 | 116 | ||
81 | 117 | ||
82 | 118#if·defined(PQXX_HAVE_CONCEPTS) | ||
83 | 120template<>·inline·constexpr·bool·std::ranges::enable_view<pqxx::zview> | ||
84 | {true}; | ||
85 | 121 | ||
86 | 122 | ||
87 | 124template<> | ||
88 | 125inline·constexpr·bool·std::ranges::enable_borrowed_range<pqxx::zview>{true}; | ||
89 | 126 | ||
90 | 127namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
91 | 128{ | ||
92 | 130 | ||
93 | 134template<typename·T> | ||
94 | 135concept·ZString·=·std::is_convertible_v<strip_t<T>,·char·const·*>·or | ||
95 | 136·std::is_convertible_v<strip_t<T>,·zview>·or | ||
96 | 137·std::is_convertible_v<T,·std::string·const·&>; | ||
97 | 138}·//·namespace·pqxx::internal | ||
98 | 139#endif·//·PQXX_HAVE_CONCEPTS | ||
99 | 140 | ||
100 | 141 | ||
101 | 142namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
102 | 143{ | ||
103 | _\x81_\x84_\x85inline·constexpr·char·const·*_\x8a_\x8s_\x8__\x8c_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(char·const·str[])·noexcept | ||
104 | 146{ | ||
Max diff block lines reached; 3643/8702 bytes (41.86%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>libpqxx:· | 8 | <title>libpqxx:·config-public-compiler.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 60, 199 lines modified | Offset 60, 27 lines modified | ||
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·}); | 62 | $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title"> | 67 | ··<div·class="headertitle"><div·class="title">config-public-compiler.h</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*· | 70 | <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/compiler·config.·*/</span></div> |
71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> | ||
72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*···Throughput-optimized·mechanism·for·executing·queries.</span></div> | ||
73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> | ||
74 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead.</span></div> | ||
75 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> | ||
76 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> | ||
77 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> | ||
78 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> | ||
79 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> | ||
80 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> | ||
81 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> | ||
82 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div> | ||
83 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div> | ||
84 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> | ||
86 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."</span></div> | ||
87 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
89 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<limits></span></div> | ||
90 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<map></span></div> | ||
91 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<string></span></div> | ||
92 | <div·class="line"><a·id="l000 | 71 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div> |
93 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·"pqxx/transaction_base.hxx"</span></div> | ||
94 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·TODO:·libpq·14·introduced·a·similar·"pipeline·mode."··Can·we·use·that?</span></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
101 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
102 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01366.html">···50</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01366.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div> | ||
103 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> | ||
104 | <div·class="line"><a·id="l000 | 72 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_PURE·1</span></div> |
105 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·=·long;</div> | ||
106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">···56</a></span>··<a·class="code·hl_function"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">···57</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&<a·class="code·hl_function"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&)·=·<span·class="keyword">delete</span>;</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">···58</a></span>··<a·class="code·hl_function"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">···59</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&<a·class="code·hl_function"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&&)·=·<span·class="keyword">delete</span>;</div> | ||
111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
113 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | ||
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t)·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname}</div> | ||
115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····init();</div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div> | ||
118 | </div> | ||
119 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
120 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">···68</a></span>··<a·class="code·hl_function"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&t,·std::string_view·tname)·:</div> | ||
121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname,·tname}</div> | ||
122 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> | ||
123 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····init();</div> | ||
124 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
127 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01366.html">~pipeline</a>()·noexcept;</div> | ||
128 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
129 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··query_id·insert(std::string_view)·&;</div> | ||
131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
132 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
133 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordtype">void</span>·complete();</div> | ||
134 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
135 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
136 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keywordtype">void</span>·flush();</div> | ||
137 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | ||
138 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
139 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordtype">void</span>·cancel();</div> | ||
140 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
141 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·is_finished(query_id)·const;</div> | ||
142 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | ||
143 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> | ||
144 | <div·class="foldopen"·id="foldopen00128"·data-start="{"·data-end="}"> | ||
145 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01366.html#a19c508710d0025993e41512f23de56be">··128</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·retrieve(<a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·qid)</div> | ||
146 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··{</div> | ||
147 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keywordflow">return</span>·retrieve(m_queries.find(qid)).second;</div> | ||
148 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··}</div> | ||
149 | </div> | ||
150 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> | ||
151 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> | ||
152 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··std::pair<query_id,·result>·retrieve();</div> | ||
153 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> | ||
154 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a01366.html#a2b71c541f1cd3949cbc5344f42d10039">··137</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01366.html#a2b71c541f1cd3949cbc5344f42d10039">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·std::empty(m_queries);·}</div> | ||
155 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> | ||
156 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | ||
157 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keywordtype">int</span>·retain(<span·class="keywordtype">int</span>·retain_max·=·2)·&;</div> | ||
158 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> | ||
159 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> | ||
160 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··<span·class="keywordtype">void</span>·resume()·&;</div> | ||
161 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> | ||
162 | <div·class="line"><a·id="l00 | 73 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_VISIBILITY·1</span></div> |
163 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··<span·class="keyword">struct·</span>PQXX_PRIVATE·Query</div> | ||
164 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··{</div> | ||
165 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>····<span·class="keyword">explicit</span>·Query(std::string_view·q)·:</div> | ||
166 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>············query{std::make_shared<std::string>(q)}</div> | ||
167 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····{}</div> | ||
168 | <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> | ||
169 | <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>····std::shared_ptr<std::string>·query;</div> | ||
170 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····result·res;</div> | ||
Max diff block lines reached; 858/30160 bytes (2.84%) of diff not shown. |
Offset 1, 202 lines modified | Offset 1, 12 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-public-compiler.h | ||
3 | 1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/ | ||
4 | 2 | ||
5 | 3#define·PQXX_HAVE_GCC_PURE·1 | ||
6 | 4#define·PQXX_HAVE_GCC_VISIBILITY·1 | ||
7 | 5#define·PQXX_HAVE_PATH·1 | ||
8 | 6#define·PQXX_HAVE_STRERROR_R·1 | ||
2 | pipeline.hxx | ||
3 | 1/*·Definition·of·the·pqxx::pipeline·class. | ||
4 | 2·* | ||
5 | 3·*·Throughput-optimized·mechanism·for·executing·queries. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
13 | 11·*·mistake,·or·contact·the·author. | ||
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_PIPELINE | ||
16 | 14#define·PQXX_H_PIPELINE | ||
17 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 18#endif | ||
21 | 19 | ||
22 | 20#include·<limits> | ||
23 | 21#include·<map> | ||
24 | 22#include·<string> | ||
25 | 23 | ||
26 | 24#include·"pqxx/transaction_base.hxx" | ||
27 | 25 | ||
28 | 26 | ||
29 | 27namespace·_\x8p_\x8q_\x8x_\x8x | ||
30 | 28{ | ||
31 | 29//·TODO:·libpq·14·introduced·a·similar·"pipeline·mode."·Can·we·use·that? | ||
32 | 30 | ||
33 | 32 | ||
34 | _\x85_\x80class·PQXX_LIBEXPORT·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
35 | 51{ | ||
36 | 52public: | ||
37 | _\x85_\x84·using·_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·=·long; | ||
38 | 55 | ||
39 | _\x85_\x86·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; | ||
40 | _\x85_\x87·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; | ||
41 | _\x85_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; | ||
42 | _\x85_\x89·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; | ||
43 | 60 | ||
44 | 61 | ||
45 | _\x86_\x83·explicit·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t)·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname} | ||
46 | 64·{ | ||
47 | 65·init(); | ||
48 | 66·} | ||
49 | _\x86_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·tname)·: | ||
50 | 69·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname,·tname} | ||
51 | 70·{ | ||
52 | 71·init(); | ||
53 | 72·} | ||
54 | 73 | ||
55 | 75·_\x8~_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e()·noexcept; | ||
56 | 76 | ||
57 | 78 | ||
58 | 84·query_id·insert(std::string_view)·&; | ||
59 | 85 | ||
60 | 87 | ||
61 | 93·void·complete(); | ||
62 | 94 | ||
63 | 96 | ||
64 | 105·void·flush(); | ||
65 | 106 | ||
66 | 108 | ||
67 | 116·void·cancel(); | ||
68 | 117 | ||
69 | 119·[[nodiscard]]·bool·is_finished(query_id)·const; | ||
70 | 120 | ||
71 | 122 | ||
72 | _\x81_\x82_\x88·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·retrieve(_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·qid) | ||
73 | 129·{ | ||
74 | 130·return·retrieve(m_queries.find(qid)).second; | ||
75 | 131·} | ||
76 | 132 | ||
77 | 134 | ||
78 | 135·std::pair<query_id,·result>·retrieve(); | ||
79 | 136 | ||
80 | _\x81_\x83_\x87·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·std::empty(m_queries);·} | ||
81 | 138 | ||
82 | 141 | ||
83 | 152·int·retain(int·retain_max·=·2)·&; | ||
84 | 153 | ||
85 | 154 | ||
86 | 156·void·resume()·&; | ||
87 | 157 | ||
88 | 158private: | ||
89 | 159·struct·PQXX_PRIVATE·Query | ||
90 | 160·{ | ||
91 | 161·explicit·Query(std::string_view·q)·: | ||
92 | 162·query{std::make_shared<std::string>(q)} | ||
93 | 163·{} | ||
94 | 164 | ||
95 | 165·std::shared_ptr<std::string>·query; | ||
96 | 166·result·res; | ||
97 | 167·}; | ||
98 | 168 | ||
99 | 169·using·QueryMap·=·std::map<query_id,·Query>; | ||
100 | 170 | ||
101 | 171·void·init(); | ||
102 | 172·void·attach(); | ||
103 | 173·void·detach(); | ||
104 | 174 | ||
105 | 176·static·constexpr·query_id·qid_limit()·noexcept | ||
106 | 177·{ | ||
107 | 178·//·Parenthesise·this·to·work·around·an·eternal·Visual·C++·problem: | ||
108 | 179·//·Without·the·extra·parentheses,·unless·NOMINMAX·is·defined,·the | ||
109 | 180·//·preprocessor·will·mistake·this·"max"·for·its·annoying·built-in·macro | ||
110 | 181·//·of·the·same·name. | ||
111 | 182·return·(std::numeric_limits<query_id>::max)(); | ||
112 | 183·} | ||
113 | 184 | ||
114 | 186·PQXX_PRIVATE·query_id·generate_id(); | ||
115 | 187 | ||
116 | 188·bool·have_pending()·const·noexcept | ||
117 | 189·{ | ||
118 | 190·return·m_issuedrange.second·!=·m_issuedrange.first; | ||
119 | 191·} | ||
120 | 192 | ||
Max diff block lines reached; 197/6897 bytes (2.86%) of diff not shown. |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::array<·ELEMENT,·DIMENSIONS,·SEPARATOR·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::array<·ELEMENT,·DIMENSIONS,·SEPARATOR·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·SQL·array·received·from·the·database.·· | 68 | <p>An·SQL·array·received·from·the·database.·· |
69 | ·<a·href="a01086.html#details">More...</a></p> | 69 | ·<a·href="a01086.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00023_source.html">array.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:abf1925ec5be448b26147a100660d936c"·id="r_abf1925ec5be448b26147a100660d936c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>·(std::string_view·data,·<a·class="el"·href="a01110.html">connection</a>·const·&conn)</td></tr> | 74 | <tr·class="memitem:abf1925ec5be448b26147a100660d936c"·id="r_abf1925ec5be448b26147a100660d936c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>·(std::string_view·data,·<a·class="el"·href="a01110.html">connection</a>·const·&conn)</td></tr> |
75 | <tr·class="memdesc:abf1925ec5be448b26147a100660d936c"><td·class="mdescLeft"> </td><td·class="mdescRight">Parse·an·SQL·array,·read·as·text·from·a·<a·class="el"·href="a01402.html"·title="Result·set·containing·data·returned·by·a·query·or·command.">pqxx::result</a>·or·stream.··<br·/></td></tr> | 75 | <tr·class="memdesc:abf1925ec5be448b26147a100660d936c"><td·class="mdescLeft"> </td><td·class="mdescRight">Parse·an·SQL·array,·read·as·text·from·a·<a·class="el"·href="a01402.html"·title="Result·set·containing·data·returned·by·a·query·or·command.">pqxx::result</a>·or·stream.··<br·/></td></tr> |
76 | <tr·class="separator:abf1925ec5be448b26147a100660d936c"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:abf1925ec5be448b26147a100660d936c"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a76252c66ef91327bc8c5ae296cb9aacb"·id="r_a76252c66ef91327bc8c5ae296cb9aacb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>·()·noexcept</td></tr> | 77 | <tr·class="memitem:a76252c66ef91327bc8c5ae296cb9aacb"·id="r_a76252c66ef91327bc8c5ae296cb9aacb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>·()·noexcept</td></tr> |
Offset 510, 15 lines modified | Offset 510, 15 lines modified | ||
510 | <p>In·practice·however,·I·don't·think·<code><a·class="el"·href="a01086.html#a707b514df7835fa198a29ae68897efd8"·title="Number·of·elements·in·the·array·(as·a·signed·number).">ssize()</a></code>·could·ever·overflow.·You'd·need·an·array·where·each·element·takes·up·just·one·byte,·such·as·Booleans,·filling·up·more·than·half·your·address·space.·But·the·input·string·for·that·array·would·need·at·least·two·bytes·per·value:·one·for·the·value,·one·for·the·separating·comma·between·elements.·So·even·then·you·wouldn't·have·enough·address·space·to·create·the·array,·even·if·your·system·allowed·you·to·use·your·full·address·space.·</p> | 510 | <p>In·practice·however,·I·don't·think·<code><a·class="el"·href="a01086.html#a707b514df7835fa198a29ae68897efd8"·title="Number·of·elements·in·the·array·(as·a·signed·number).">ssize()</a></code>·could·ever·overflow.·You'd·need·an·array·where·each·element·takes·up·just·one·byte,·such·as·Booleans,·filling·up·more·than·half·your·address·space.·But·the·input·string·for·that·array·would·need·at·least·two·bytes·per·value:·one·for·the·value,·one·for·the·separating·comma·between·elements.·So·even·then·you·wouldn't·have·enough·address·space·to·create·the·array,·even·if·your·system·allowed·you·to·use·your·full·address·space.·</p> |
511 | <p·class="reference">References·<a·class="el"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">pqxx::array<·ELEMENT,·DIMENSIONS,·SEPARATOR·>::size()</a>.</p> | 511 | <p·class="reference">References·<a·class="el"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">pqxx::array<·ELEMENT,·DIMENSIONS,·SEPARATOR·>::size()</a>.</p> |
512 | </div> | 512 | </div> |
513 | </div> | 513 | </div> |
514 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 514 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
515 | <li><a·class="el"·href="a000 | 515 | <li><a·class="el"·href="a00023_source.html">array.hxx</a></li> |
516 | </ul> | 516 | </ul> |
517 | </div><!--·contents·--> | 517 | </div><!--·contents·--> |
518 | </div><!--·doc-content·--> | 518 | </div><!--·doc-content·--> |
519 | <!--·start·footer·part·--> | 519 | <!--·start·footer·part·--> |
520 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 520 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
521 | ··<ul> | 521 | ··<ul> |
522 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01086.html">array</a></li> | 522 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01086.html">array</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::array_parser·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::array_parser·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Low-level·array·parser.·· | 69 | <p>Low-level·array·parser.·· |
70 | ·<a·href="a01090.html#details">More...</a></p> | 70 | ·<a·href="a01090.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00023_source.html">array.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:a039577d83d313a6daf35fd7c273e189e"·id="r_a039577d83d313a6daf35fd7c273e189e"><td·class="memItemLeft"·align="right"·valign="top">enum·class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">juncture</a>·{·<br·/> | 75 | <tr·class="memitem:a039577d83d313a6daf35fd7c273e189e"·id="r_a039577d83d313a6daf35fd7c273e189e"><td·class="memItemLeft"·align="right"·valign="top">enum·class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">juncture</a>·{·<br·/> |
76 |   <a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea776234b9f0a5c0e802f2790824042092">row_start</a> | 76 |   <a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea776234b9f0a5c0e802f2790824042092">row_start</a> |
77 | ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189eab11c3eff6dd36f1f7136020d32b38051">row_end</a> | 77 | ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189eab11c3eff6dd36f1f7136020d32b38051">row_end</a> |
78 | ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea9e374dadbd88854fd5b2631a6b83a295">null_value</a> | 78 | ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea9e374dadbd88854fd5b2631a6b83a295">null_value</a> |
Offset 200, 15 lines modified | Offset 200, 15 lines modified | ||
200 | <p>Parse·the·next·step·in·the·array.·</p> | 200 | <p>Parse·the·next·step·in·the·array.·</p> |
201 | <p>Returns·what·it·found.·If·the·juncture·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea863a85b49df560a48bb166fcbf59f8b4">juncture::string_value</a>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p> | 201 | <p>Returns·what·it·found.·If·the·juncture·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea863a85b49df560a48bb166fcbf59f8b4">juncture::string_value</a>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p> |
202 | <p>Call·this·until·the·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">array_parser::juncture</a>·it·returns·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea6b2ded51d81a4403d8a4bd25fa1e57ee">juncture::done</a>.·</p> | 202 | <p>Call·this·until·the·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">array_parser::juncture</a>·it·returns·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea6b2ded51d81a4403d8a4bd25fa1e57ee">juncture::done</a>.·</p> |
203 | </div> | 203 | </div> |
204 | </div> | 204 | </div> |
205 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 205 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
206 | <li><a·class="el"·href="a000 | 206 | <li><a·class="el"·href="a00023_source.html">array.hxx</a></li> |
207 | <li><b>array.cxx</b></li> | 207 | <li><b>array.cxx</b></li> |
208 | </ul> | 208 | </ul> |
209 | </div><!--·contents·--> | 209 | </div><!--·contents·--> |
210 | </div><!--·doc-content·--> | 210 | </div><!--·doc-content·--> |
211 | <!--·start·footer·part·--> | 211 | <!--·start·footer·part·--> |
212 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 212 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
213 | ··<ul> | 213 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::binarystring·Class·Reference<div·class="ingroups"><a·class="el"·href="a00240.html">String-escaping·functions</a></div></div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::binarystring·Class·Reference<div·class="ingroups"><a·class="el"·href="a00240.html">String-escaping·functions</a></div></div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Binary·data·corresponding·to·PostgreSQL's·"BYTEA"·binary-string·type.·· | 69 | <p>Binary·data·corresponding·to·PostgreSQL's·"BYTEA"·binary-string·type.·· |
70 | ·<a·href="a01094.html#details">More...</a></p> | 70 | ·<a·href="a01094.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00062_source.html">binarystring.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:ac8ad29d6a0835c22348e446a6253461f"·id="r_ac8ad29d6a0835c22348e446a6253461f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·unsigned·char</td></tr> | 75 | <tr·class="memitem:ac8ad29d6a0835c22348e446a6253461f"·id="r_ac8ad29d6a0835c22348e446a6253461f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·unsigned·char</td></tr> |
76 | <tr·class="separator:ac8ad29d6a0835c22348e446a6253461f"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:ac8ad29d6a0835c22348e446a6253461f"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a6437b862c31586e091d52bac465d1d6c"·id="r_a6437b862c31586e091d52bac465d1d6c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits<·<a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·><a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">::char_type</a></td></tr> | 77 | <tr·class="memitem:a6437b862c31586e091d52bac465d1d6c"·id="r_a6437b862c31586e091d52bac465d1d6c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits<·<a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·><a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">::char_type</a></td></tr> |
78 | <tr·class="separator:a6437b862c31586e091d52bac465d1d6c"><td·class="memSeparator"·colspan="2"> </td></tr> | 78 | <tr·class="separator:a6437b862c31586e091d52bac465d1d6c"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1032, 15 lines modified | Offset 1032, 15 lines modified | ||
1032 | <p>Read·contents·as·a·std::string_view.·</p> | 1032 | <p>Read·contents·as·a·std::string_view.·</p> |
1033 | <p·class="reference">Referenced·by·<a·class="el"·href="a01102.html#a635a7116176618c4cd2cdb23422c2ae9">pqxx::string_traits<·binarystring·>::into_buf()</a>.</p> | 1033 | <p·class="reference">Referenced·by·<a·class="el"·href="a01102.html#a635a7116176618c4cd2cdb23422c2ae9">pqxx::string_traits<·binarystring·>::into_buf()</a>.</p> |
1034 | </div> | 1034 | </div> |
1035 | </div> | 1035 | </div> |
1036 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1036 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1037 | <li><a·class="el"·href="a000 | 1037 | <li><a·class="el"·href="a00062_source.html">binarystring.hxx</a></li> |
1038 | <li><b>binarystring.cxx</b></li> | 1038 | <li><b>binarystring.cxx</b></li> |
1039 | </ul> | 1039 | </ul> |
1040 | </div><!--·contents·--> | 1040 | </div><!--·contents·--> |
1041 | </div><!--·doc-content·--> | 1041 | </div><!--·doc-content·--> |
1042 | <!--·start·footer·part·--> | 1042 | <!--·start·footer·part·--> |
1043 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1043 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1044 | ··<ul> | 1044 | ··<ul> |
Offset 61, 15 lines modified | Offset 61, 15 lines modified | ||
61 | <div·class="header"> | 61 | <div·class="header"> |
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="a01095.html">List·of·all·members</a>··</div> | 63 | <a·href="a01095.html">List·of·all·members</a>··</div> |
64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·binarystring·>·Struct·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·binarystring·>·Struct·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p><code>#include·<<a·class="el"·href="a000 | 67 | <p><code>#include·<<a·class="el"·href="a00062_source.html">binarystring.hxx</a>></code></p> |
68 | <div·class="dynheader"> | 68 | <div·class="dynheader"> |
69 | Inheritance·diagram·for·pqxx::nullness<·binarystring·>:</div> | 69 | Inheritance·diagram·for·pqxx::nullness<·binarystring·>:</div> |
70 | <div·class="dyncontent"> | 70 | <div·class="dyncontent"> |
71 | <div·class="center"><img·src="a01097.png"·border="0"·usemap="#apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 71 | <div·class="center"><img·src="a01097.png"·border="0"·usemap="#apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
72 | <map·name="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·id="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"> | 72 | <map·name="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·id="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"> |
73 | <area·shape="rect"·title="·"·alt=""·coords="5,168,229,193"/> | 73 | <area·shape="rect"·title="·"·alt=""·coords="5,168,229,193"/> |
74 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="9,93,226,119"/> | 74 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="9,93,226,119"/> |
Offset 90, 15 lines modified | Offset 90, 15 lines modified | ||
90 | <tr·class="memdesc:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Does·<code>TYPE</code>·have·a·"built-in·null·value"?··<br·/></td></tr> | 90 | <tr·class="memdesc:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Does·<code>TYPE</code>·have·a·"built-in·null·value"?··<br·/></td></tr> |
91 | <tr·class="separator:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"·id="r_a869b17b2eee5f2495386ce445fa4b2f1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a></td></tr> | 92 | <tr·class="memitem:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"·id="r_a869b17b2eee5f2495386ce445fa4b2f1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a></td></tr> |
93 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> | 93 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> |
94 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table> | 95 | </table> |
96 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 96 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
97 | <li><a·class="el"·href="a000 | 97 | <li><a·class="el"·href="a00062_source.html">binarystring.hxx</a></li> |
98 | </ul> | 98 | </ul> |
99 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
100 | </div><!--·doc-content·--> | 100 | </div><!--·doc-content·--> |
101 | <!--·start·footer·part·--> | 101 | <!--·start·footer·part·--> |
102 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 102 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
103 | ··<ul> | 103 | ··<ul> |
104 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01098.html">nullness<·binarystring·></a></li> | 104 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01098.html">nullness<·binarystring·></a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·binarystring·>·Struct·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·binarystring·>·Struct·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>String·conversion·traits·for·<code>binarystring</code>.·· | 68 | <p>String·conversion·traits·for·<code>binarystring</code>.·· |
69 | ·<a·href="a01102.html#details">More...</a></p> | 69 | ·<a·href="a01102.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00062_source.html">binarystring.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
73 | Static·Public·Member·Functions</h2></td></tr> | 73 | Static·Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a6a1b331fc3fd588709d8ea7d9a83b8a8"·id="r_a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memItemLeft"·align="right"·valign="top">static·std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html#a6a1b331fc3fd588709d8ea7d9a83b8a8">size_buffer</a>·(<a·class="el"·href="a01094.html">binarystring</a>·const·&value)·noexcept</td></tr> | 74 | <tr·class="memitem:a6a1b331fc3fd588709d8ea7d9a83b8a8"·id="r_a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memItemLeft"·align="right"·valign="top">static·std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html#a6a1b331fc3fd588709d8ea7d9a83b8a8">size_buffer</a>·(<a·class="el"·href="a01094.html">binarystring</a>·const·&value)·noexcept</td></tr> |
75 | <tr·class="separator:a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:aa8c7d94c6adaf1519623a2d69ea47469"·id="r_aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html#aa8c7d94c6adaf1519623a2d69ea47469">to_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01094.html">binarystring</a>·const·&value)</td></tr> | 76 | <tr·class="memitem:aa8c7d94c6adaf1519623a2d69ea47469"·id="r_aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html#aa8c7d94c6adaf1519623a2d69ea47469">to_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01094.html">binarystring</a>·const·&value)</td></tr> |
77 | <tr·class="separator:aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 226, 15 lines modified | Offset 226, 15 lines modified | ||
226 | ··</tr> | 226 | ··</tr> |
227 | </table> | 227 | </table> |
228 | </div><div·class="memdoc"> | 228 | </div><div·class="memdoc"> |
229 | </div> | 229 | </div> |
230 | </div> | 230 | </div> |
231 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 231 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
232 | <li><a·class="el"·href="a000 | 232 | <li><a·class="el"·href="a00062_source.html">binarystring.hxx</a></li> |
233 | </ul> | 233 | </ul> |
234 | </div><!--·contents·--> | 234 | </div><!--·contents·--> |
235 | </div><!--·doc-content·--> | 235 | </div><!--·doc-content·--> |
236 | <!--·start·footer·part·--> | 236 | <!--·start·footer·part·--> |
237 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 237 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
238 | ··<ul> | 238 | ··<ul> |
239 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01102.html">string_traits<·binarystring·></a></li> | 239 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01102.html">string_traits<·binarystring·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 64 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
65 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 65 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
66 | <a·href="a01103.html">List·of·all·members</a>··</div> | 66 | <a·href="a01103.html">List·of·all·members</a>··</div> |
67 | ··<div·class="headertitle"><div·class="title">pqxx::blob·Class·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::blob·Class·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00047_source.html">blob.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a3c1c5fcc157476dfe938c6901059502f"·id="r_a3c1c5fcc157476dfe938c6901059502f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a3c1c5fcc157476dfe938c6901059502f">blob</a>·()=default</td></tr> | 74 | <tr·class="memitem:a3c1c5fcc157476dfe938c6901059502f"·id="r_a3c1c5fcc157476dfe938c6901059502f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a3c1c5fcc157476dfe938c6901059502f">blob</a>·()=default</td></tr> |
75 | <tr·class="memdesc:a3c1c5fcc157476dfe938c6901059502f"><td·class="mdescLeft"> </td><td·class="mdescRight">You·can·default-construct·a·blob,·but·it·won't·do·anything·useful.··<br·/></td></tr> | 75 | <tr·class="memdesc:a3c1c5fcc157476dfe938c6901059502f"><td·class="mdescLeft"> </td><td·class="mdescRight">You·can·default-construct·a·blob,·but·it·won't·do·anything·useful.··<br·/></td></tr> |
76 | <tr·class="separator:a3c1c5fcc157476dfe938c6901059502f"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a3c1c5fcc157476dfe938c6901059502f"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:aafa3ce93f6401c592f8985217be1d416"·id="r_aafa3ce93f6401c592f8985217be1d416"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html#aafa3ce93f6401c592f8985217be1d416">blob</a>·(<a·class="el"·href="a01106.html">blob</a>·&&)</td></tr> | 77 | <tr·class="memitem:aafa3ce93f6401c592f8985217be1d416"·id="r_aafa3ce93f6401c592f8985217be1d416"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html#aafa3ce93f6401c592f8985217be1d416">blob</a>·(<a·class="el"·href="a01106.html">blob</a>·&&)</td></tr> |
Offset 1065, 15 lines modified | Offset 1065, 15 lines modified | ||
1065 | <p>Maximum·number·of·bytes·that·can·be·read·or·written·at·a·time.·</p> | 1065 | <p>Maximum·number·of·bytes·that·can·be·read·or·written·at·a·time.·</p> |
1066 | <p>The·underlying·protocol·only·supports·reads·and·writes·up·to·2·GB·exclusive.</p> | 1066 | <p>The·underlying·protocol·only·supports·reads·and·writes·up·to·2·GB·exclusive.</p> |
1067 | <p>If·you·need·to·read·or·write·more·data·to·or·from·a·binary·large·object,·you'll·have·to·break·it·up·into·chunks.·</p> | 1067 | <p>If·you·need·to·read·or·write·more·data·to·or·from·a·binary·large·object,·you'll·have·to·break·it·up·into·chunks.·</p> |
1068 | </div> | 1068 | </div> |
1069 | </div> | 1069 | </div> |
1070 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1070 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1071 | <li><a·class="el"·href="a000 | 1071 | <li><a·class="el"·href="a00047_source.html">blob.hxx</a></li> |
1072 | <li><b>blob.cxx</b></li> | 1072 | <li><b>blob.cxx</b></li> |
1073 | </ul> | 1073 | </ul> |
1074 | </div><!--·contents·--> | 1074 | </div><!--·contents·--> |
1075 | </div><!--·doc-content·--> | 1075 | </div><!--·doc-content·--> |
1076 | <!--·start·footer·part·--> | 1076 | <!--·start·footer·part·--> |
1077 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1077 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1078 | ··<ul> | 1078 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::connection·Class·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::connection·Class·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Connection·to·a·database.·· | 68 | <p>Connection·to·a·database.·· |
69 | ·<a·href="a01110.html#details">More...</a></p> | 69 | ·<a·href="a01110.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00032_source.html">connection.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a3e9460d4cad761e5ae2ae95aab4f777f"·id="r_a3e9460d4cad761e5ae2ae95aab4f777f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01110.html#a3e9460d4cad761e5ae2ae95aab4f777f">connection</a>·()</td></tr> | 74 | <tr·class="memitem:a3e9460d4cad761e5ae2ae95aab4f777f"·id="r_a3e9460d4cad761e5ae2ae95aab4f777f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01110.html#a3e9460d4cad761e5ae2ae95aab4f777f">connection</a>·()</td></tr> |
75 | <tr·class="separator:a3e9460d4cad761e5ae2ae95aab4f777f"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:a3e9460d4cad761e5ae2ae95aab4f777f"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:a24e6d240181c50ca81a7bfe816185a60"·id="r_a24e6d240181c50ca81a7bfe816185a60"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01110.html#a24e6d240181c50ca81a7bfe816185a60">connection</a>·(char·const·options[])</td></tr> | 76 | <tr·class="memitem:a24e6d240181c50ca81a7bfe816185a60"·id="r_a24e6d240181c50ca81a7bfe816185a60"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01110.html#a24e6d240181c50ca81a7bfe816185a60">connection</a>·(char·const·options[])</td></tr> |
77 | <tr·class="memdesc:a24e6d240181c50ca81a7bfe816185a60"><td·class="mdescLeft"> </td><td·class="mdescRight">Connect·to·a·database,·using·<code>options</code>·string.··<br·/></td></tr> | 77 | <tr·class="memdesc:a24e6d240181c50ca81a7bfe816185a60"><td·class="mdescLeft"> </td><td·class="mdescRight">Connect·to·a·database,·using·<code>options</code>·string.··<br·/></td></tr> |
Offset 334, 15 lines modified | Offset 334, 15 lines modified | ||
334 | <div·class="textblock"><p>Connection·to·a·database.·</p> | 334 | <div·class="textblock"><p>Connection·to·a·database.·</p> |
335 | <p>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·As·per·RAII·principles,·the·connection·opens·during·construction,·and·closes·upon·destruction.·If·the·connection·attempt·fails,·you·will·not·get·a·<a·class="el"·href="a01110.html">connection</a>·object;·the·constructor·will·fail·with·a·<a·class="el"·href="a01150.html">pqxx::broken_connection</a>·exception.</p> | 335 | <p>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·As·per·RAII·principles,·the·connection·opens·during·construction,·and·closes·upon·destruction.·If·the·connection·attempt·fails,·you·will·not·get·a·<a·class="el"·href="a01110.html">connection</a>·object;·the·constructor·will·fail·with·a·<a·class="el"·href="a01150.html">pqxx::broken_connection</a>·exception.</p> |
336 | <p>When·creating·a·connection,·you·can·pass·a·connection·URI·or·a·postgres·connection·string,·to·specify·the·database·server's·address,·a·login·username,·and·so·on.·If·you·don't,·the·connection·will·try·to·obtain·them·from·certain·environment·variables.·If·those·are·not·set·either,·the·default·is·to·try·and·connect·to·the·local·system's·port·5432.</p> | 336 | <p>When·creating·a·connection,·you·can·pass·a·connection·URI·or·a·postgres·connection·string,·to·specify·the·database·server's·address,·a·login·username,·and·so·on.·If·you·don't,·the·connection·will·try·to·obtain·them·from·certain·environment·variables.·If·those·are·not·set·either,·the·default·is·to·try·and·connect·to·the·local·system's·port·5432.</p> |
337 | <p>Find·more·about·connection·strings·here:</p> | 337 | <p>Find·more·about·connection·strings·here:</p> |
338 | <p><a·href="https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING">https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING</a></p> | 338 | <p><a·href="https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING">https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING</a></p> |
339 | <p>The·variables·are·documented·here:</p> | 339 | <p>The·variables·are·documented·here:</p> |
340 | <p><a·href="https://www.postgresql.org/docs/current/libpq-envars.html">https://www.postgresql.org/docs/current/libpq-envars.html</a></p> | 340 | <p><a·href="https://www.postgresql.org/docs/current/libpq-envars.html">https://www.postgresql.org/docs/current/libpq-envars.html</a></p> |
341 | <p>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00098_source.html">pqxx/transaction_base.hxx</a>)·and·perhaps·also·the·transactor·framework·(see·<a·class="el"·href="a000 | 341 | <p>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00098_source.html">pqxx/transaction_base.hxx</a>)·and·perhaps·also·the·transactor·framework·(see·<a·class="el"·href="a00026_source.html">pqxx/transactor.hxx</a>).</p> |
342 | <p>When·a·connection·breaks,·or·fails·to·establish·itself·in·the·first·place,·you·will·typically·get·a·<a·class="el"·href="a01150.html">broken_connection</a>·exception.·This·can·happen·at·almost·any·point.</p> | 342 | <p>When·a·connection·breaks,·or·fails·to·establish·itself·in·the·first·place,·you·will·typically·get·a·<a·class="el"·href="a01150.html">broken_connection</a>·exception.·This·can·happen·at·almost·any·point.</p> |
343 | <dl·class="section·warning"><dt>Warning</dt><dd>On·Unix-like·systems,·including·GNU·and·BSD·systems,·your·program·may·receive·the·SIGPIPE·signal·when·the·connection·to·the·backend·breaks.·By·default·this·signal·will·abort·your·program.·Use·"signal(SIGPIPE,·SIG_IGN)"·if·you·want·your·program·to·continue·running·after·a·connection·fails.·</dd></dl> | 343 | <dl·class="section·warning"><dt>Warning</dt><dd>On·Unix-like·systems,·including·GNU·and·BSD·systems,·your·program·may·receive·the·SIGPIPE·signal·when·the·connection·to·the·backend·breaks.·By·default·this·signal·will·abort·your·program.·Use·"signal(SIGPIPE,·SIG_IGN)"·if·you·want·your·program·to·continue·running·after·a·connection·fails.·</dd></dl> |
344 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 344 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
345 | <a·id="a3e9460d4cad761e5ae2ae95aab4f777f"·name="a3e9460d4cad761e5ae2ae95aab4f777f"></a> | 345 | <a·id="a3e9460d4cad761e5ae2ae95aab4f777f"·name="a3e9460d4cad761e5ae2ae95aab4f777f"></a> |
346 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3e9460d4cad761e5ae2ae95aab4f777f">◆ </a></span>connection()·<span·class="overload">[1/5]</span></h2> | 346 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3e9460d4cad761e5ae2ae95aab4f777f">◆ </a></span>connection()·<span·class="overload">[1/5]</span></h2> |
347 | <div·class="memitem"> | 347 | <div·class="memitem"> |
Offset 2268, 15 lines modified | Offset 2268, 15 lines modified | ||
2268 | ··</tr> | 2268 | ··</tr> |
2269 | </table> | 2269 | </table> |
2270 | </div><div·class="memdoc"> | 2270 | </div><div·class="memdoc"> |
2271 | </div> | 2271 | </div> |
2272 | </div> | 2272 | </div> |
2273 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 2273 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
2274 | <li><a·class="el"·href="a000 | 2274 | <li><a·class="el"·href="a00032_source.html">connection.hxx</a></li> |
2275 | <li><b>connection.cxx</b></li> | 2275 | <li><b>connection.cxx</b></li> |
2276 | </ul> | 2276 | </ul> |
2277 | </div><!--·contents·--> | 2277 | </div><!--·contents·--> |
2278 | </div><!--·doc-content·--> | 2278 | </div><!--·doc-content·--> |
2279 | <!--·start·footer·part·--> | 2279 | <!--·start·footer·part·--> |
2280 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 2280 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
2281 | ··<ul> | 2281 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::connecting·Class·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::connecting·Class·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·ongoing,·non-blocking·stepping·stone·to·a·connection.·· | 68 | <p>An·ongoing,·non-blocking·stepping·stone·to·a·connection.·· |
69 | ·<a·href="a01114.html#details">More...</a></p> | 69 | ·<a·href="a01114.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00032_source.html">connection.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:acf5c44883289c96122a64aeaa5371aa5"·id="r_acf5c44883289c96122a64aeaa5371aa5"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#acf5c44883289c96122a64aeaa5371aa5">connecting</a>·(<a·class="el"·href="a01510.html">zview</a>·connection_string=""_zv)</td></tr> | 74 | <tr·class="memitem:acf5c44883289c96122a64aeaa5371aa5"·id="r_acf5c44883289c96122a64aeaa5371aa5"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#acf5c44883289c96122a64aeaa5371aa5">connecting</a>·(<a·class="el"·href="a01510.html">zview</a>·connection_string=""_zv)</td></tr> |
75 | <tr·class="memdesc:acf5c44883289c96122a64aeaa5371aa5"><td·class="mdescLeft"> </td><td·class="mdescRight">Start·connecting.··<br·/></td></tr> | 75 | <tr·class="memdesc:acf5c44883289c96122a64aeaa5371aa5"><td·class="mdescLeft"> </td><td·class="mdescRight">Start·connecting.··<br·/></td></tr> |
76 | <tr·class="separator:acf5c44883289c96122a64aeaa5371aa5"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:acf5c44883289c96122a64aeaa5371aa5"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a4a46aeddf8a1a3d7923ffeecd9a7b22f"·id="r_a4a46aeddf8a1a3d7923ffeecd9a7b22f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#a4a46aeddf8a1a3d7923ffeecd9a7b22f">connecting</a>·(<a·class="el"·href="a01114.html">connecting</a>·const·&)=delete</td></tr> | 77 | <tr·class="memitem:a4a46aeddf8a1a3d7923ffeecd9a7b22f"·id="r_a4a46aeddf8a1a3d7923ffeecd9a7b22f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#a4a46aeddf8a1a3d7923ffeecd9a7b22f">connecting</a>·(<a·class="el"·href="a01114.html">connecting</a>·const·&)=delete</td></tr> |
Offset 396, 15 lines modified | Offset 396, 15 lines modified | ||
396 | </div><div·class="memdoc"> | 396 | </div><div·class="memdoc"> |
397 | <p>Should·we·currently·wait·to·be·able·to·<em>write</em>·to·the·socket?·</p> | 397 | <p>Should·we·currently·wait·to·be·able·to·<em>write</em>·to·the·socket?·</p> |
398 | </div> | 398 | </div> |
399 | </div> | 399 | </div> |
400 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 400 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
401 | <li><a·class="el"·href="a000 | 401 | <li><a·class="el"·href="a00032_source.html">connection.hxx</a></li> |
402 | </ul> | 402 | </ul> |
403 | </div><!--·contents·--> | 403 | </div><!--·contents·--> |
404 | </div><!--·doc-content·--> | 404 | </div><!--·doc-content·--> |
405 | <!--·start·footer·part·--> | 405 | <!--·start·footer·part·--> |
406 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 406 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
407 | ··<ul> | 407 | ··<ul> |
408 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01114.html">connecting</a></li> | 408 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01114.html">connecting</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::cursor_base·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::cursor_base·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Common·definitions·for·cursor·types.·· | 69 | <p>Common·definitions·for·cursor·types.·· |
70 | ·<a·href="a01118.html#details">More...</a></p> | 70 | ·<a·href="a01118.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00110_source.html">cursor.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:ab2dbdc503c97b0200dd3eca6ae22f0a2"·id="r_ab2dbdc503c97b0200dd3eca6ae22f0a2"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">access_policy</a>·{·<a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">forward_only</a> | 75 | <tr·class="memitem:ab2dbdc503c97b0200dd3eca6ae22f0a2"·id="r_ab2dbdc503c97b0200dd3eca6ae22f0a2"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">access_policy</a>·{·<a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2af440221f717464c87f043899cc117cbf">forward_only</a> |
76 | ,·<a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2a7f6c1ed7719885433353a78946b2c5f3">random_access</a> | 76 | ,·<a·class="el"·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2a7f6c1ed7719885433353a78946b2c5f3">random_access</a> |
77 | ·}</td></tr> | 77 | ·}</td></tr> |
78 | <tr·class="memdesc:ab2dbdc503c97b0200dd3eca6ae22f0a2"><td·class="mdescLeft"> </td><td·class="mdescRight">Cursor·access-pattern·policy.··<a·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">More...</a><br·/></td></tr> | 78 | <tr·class="memdesc:ab2dbdc503c97b0200dd3eca6ae22f0a2"><td·class="mdescLeft"> </td><td·class="mdescRight">Cursor·access-pattern·policy.··<a·href="a01118.html#ab2dbdc503c97b0200dd3eca6ae22f0a2">More...</a><br·/></td></tr> |
Offset 517, 15 lines modified | Offset 517, 15 lines modified | ||
517 | ··</tr> | 517 | ··</tr> |
518 | </table> | 518 | </table> |
519 | </div><div·class="memdoc"> | 519 | </div><div·class="memdoc"> |
520 | </div> | 520 | </div> |
521 | </div> | 521 | </div> |
522 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 522 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
523 | <li><a·class="el"·href="a00 | 523 | <li><a·class="el"·href="a00110_source.html">cursor.hxx</a></li> |
524 | <li><b>cursor.cxx</b></li> | 524 | <li><b>cursor.cxx</b></li> |
525 | </ul> | 525 | </ul> |
526 | </div><!--·contents·--> | 526 | </div><!--·contents·--> |
527 | </div><!--·doc-content·--> | 527 | </div><!--·doc-content·--> |
528 | <!--·start·footer·part·--> | 528 | <!--·start·footer·part·--> |
529 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 529 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
530 | ··<ul> | 530 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::stateless_cursor<·up,·op·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::stateless_cursor<·up,·op·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>"Stateless·cursor"·class:·easy·API·for·retrieving·parts·of·result·sets·· | 69 | <p>"Stateless·cursor"·class:·easy·API·for·retrieving·parts·of·result·sets·· |
70 | ·<a·href="a01122.html#details">More...</a></p> | 70 | ·<a·href="a01122.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00110_source.html">cursor.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:a8dbf98af7391df15a686bfb9853e8394"·id="r_a8dbf98af7391df15a686bfb9853e8394"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html#a8dbf98af7391df15a686bfb9853e8394">size_type</a>·=·<a·class="el"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a></td></tr> | 75 | <tr·class="memitem:a8dbf98af7391df15a686bfb9853e8394"·id="r_a8dbf98af7391df15a686bfb9853e8394"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html#a8dbf98af7391df15a686bfb9853e8394">size_type</a>·=·<a·class="el"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a></td></tr> |
76 | <tr·class="separator:a8dbf98af7391df15a686bfb9853e8394"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a8dbf98af7391df15a686bfb9853e8394"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a8f3b200166af0e4c2aa2649204df0b2b"·id="r_a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html#a8f3b200166af0e4c2aa2649204df0b2b">difference_type</a>·=·<a·class="el"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a></td></tr> | 77 | <tr·class="memitem:a8f3b200166af0e4c2aa2649204df0b2b"·id="r_a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html#a8f3b200166af0e4c2aa2649204df0b2b">difference_type</a>·=·<a·class="el"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a></td></tr> |
78 | <tr·class="separator:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memSeparator"·colspan="2"> </td></tr> | 78 | <tr·class="separator:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 358, 15 lines modified | Offset 358, 15 lines modified | ||
358 | <dl·class="section·note"><dt>Note</dt><dd>This·function·is·not·const;·it·may·need·to·scroll·to·find·the·size·of·the·result·set.·</dd></dl> | 358 | <dl·class="section·note"><dt>Note</dt><dd>This·function·is·not·const;·it·may·need·to·scroll·to·find·the·size·of·the·result·set.·</dd></dl> |
359 | <p·class="reference">Referenced·by·<a·class="el"·href="a01122.html#a97046479f709ae621473c48ed7a0932d">pqxx::stateless_cursor<·up,·op·>::retrieve()</a>.</p> | 359 | <p·class="reference">Referenced·by·<a·class="el"·href="a01122.html#a97046479f709ae621473c48ed7a0932d">pqxx::stateless_cursor<·up,·op·>::retrieve()</a>.</p> |
360 | </div> | 360 | </div> |
361 | </div> | 361 | </div> |
362 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 362 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
363 | <li><a·class="el"·href="a00 | 363 | <li><a·class="el"·href="a00110_source.html">cursor.hxx</a></li> |
364 | </ul> | 364 | </ul> |
365 | </div><!--·contents·--> | 365 | </div><!--·contents·--> |
366 | </div><!--·doc-content·--> | 366 | </div><!--·doc-content·--> |
367 | <!--·start·footer·part·--> | 367 | <!--·start·footer·part·--> |
368 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 368 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
369 | ··<ul> | 369 | ··<ul> |
370 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01122.html">stateless_cursor</a></li> | 370 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01122.html">stateless_cursor</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Abstract·transaction·base·class:·bracket·transactions·on·the·database.·· | 68 | <p>Abstract·transaction·base·class:·bracket·transactions·on·the·database.·· |
69 | ·<a·href="a01134.html#details">More...</a></p> | 69 | ·<a·href="a01134.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dbtransaction.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::dbtransaction:</div> | 72 | Inheritance·diagram·for·pqxx::dbtransaction:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01133.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01133.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map"> | 75 | <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map"> |
76 | <area·shape="rect"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="227,77,377,102"/> | 76 | <area·shape="rect"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="227,77,377,102"/> |
77 | <area·shape="rect"·href="a01406.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="427,5,582,45"/> | 77 | <area·shape="rect"·href="a01406.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="427,5,582,45"/> |
Offset 421, 15 lines modified | Offset 421, 15 lines modified | ||
421 | </div><div·class="memdoc"> | 421 | </div><div·class="memdoc"> |
422 | <p>Begin·transaction.·</p> | 422 | <p>Begin·transaction.·</p> |
423 | </div> | 423 | </div> |
424 | </div> | 424 | </div> |
425 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 425 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
426 | <li><a·class="el"·href="a00 | 426 | <li><a·class="el"·href="a00116_source.html">dbtransaction.hxx</a></li> |
427 | </ul> | 427 | </ul> |
428 | </div><!--·contents·--> | 428 | </div><!--·contents·--> |
429 | </div><!--·doc-content·--> | 429 | </div><!--·doc-content·--> |
430 | <!--·start·footer·part·--> | 430 | <!--·start·footer·part·--> |
431 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 431 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
432 | ··<ul> | 432 | ··<ul> |
433 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01134.html">dbtransaction</a></li> | 433 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01134.html">dbtransaction</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::errorhandler·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::errorhandler·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Base·class·for·error-handler·callbacks.·· | 69 | <p>Base·class·for·error-handler·callbacks.·· |
70 | ·<a·href="a01138.html#details">More...</a></p> | 70 | ·<a·href="a01138.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00002_source.html">errorhandler.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::errorhandler:</div> | 73 | Inheritance·diagram·for·pqxx::errorhandler:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01137.png"·border="0"·usemap="#apqxx_1_1errorhandler_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01137.png"·border="0"·usemap="#apqxx_1_1errorhandler_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1errorhandler_inherit__map"·id="apqxx_1_1errorhandler_inherit__map"> | 76 | <map·name="apqxx_1_1errorhandler_inherit__map"·id="apqxx_1_1errorhandler_inherit__map"> |
77 | <area·shape="rect"·title="Base·class·for·error-handler·callbacks."·alt=""·coords="25,5,168,31"/> | 77 | <area·shape="rect"·title="Base·class·for·error-handler·callbacks."·alt=""·coords="25,5,168,31"/> |
78 | <area·shape="rect"·href="a01142.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/> | 78 | <area·shape="rect"·href="a01142.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/> |
Offset 290, 15 lines modified | Offset 290, 15 lines modified | ||
290 | ··</tr> | 290 | ··</tr> |
291 | </table> | 291 | </table> |
292 | </div><div·class="memdoc"> | 292 | </div><div·class="memdoc"> |
293 | </div> | 293 | </div> |
294 | </div> | 294 | </div> |
295 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 295 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
296 | <li><a·class="el"·href="a000 | 296 | <li><a·class="el"·href="a00002_source.html">errorhandler.hxx</a></li> |
297 | <li><b>errorhandler.cxx</b></li> | 297 | <li><b>errorhandler.cxx</b></li> |
298 | </ul> | 298 | </ul> |
299 | </div><!--·contents·--> | 299 | </div><!--·contents·--> |
300 | </div><!--·doc-content·--> | 300 | </div><!--·doc-content·--> |
301 | <!--·start·footer·part·--> | 301 | <!--·start·footer·part·--> |
302 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 302 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
303 | ··<ul> | 303 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::quiet_errorhandler·Class·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::quiet_errorhandler·Class·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·error·handler·that·suppresses·any·previously·registered·error·handlers.·· | 68 | <p>An·error·handler·that·suppresses·any·previously·registered·error·handlers.·· |
69 | ·<a·href="a01142.html#details">More...</a></p> | 69 | ·<a·href="a01142.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00002_source.html">errorhandler.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::quiet_errorhandler:</div> | 72 | Inheritance·diagram·for·pqxx::quiet_errorhandler:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01141.png"·border="0"·usemap="#apqxx_1_1quiet__errorhandler_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01141.png"·border="0"·usemap="#apqxx_1_1quiet__errorhandler_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1quiet__errorhandler_inherit__map"·id="apqxx_1_1quiet__errorhandler_inherit__map"> | 75 | <map·name="apqxx_1_1quiet__errorhandler_inherit__map"·id="apqxx_1_1quiet__errorhandler_inherit__map"> |
76 | <area·shape="rect"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/> | 76 | <area·shape="rect"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/> |
77 | <area·shape="rect"·href="a01138.html"·title="Base·class·for·error-handler·callbacks."·alt=""·coords="25,5,168,31"/> | 77 | <area·shape="rect"·href="a01138.html"·title="Base·class·for·error-handler·callbacks."·alt=""·coords="25,5,168,31"/> |
Offset 152, 15 lines modified | Offset 152, 15 lines modified | ||
152 | <p>Revert·to·previous·handling·of·error·notices.·</p> | 152 | <p>Revert·to·previous·handling·of·error·notices.·</p> |
153 | <p>Implements·<a·class="el"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler</a>.</p> | 153 | <p>Implements·<a·class="el"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler</a>.</p> |
154 | </div> | 154 | </div> |
155 | </div> | 155 | </div> |
156 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 156 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
157 | <li><a·class="el"·href="a000 | 157 | <li><a·class="el"·href="a00002_source.html">errorhandler.hxx</a></li> |
158 | </ul> | 158 | </ul> |
159 | </div><!--·contents·--> | 159 | </div><!--·contents·--> |
160 | </div><!--·doc-content·--> | 160 | </div><!--·doc-content·--> |
161 | <!--·start·footer·part·--> | 161 | <!--·start·footer·part·--> |
162 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 162 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
163 | ··<ul> | 163 | ··<ul> |
164 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01142.html">quiet_errorhandler</a></li> | 164 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01142.html">quiet_errorhandler</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error.·· | 68 | <p>Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error.·· |
69 | ·<a·href="a01146.html#details">More...</a></p> | 69 | ·<a·href="a01146.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::failure:</div> | 72 | Inheritance·diagram·for·pqxx::failure:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01145.png"·border="0"·usemap="#apqxx_1_1failure_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01145.png"·border="0"·usemap="#apqxx_1_1failure_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1failure_inherit__map"·id="apqxx_1_1failure_inherit__map"> | 75 | <map·name="apqxx_1_1failure_inherit__map"·id="apqxx_1_1failure_inherit__map"> |
76 | <area·shape="rect"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="355,344,459,369"/> | 76 | <area·shape="rect"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="355,344,459,369"/> |
77 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="507,55,691,80"/> | 77 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="507,55,691,80"/> |
Offset 183, 15 lines modified | Offset 183, 15 lines modified | ||
183 | <p>Implementation·of·libpqxx·exception·classes.</p> | 183 | <p>Implementation·of·libpqxx·exception·classes.</p> |
184 | <p>Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</p> | 184 | <p>Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</p> |
185 | <p>See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called·COPYING·with·this·source·code,·please·notify·the·distributor·of·this·mistake,·or·contact·the·author.·</p> | 185 | <p>See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called·COPYING·with·this·source·code,·please·notify·the·distributor·of·this·mistake,·or·contact·the·author.·</p> |
186 | </div> | 186 | </div> |
187 | </div> | 187 | </div> |
188 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 188 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
189 | <li><a·class="el"·href="a000 | 189 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
190 | <li><b>except.cxx</b></li> | 190 | <li><b>except.cxx</b></li> |
191 | </ul> | 191 | </ul> |
192 | </div><!--·contents·--> | 192 | </div><!--·contents·--> |
193 | </div><!--·doc-content·--> | 193 | </div><!--·doc-content·--> |
194 | <!--·start·footer·part·--> | 194 | <!--·start·footer·part·--> |
195 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 195 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
196 | ··<ul> | 196 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Exception·class·for·lost·or·failed·backend·connection.·· | 68 | <p>Exception·class·for·lost·or·failed·backend·connection.·· |
69 | ·<a·href="a01150.html#details">More...</a></p> | 69 | ·<a·href="a01150.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::broken_connection:</div> | 72 | Inheritance·diagram·for·pqxx::broken_connection:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01149.png"·border="0"·usemap="#apqxx_1_1broken__connection_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01149.png"·border="0"·usemap="#apqxx_1_1broken__connection_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1broken__connection_inherit__map"·id="apqxx_1_1broken__connection_inherit__map"> | 75 | <map·name="apqxx_1_1broken__connection_inherit__map"·id="apqxx_1_1broken__connection_inherit__map"> |
76 | <area·shape="rect"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="112,225,296,251"/> | 76 | <area·shape="rect"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="112,225,296,251"/> |
77 | <area·shape="rect"·href="a01154.html"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="5,299,184,324"/> | 77 | <area·shape="rect"·href="a01154.html"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="5,299,184,324"/> |
Offset 151, 15 lines modified | Offset 151, 15 lines modified | ||
151 | ··</tr> | 151 | ··</tr> |
152 | </table> | 152 | </table> |
153 | </div><div·class="memdoc"> | 153 | </div><div·class="memdoc"> |
154 | </div> | 154 | </div> |
155 | </div> | 155 | </div> |
156 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 156 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
157 | <li><a·class="el"·href="a000 | 157 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
158 | <li><b>except.cxx</b></li> | 158 | <li><b>except.cxx</b></li> |
159 | </ul> | 159 | </ul> |
160 | </div><!--·contents·--> | 160 | </div><!--·contents·--> |
161 | </div><!--·doc-content·--> | 161 | </div><!--·doc-content·--> |
162 | <!--·start·footer·part·--> | 162 | <!--·start·footer·part·--> |
163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
164 | ··<ul> | 164 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::protocol_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::protocol_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Exception·class·for·micommunication·with·the·server.·· | 68 | <p>Exception·class·for·micommunication·with·the·server.·· |
69 | ·<a·href="a01154.html#details">More...</a></p> | 69 | ·<a·href="a01154.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::protocol_violation:</div> | 72 | Inheritance·diagram·for·pqxx::protocol_violation:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01153.png"·border="0"·usemap="#apqxx_1_1protocol__violation_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01153.png"·border="0"·usemap="#apqxx_1_1protocol__violation_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1protocol__violation_inherit__map"·id="apqxx_1_1protocol__violation_inherit__map"> | 75 | <map·name="apqxx_1_1protocol__violation_inherit__map"·id="apqxx_1_1protocol__violation_inherit__map"> |
76 | <area·shape="rect"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="8,299,187,324"/> | 76 | <area·shape="rect"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="8,299,187,324"/> |
77 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="5,225,189,251"/> | 77 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="5,225,189,251"/> |
Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
128 | ··</tr> | 128 | ··</tr> |
129 | </table> | 129 | </table> |
130 | </div><div·class="memdoc"> | 130 | </div><div·class="memdoc"> |
131 | </div> | 131 | </div> |
132 | </div> | 132 | </div> |
133 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 133 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
134 | <li><a·class="el"·href="a000 | 134 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
135 | <li><b>except.cxx</b></li> | 135 | <li><b>except.cxx</b></li> |
136 | </ul> | 136 | </ul> |
137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
138 | </div><!--·doc-content·--> | 138 | </div><!--·doc-content·--> |
139 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
141 | ··<ul> | 141 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::variable_set_to_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::variable_set_to_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed.·· | 68 | <p>The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed.·· |
69 | ·<a·href="a01158.html#details">More...</a></p> | 69 | ·<a·href="a01158.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::variable_set_to_null:</div> | 72 | Inheritance·diagram·for·pqxx::variable_set_to_null:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01157.png"·border="0"·usemap="#apqxx_1_1variable__set__to__null_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01157.png"·border="0"·usemap="#apqxx_1_1variable__set__to__null_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1variable__set__to__null_inherit__map"·id="apqxx_1_1variable__set__to__null_inherit__map"> | 75 | <map·name="apqxx_1_1variable__set__to__null_inherit__map"·id="apqxx_1_1variable__set__to__null_inherit__map"> |
76 | <area·shape="rect"·title="The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed."·alt=""·coords="5,225,148,265"/> | 76 | <area·shape="rect"·title="The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed."·alt=""·coords="5,225,148,265"/> |
77 | <area·shape="rect"·href="a01146.html"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="25,152,129,177"/> | 77 | <area·shape="rect"·href="a01146.html"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="25,152,129,177"/> |
Offset 119, 15 lines modified | Offset 119, 15 lines modified | ||
119 | ··</tr> | 119 | ··</tr> |
120 | </table> | 120 | </table> |
121 | </div><div·class="memdoc"> | 121 | </div><div·class="memdoc"> |
122 | </div> | 122 | </div> |
123 | </div> | 123 | </div> |
124 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 124 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
125 | <li><a·class="el"·href="a000 | 125 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
126 | <li><b>except.cxx</b></li> | 126 | <li><b>except.cxx</b></li> |
127 | </ul> | 127 | </ul> |
128 | </div><!--·contents·--> | 128 | </div><!--·contents·--> |
129 | </div><!--·doc-content·--> | 129 | </div><!--·doc-content·--> |
130 | <!--·start·footer·part·--> | 130 | <!--·start·footer·part·--> |
131 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 131 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
132 | ··<ul> | 132 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::sql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::sql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Exception·class·for·failed·queries.·· | 68 | <p>Exception·class·for·failed·queries.·· |
69 | ·<a·href="a01162.html#details">More...</a></p> | 69 | ·<a·href="a01162.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::sql_error:</div> | 72 | Inheritance·diagram·for·pqxx::sql_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01161.png"·border="0"·usemap="#apqxx_1_1sql__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01161.png"·border="0"·usemap="#apqxx_1_1sql__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1sql__error_inherit__map"·id="apqxx_1_1sql__error_inherit__map"> | 75 | <map·name="apqxx_1_1sql__error_inherit__map"·id="apqxx_1_1sql__error_inherit__map"> |
76 | <area·shape="rect"·title="Exception·class·for·failed·queries."·alt=""·coords="507,297,625,323"/> | 76 | <area·shape="rect"·title="Exception·class·for·failed·queries."·alt=""·coords="507,297,625,323"/> |
77 | <area·shape="rect"·href="a01222.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="717,5,880,31"/> | 77 | <area·shape="rect"·href="a01222.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="717,5,880,31"/> |
Offset 280, 15 lines modified | Offset 280, 15 lines modified | ||
280 | <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p> | 280 | <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p> |
281 | <p·class="reference">Referenced·by·<a·class="el"·href="a01182.html#a764bd3129b2991d07b1ecdee9715adbc">pqxx::deadlock_detected::deadlock_detected()</a>,·<a·class="el"·href="a01174.html#adc34b9f293bae689692c333cc7bec4a7">pqxx::serialization_failure::serialization_failure()</a>,·<a·class="el"·href="a01178.html#a6ffc807acecc3add50e135bf15b1ed39">pqxx::statement_completion_unknown::statement_completion_unknown()</a>,·and·<a·class="el"·href="a01170.html#aed1aaa6bd776081a5a0da28b2c599e64">pqxx::transaction_rollback::transaction_rollback()</a>.</p> | 281 | <p·class="reference">Referenced·by·<a·class="el"·href="a01182.html#a764bd3129b2991d07b1ecdee9715adbc">pqxx::deadlock_detected::deadlock_detected()</a>,·<a·class="el"·href="a01174.html#adc34b9f293bae689692c333cc7bec4a7">pqxx::serialization_failure::serialization_failure()</a>,·<a·class="el"·href="a01178.html#a6ffc807acecc3add50e135bf15b1ed39">pqxx::statement_completion_unknown::statement_completion_unknown()</a>,·and·<a·class="el"·href="a01170.html#aed1aaa6bd776081a5a0da28b2c599e64">pqxx::transaction_rollback::transaction_rollback()</a>.</p> |
282 | </div> | 282 | </div> |
283 | </div> | 283 | </div> |
284 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 284 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
285 | <li><a·class="el"·href="a000 | 285 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
286 | <li><b>except.cxx</b></li> | 286 | <li><b>except.cxx</b></li> |
287 | </ul> | 287 | </ul> |
288 | </div><!--·contents·--> | 288 | </div><!--·contents·--> |
289 | </div><!--·doc-content·--> | 289 | </div><!--·doc-content·--> |
290 | <!--·start·footer·part·--> | 290 | <!--·start·footer·part·--> |
291 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 291 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
292 | ··<ul> | 292 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>"Help,·I·don't·know·whether·transaction·was·committed·successfully!"·· | 68 | <p>"Help,·I·don't·know·whether·transaction·was·committed·successfully!"·· |
69 | ·<a·href="a01166.html#details">More...</a></p> | 69 | ·<a·href="a01166.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::in_doubt_error:</div> | 72 | Inheritance·diagram·for·pqxx::in_doubt_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01165.png"·border="0"·usemap="#apqxx_1_1in__doubt__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01165.png"·border="0"·usemap="#apqxx_1_1in__doubt__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1in__doubt__error_inherit__map"·id="apqxx_1_1in__doubt__error_inherit__map"> | 75 | <map·name="apqxx_1_1in__doubt__error_inherit__map"·id="apqxx_1_1in__doubt__error_inherit__map"> |
76 | <area·shape="rect"·title=""Help,·I·don't·know·whether·transaction·was·committed·successfully!""·alt=""·coords="5,225,161,251"/> | 76 | <area·shape="rect"·title=""Help,·I·don't·know·whether·transaction·was·committed·successfully!""·alt=""·coords="5,225,161,251"/> |
77 | <area·shape="rect"·href="a01146.html"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="31,152,135,177"/> | 77 | <area·shape="rect"·href="a01146.html"·title="Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="31,152,135,177"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | ··</tr> | 120 | ··</tr> |
121 | </table> | 121 | </table> |
122 | </div><div·class="memdoc"> | 122 | </div><div·class="memdoc"> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
126 | <li><a·class="el"·href="a000 | 126 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
127 | <li><b>except.cxx</b></li> | 127 | <li><b>except.cxx</b></li> |
128 | </ul> | 128 | </ul> |
129 | </div><!--·contents·--> | 129 | </div><!--·contents·--> |
130 | </div><!--·doc-content·--> | 130 | </div><!--·doc-content·--> |
131 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
133 | ··<ul> | 133 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.·· | 68 | <p>The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.·· |
69 | ·<a·href="a01170.html#details">More...</a></p> | 69 | ·<a·href="a01170.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::transaction_rollback:</div> | 72 | Inheritance·diagram·for·pqxx::transaction_rollback:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01169.png"·border="0"·usemap="#apqxx_1_1transaction__rollback_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01169.png"·border="0"·usemap="#apqxx_1_1transaction__rollback_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1transaction__rollback_inherit__map"·id="apqxx_1_1transaction__rollback_inherit__map"> | 75 | <map·name="apqxx_1_1transaction__rollback_inherit__map"·id="apqxx_1_1transaction__rollback_inherit__map"> |
76 | <area·shape="rect"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="673,63,868,88"/> | 76 | <area·shape="rect"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="673,63,868,88"/> |
77 | <area·shape="rect"·href="a01182.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="928,5,1113,31"/> | 77 | <area·shape="rect"·href="a01182.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="928,5,1113,31"/> |
Offset 156, 15 lines modified | Offset 156, 15 lines modified | ||
156 | </div><div·class="memdoc"> | 156 | </div><div·class="memdoc"> |
157 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> | 157 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
161 | <li><a·class="el"·href="a000 | 161 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
162 | <li><b>except.cxx</b></li> | 162 | <li><b>except.cxx</b></li> |
163 | </ul> | 163 | </ul> |
164 | </div><!--·contents·--> | 164 | </div><!--·contents·--> |
165 | </div><!--·doc-content·--> | 165 | </div><!--·doc-content·--> |
166 | <!--·start·footer·part·--> | 166 | <!--·start·footer·part·--> |
167 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 167 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
168 | ··<ul> | 168 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Transaction·failed·to·serialize.·Please·retry·it.·· | 68 | <p>Transaction·failed·to·serialize.·Please·retry·it.·· |
69 | ·<a·href="a01174.html#details">More...</a></p> | 69 | ·<a·href="a01174.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::serialization_failure:</div> | 72 | Inheritance·diagram·for·pqxx::serialization_failure:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01173.png"·border="0"·usemap="#apqxx_1_1serialization__failure_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01173.png"·border="0"·usemap="#apqxx_1_1serialization__failure_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1serialization__failure_inherit__map"·id="apqxx_1_1serialization__failure_inherit__map"> | 75 | <map·name="apqxx_1_1serialization__failure_inherit__map"·id="apqxx_1_1serialization__failure_inherit__map"> |
76 | <area·shape="rect"·title="Transaction·failed·to·serialize.·Please·retry·it."·alt=""·coords="31,372,174,412"/> | 76 | <area·shape="rect"·title="Transaction·failed·to·serialize.·Please·retry·it."·alt=""·coords="31,372,174,412"/> |
77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/> | 77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/> |
Offset 157, 15 lines modified | Offset 157, 15 lines modified | ||
157 | </div><div·class="memdoc"> | 157 | </div><div·class="memdoc"> |
158 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> | 158 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> |
159 | </div> | 159 | </div> |
160 | </div> | 160 | </div> |
161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
162 | <li><a·class="el"·href="a000 | 162 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
163 | <li><b>except.cxx</b></li> | 163 | <li><b>except.cxx</b></li> |
164 | </ul> | 164 | </ul> |
165 | </div><!--·contents·--> | 165 | </div><!--·contents·--> |
166 | </div><!--·doc-content·--> | 166 | </div><!--·doc-content·--> |
167 | <!--·start·footer·part·--> | 167 | <!--·start·footer·part·--> |
168 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 168 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
169 | ··<ul> | 169 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>We·can't·tell·whether·our·last·statement·succeeded.·· | 68 | <p>We·can't·tell·whether·our·last·statement·succeeded.·· |
69 | ·<a·href="a01178.html#details">More...</a></p> | 69 | ·<a·href="a01178.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::statement_completion_unknown:</div> | 72 | Inheritance·diagram·for·pqxx::statement_completion_unknown:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01177.png"·border="0"·usemap="#apqxx_1_1statement__completion__unknown_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01177.png"·border="0"·usemap="#apqxx_1_1statement__completion__unknown_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1statement__completion__unknown_inherit__map"·id="apqxx_1_1statement__completion__unknown_inherit__map"> | 75 | <map·name="apqxx_1_1statement__completion__unknown_inherit__map"·id="apqxx_1_1statement__completion__unknown_inherit__map"> |
76 | <area·shape="rect"·title="We·can't·tell·whether·our·last·statement·succeeded."·alt=""·coords="5,372,215,412"/> | 76 | <area·shape="rect"·title="We·can't·tell·whether·our·last·statement·succeeded."·alt=""·coords="5,372,215,412"/> |
77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="13,299,207,324"/> | 77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="13,299,207,324"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | </div><div·class="memdoc"> | 155 | </div><div·class="memdoc"> |
156 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> | 156 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> |
157 | </div> | 157 | </div> |
158 | </div> | 158 | </div> |
159 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 159 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
160 | <li><a·class="el"·href="a000 | 160 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
161 | <li><b>except.cxx</b></li> | 161 | <li><b>except.cxx</b></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help.·· | 68 | <p>The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help.·· |
69 | ·<a·href="a01182.html#details">More...</a></p> | 69 | ·<a·href="a01182.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::deadlock_detected:</div> | 72 | Inheritance·diagram·for·pqxx::deadlock_detected:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01181.png"·border="0"·usemap="#apqxx_1_1deadlock__detected_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01181.png"·border="0"·usemap="#apqxx_1_1deadlock__detected_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1deadlock__detected_inherit__map"·id="apqxx_1_1deadlock__detected_inherit__map"> | 75 | <map·name="apqxx_1_1deadlock__detected_inherit__map"·id="apqxx_1_1deadlock__detected_inherit__map"> |
76 | <area·shape="rect"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="10,372,195,397"/> | 76 | <area·shape="rect"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="10,372,195,397"/> |
77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/> | 77 | <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | </div><div·class="memdoc"> | 155 | </div><div·class="memdoc"> |
156 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> | 156 | <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p> |
157 | </div> | 157 | </div> |
158 | </div> | 158 | </div> |
159 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 159 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
160 | <li><a·class="el"·href="a000 | 160 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
161 | <li><b>except.cxx</b></li> | 161 | <li><b>except.cxx</b></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Internal·error·in·libpqxx·library.·· | 68 | <p>Internal·error·in·libpqxx·library.·· |
69 | ·<a·href="a01186.html#details">More...</a></p> | 69 | ·<a·href="a01186.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::internal_error:</div> | 72 | Inheritance·diagram·for·pqxx::internal_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01185.png"·border="0"·usemap="#apqxx_1_1internal__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01185.png"·border="0"·usemap="#apqxx_1_1internal__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1internal__error_inherit__map"·id="apqxx_1_1internal__error_inherit__map"> | 75 | <map·name="apqxx_1_1internal__error_inherit__map"·id="apqxx_1_1internal__error_inherit__map"> |
76 | <area·shape="rect"·title="Internal·error·in·libpqxx·library."·alt=""·coords="5,152,156,177"/> | 76 | <area·shape="rect"·title="Internal·error·in·libpqxx·library."·alt=""·coords="5,152,156,177"/> |
77 | <area·shape="rect"·title="·"·alt=""·coords="21,79,140,104"/> | 77 | <area·shape="rect"·title="·"·alt=""·coords="21,79,140,104"/> |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ··</tr> | 114 | ··</tr> |
115 | </table> | 115 | </table> |
116 | </div><div·class="memdoc"> | 116 | </div><div·class="memdoc"> |
117 | </div> | 117 | </div> |
118 | </div> | 118 | </div> |
119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
120 | <li><a·class="el"·href="a000 | 120 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
121 | <li><b>except.cxx</b></li> | 121 | <li><b>except.cxx</b></li> |
122 | </ul> | 122 | </ul> |
123 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 127 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error.·· | 68 | <p>Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error.·· |
69 | ·<a·href="a01190.html#details">More...</a></p> | 69 | ·<a·href="a01190.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::usage_error:</div> | 72 | Inheritance·diagram·for·pqxx::usage_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01189.png"·border="0"·usemap="#apqxx_1_1usage__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01189.png"·border="0"·usemap="#apqxx_1_1usage__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1usage__error_inherit__map"·id="apqxx_1_1usage__error_inherit__map"> | 75 | <map·name="apqxx_1_1usage__error_inherit__map"·id="apqxx_1_1usage__error_inherit__map"> |
76 | <area·shape="rect"·title="Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error."·alt=""·coords="5,152,144,177"/> | 76 | <area·shape="rect"·title="Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error."·alt=""·coords="5,152,144,177"/> |
77 | <area·shape="rect"·title="·"·alt=""·coords="15,79,134,104"/> | 77 | <area·shape="rect"·title="·"·alt=""·coords="15,79,134,104"/> |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ··</tr> | 114 | ··</tr> |
115 | </table> | 115 | </table> |
116 | </div><div·class="memdoc"> | 116 | </div><div·class="memdoc"> |
117 | </div> | 117 | </div> |
118 | </div> | 118 | </div> |
119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
120 | <li><a·class="el"·href="a000 | 120 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
121 | <li><b>except.cxx</b></li> | 121 | <li><b>except.cxx</b></li> |
122 | </ul> | 122 | </ul> |
123 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 127 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument.·· | 68 | <p>Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument.·· |
69 | ·<a·href="a01194.html#details">More...</a></p> | 69 | ·<a·href="a01194.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::argument_error:</div> | 72 | Inheritance·diagram·for·pqxx::argument_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01193.png"·border="0"·usemap="#apqxx_1_1argument__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01193.png"·border="0"·usemap="#apqxx_1_1argument__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1argument__error_inherit__map"·id="apqxx_1_1argument__error_inherit__map"> | 75 | <map·name="apqxx_1_1argument__error_inherit__map"·id="apqxx_1_1argument__error_inherit__map"> |
76 | <area·shape="rect"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="6,225,169,251"/> | 76 | <area·shape="rect"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="6,225,169,251"/> |
77 | <area·shape="rect"·title="·"·alt=""·coords="5,152,169,177"/> | 77 | <area·shape="rect"·title="·"·alt=""·coords="5,152,169,177"/> |
Offset 116, 15 lines modified | Offset 116, 15 lines modified | ||
116 | ··</tr> | 116 | ··</tr> |
117 | </table> | 117 | </table> |
118 | </div><div·class="memdoc"> | 118 | </div><div·class="memdoc"> |
119 | </div> | 119 | </div> |
120 | </div> | 120 | </div> |
121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
122 | <li><a·class="el"·href="a000 | 122 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
123 | <li><b>except.cxx</b></li> | 123 | <li><b>except.cxx</b></li> |
124 | </ul> | 124 | </ul> |
125 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
129 | ··<ul> | 129 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int.·· | 68 | <p>Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int.·· |
69 | ·<a·href="a01198.html#details">More...</a></p> | 69 | ·<a·href="a01198.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::conversion_error:</div> | 72 | Inheritance·diagram·for·pqxx::conversion_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01197.png"·border="0"·usemap="#apqxx_1_1conversion__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01197.png"·border="0"·usemap="#apqxx_1_1conversion__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1conversion__error_inherit__map"·id="apqxx_1_1conversion__error_inherit__map"> | 75 | <map·name="apqxx_1_1conversion__error_inherit__map"·id="apqxx_1_1conversion__error_inherit__map"> |
76 | <area·shape="rect"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="117,225,287,251"/> | 76 | <area·shape="rect"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="117,225,287,251"/> |
77 | <area·shape="rect"·href="a01206.html"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/> | 77 | <area·shape="rect"·href="a01206.html"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | ··</tr> | 120 | ··</tr> |
121 | </table> | 121 | </table> |
122 | </div><div·class="memdoc"> | 122 | </div><div·class="memdoc"> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
126 | <li><a·class="el"·href="a000 | 126 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
127 | <li><b>except.cxx</b></li> | 127 | <li><b>except.cxx</b></li> |
128 | </ul> | 128 | </ul> |
129 | </div><!--·contents·--> | 129 | </div><!--·contents·--> |
130 | </div><!--·doc-content·--> | 130 | </div><!--·doc-content·--> |
131 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
133 | ··<ul> | 133 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::unexpected_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::unexpected_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Could·not·convert·null·value:·target·type·does·not·support·null.·· | 68 | <p>Could·not·convert·null·value:·target·type·does·not·support·null.·· |
69 | ·<a·href="a01202.html#details">More...</a></p> | 69 | ·<a·href="a01202.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::unexpected_null:</div> | 72 | Inheritance·diagram·for·pqxx::unexpected_null:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01201.png"·border="0"·usemap="#apqxx_1_1unexpected__null_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01201.png"·border="0"·usemap="#apqxx_1_1unexpected__null_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1unexpected__null_inherit__map"·id="apqxx_1_1unexpected__null_inherit__map"> | 75 | <map·name="apqxx_1_1unexpected__null_inherit__map"·id="apqxx_1_1unexpected__null_inherit__map"> |
76 | <area·shape="rect"·title="Could·not·convert·null·value:·target·type·does·not·support·null."·alt=""·coords="6,299,175,324"/> | 76 | <area·shape="rect"·title="Could·not·convert·null·value:·target·type·does·not·support·null."·alt=""·coords="6,299,175,324"/> |
77 | <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="5,225,176,251"/> | 77 | <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="5,225,176,251"/> |
Offset 121, 15 lines modified | Offset 121, 15 lines modified | ||
121 | ··</tr> | 121 | ··</tr> |
122 | </table> | 122 | </table> |
123 | </div><div·class="memdoc"> | 123 | </div><div·class="memdoc"> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
127 | <li><a·class="el"·href="a000 | 127 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
128 | <li><b>except.cxx</b></li> | 128 | <li><b>except.cxx</b></li> |
129 | </ul> | 129 | </ul> |
130 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
131 | </div><!--·doc-content·--> | 131 | </div><!--·doc-content·--> |
132 | <!--·start·footer·part·--> | 132 | <!--·start·footer·part·--> |
133 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 133 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
134 | ··<ul> | 134 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::conversion_overrun·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::conversion_overrun·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Could·not·convert·value·to·string:·not·enough·buffer·space.·· | 68 | <p>Could·not·convert·value·to·string:·not·enough·buffer·space.·· |
69 | ·<a·href="a01206.html#details">More...</a></p> | 69 | ·<a·href="a01206.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::conversion_overrun:</div> | 72 | Inheritance·diagram·for·pqxx::conversion_overrun:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01205.png"·border="0"·usemap="#apqxx_1_1conversion__overrun_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01205.png"·border="0"·usemap="#apqxx_1_1conversion__overrun_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1conversion__overrun_inherit__map"·id="apqxx_1_1conversion__overrun_inherit__map"> | 75 | <map·name="apqxx_1_1conversion__overrun_inherit__map"·id="apqxx_1_1conversion__overrun_inherit__map"> |
76 | <area·shape="rect"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/> | 76 | <area·shape="rect"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/> |
77 | <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="15,225,186,251"/> | 77 | <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int."·alt=""·coords="15,225,186,251"/> |
Offset 121, 15 lines modified | Offset 121, 15 lines modified | ||
121 | ··</tr> | 121 | ··</tr> |
122 | </table> | 122 | </table> |
123 | </div><div·class="memdoc"> | 123 | </div><div·class="memdoc"> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
127 | <li><a·class="el"·href="a000 | 127 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
128 | <li><b>except.cxx</b></li> | 128 | <li><b>except.cxx</b></li> |
129 | </ul> | 129 | </ul> |
130 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
131 | </div><!--·doc-content·--> | 131 | </div><!--·doc-content·--> |
132 | <!--·start·footer·part·--> | 132 | <!--·start·footer·part·--> |
133 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 133 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
134 | ··<ul> | 134 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::range_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::range_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Something·is·out·of·range,·similar·to·std::out_of_range.·· | 68 | <p>Something·is·out·of·range,·similar·to·std::out_of_range.·· |
69 | ·<a·href="a01210.html#details">More...</a></p> | 69 | ·<a·href="a01210.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::range_error:</div> | 72 | Inheritance·diagram·for·pqxx::range_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01209.png"·border="0"·usemap="#apqxx_1_1range__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01209.png"·border="0"·usemap="#apqxx_1_1range__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1range__error_inherit__map"·id="apqxx_1_1range__error_inherit__map"> | 75 | <map·name="apqxx_1_1range__error_inherit__map"·id="apqxx_1_1range__error_inherit__map"> |
76 | <area·shape="rect"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/> | 76 | <area·shape="rect"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/> |
77 | <area·shape="rect"·href="a01214.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/> | 77 | <area·shape="rect"·href="a01214.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/> |
Offset 118, 15 lines modified | Offset 118, 15 lines modified | ||
118 | ··</tr> | 118 | ··</tr> |
119 | </table> | 119 | </table> |
120 | </div><div·class="memdoc"> | 120 | </div><div·class="memdoc"> |
121 | </div> | 121 | </div> |
122 | </div> | 122 | </div> |
123 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 123 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
124 | <li><a·class="el"·href="a000 | 124 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
125 | <li><b>except.cxx</b></li> | 125 | <li><b>except.cxx</b></li> |
126 | </ul> | 126 | </ul> |
127 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
128 | </div><!--·doc-content·--> | 128 | </div><!--·doc-content·--> |
129 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
131 | ··<ul> | 131 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Query·returned·an·unexpected·number·of·rows.·· | 68 | <p>Query·returned·an·unexpected·number·of·rows.·· |
69 | ·<a·href="a01214.html#details">More...</a></p> | 69 | ·<a·href="a01214.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::unexpected_rows:</div> | 72 | Inheritance·diagram·for·pqxx::unexpected_rows:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01213.png"·border="0"·usemap="#apqxx_1_1unexpected__rows_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01213.png"·border="0"·usemap="#apqxx_1_1unexpected__rows_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1unexpected__rows_inherit__map"·id="apqxx_1_1unexpected__rows_inherit__map"> | 75 | <map·name="apqxx_1_1unexpected__rows_inherit__map"·id="apqxx_1_1unexpected__rows_inherit__map"> |
76 | <area·shape="rect"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/> | 76 | <area·shape="rect"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/> |
77 | <area·shape="rect"·href="a01210.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/> | 77 | <area·shape="rect"·href="a01210.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/> |
Offset 121, 15 lines modified | Offset 121, 15 lines modified | ||
121 | ··</tr> | 121 | ··</tr> |
122 | </table> | 122 | </table> |
123 | </div><div·class="memdoc"> | 123 | </div><div·class="memdoc"> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a000 | 127 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
128 | </ul> | 128 | </ul> |
129 | </div><!--·contents·--> | 129 | </div><!--·contents·--> |
130 | </div><!--·doc-content·--> | 130 | </div><!--·doc-content·--> |
131 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
133 | ··<ul> | 133 | ··<ul> |
134 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01214.html">unexpected_rows</a></li> | 134 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01214.html">unexpected_rows</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Database·feature·not·supported·in·current·setup.·· | 68 | <p>Database·feature·not·supported·in·current·setup.·· |
69 | ·<a·href="a01218.html#details">More...</a></p> | 69 | ·<a·href="a01218.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::feature_not_supported:</div> | 72 | Inheritance·diagram·for·pqxx::feature_not_supported:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01217.png"·border="0"·usemap="#apqxx_1_1feature__not__supported_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01217.png"·border="0"·usemap="#apqxx_1_1feature__not__supported_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1feature__not__supported_inherit__map"·id="apqxx_1_1feature__not__supported_inherit__map"> | 75 | <map·name="apqxx_1_1feature__not__supported_inherit__map"·id="apqxx_1_1feature__not__supported_inherit__map"> |
76 | <area·shape="rect"·title="Database·feature·not·supported·in·current·setup."·alt=""·coords="5,299,215,324"/> | 76 | <area·shape="rect"·title="Database·feature·not·supported·in·current·setup."·alt=""·coords="5,299,215,324"/> |
77 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="51,225,169,251"/> | 77 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="51,225,169,251"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01218.html">feature_not_supported</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01218.html">feature_not_supported</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Error·in·data·provided·to·SQL·statement.·· | 68 | <p>Error·in·data·provided·to·SQL·statement.·· |
69 | ·<a·href="a01222.html#details">More...</a></p> | 69 | ·<a·href="a01222.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::data_exception:</div> | 72 | Inheritance·diagram·for·pqxx::data_exception:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01221.png"·border="0"·usemap="#apqxx_1_1data__exception_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01221.png"·border="0"·usemap="#apqxx_1_1data__exception_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1data__exception_inherit__map"·id="apqxx_1_1data__exception_inherit__map"> | 75 | <map·name="apqxx_1_1data__exception_inherit__map"·id="apqxx_1_1data__exception_inherit__map"> |
76 | <area·shape="rect"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="5,299,168,324"/> | 76 | <area·shape="rect"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="5,299,168,324"/> |
77 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="27,225,146,251"/> | 77 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="27,225,146,251"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01222.html">data_exception</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01222.html">data_exception</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01223.html">List·of·all·members</a>··</div> | 64 | <a·href="a01223.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::integrity_constraint_violation:</div> | 70 | Inheritance·diagram·for·pqxx::integrity_constraint_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01225.png"·border="0"·usemap="#apqxx_1_1integrity__constraint__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01225.png"·border="0"·usemap="#apqxx_1_1integrity__constraint__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1integrity__constraint__violation_inherit__map"·id="apqxx_1_1integrity__constraint__violation_inherit__map"> | 73 | <map·name="apqxx_1_1integrity__constraint__violation_inherit__map"·id="apqxx_1_1integrity__constraint__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="673,97,863,137"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="673,97,863,137"/> |
75 | <area·shape="rect"·href="a01246.html"·title="·"·alt=""·coords="930,5,1094,31"/> | 75 | <area·shape="rect"·href="a01246.html"·title="·"·alt=""·coords="930,5,1094,31"/> |
Offset 153, 15 lines modified | Offset 153, 15 lines modified | ||
153 | ··</tr> | 153 | ··</tr> |
154 | </table> | 154 | </table> |
155 | </div><div·class="memdoc"> | 155 | </div><div·class="memdoc"> |
156 | </div> | 156 | </div> |
157 | </div> | 157 | </div> |
158 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 158 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
159 | <li><a·class="el"·href="a000 | 159 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
160 | </ul> | 160 | </ul> |
161 | </div><!--·contents·--> | 161 | </div><!--·contents·--> |
162 | </div><!--·doc-content·--> | 162 | </div><!--·doc-content·--> |
163 | <!--·start·footer·part·--> | 163 | <!--·start·footer·part·--> |
164 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 164 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
165 | ··<ul> | 165 | ··<ul> |
166 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01226.html">integrity_constraint_violation</a></li> | 166 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01226.html">integrity_constraint_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01227.html">List·of·all·members</a>··</div> | 64 | <a·href="a01227.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::restrict_violation:</div> | 70 | Inheritance·diagram·for·pqxx::restrict_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01229.png"·border="0"·usemap="#apqxx_1_1restrict__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01229.png"·border="0"·usemap="#apqxx_1_1restrict__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1restrict__violation_inherit__map"·id="apqxx_1_1restrict__violation_inherit__map"> | 73 | <map·name="apqxx_1_1restrict__violation_inherit__map"·id="apqxx_1_1restrict__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="14,387,186,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="14,387,186,412"/> |
75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> | 75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01230.html">restrict_violation</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01230.html">restrict_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01231.html">List·of·all·members</a>··</div> | 64 | <a·href="a01231.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::not_null_violation:</div> | 70 | Inheritance·diagram·for·pqxx::not_null_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01233.png"·border="0"·usemap="#apqxx_1_1not__null__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01233.png"·border="0"·usemap="#apqxx_1_1not__null__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1not__null__violation_inherit__map"·id="apqxx_1_1not__null__violation_inherit__map"> | 73 | <map·name="apqxx_1_1not__null__violation_inherit__map"·id="apqxx_1_1not__null__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="11,387,189,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="11,387,189,412"/> |
75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> | 75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01234.html">not_null_violation</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01234.html">not_null_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01235.html">List·of·all·members</a>··</div> | 64 | <a·href="a01235.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::foreign_key_violation:</div> | 70 | Inheritance·diagram·for·pqxx::foreign_key_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01237.png"·border="0"·usemap="#apqxx_1_1foreign__key__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01237.png"·border="0"·usemap="#apqxx_1_1foreign__key__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1foreign__key__violation_inherit__map"·id="apqxx_1_1foreign__key__violation_inherit__map"> | 73 | <map·name="apqxx_1_1foreign__key__violation_inherit__map"·id="apqxx_1_1foreign__key__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,387,208,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,387,208,412"/> |
75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="12,299,201,339"/> | 75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="12,299,201,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01238.html">foreign_key_violation</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01238.html">foreign_key_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01239.html">List·of·all·members</a>··</div> | 64 | <a·href="a01239.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::unique_violation:</div> | 70 | Inheritance·diagram·for·pqxx::unique_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01241.png"·border="0"·usemap="#apqxx_1_1unique__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01241.png"·border="0"·usemap="#apqxx_1_1unique__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1unique__violation_inherit__map"·id="apqxx_1_1unique__violation_inherit__map"> | 73 | <map·name="apqxx_1_1unique__violation_inherit__map"·id="apqxx_1_1unique__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="15,387,185,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="15,387,185,412"/> |
75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> | 75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01242.html">unique_violation</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01242.html">unique_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01243.html">List·of·all·members</a>··</div> | 64 | <a·href="a01243.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::check_violation:</div> | 70 | Inheritance·diagram·for·pqxx::check_violation:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01245.png"·border="0"·usemap="#apqxx_1_1check__violation_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01245.png"·border="0"·usemap="#apqxx_1_1check__violation_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1check__violation_inherit__map"·id="apqxx_1_1check__violation_inherit__map"> | 73 | <map·name="apqxx_1_1check__violation_inherit__map"·id="apqxx_1_1check__violation_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="18,387,182,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="18,387,182,412"/> |
75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> | 75 | <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01246.html">check_violation</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01246.html">check_violation</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01247.html">List·of·all·members</a>··</div> | 64 | <a·href="a01247.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::invalid_cursor_state:</div> | 70 | Inheritance·diagram·for·pqxx::invalid_cursor_state:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01249.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__state_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01249.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__state_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1invalid__cursor__state_inherit__map"·id="apqxx_1_1invalid__cursor__state_inherit__map"> | 73 | <map·name="apqxx_1_1invalid__cursor__state_inherit__map"·id="apqxx_1_1invalid__cursor__state_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,159,339"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,159,339"/> |
75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="23,225,141,251"/> | 75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="23,225,141,251"/> |
Offset 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | ··</tr> | 143 | ··</tr> |
144 | </table> | 144 | </table> |
145 | </div><div·class="memdoc"> | 145 | </div><div·class="memdoc"> |
146 | </div> | 146 | </div> |
147 | </div> | 147 | </div> |
148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
149 | <li><a·class="el"·href="a000 | 149 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
150 | </ul> | 150 | </ul> |
151 | </div><!--·contents·--> | 151 | </div><!--·contents·--> |
152 | </div><!--·doc-content·--> | 152 | </div><!--·doc-content·--> |
153 | <!--·start·footer·part·--> | 153 | <!--·start·footer·part·--> |
154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
155 | ··<ul> | 155 | ··<ul> |
156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01250.html">invalid_cursor_state</a></li> | 156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01250.html">invalid_cursor_state</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01251.html">List·of·all·members</a>··</div> | 64 | <a·href="a01251.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::invalid_sql_statement_name:</div> | 70 | Inheritance·diagram·for·pqxx::invalid_sql_statement_name:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01253.png"·border="0"·usemap="#apqxx_1_1invalid__sql__statement__name_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01253.png"·border="0"·usemap="#apqxx_1_1invalid__sql__statement__name_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1invalid__sql__statement__name_inherit__map"·id="apqxx_1_1invalid__sql__statement__name_inherit__map"> | 73 | <map·name="apqxx_1_1invalid__sql__statement__name_inherit__map"·id="apqxx_1_1invalid__sql__statement__name_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,256,324"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,256,324"/> |
75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="71,225,190,251"/> | 75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="71,225,190,251"/> |
Offset 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | ··</tr> | 143 | ··</tr> |
144 | </table> | 144 | </table> |
145 | </div><div·class="memdoc"> | 145 | </div><div·class="memdoc"> |
146 | </div> | 146 | </div> |
147 | </div> | 147 | </div> |
148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
149 | <li><a·class="el"·href="a000 | 149 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
150 | </ul> | 150 | </ul> |
151 | </div><!--·contents·--> | 151 | </div><!--·contents·--> |
152 | </div><!--·doc-content·--> | 152 | </div><!--·doc-content·--> |
153 | <!--·start·footer·part·--> | 153 | <!--·start·footer·part·--> |
154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
155 | ··<ul> | 155 | ··<ul> |
156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01254.html">invalid_sql_statement_name</a></li> | 156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01254.html">invalid_sql_statement_name</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01255.html">List·of·all·members</a>··</div> | 64 | <a·href="a01255.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::invalid_cursor_name:</div> | 70 | Inheritance·diagram·for·pqxx::invalid_cursor_name:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01257.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__name_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01257.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__name_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1invalid__cursor__name_inherit__map"·id="apqxx_1_1invalid__cursor__name_inherit__map"> | 73 | <map·name="apqxx_1_1invalid__cursor__name_inherit__map"·id="apqxx_1_1invalid__cursor__name_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,203,324"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,203,324"/> |
75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="45,225,163,251"/> | 75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="45,225,163,251"/> |
Offset 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | ··</tr> | 143 | ··</tr> |
144 | </table> | 144 | </table> |
145 | </div><div·class="memdoc"> | 145 | </div><div·class="memdoc"> |
146 | </div> | 146 | </div> |
147 | </div> | 147 | </div> |
148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
149 | <li><a·class="el"·href="a000 | 149 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
150 | </ul> | 150 | </ul> |
151 | </div><!--·contents·--> | 151 | </div><!--·contents·--> |
152 | </div><!--·doc-content·--> | 152 | </div><!--·doc-content·--> |
153 | <!--·start·footer·part·--> | 153 | <!--·start·footer·part·--> |
154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
155 | ··<ul> | 155 | ··<ul> |
156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01258.html">invalid_cursor_name</a></li> | 156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01258.html">invalid_cursor_name</a></li> |
Offset 63, 15 lines modified | Offset 63, 15 lines modified | ||
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="#pub-attribs">Public·Attributes</a>·| | 64 | <a·href="#pub-attribs">Public·Attributes</a>·| |
65 | <a·href="a01259.html">List·of·all·members</a>··</div> | 65 | <a·href="a01259.html">List·of·all·members</a>··</div> |
66 | ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::syntax_error:</div> | 71 | Inheritance·diagram·for·pqxx::syntax_error:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01261.png"·border="0"·usemap="#apqxx_1_1syntax__error_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01261.png"·border="0"·usemap="#apqxx_1_1syntax__error_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1syntax__error_inherit__map"·id="apqxx_1_1syntax__error_inherit__map"> | 74 | <map·name="apqxx_1_1syntax__error_inherit__map"·id="apqxx_1_1syntax__error_inherit__map"> |
75 | <area·shape="rect"·title="·"·alt=""·coords="232,299,376,324"/> | 75 | <area·shape="rect"·title="·"·alt=""·coords="232,299,376,324"/> |
76 | <area·shape="rect"·href="a01266.html"·title="·"·alt=""·coords="5,372,187,397"/> | 76 | <area·shape="rect"·href="a01266.html"·title="·"·alt=""·coords="5,372,187,397"/> |
Offset 179, 15 lines modified | Offset 179, 15 lines modified | ||
179 | </div><div·class="memdoc"> | 179 | </div><div·class="memdoc"> |
180 | <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p> | 180 | <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p> |
181 | </div> | 181 | </div> |
182 | </div> | 182 | </div> |
183 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 183 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
184 | <li><a·class="el"·href="a000 | 184 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
185 | </ul> | 185 | </ul> |
186 | </div><!--·contents·--> | 186 | </div><!--·contents·--> |
187 | </div><!--·doc-content·--> | 187 | </div><!--·doc-content·--> |
188 | <!--·start·footer·part·--> | 188 | <!--·start·footer·part·--> |
189 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 189 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
190 | ··<ul> | 190 | ··<ul> |
191 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01262.html">syntax_error</a></li> | 191 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01262.html">syntax_error</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01263.html">List·of·all·members</a>··</div> | 64 | <a·href="a01263.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::undefined_column:</div> | 70 | Inheritance·diagram·for·pqxx::undefined_column:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01265.png"·border="0"·usemap="#apqxx_1_1undefined__column_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01265.png"·border="0"·usemap="#apqxx_1_1undefined__column_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1undefined__column_inherit__map"·id="apqxx_1_1undefined__column_inherit__map"> | 73 | <map·name="apqxx_1_1undefined__column_inherit__map"·id="apqxx_1_1undefined__column_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,187,397"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,187,397"/> |
75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="24,299,168,324"/> | 75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="24,299,168,324"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ··</tr> | 155 | ··</tr> |
156 | </table> | 156 | </table> |
157 | </div><div·class="memdoc"> | 157 | </div><div·class="memdoc"> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
161 | <li><a·class="el"·href="a000 | 161 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01266.html">undefined_column</a></li> | 168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01266.html">undefined_column</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01267.html">List·of·all·members</a>··</div> | 64 | <a·href="a01267.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::undefined_function:</div> | 70 | Inheritance·diagram·for·pqxx::undefined_function:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01269.png"·border="0"·usemap="#apqxx_1_1undefined__function_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01269.png"·border="0"·usemap="#apqxx_1_1undefined__function_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1undefined__function_inherit__map"·id="apqxx_1_1undefined__function_inherit__map"> | 73 | <map·name="apqxx_1_1undefined__function_inherit__map"·id="apqxx_1_1undefined__function_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,192,397"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,192,397"/> |
75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="27,299,171,324"/> | 75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="27,299,171,324"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ··</tr> | 155 | ··</tr> |
156 | </table> | 156 | </table> |
157 | </div><div·class="memdoc"> | 157 | </div><div·class="memdoc"> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
161 | <li><a·class="el"·href="a000 | 161 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01270.html">undefined_function</a></li> | 168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01270.html">undefined_function</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01271.html">List·of·all·members</a>··</div> | 64 | <a·href="a01271.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::undefined_table:</div> | 70 | Inheritance·diagram·for·pqxx::undefined_table:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01273.png"·border="0"·usemap="#apqxx_1_1undefined__table_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01273.png"·border="0"·usemap="#apqxx_1_1undefined__table_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1undefined__table_inherit__map"·id="apqxx_1_1undefined__table_inherit__map"> | 73 | <map·name="apqxx_1_1undefined__table_inherit__map"·id="apqxx_1_1undefined__table_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,172,397"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,172,397"/> |
75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="17,299,161,324"/> | 75 | <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="17,299,161,324"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ··</tr> | 155 | ··</tr> |
156 | </table> | 156 | </table> |
157 | </div><div·class="memdoc"> | 157 | </div><div·class="memdoc"> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
161 | <li><a·class="el"·href="a000 | 161 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01274.html">undefined_table</a></li> | 168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01274.html">undefined_table</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01275.html">List·of·all·members</a>··</div> | 64 | <a·href="a01275.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::insufficient_privilege:</div> | 70 | Inheritance·diagram·for·pqxx::insufficient_privilege:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01277.png"·border="0"·usemap="#apqxx_1_1insufficient__privilege_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01277.png"·border="0"·usemap="#apqxx_1_1insufficient__privilege_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1insufficient__privilege_inherit__map"·id="apqxx_1_1insufficient__privilege_inherit__map"> | 73 | <map·name="apqxx_1_1insufficient__privilege_inherit__map"·id="apqxx_1_1insufficient__privilege_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="7,299,142,339"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="7,299,142,339"/> |
75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="15,225,134,251"/> | 75 | <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="15,225,134,251"/> |
Offset 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | ··</tr> | 143 | ··</tr> |
144 | </table> | 144 | </table> |
145 | </div><div·class="memdoc"> | 145 | </div><div·class="memdoc"> |
146 | </div> | 146 | </div> |
147 | </div> | 147 | </div> |
148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 148 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
149 | <li><a·class="el"·href="a000 | 149 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
150 | </ul> | 150 | </ul> |
151 | </div><!--·contents·--> | 151 | </div><!--·contents·--> |
152 | </div><!--·doc-content·--> | 152 | </div><!--·doc-content·--> |
153 | <!--·start·footer·part·--> | 153 | <!--·start·footer·part·--> |
154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 154 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
155 | ··<ul> | 155 | ··<ul> |
156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01278.html">insufficient_privilege</a></li> | 156 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01278.html">insufficient_privilege</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Resource·shortage·on·the·server.·· | 68 | <p>Resource·shortage·on·the·server.·· |
69 | ·<a·href="a01282.html#details">More...</a></p> | 69 | ·<a·href="a01282.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::insufficient_resources:</div> | 72 | Inheritance·diagram·for·pqxx::insufficient_resources:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01281.png"·border="0"·usemap="#apqxx_1_1insufficient__resources_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01281.png"·border="0"·usemap="#apqxx_1_1insufficient__resources_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1insufficient__resources_inherit__map"·id="apqxx_1_1insufficient__resources_inherit__map"> | 75 | <map·name="apqxx_1_1insufficient__resources_inherit__map"·id="apqxx_1_1insufficient__resources_inherit__map"> |
76 | <area·shape="rect"·title="Resource·shortage·on·the·server."·alt=""·coords="79,299,214,339"/> | 76 | <area·shape="rect"·title="Resource·shortage·on·the·server."·alt=""·coords="79,299,214,339"/> |
77 | <area·shape="rect"·href="a01286.html"·title="·"·alt=""·coords="5,387,123,412"/> | 77 | <area·shape="rect"·href="a01286.html"·title="·"·alt=""·coords="5,387,123,412"/> |
Offset 152, 15 lines modified | Offset 152, 15 lines modified | ||
152 | ··</tr> | 152 | ··</tr> |
153 | </table> | 153 | </table> |
154 | </div><div·class="memdoc"> | 154 | </div><div·class="memdoc"> |
155 | </div> | 155 | </div> |
156 | </div> | 156 | </div> |
157 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 157 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
158 | <li><a·class="el"·href="a000 | 158 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
159 | </ul> | 159 | </ul> |
160 | </div><!--·contents·--> | 160 | </div><!--·contents·--> |
161 | </div><!--·doc-content·--> | 161 | </div><!--·doc-content·--> |
162 | <!--·start·footer·part·--> | 162 | <!--·start·footer·part·--> |
163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
164 | ··<ul> | 164 | ··<ul> |
165 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01282.html">insufficient_resources</a></li> | 165 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01282.html">insufficient_resources</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01283.html">List·of·all·members</a>··</div> | 64 | <a·href="a01283.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::disk_full:</div> | 70 | Inheritance·diagram·for·pqxx::disk_full:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01285.png"·border="0"·usemap="#apqxx_1_1disk__full_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01285.png"·border="0"·usemap="#apqxx_1_1disk__full_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1disk__full_inherit__map"·id="apqxx_1_1disk__full_inherit__map"> | 73 | <map·name="apqxx_1_1disk__full_inherit__map"·id="apqxx_1_1disk__full_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="16,387,133,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="16,387,133,412"/> |
75 | <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="7,299,142,339"/> | 75 | <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="7,299,142,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01286.html">disk_full</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01286.html">disk_full</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01287.html">List·of·all·members</a>··</div> | 64 | <a·href="a01287.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::out_of_memory:</div> | 70 | Inheritance·diagram·for·pqxx::out_of_memory:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01289.png"·border="0"·usemap="#apqxx_1_1out__of__memory_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01289.png"·border="0"·usemap="#apqxx_1_1out__of__memory_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1out__of__memory_inherit__map"·id="apqxx_1_1out__of__memory_inherit__map"> | 73 | <map·name="apqxx_1_1out__of__memory_inherit__map"·id="apqxx_1_1out__of__memory_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,387,171,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,387,171,412"/> |
75 | <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="21,299,155,339"/> | 75 | <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="21,299,155,339"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01290.html">out_of_memory</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01290.html">out_of_memory</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01291.html">List·of·all·members</a>··</div> | 64 | <a·href="a01291.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::too_many_connections:</div> | 70 | Inheritance·diagram·for·pqxx::too_many_connections:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01293.png"·border="0"·usemap="#apqxx_1_1too__many__connections_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01293.png"·border="0"·usemap="#apqxx_1_1too__many__connections_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1too__many__connections_inherit__map"·id="apqxx_1_1too__many__connections_inherit__map"> | 73 | <map·name="apqxx_1_1too__many__connections_inherit__map"·id="apqxx_1_1too__many__connections_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,217,324"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,299,217,324"/> |
75 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="19,225,203,251"/> | 75 | <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="19,225,203,251"/> |
Offset 121, 15 lines modified | Offset 121, 15 lines modified | ||
121 | ··</tr> | 121 | ··</tr> |
122 | </table> | 122 | </table> |
123 | </div><div·class="memdoc"> | 123 | </div><div·class="memdoc"> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a000 | 127 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
128 | </ul> | 128 | </ul> |
129 | </div><!--·contents·--> | 129 | </div><!--·contents·--> |
130 | </div><!--·doc-content·--> | 130 | </div><!--·doc-content·--> |
131 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
133 | ··<ul> | 133 | ··<ul> |
134 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01294.html">too_many_connections</a></li> | 134 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01294.html">too_many_connections</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>PL/pgSQL·error.·· | 68 | <p>PL/pgSQL·error.·· |
69 | ·<a·href="a01298.html#details">More...</a></p> | 69 | ·<a·href="a01298.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::plpgsql_error:</div> | 72 | Inheritance·diagram·for·pqxx::plpgsql_error:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01297.png"·border="0"·usemap="#apqxx_1_1plpgsql__error_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01297.png"·border="0"·usemap="#apqxx_1_1plpgsql__error_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1plpgsql__error_inherit__map"·id="apqxx_1_1plpgsql__error_inherit__map"> | 75 | <map·name="apqxx_1_1plpgsql__error_inherit__map"·id="apqxx_1_1plpgsql__error_inherit__map"> |
76 | <area·shape="rect"·title="PL/pgSQL·error."·alt=""·coords="199,299,345,324"/> | 76 | <area·shape="rect"·title="PL/pgSQL·error."·alt=""·coords="199,299,345,324"/> |
77 | <area·shape="rect"·href="a01306.html"·title="·"·alt=""·coords="5,372,173,412"/> | 77 | <area·shape="rect"·href="a01306.html"·title="·"·alt=""·coords="5,372,173,412"/> |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ··</tr> | 155 | ··</tr> |
156 | </table> | 156 | </table> |
157 | </div><div·class="memdoc"> | 157 | </div><div·class="memdoc"> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
161 | <li><a·class="el"·href="a000 | 161 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
162 | </ul> | 162 | </ul> |
163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
164 | </div><!--·doc-content·--> | 164 | </div><!--·doc-content·--> |
165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 166 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
167 | ··<ul> | 167 | ··<ul> |
168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01298.html">plpgsql_error</a></li> | 168 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01298.html">plpgsql_error</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Exception·raised·in·PL/pgSQL·procedure.·· | 68 | <p>Exception·raised·in·PL/pgSQL·procedure.·· |
69 | ·<a·href="a01302.html#details">More...</a></p> | 69 | ·<a·href="a01302.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::plpgsql_raise:</div> | 72 | Inheritance·diagram·for·pqxx::plpgsql_raise:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01301.png"·border="0"·usemap="#apqxx_1_1plpgsql__raise_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01301.png"·border="0"·usemap="#apqxx_1_1plpgsql__raise_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1plpgsql__raise_inherit__map"·id="apqxx_1_1plpgsql__raise_inherit__map"> | 75 | <map·name="apqxx_1_1plpgsql__raise_inherit__map"·id="apqxx_1_1plpgsql__raise_inherit__map"> |
76 | <area·shape="rect"·title="Exception·raised·in·PL/pgSQL·procedure."·alt=""·coords="5,372,153,397"/> | 76 | <area·shape="rect"·title="Exception·raised·in·PL/pgSQL·procedure."·alt=""·coords="5,372,153,397"/> |
77 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="6,299,153,324"/> | 77 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="6,299,153,324"/> |
Offset 153, 15 lines modified | Offset 153, 15 lines modified | ||
153 | ··</tr> | 153 | ··</tr> |
154 | </table> | 154 | </table> |
155 | </div><div·class="memdoc"> | 155 | </div><div·class="memdoc"> |
156 | </div> | 156 | </div> |
157 | </div> | 157 | </div> |
158 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 158 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
159 | <li><a·class="el"·href="a000 | 159 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
160 | </ul> | 160 | </ul> |
161 | </div><!--·contents·--> | 161 | </div><!--·contents·--> |
162 | </div><!--·doc-content·--> | 162 | </div><!--·doc-content·--> |
163 | <!--·start·footer·part·--> | 163 | <!--·start·footer·part·--> |
164 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 164 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
165 | ··<ul> | 165 | ··<ul> |
166 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01302.html">plpgsql_raise</a></li> | 166 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01302.html">plpgsql_raise</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01303.html">List·of·all·members</a>··</div> | 64 | <a·href="a01303.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::plpgsql_no_data_found:</div> | 70 | Inheritance·diagram·for·pqxx::plpgsql_no_data_found:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01305.png"·border="0"·usemap="#apqxx_1_1plpgsql__no__data__found_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01305.png"·border="0"·usemap="#apqxx_1_1plpgsql__no__data__found_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1plpgsql__no__data__found_inherit__map"·id="apqxx_1_1plpgsql__no__data__found_inherit__map"> | 73 | <map·name="apqxx_1_1plpgsql__no__data__found_inherit__map"·id="apqxx_1_1plpgsql__no__data__found_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,173,412"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,173,412"/> |
75 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="16,299,163,324"/> | 75 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="16,299,163,324"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01306.html">plpgsql_no_data_found</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01306.html">plpgsql_no_data_found</a></li> |
Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
62 | ··<div·class="summary"> | 62 | ··<div·class="summary"> |
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="a01307.html">List·of·all·members</a>··</div> | 64 | <a·href="a01307.html">List·of·all·members</a>··</div> |
65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p><code>#include·<<a·class="el"·href="a000 | 68 | <p><code>#include·<<a·class="el"·href="a00017_source.html">except.hxx</a>></code></p> |
69 | <div·class="dynheader"> | 69 | <div·class="dynheader"> |
70 | Inheritance·diagram·for·pqxx::plpgsql_too_many_rows:</div> | 70 | Inheritance·diagram·for·pqxx::plpgsql_too_many_rows:</div> |
71 | <div·class="dyncontent"> | 71 | <div·class="dyncontent"> |
72 | <div·class="center"><img·src="a01309.png"·border="0"·usemap="#apqxx_1_1plpgsql__too__many__rows_inherit__map"·alt="Inheritance·graph"/></div> | 72 | <div·class="center"><img·src="a01309.png"·border="0"·usemap="#apqxx_1_1plpgsql__too__many__rows_inherit__map"·alt="Inheritance·graph"/></div> |
73 | <map·name="apqxx_1_1plpgsql__too__many__rows_inherit__map"·id="apqxx_1_1plpgsql__too__many__rows_inherit__map"> | 73 | <map·name="apqxx_1_1plpgsql__too__many__rows_inherit__map"·id="apqxx_1_1plpgsql__too__many__rows_inherit__map"> |
74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,224,397"/> | 74 | <area·shape="rect"·title="·"·alt=""·coords="5,372,224,397"/> |
75 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="41,299,188,324"/> | 75 | <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="41,299,188,324"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ··</tr> | 148 | ··</tr> |
149 | </table> | 149 | </table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00017_source.html">except.hxx</a></li> |
155 | </ul> | 155 | </ul> |
156 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
157 | </div><!--·doc-content·--> | 157 | </div><!--·doc-content·--> |
158 | <!--·start·footer·part·--> | 158 | <!--·start·footer·part·--> |
159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 159 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
160 | ··<ul> | 160 | ··<ul> |
161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01310.html">plpgsql_too_many_rows</a></li> | 161 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01310.html">plpgsql_too_many_rows</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::field·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::field·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Reference·to·a·field·in·a·result·set.·· | 69 | <p>Reference·to·a·field·in·a·result·set.·· |
70 | ·<a·href="a01314.html#details">More...</a></p> | 70 | ·<a·href="a01314.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00011_source.html">field.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::field:</div> | 73 | Inheritance·diagram·for·pqxx::field:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01313.png"·border="0"·usemap="#apqxx_1_1field_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01313.png"·border="0"·usemap="#apqxx_1_1field_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1field_inherit__map"·id="apqxx_1_1field_inherit__map"> | 76 | <map·name="apqxx_1_1field_inherit__map"·id="apqxx_1_1field_inherit__map"> |
77 | <area·shape="rect"·title="Reference·to·a·field·in·a·result·set."·alt=""·coords="51,5,142,31"/> | 77 | <area·shape="rect"·title="Reference·to·a·field·in·a·result·set."·alt=""·coords="51,5,142,31"/> |
78 | <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> | 78 | <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> |
Offset 1089, 15 lines modified | Offset 1089, 15 lines modified | ||
1089 | </table> | 1089 | </table> |
1090 | </div><div·class="memdoc"> | 1090 | </div><div·class="memdoc"> |
1091 | <p>You'd·expect·this·to·be·unsigned,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p> | 1091 | <p>You'd·expect·this·to·be·unsigned,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p> |
1092 | </div> | 1092 | </div> |
1093 | </div> | 1093 | </div> |
1094 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1094 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1095 | <li><a·class="el"·href="a00 | 1095 | <li><a·class="el"·href="a00011_source.html">field.hxx</a></li> |
1096 | <li><b>field.cxx</b></li> | 1096 | <li><b>field.cxx</b></li> |
1097 | </ul> | 1097 | </ul> |
1098 | </div><!--·contents·--> | 1098 | </div><!--·contents·--> |
1099 | </div><!--·doc-content·--> | 1099 | </div><!--·doc-content·--> |
1100 | <!--·start·footer·part·--> | 1100 | <!--·start·footer·part·--> |
1101 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1101 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1102 | ··<ul> | 1102 | ··<ul> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 64 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
65 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 65 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
66 | <a·href="a01315.html">List·of·all·members</a>··</div> | 66 | <a·href="a01315.html">List·of·all·members</a>··</div> |
67 | ··<div·class="headertitle"><div·class="title">pqxx::field_streambuf<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::field_streambuf<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00011_source.html">field.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::field_streambuf<·CHAR,·TRAITS·>:</div> | 72 | Inheritance·diagram·for·pqxx::field_streambuf<·CHAR,·TRAITS·>:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01317.png"·border="0"·usemap="#apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01317.png"·border="0"·usemap="#apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 75 | <map·name="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
76 | <area·shape="rect"·title="·"·alt=""·coords="9,109,173,149"/> | 76 | <area·shape="rect"·title="·"·alt=""·coords="9,109,173,149"/> |
77 | <area·shape="rect"·href="a01318.html"·title="·"·alt=""·coords="5,227,176,281"/> | 77 | <area·shape="rect"·href="a01318.html"·title="·"·alt=""·coords="5,227,176,281"/> |
Offset 421, 15 lines modified | Offset 421, 15 lines modified | ||
421 | ··</tr> | 421 | ··</tr> |
422 | </table> | 422 | </table> |
423 | </div><div·class="memdoc"> | 423 | </div><div·class="memdoc"> |
424 | </div> | 424 | </div> |
425 | </div> | 425 | </div> |
426 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 426 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
427 | <li><a·class="el"·href="a00 | 427 | <li><a·class="el"·href="a00011_source.html">field.hxx</a></li> |
428 | </ul> | 428 | </ul> |
429 | </div><!--·contents·--> | 429 | </div><!--·contents·--> |
430 | </div><!--·doc-content·--> | 430 | </div><!--·doc-content·--> |
431 | <!--·start·footer·part·--> | 431 | <!--·start·footer·part·--> |
432 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 432 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
433 | ··<ul> | 433 | ··<ul> |
434 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01318.html">field_streambuf</a></li> | 434 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01318.html">field_streambuf</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_fieldstream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_fieldstream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Input·stream·that·gets·its·data·from·a·result·field.·· | 69 | <p>Input·stream·that·gets·its·data·from·a·result·field.·· |
70 | ·<a·href="a01322.html#details">More...</a></p> | 70 | ·<a·href="a01322.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00011_source.html">field.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::basic_fieldstream<·CHAR,·TRAITS·>:</div> | 73 | Inheritance·diagram·for·pqxx::basic_fieldstream<·CHAR,·TRAITS·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01321.png"·border="0"·usemap="#apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01321.png"·border="0"·usemap="#apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
77 | <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·result·field."·alt=""·coords="5,240,183,280"/> | 77 | <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·result·field."·alt=""·coords="5,240,183,280"/> |
78 | <area·shape="rect"·title="·"·alt=""·coords="23,152,165,192"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="23,152,165,192"/> |
Offset 209, 15 lines modified | Offset 209, 15 lines modified | ||
209 | ········</tr> | 209 | ········</tr> |
210 | ······</table> | 210 | ······</table> |
211 | </div><div·class="memdoc"> | 211 | </div><div·class="memdoc"> |
212 | </div> | 212 | </div> |
213 | </div> | 213 | </div> |
214 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 214 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
215 | <li><a·class="el"·href="a00 | 215 | <li><a·class="el"·href="a00011_source.html">field.hxx</a></li> |
216 | </ul> | 216 | </ul> |
217 | </div><!--·contents·--> | 217 | </div><!--·contents·--> |
218 | </div><!--·doc-content·--> | 218 | </div><!--·doc-content·--> |
219 | <!--·start·footer·part·--> | 219 | <!--·start·footer·part·--> |
220 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 220 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
221 | ··<ul> | 221 | ··<ul> |
222 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01322.html">basic_fieldstream</a></li> | 222 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01322.html">basic_fieldstream</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::largeobject·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::largeobject·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Identity·of·a·large·object.·· | 69 | <p>Identity·of·a·large·object.·· |
70 | ·<a·href="a01326.html#details">More...</a></p> | 70 | ·<a·href="a01326.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::largeobject:</div> | 73 | Inheritance·diagram·for·pqxx::largeobject:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01325.png"·border="0"·usemap="#apqxx_1_1largeobject_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01325.png"·border="0"·usemap="#apqxx_1_1largeobject_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1largeobject_inherit__map"·id="apqxx_1_1largeobject_inherit__map"> | 76 | <map·name="apqxx_1_1largeobject_inherit__map"·id="apqxx_1_1largeobject_inherit__map"> |
77 | <area·shape="rect"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/> | 77 | <area·shape="rect"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/> |
78 | <area·shape="rect"·href="a01330.html"·title="Accessor·for·large·object's·contents."·alt=""·coords="5,79,184,104"/> | 78 | <area·shape="rect"·href="a01330.html"·title="Accessor·for·large·object's·contents."·alt=""·coords="5,79,184,104"/> |
Offset 618, 15 lines modified | Offset 618, 15 lines modified | ||
618 | <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>,·and·<a·class="el"·href="a00250.html#aea8d8e21558dad5b03ac2f73910c93e1">pqxx::oid_none</a>.</p> | 618 | <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>,·and·<a·class="el"·href="a00250.html#aea8d8e21558dad5b03ac2f73910c93e1">pqxx::oid_none</a>.</p> |
619 | <p·class="reference">Referenced·by·<a·class="el"·href="a01330.html#acdbc859cf3afd0ddcc4aa555ef36c35a">pqxx::largeobjectaccess::to_file()</a>.</p> | 619 | <p·class="reference">Referenced·by·<a·class="el"·href="a01330.html#acdbc859cf3afd0ddcc4aa555ef36c35a">pqxx::largeobjectaccess::to_file()</a>.</p> |
620 | </div> | 620 | </div> |
621 | </div> | 621 | </div> |
622 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 622 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
623 | <li><a·class="el"·href="a000 | 623 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
624 | <li><b>largeobject.cxx</b></li> | 624 | <li><b>largeobject.cxx</b></li> |
625 | </ul> | 625 | </ul> |
626 | </div><!--·contents·--> | 626 | </div><!--·contents·--> |
627 | </div><!--·doc-content·--> | 627 | </div><!--·doc-content·--> |
628 | <!--·start·footer·part·--> | 628 | <!--·start·footer·part·--> |
629 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 629 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
630 | ··<ul> | 630 | ··<ul> |
Offset 67, 15 lines modified | Offset 67, 15 lines modified | ||
67 | ··<div·class="headertitle"><div·class="title">pqxx::largeobjectaccess·Class·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::largeobjectaccess·Class·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p>Accessor·for·large·object's·contents.·· | 70 | <p>Accessor·for·large·object's·contents.·· |
71 | ·<a·href="a01330.html#details">More...</a></p> | 71 | ·<a·href="a01330.html#details">More...</a></p> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·pqxx::largeobjectaccess:</div> | 74 | Inheritance·diagram·for·pqxx::largeobjectaccess:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01329.png"·border="0"·usemap="#apqxx_1_1largeobjectaccess_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01329.png"·border="0"·usemap="#apqxx_1_1largeobjectaccess_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="apqxx_1_1largeobjectaccess_inherit__map"·id="apqxx_1_1largeobjectaccess_inherit__map"> | 77 | <map·name="apqxx_1_1largeobjectaccess_inherit__map"·id="apqxx_1_1largeobjectaccess_inherit__map"> |
78 | <area·shape="rect"·title="Accessor·for·large·object's·contents."·alt=""·coords="5,79,184,104"/> | 78 | <area·shape="rect"·title="Accessor·for·large·object's·contents."·alt=""·coords="5,79,184,104"/> |
79 | <area·shape="rect"·href="a01326.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/> | 79 | <area·shape="rect"·href="a01326.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/> |
Offset 1183, 15 lines modified | Offset 1183, 15 lines modified | ||
1183 | <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div> | 1183 | <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div> |
1184 | </div><!--·fragment·--> | 1184 | </div><!--·fragment·--> |
1185 | <p>Default·open·mode:·in,·out,·binary.·</p> | 1185 | <p>Default·open·mode:·in,·out,·binary.·</p> |
1186 | </div> | 1186 | </div> |
1187 | </div> | 1187 | </div> |
1188 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1188 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1189 | <li><a·class="el"·href="a000 | 1189 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
1190 | <li><b>largeobject.cxx</b></li> | 1190 | <li><b>largeobject.cxx</b></li> |
1191 | </ul> | 1191 | </ul> |
1192 | </div><!--·contents·--> | 1192 | </div><!--·contents·--> |
1193 | </div><!--·doc-content·--> | 1193 | </div><!--·doc-content·--> |
1194 | <!--·start·footer·part·--> | 1194 | <!--·start·footer·part·--> |
1195 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1195 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1196 | ··<ul> | 1196 | ··<ul> |
Offset 68, 15 lines modified | Offset 68, 15 lines modified | ||
68 | ··<div·class="headertitle"><div·class="title">pqxx::largeobject_streambuf<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 68 | ··<div·class="headertitle"><div·class="title">pqxx::largeobject_streambuf<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <p>Streambuf·to·use·large·objects·in·standard·I/O·streams.·· | 71 | <p>Streambuf·to·use·large·objects·in·standard·I/O·streams.·· |
72 | ·<a·href="a01334.html#details">More...</a></p> | 72 | ·<a·href="a01334.html#details">More...</a></p> |
73 | <p><code>#include·<<a·class="el"·href="a000 | 73 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
74 | <div·class="dynheader"> | 74 | <div·class="dynheader"> |
75 | Inheritance·diagram·for·pqxx::largeobject_streambuf<·CHAR,·TRAITS·>:</div> | 75 | Inheritance·diagram·for·pqxx::largeobject_streambuf<·CHAR,·TRAITS·>:</div> |
76 | <div·class="dyncontent"> | 76 | <div·class="dyncontent"> |
77 | <div·class="center"><img·src="a01333.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 77 | <div·class="center"><img·src="a01333.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
78 | <map·name="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 78 | <map·name="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
79 | <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,109,215,149"/> | 79 | <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,109,215,149"/> |
80 | <area·shape="rect"·href="a01334.html"·title="·"·alt=""·coords="5,227,215,281"/> | 80 | <area·shape="rect"·href="a01334.html"·title="·"·alt=""·coords="5,227,215,281"/> |
Offset 613, 15 lines modified | Offset 613, 15 lines modified | ||
613 | <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div> | 613 | <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div> |
614 | </div><!--·fragment·--> | 614 | </div><!--·fragment·--> |
615 | <p>Default·open·mode:·in,·out,·binary.·</p> | 615 | <p>Default·open·mode:·in,·out,·binary.·</p> |
616 | </div> | 616 | </div> |
617 | </div> | 617 | </div> |
618 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 618 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
619 | <li><a·class="el"·href="a000 | 619 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
620 | </ul> | 620 | </ul> |
621 | </div><!--·contents·--> | 621 | </div><!--·contents·--> |
622 | </div><!--·doc-content·--> | 622 | </div><!--·doc-content·--> |
623 | <!--·start·footer·part·--> | 623 | <!--·start·footer·part·--> |
624 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 624 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
625 | ··<ul> | 625 | ··<ul> |
626 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01334.html">largeobject_streambuf</a></li> | 626 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01334.html">largeobject_streambuf</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_ilostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_ilostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Input·stream·that·gets·its·data·from·a·large·object.·· | 69 | <p>Input·stream·that·gets·its·data·from·a·large·object.·· |
70 | ·<a·href="a01338.html#details">More...</a></p> | 70 | ·<a·href="a01338.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::basic_ilostream<·CHAR,·TRAITS·>:</div> | 73 | Inheritance·diagram·for·pqxx::basic_ilostream<·CHAR,·TRAITS·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01337.png"·border="0"·usemap="#apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01337.png"·border="0"·usemap="#apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
77 | <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·large·object."·alt=""·coords="8,240,173,280"/> | 77 | <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·large·object."·alt=""·coords="8,240,173,280"/> |
78 | <area·shape="rect"·title="·"·alt=""·coords="20,152,161,192"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="20,152,161,192"/> |
Offset 289, 15 lines modified | Offset 289, 15 lines modified | ||
289 | </dl> | 289 | </dl> |
290 | <p·class="reference">References·<a·class="el"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea9d7183f16acce70658f686ae7f1a4d20">pqxx::binary</a>.</p> | 290 | <p·class="reference">References·<a·class="el"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea9d7183f16acce70658f686ae7f1a4d20">pqxx::binary</a>.</p> |
291 | </div> | 291 | </div> |
292 | </div> | 292 | </div> |
293 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 293 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
294 | <li><a·class="el"·href="a000 | 294 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
295 | </ul> | 295 | </ul> |
296 | </div><!--·contents·--> | 296 | </div><!--·contents·--> |
297 | </div><!--·doc-content·--> | 297 | </div><!--·doc-content·--> |
298 | <!--·start·footer·part·--> | 298 | <!--·start·footer·part·--> |
299 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 299 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
300 | ··<ul> | 300 | ··<ul> |
301 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01338.html">basic_ilostream</a></li> | 301 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01338.html">basic_ilostream</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_olostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_olostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Output·stream·that·writes·data·back·to·a·large·object.·· | 69 | <p>Output·stream·that·writes·data·back·to·a·large·object.·· |
70 | ·<a·href="a01342.html#details">More...</a></p> | 70 | ·<a·href="a01342.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::basic_olostream<·CHAR,·TRAITS·>:</div> | 73 | Inheritance·diagram·for·pqxx::basic_olostream<·CHAR,·TRAITS·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01341.png"·border="0"·usemap="#apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01341.png"·border="0"·usemap="#apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
77 | <area·shape="rect"·title="Output·stream·that·writes·data·back·to·a·large·object."·alt=""·coords="6,240,175,280"/> | 77 | <area·shape="rect"·title="Output·stream·that·writes·data·back·to·a·large·object."·alt=""·coords="6,240,175,280"/> |
78 | <area·shape="rect"·title="·"·alt=""·coords="18,152,163,192"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="18,152,163,192"/> |
Offset 310, 15 lines modified | Offset 310, 15 lines modified | ||
310 | ········</tr> | 310 | ········</tr> |
311 | ······</table> | 311 | ······</table> |
312 | </div><div·class="memdoc"> | 312 | </div><div·class="memdoc"> |
313 | </div> | 313 | </div> |
314 | </div> | 314 | </div> |
315 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 315 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
316 | <li><a·class="el"·href="a000 | 316 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
317 | </ul> | 317 | </ul> |
318 | </div><!--·contents·--> | 318 | </div><!--·contents·--> |
319 | </div><!--·doc-content·--> | 319 | </div><!--·doc-content·--> |
320 | <!--·start·footer·part·--> | 320 | <!--·start·footer·part·--> |
321 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 321 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
322 | ··<ul> | 322 | ··<ul> |
323 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01342.html">basic_olostream</a></li> | 323 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01342.html">basic_olostream</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_lostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::basic_lostream<·CHAR,·TRAITS·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Stream·that·reads·and·writes·a·large·object.·· | 69 | <p>Stream·that·reads·and·writes·a·large·object.·· |
70 | ·<a·href="a01346.html#details">More...</a></p> | 70 | ·<a·href="a01346.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00029_source.html">largeobject.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::basic_lostream<·CHAR,·TRAITS·>:</div> | 73 | Inheritance·diagram·for·pqxx::basic_lostream<·CHAR,·TRAITS·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01345.png"·border="0"·usemap="#apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01345.png"·border="0"·usemap="#apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"> |
77 | <area·shape="rect"·title="Stream·that·reads·and·writes·a·large·object."·alt=""·coords="79,328,241,368"/> | 77 | <area·shape="rect"·title="Stream·that·reads·and·writes·a·large·object."·alt=""·coords="79,328,241,368"/> |
78 | <area·shape="rect"·title="·"·alt=""·coords="85,240,235,280"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="85,240,235,280"/> |
Offset 315, 15 lines modified | Offset 315, 15 lines modified | ||
315 | ········</tr> | 315 | ········</tr> |
316 | ······</table> | 316 | ······</table> |
317 | </div><div·class="memdoc"> | 317 | </div><div·class="memdoc"> |
318 | </div> | 318 | </div> |
319 | </div> | 319 | </div> |
320 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 320 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
321 | <li><a·class="el"·href="a000 | 321 | <li><a·class="el"·href="a00029_source.html">largeobject.hxx</a></li> |
322 | </ul> | 322 | </ul> |
323 | </div><!--·contents·--> | 323 | </div><!--·contents·--> |
324 | </div><!--·doc-content·--> | 324 | </div><!--·doc-content·--> |
325 | <!--·start·footer·part·--> | 325 | <!--·start·footer·part·--> |
326 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 326 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
327 | ··<ul> | 327 | ··<ul> |
328 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01346.html">basic_lostream</a></li> | 328 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01346.html">basic_lostream</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::nontransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">final</span></span><div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::nontransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">final</span></span><div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Simple·"transaction"·class·offering·no·transactional·integrity.·· | 68 | <p>Simple·"transaction"·class·offering·no·transactional·integrity.·· |
69 | ·<a·href="a01350.html#details">More...</a></p> | 69 | ·<a·href="a01350.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00059_source.html">nontransaction.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::nontransaction:</div> | 72 | Inheritance·diagram·for·pqxx::nontransaction:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01349.png"·border="0"·usemap="#apqxx_1_1nontransaction_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01349.png"·border="0"·usemap="#apqxx_1_1nontransaction_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1nontransaction_inherit__map"·id="apqxx_1_1nontransaction_inherit__map"> | 75 | <map·name="apqxx_1_1nontransaction_inherit__map"·id="apqxx_1_1nontransaction_inherit__map"> |
76 | <area·shape="rect"·title="Simple·"transaction"·class·offering·no·transactional·integrity."·alt=""·coords="13,79,171,104"/> | 76 | <area·shape="rect"·title="Simple·"transaction"·class·offering·no·transactional·integrity."·alt=""·coords="13,79,171,104"/> |
77 | <area·shape="rect"·href="a01490.html"·title="Interface·definition·(and·common·code)·for·"transaction"·classes."·alt=""·coords="5,5,179,31"/> | 77 | <area·shape="rect"·href="a01490.html"·title="Interface·definition·(and·common·code)·for·"transaction"·classes."·alt=""·coords="5,5,179,31"/> |
Offset 360, 15 lines modified | Offset 360, 15 lines modified | ||
360 | ··</tr> | 360 | ··</tr> |
361 | </table> | 361 | </table> |
362 | </div><div·class="memdoc"> | 362 | </div><div·class="memdoc"> |
363 | </div> | 363 | </div> |
364 | </div> | 364 | </div> |
365 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 365 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
366 | <li><a·class="el"·href="a000 | 366 | <li><a·class="el"·href="a00059_source.html">nontransaction.hxx</a></li> |
367 | </ul> | 367 | </ul> |
368 | </div><!--·contents·--> | 368 | </div><!--·contents·--> |
369 | </div><!--·doc-content·--> | 369 | </div><!--·doc-content·--> |
370 | <!--·start·footer·part·--> | 370 | <!--·start·footer·part·--> |
371 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 371 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
372 | ··<ul> | 372 | ··<ul> |
373 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01350.html">nontransaction</a></li> | 373 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01350.html">nontransaction</a></li> |
Offset 63, 15 lines modified | Offset 63, 15 lines modified | ||
63 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 63 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
64 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 64 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
65 | <a·href="a01351.html">List·of·all·members</a>··</div> | 65 | <a·href="a01351.html">List·of·all·members</a>··</div> |
66 | ··<div·class="headertitle"><div·class="title">pqxx::notification_receiver·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::notification_receiver·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p><code>#include·<<a·class="el"·href="a0007 | 69 | <p><code>#include·<<a·class="el"·href="a00107_source.html">notification.hxx</a>></code></p> |
70 | <table·class="memberdecls"> | 70 | <table·class="memberdecls"> |
71 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 71 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
72 | Public·Member·Functions</h2></td></tr> | 72 | Public·Member·Functions</h2></td></tr> |
73 | <tr·class="memitem:ab28ec64678ada8dcc4868317b895e3c0"·id="r_ab28ec64678ada8dcc4868317b895e3c0"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#ab28ec64678ada8dcc4868317b895e3c0">notification_receiver</a>·(<a·class="el"·href="a01110.html">connection</a>·&c,·std::string_view·<a·class="el"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>)</td></tr> | 73 | <tr·class="memitem:ab28ec64678ada8dcc4868317b895e3c0"·id="r_ab28ec64678ada8dcc4868317b895e3c0"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#ab28ec64678ada8dcc4868317b895e3c0">notification_receiver</a>·(<a·class="el"·href="a01110.html">connection</a>·&c,·std::string_view·<a·class="el"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>)</td></tr> |
74 | <tr·class="memdesc:ab28ec64678ada8dcc4868317b895e3c0"><td·class="mdescLeft"> </td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<br·/></td></tr> | 74 | <tr·class="memdesc:ab28ec64678ada8dcc4868317b895e3c0"><td·class="mdescLeft"> </td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<br·/></td></tr> |
75 | <tr·class="separator:ab28ec64678ada8dcc4868317b895e3c0"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:ab28ec64678ada8dcc4868317b895e3c0"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:a44ffe1ed8ec8020f4106ef8427e09d17"·id="r_a44ffe1ed8ec8020f4106ef8427e09d17"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>·(<a·class="el"·href="a01354.html">notification_receiver</a>·const·&)=delete</td></tr> | 76 | <tr·class="memitem:a44ffe1ed8ec8020f4106ef8427e09d17"·id="r_a44ffe1ed8ec8020f4106ef8427e09d17"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>·(<a·class="el"·href="a01354.html">notification_receiver</a>·const·&)=delete</td></tr> |
Offset 307, 15 lines modified | Offset 307, 15 lines modified | ||
307 | </div><div·class="memdoc"> | 307 | </div><div·class="memdoc"> |
308 | <p>Register·the·receiver·with·a·connection.·</p> | 308 | <p>Register·the·receiver·with·a·connection.·</p> |
309 | </div> | 309 | </div> |
310 | </div> | 310 | </div> |
311 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 311 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
312 | <li><a·class="el"·href="a0007 | 312 | <li><a·class="el"·href="a00107_source.html">notification.hxx</a></li> |
313 | <li><b>notification.cxx</b></li> | 313 | <li><b>notification.cxx</b></li> |
314 | </ul> | 314 | </ul> |
315 | </div><!--·contents·--> | 315 | </div><!--·contents·--> |
316 | </div><!--·doc-content·--> | 316 | </div><!--·doc-content·--> |
317 | <!--·start·footer·part·--> | 317 | <!--·start·footer·part·--> |
318 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 318 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
319 | ··<ul> | 319 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::placeholders<·COUNTER·>·Class·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::placeholders<·COUNTER·>·Class·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Generate·parameter·placeholders·for·use·in·an·SQL·statement.·· | 69 | <p>Generate·parameter·placeholders·for·use·in·an·SQL·statement.·· |
70 | ·<a·href="a01358.html#details">More...</a></p> | 70 | ·<a·href="a01358.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00089_source.html">params.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
74 | Public·Member·Functions</h2></td></tr> | 74 | Public·Member·Functions</h2></td></tr> |
75 | <tr·class="memitem:a635410e05190a78cd77c7d320853f64f"·id="r_a635410e05190a78cd77c7d320853f64f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">placeholders</a>·()</td></tr> | 75 | <tr·class="memitem:a635410e05190a78cd77c7d320853f64f"·id="r_a635410e05190a78cd77c7d320853f64f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">placeholders</a>·()</td></tr> |
76 | <tr·class="separator:a635410e05190a78cd77c7d320853f64f"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a635410e05190a78cd77c7d320853f64f"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a92d006575732b3ead81cbaf4892197ae"·id="r_a92d006575732b3ead81cbaf4892197ae"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">view</a>·()·const·&noexcept</td></tr> | 77 | <tr·class="memitem:a92d006575732b3ead81cbaf4892197ae"·id="r_a92d006575732b3ead81cbaf4892197ae"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">view</a>·()·const·&noexcept</td></tr> |
78 | <tr·class="memdesc:a92d006575732b3ead81cbaf4892197ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Read·an·ephemeral·version·of·the·current·placeholder·text.··<br·/></td></tr> | 78 | <tr·class="memdesc:a92d006575732b3ead81cbaf4892197ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Read·an·ephemeral·version·of·the·current·placeholder·text.··<br·/></td></tr> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | <p>Maximum·number·of·parameters·we·support.·</p> | 253 | <p>Maximum·number·of·parameters·we·support.·</p> |
254 | <p·class="reference">Referenced·by·<a·class="el"·href="a01358.html#aef09cd2fcb858917f33752a85e063bde">pqxx::placeholders<·COUNTER·>::next()</a>.</p> | 254 | <p·class="reference">Referenced·by·<a·class="el"·href="a01358.html#aef09cd2fcb858917f33752a85e063bde">pqxx::placeholders<·COUNTER·>::next()</a>.</p> |
255 | </div> | 255 | </div> |
256 | </div> | 256 | </div> |
257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
258 | <li><a·class="el"·href="a000 | 258 | <li><a·class="el"·href="a00089_source.html">params.hxx</a></li> |
259 | </ul> | 259 | </ul> |
260 | </div><!--·contents·--> | 260 | </div><!--·contents·--> |
261 | </div><!--·doc-content·--> | 261 | </div><!--·doc-content·--> |
262 | <!--·start·footer·part·--> | 262 | <!--·start·footer·part·--> |
263 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 263 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
264 | ··<ul> | 264 | ··<ul> |
265 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01358.html">placeholders</a></li> | 265 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01358.html">placeholders</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::params·Class·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::params·Class·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Build·a·parameter·list·for·a·parameterised·or·prepared·statement.·· | 68 | <p>Build·a·parameter·list·for·a·parameterised·or·prepared·statement.·· |
69 | ·<a·href="a01362.html#details">More...</a></p> | 69 | ·<a·href="a01362.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00089_source.html">params.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:aaadf62c64b3e85ad7e86eba4d779e93c"·id="r_aaadf62c64b3e85ad7e86eba4d779e93c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01362.html#aaadf62c64b3e85ad7e86eba4d779e93c">params</a>·()=default</td></tr> | 74 | <tr·class="memitem:aaadf62c64b3e85ad7e86eba4d779e93c"·id="r_aaadf62c64b3e85ad7e86eba4d779e93c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01362.html#aaadf62c64b3e85ad7e86eba4d779e93c">params</a>·()=default</td></tr> |
75 | <tr·class="separator:aaadf62c64b3e85ad7e86eba4d779e93c"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:aaadf62c64b3e85ad7e86eba4d779e93c"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"·id="r_ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplParams"·colspan="2">template<typename...·Args>·</td></tr> | 76 | <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"·id="r_ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplParams"·colspan="2">template<typename...·Args>·</td></tr> |
77 | <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01362.html#ad15fdabb428bc93cdb0a6c4354a9069c">params</a>·(Args·&&...args)</td></tr> | 77 | <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01362.html#ad15fdabb428bc93cdb0a6c4354a9069c">params</a>·(Args·&&...args)</td></tr> |
Offset 551, 15 lines modified | Offset 551, 15 lines modified | ||
551 | <p>Unlike·<code><a·class="el"·href="a01362.html#a1a3ca8939fbeec4db4f7d69c8014a937"·title="Get·the·number·of·parameters·currently·in·this·params.">size()</a></code>,·this·is·not·yet·<code>noexcept</code>.·That's·because·C++17's·<code>std::vector</code>·does·not·have·a·<code><a·class="el"·href="a01362.html#ab23b2a3b2a58bfd03fca36022ebce8b4"·title="Get·the·number·of·parameters·(signed).">ssize()</a></code>·member·function.·These·member·functions·are·<code>noexcept</code>,·but·<code>std::size()</code>·and·<code>std::ssize()</code>·are·not.·</p> | 551 | <p>Unlike·<code><a·class="el"·href="a01362.html#a1a3ca8939fbeec4db4f7d69c8014a937"·title="Get·the·number·of·parameters·currently·in·this·params.">size()</a></code>,·this·is·not·yet·<code>noexcept</code>.·That's·because·C++17's·<code>std::vector</code>·does·not·have·a·<code><a·class="el"·href="a01362.html#ab23b2a3b2a58bfd03fca36022ebce8b4"·title="Get·the·number·of·parameters·(signed).">ssize()</a></code>·member·function.·These·member·functions·are·<code>noexcept</code>,·but·<code>std::size()</code>·and·<code>std::ssize()</code>·are·not.·</p> |
552 | <p·class="reference">References·<a·class="el"·href="a00251.html#af21d8461eaf6d185ed98ab88b2edac6e">pqxx::internal::ssize()</a>.</p> | 552 | <p·class="reference">References·<a·class="el"·href="a00251.html#af21d8461eaf6d185ed98ab88b2edac6e">pqxx::internal::ssize()</a>.</p> |
553 | </div> | 553 | </div> |
554 | </div> | 554 | </div> |
555 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 555 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
556 | <li><a·class="el"·href="a000 | 556 | <li><a·class="el"·href="a00089_source.html">params.hxx</a></li> |
557 | <li><b>params.cxx</b></li> | 557 | <li><b>params.cxx</b></li> |
558 | </ul> | 558 | </ul> |
559 | </div><!--·contents·--> | 559 | </div><!--·contents·--> |
560 | </div><!--·doc-content·--> | 560 | </div><!--·doc-content·--> |
561 | <!--·start·footer·part·--> | 561 | <!--·start·footer·part·--> |
562 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 562 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
563 | ··<ul> | 563 | ··<ul> |
Offset 67, 15 lines modified | Offset 67, 15 lines modified | ||
67 | ··<div·class="headertitle"><div·class="title">pqxx::pipeline·Class·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::pipeline·Class·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p>Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput.·· | 70 | <p>Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput.·· |
71 | ·<a·href="a01366.html#details">More...</a></p> | 71 | ·<a·href="a01366.html#details">More...</a></p> |
72 | <p><code>#include·<<a·class="el"·href="a00 | 72 | <p><code>#include·<<a·class="el"·href="a00065_source.html">pipeline.hxx</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·pqxx::pipeline:</div> | 74 | Inheritance·diagram·for·pqxx::pipeline:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01365.png"·border="0"·usemap="#apqxx_1_1pipeline_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01365.png"·border="0"·usemap="#apqxx_1_1pipeline_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="apqxx_1_1pipeline_inherit__map"·id="apqxx_1_1pipeline_inherit__map"> | 77 | <map·name="apqxx_1_1pipeline_inherit__map"·id="apqxx_1_1pipeline_inherit__map"> |
78 | <area·shape="rect"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="37,79,151,104"/> | 78 | <area·shape="rect"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="37,79,151,104"/> |
79 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> | 79 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> |
Offset 605, 15 lines modified | Offset 605, 15 lines modified | ||
605 | <p>Retrieve·result·for·given·query.·</p> | 605 | <p>Retrieve·result·for·given·query.·</p> |
606 | <p>If·the·query·failed·for·whatever·reason,·this·will·throw·an·exception.·The·function·will·block·if·the·query·has·not·finished·yet.·</p><dl·class="section·warning"><dt>Warning</dt><dd>If·results·are·retrieved·out-of-order,·i.e.·in·a·different·order·than·the·one·in·which·their·queries·were·inserted,·errors·may·"propagate"·to·subsequent·queries.·</dd></dl> | 606 | <p>If·the·query·failed·for·whatever·reason,·this·will·throw·an·exception.·The·function·will·block·if·the·query·has·not·finished·yet.·</p><dl·class="section·warning"><dt>Warning</dt><dd>If·results·are·retrieved·out-of-order,·i.e.·in·a·different·order·than·the·one·in·which·their·queries·were·inserted,·errors·may·"propagate"·to·subsequent·queries.·</dd></dl> |
607 | </div> | 607 | </div> |
608 | </div> | 608 | </div> |
609 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 609 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
610 | <li><a·class="el"·href="a00 | 610 | <li><a·class="el"·href="a00065_source.html">pipeline.hxx</a></li> |
611 | <li><b>pipeline.cxx</b></li> | 611 | <li><b>pipeline.cxx</b></li> |
612 | </ul> | 612 | </ul> |
613 | </div><!--·contents·--> | 613 | </div><!--·contents·--> |
614 | </div><!--·doc-content·--> | 614 | </div><!--·doc-content·--> |
615 | <!--·start·footer·part·--> | 615 | <!--·start·footer·part·--> |
616 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 616 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
617 | ··<ul> | 617 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::no_bound·Struct·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::no_bound·Struct·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·<em>unlimited</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· | 68 | <p>An·<em>unlimited</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· |
69 | ·<a·href="a01374.html#details">More...</a></p> | 69 | ·<a·href="a01374.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"·id="r_a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplParams"·colspan="2">template<typename·TYPE·>·</td></tr> | 74 | <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"·id="r_a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplParams"·colspan="2">template<typename·TYPE·>·</td></tr> |
75 | <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>·(TYPE·const·&)·const·noexcept</td></tr> | 75 | <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>·(TYPE·const·&)·const·noexcept</td></tr> |
76 | <tr·class="separator:a0fd3b5a46350462604443d359ed54c4b"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a0fd3b5a46350462604443d359ed54c4b"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"·id="r_ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"><td·class="memTemplParams"·colspan="2">template<typename·TYPE·>·</td></tr> | 77 | <tr·class="memitem:ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"·id="r_ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"><td·class="memTemplParams"·colspan="2">template<typename·TYPE·>·</td></tr> |
Offset 138, 15 lines modified | Offset 138, 15 lines modified | ||
138 | ··</tr> | 138 | ··</tr> |
139 | </table> | 139 | </table> |
140 | </div><div·class="memdoc"> | 140 | </div><div·class="memdoc"> |
141 | </div> | 141 | </div> |
142 | </div> | 142 | </div> |
143 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 143 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
144 | <li><a·class="el"·href="a00 | 144 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
145 | </ul> | 145 | </ul> |
146 | </div><!--·contents·--> | 146 | </div><!--·contents·--> |
147 | </div><!--·doc-content·--> | 147 | </div><!--·doc-content·--> |
148 | <!--·start·footer·part·--> | 148 | <!--·start·footer·part·--> |
149 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 149 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
150 | ··<ul> | 150 | ··<ul> |
151 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01374.html">no_bound</a></li> | 151 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01374.html">no_bound</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::inclusive_bound<·TYPE·>·Class·Template·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::inclusive_bound<·TYPE·>·Class·Template·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·<em>inclusive</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· | 68 | <p>An·<em>inclusive</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· |
69 | ·<a·href="a01378.html#details">More...</a></p> | 69 | ·<a·href="a01378.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a669c68b6ac0918f80a69b95736832c84"·id="r_a669c68b6ac0918f80a69b95736832c84"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>·()=delete</td></tr> | 74 | <tr·class="memitem:a669c68b6ac0918f80a69b95736832c84"·id="r_a669c68b6ac0918f80a69b95736832c84"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>·()=delete</td></tr> |
75 | <tr·class="separator:a669c68b6ac0918f80a69b95736832c84"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:a669c68b6ac0918f80a69b95736832c84"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:a0deabf26ce40e908889beb4c5b87856d"·id="r_a0deabf26ce40e908889beb4c5b87856d"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>·(TYPE·const·&value)</td></tr> | 76 | <tr·class="memitem:a0deabf26ce40e908889beb4c5b87856d"·id="r_a0deabf26ce40e908889beb4c5b87856d"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>·(TYPE·const·&value)</td></tr> |
77 | <tr·class="separator:a0deabf26ce40e908889beb4c5b87856d"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:a0deabf26ce40e908889beb4c5b87856d"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 231, 15 lines modified | Offset 231, 15 lines modified | ||
231 | ··</tr> | 231 | ··</tr> |
232 | </table> | 232 | </table> |
233 | </div><div·class="memdoc"> | 233 | </div><div·class="memdoc"> |
234 | </div> | 234 | </div> |
235 | </div> | 235 | </div> |
236 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 236 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
237 | <li><a·class="el"·href="a00 | 237 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
238 | </ul> | 238 | </ul> |
239 | </div><!--·contents·--> | 239 | </div><!--·contents·--> |
240 | </div><!--·doc-content·--> | 240 | </div><!--·doc-content·--> |
241 | <!--·start·footer·part·--> | 241 | <!--·start·footer·part·--> |
242 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 242 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
243 | ··<ul> | 243 | ··<ul> |
244 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01378.html">inclusive_bound</a></li> | 244 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01378.html">inclusive_bound</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::exclusive_bound<·TYPE·>·Class·Template·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::exclusive_bound<·TYPE·>·Class·Template·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>An·<em>exclusive</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· | 68 | <p>An·<em>exclusive</em>·boundary·value·to·a·<a·class="el"·href="a01390.html">pqxx::range</a>.·· |
69 | ·<a·href="a01382.html#details">More...</a></p> | 69 | ·<a·href="a01382.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a28470b926f2137faf0dcc00d8d6480da"·id="r_a28470b926f2137faf0dcc00d8d6480da"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">exclusive_bound</a>·()=delete</td></tr> | 74 | <tr·class="memitem:a28470b926f2137faf0dcc00d8d6480da"·id="r_a28470b926f2137faf0dcc00d8d6480da"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">exclusive_bound</a>·()=delete</td></tr> |
75 | <tr·class="separator:a28470b926f2137faf0dcc00d8d6480da"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:a28470b926f2137faf0dcc00d8d6480da"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:a4317352a83044b270d78bfae876b6f95"·id="r_a4317352a83044b270d78bfae876b6f95"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>·(TYPE·const·&value)</td></tr> | 76 | <tr·class="memitem:a4317352a83044b270d78bfae876b6f95"·id="r_a4317352a83044b270d78bfae876b6f95"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>·(TYPE·const·&value)</td></tr> |
77 | <tr·class="separator:a4317352a83044b270d78bfae876b6f95"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:a4317352a83044b270d78bfae876b6f95"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 231, 15 lines modified | Offset 231, 15 lines modified | ||
231 | ··</tr> | 231 | ··</tr> |
232 | </table> | 232 | </table> |
233 | </div><div·class="memdoc"> | 233 | </div><div·class="memdoc"> |
234 | </div> | 234 | </div> |
235 | </div> | 235 | </div> |
236 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 236 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
237 | <li><a·class="el"·href="a00 | 237 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
238 | </ul> | 238 | </ul> |
239 | </div><!--·contents·--> | 239 | </div><!--·contents·--> |
240 | </div><!--·doc-content·--> | 240 | </div><!--·doc-content·--> |
241 | <!--·start·footer·part·--> | 241 | <!--·start·footer·part·--> |
242 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 242 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
243 | ··<ul> | 243 | ··<ul> |
244 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01382.html">exclusive_bound</a></li> | 244 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01382.html">exclusive_bound</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::range_bound<·TYPE·>·Class·Template·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::range_bound<·TYPE·>·Class·Template·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>A·range·boundary·value.·· | 68 | <p>A·range·boundary·value.·· |
69 | ·<a·href="a01386.html#details">More...</a></p> | 69 | ·<a·href="a01386.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a837de69478ce48ab0abf10d7f15e8904"·id="r_a837de69478ce48ab0abf10d7f15e8904"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01386.html#a837de69478ce48ab0abf10d7f15e8904">range_bound</a>·()=delete</td></tr> | 74 | <tr·class="memitem:a837de69478ce48ab0abf10d7f15e8904"·id="r_a837de69478ce48ab0abf10d7f15e8904"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01386.html#a837de69478ce48ab0abf10d7f15e8904">range_bound</a>·()=delete</td></tr> |
75 | <tr·class="separator:a837de69478ce48ab0abf10d7f15e8904"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:a837de69478ce48ab0abf10d7f15e8904"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:a84748fb8eca7213ba96d7fbebebad15d"·id="r_a84748fb8eca7213ba96d7fbebebad15d"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01386.html#a84748fb8eca7213ba96d7fbebebad15d">range_bound</a>·(<a·class="el"·href="a01374.html">no_bound</a>)·noexcept</td></tr> | 76 | <tr·class="memitem:a84748fb8eca7213ba96d7fbebebad15d"·id="r_a84748fb8eca7213ba96d7fbebebad15d"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01386.html#a84748fb8eca7213ba96d7fbebebad15d">range_bound</a>·(<a·class="el"·href="a01374.html">no_bound</a>)·noexcept</td></tr> |
77 | <tr·class="separator:a84748fb8eca7213ba96d7fbebebad15d"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:a84748fb8eca7213ba96d7fbebebad15d"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 582, 15 lines modified | Offset 582, 15 lines modified | ||
582 | <p>Return·bound·value,·or·<code>nullptr</code>·if·it's·not·limited.·</p> | 582 | <p>Return·bound·value,·or·<code>nullptr</code>·if·it's·not·limited.·</p> |
583 | <p·class="reference">Referenced·by·<a·class="el"·href="a01386.html#a806f0f1a87561914eaf445e5159d891a">pqxx::range_bound<·TYPE·>::extends_down_to()</a>,·<a·class="el"·href="a01386.html#a0854916d7bbd20f2018a6a88f6852a91">pqxx::range_bound<·TYPE·>::extends_up_to()</a>,·<a·class="el"·href="a01386.html#ab54ca1e14829e58205d4863d8b4dc366">pqxx::range_bound<·TYPE·>::operator==()</a>,·and·<a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">pqxx::range<·TYPE·>::range()</a>.</p> | 583 | <p·class="reference">Referenced·by·<a·class="el"·href="a01386.html#a806f0f1a87561914eaf445e5159d891a">pqxx::range_bound<·TYPE·>::extends_down_to()</a>,·<a·class="el"·href="a01386.html#a0854916d7bbd20f2018a6a88f6852a91">pqxx::range_bound<·TYPE·>::extends_up_to()</a>,·<a·class="el"·href="a01386.html#ab54ca1e14829e58205d4863d8b4dc366">pqxx::range_bound<·TYPE·>::operator==()</a>,·and·<a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">pqxx::range<·TYPE·>::range()</a>.</p> |
584 | </div> | 584 | </div> |
585 | </div> | 585 | </div> |
586 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 586 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
587 | <li><a·class="el"·href="a00 | 587 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
588 | </ul> | 588 | </ul> |
589 | </div><!--·contents·--> | 589 | </div><!--·contents·--> |
590 | </div><!--·doc-content·--> | 590 | </div><!--·doc-content·--> |
591 | <!--·start·footer·part·--> | 591 | <!--·start·footer·part·--> |
592 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 592 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
593 | ··<ul> | 593 | ··<ul> |
594 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01386.html">range_bound</a></li> | 594 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01386.html">range_bound</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::range<·TYPE·>·Class·Template·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::range<·TYPE·>·Class·Template·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>A·C++·equivalent·to·PostgreSQL's·range·types.·· | 68 | <p>A·C++·equivalent·to·PostgreSQL's·range·types.·· |
69 | ·<a·href="a01390.html#details">More...</a></p> | 69 | ·<a·href="a01390.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
73 | Public·Member·Functions</h2></td></tr> | 73 | Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:a61aebbd9da9a64135c92d8464e41e09c"·id="r_a61aebbd9da9a64135c92d8464e41e09c"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">range</a>·(<a·class="el"·href="a01386.html">range_bound</a><·TYPE·>·lower,·<a·class="el"·href="a01386.html">range_bound</a><·TYPE·>·upper)</td></tr> | 74 | <tr·class="memitem:a61aebbd9da9a64135c92d8464e41e09c"·id="r_a61aebbd9da9a64135c92d8464e41e09c"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">range</a>·(<a·class="el"·href="a01386.html">range_bound</a><·TYPE·>·lower,·<a·class="el"·href="a01386.html">range_bound</a><·TYPE·>·upper)</td></tr> |
75 | <tr·class="memdesc:a61aebbd9da9a64135c92d8464e41e09c"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·range.··<br·/></td></tr> | 75 | <tr·class="memdesc:a61aebbd9da9a64135c92d8464e41e09c"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·range.··<br·/></td></tr> |
76 | <tr·class="separator:a61aebbd9da9a64135c92d8464e41e09c"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a61aebbd9da9a64135c92d8464e41e09c"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:af8bf753edbe8b8473a861ffa02af4b9b"·id="r_af8bf753edbe8b8473a861ffa02af4b9b"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#af8bf753edbe8b8473a861ffa02af4b9b">range</a>·()·noexcept(noexcept(<a·class="el"·href="a01382.html">exclusive_bound</a><·TYPE·>{TYPE{}}))</td></tr> | 77 | <tr·class="memitem:af8bf753edbe8b8473a861ffa02af4b9b"·id="r_af8bf753edbe8b8473a861ffa02af4b9b"><td·class="memItemLeft"·align="right"·valign="top">constexpr </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#af8bf753edbe8b8473a861ffa02af4b9b">range</a>·()·noexcept(noexcept(<a·class="el"·href="a01382.html">exclusive_bound</a><·TYPE·>{TYPE{}}))</td></tr> |
Offset 568, 15 lines modified | Offset 568, 15 lines modified | ||
568 | </div><div·class="memdoc"> | 568 | </div><div·class="memdoc"> |
569 | <p·class="reference">Referenced·by·<a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">pqxx::string_traits<·range<·TYPE·>·>::into_buf()</a>,·and·<a·class="el"·href="a01390.html#a2e0b08f5564191f8c0bdc9fbdb273d62">pqxx::range<·TYPE·>::operator&()</a>.</p> | 569 | <p·class="reference">Referenced·by·<a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">pqxx::string_traits<·range<·TYPE·>·>::into_buf()</a>,·and·<a·class="el"·href="a01390.html#a2e0b08f5564191f8c0bdc9fbdb273d62">pqxx::range<·TYPE·>::operator&()</a>.</p> |
570 | </div> | 570 | </div> |
571 | </div> | 571 | </div> |
572 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 572 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
573 | <li><a·class="el"·href="a00 | 573 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
574 | </ul> | 574 | </ul> |
575 | </div><!--·contents·--> | 575 | </div><!--·contents·--> |
576 | </div><!--·doc-content·--> | 576 | </div><!--·doc-content·--> |
577 | <!--·start·footer·part·--> | 577 | <!--·start·footer·part·--> |
578 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 578 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
579 | ··<ul> | 579 | ··<ul> |
580 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01390.html">range</a></li> | 580 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01390.html">range</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·range<·TYPE·>·>·Struct·Template·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·range<·TYPE·>·>·Struct·Template·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>String·conversions·for·a·<a·class="el"·href="a01390.html">range</a>·type.·· | 68 | <p>String·conversions·for·a·<a·class="el"·href="a01390.html">range</a>·type.·· |
69 | ·<a·href="a01394.html#details">More...</a></p> | 69 | ·<a·href="a01394.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
73 | Static·Public·Member·Functions</h2></td></tr> | 73 | Static·Public·Member·Functions</h2></td></tr> |
74 | <tr·class="memitem:ad43d82b8daab137868cc74223c2fccb7"·id="r_ad43d82b8daab137868cc74223c2fccb7"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01394.html#ad43d82b8daab137868cc74223c2fccb7">to_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01390.html">range</a><·TYPE·>·const·&value)</td></tr> | 74 | <tr·class="memitem:ad43d82b8daab137868cc74223c2fccb7"·id="r_ad43d82b8daab137868cc74223c2fccb7"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01394.html#ad43d82b8daab137868cc74223c2fccb7">to_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01390.html">range</a><·TYPE·>·const·&value)</td></tr> |
75 | <tr·class="separator:ad43d82b8daab137868cc74223c2fccb7"><td·class="memSeparator"·colspan="2"> </td></tr> | 75 | <tr·class="separator:ad43d82b8daab137868cc74223c2fccb7"><td·class="memSeparator"·colspan="2"> </td></tr> |
76 | <tr·class="memitem:ad28290721e79b0222351f1fc7b9981db"·id="r_ad28290721e79b0222351f1fc7b9981db"><td·class="memItemLeft"·align="right"·valign="top">static·char·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">into_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01390.html">range</a><·TYPE·>·const·&value)</td></tr> | 76 | <tr·class="memitem:ad28290721e79b0222351f1fc7b9981db"·id="r_ad28290721e79b0222351f1fc7b9981db"><td·class="memItemLeft"·align="right"·valign="top">static·char·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">into_buf</a>·(char·*begin,·char·*end,·<a·class="el"·href="a01390.html">range</a><·TYPE·>·const·&value)</td></tr> |
77 | <tr·class="separator:ad28290721e79b0222351f1fc7b9981db"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:ad28290721e79b0222351f1fc7b9981db"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 232, 15 lines modified | Offset 232, 15 lines modified | ||
232 | ··</tr> | 232 | ··</tr> |
233 | </table> | 233 | </table> |
234 | </div><div·class="memdoc"> | 234 | </div><div·class="memdoc"> |
235 | </div> | 235 | </div> |
236 | </div> | 236 | </div> |
237 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 237 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
238 | <li><a·class="el"·href="a00 | 238 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
239 | </ul> | 239 | </ul> |
240 | </div><!--·contents·--> | 240 | </div><!--·contents·--> |
241 | </div><!--·doc-content·--> | 241 | </div><!--·doc-content·--> |
242 | <!--·start·footer·part·--> | 242 | <!--·start·footer·part·--> |
243 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 243 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
244 | ··<ul> | 244 | ··<ul> |
245 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01394.html">string_traits<·range<·TYPE·>·></a></li> | 245 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01394.html">string_traits<·range<·TYPE·>·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·range<·TYPE·>·>·Struct·Template·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·range<·TYPE·>·>·Struct·Template·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>A·range·type·does·not·have·an·innate·null·value.·· | 67 | <p>A·range·type·does·not·have·an·innate·null·value.·· |
68 | ·<a·href="a01398.html#details">More...</a></p> | 68 | ·<a·href="a01398.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a00 | 69 | <p><code>#include·<<a·class="el"·href="a00068_source.html">range.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::nullness<·range<·TYPE·>·>:</div> | 71 | Inheritance·diagram·for·pqxx::nullness<·range<·TYPE·>·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01397.png"·border="0"·usemap="#apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01397.png"·border="0"·usemap="#apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"> |
75 | <area·shape="rect"·title="A·range·type·does·not·have·an·innate·null·value."·alt=""·coords="7,183,175,223"/> | 75 | <area·shape="rect"·title="A·range·type·does·not·have·an·innate·null·value."·alt=""·coords="7,183,175,223"/> |
76 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="10,93,171,133"/> | 76 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="10,93,171,133"/> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> | 96 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> |
97 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table> | 98 | </table> |
99 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 99 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
100 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·TYPE><br·/> | 100 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·TYPE><br·/> |
101 | struct·pqxx::nullness<·range<·TYPE·>·></div><p>A·range·type·does·not·have·an·innate·null·value.·</p> | 101 | struct·pqxx::nullness<·range<·TYPE·>·></div><p>A·range·type·does·not·have·an·innate·null·value.·</p> |
102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
103 | <li><a·class="el"·href="a00 | 103 | <li><a·class="el"·href="a00068_source.html">range.hxx</a></li> |
104 | </ul> | 104 | </ul> |
105 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
106 | </div><!--·doc-content·--> | 106 | </div><!--·doc-content·--> |
107 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
108 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 108 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
109 | ··<ul> | 109 | ··<ul> |
110 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01398.html">nullness<·range<·TYPE·>·></a></li> | 110 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01398.html">nullness<·range<·TYPE·>·></a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::result·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::result·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Result·set·containing·data·returned·by·a·query·or·command.·· | 69 | <p>Result·set·containing·data·returned·by·a·query·or·command.·· |
70 | ·<a·href="a01402.html#details">More...</a></p> | 70 | ·<a·href="a01402.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a0004 | 71 | <p><code>#include·<<a·class="el"·href="a00104_source.html">result.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:a45143316d9e7b9a658850326732d2786"·id="r_a45143316d9e7b9a658850326732d2786"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01402.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="el"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a></td></tr> | 75 | <tr·class="memitem:a45143316d9e7b9a658850326732d2786"·id="r_a45143316d9e7b9a658850326732d2786"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01402.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="el"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a></td></tr> |
76 | <tr·class="separator:a45143316d9e7b9a658850326732d2786"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a45143316d9e7b9a658850326732d2786"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a94557b57aa090a8dd2c27bfa923934fd"·id="r_a94557b57aa090a8dd2c27bfa923934fd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="el"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a></td></tr> | 77 | <tr·class="memitem:a94557b57aa090a8dd2c27bfa923934fd"·id="r_a94557b57aa090a8dd2c27bfa923934fd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="el"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a></td></tr> |
78 | <tr·class="separator:a94557b57aa090a8dd2c27bfa923934fd"><td·class="memSeparator"·colspan="2"> </td></tr> | 78 | <tr·class="separator:a94557b57aa090a8dd2c27bfa923934fd"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1417, 15 lines modified | Offset 1417, 15 lines modified | ||
1417 | ··</tr> | 1417 | ··</tr> |
1418 | </table> | 1418 | </table> |
1419 | </div><div·class="memdoc"> | 1419 | </div><div·class="memdoc"> |
1420 | </div> | 1420 | </div> |
1421 | </div> | 1421 | </div> |
1422 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1422 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1423 | <li><a·class="el"·href="a0004 | 1423 | <li><a·class="el"·href="a00104_source.html">result.hxx</a></li> |
1424 | <li><b>result.cxx</b></li> | 1424 | <li><b>result.cxx</b></li> |
1425 | </ul> | 1425 | </ul> |
1426 | </div><!--·contents·--> | 1426 | </div><!--·contents·--> |
1427 | </div><!--·doc-content·--> | 1427 | </div><!--·doc-content·--> |
1428 | <!--·start·footer·part·--> | 1428 | <!--·start·footer·part·--> |
1429 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1429 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1430 | ··<ul> | 1430 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_robusttransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_robusttransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Helper·base·class·for·the·robusttransaction·class·template.·· | 69 | <p>Helper·base·class·for·the·robusttransaction·class·template.·· |
70 | ·<a·href="a01406.html#details">More...</a></p> | 70 | ·<a·href="a01406.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00041_source.html">robusttransaction.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div> | 73 | Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01405.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01405.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"> | 76 | <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"> |
77 | <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="15,152,169,192"/> | 77 | <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="15,152,169,192"/> |
78 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/> | 78 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/> |
Offset 410, 15 lines modified | Offset 410, 15 lines modified | ||
410 | ··</tr> | 410 | ··</tr> |
411 | </table> | 411 | </table> |
412 | </div><div·class="memdoc"> | 412 | </div><div·class="memdoc"> |
413 | </div> | 413 | </div> |
414 | </div> | 414 | </div> |
415 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 415 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
416 | <li><a·class="el"·href="a000 | 416 | <li><a·class="el"·href="a00041_source.html">robusttransaction.hxx</a></li> |
417 | <li><b>robusttransaction.cxx</b></li> | 417 | <li><b>robusttransaction.cxx</b></li> |
418 | </ul> | 418 | </ul> |
419 | </div><!--·contents·--> | 419 | </div><!--·contents·--> |
420 | </div><!--·doc-content·--> | 420 | </div><!--·doc-content·--> |
421 | <!--·start·footer·part·--> | 421 | <!--·start·footer·part·--> |
422 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 422 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
423 | ··<ul> | 423 | ··<ul> |
Offset 59, 15 lines modified | Offset 59, 15 lines modified | ||
59 | </script> | 59 | </script> |
60 | <div·id="doc-content"> | 60 | <div·id="doc-content"> |
61 | <div·class="header"> | 61 | <div·class="header"> |
62 | ··<div·class="headertitle"><div·class="title">pqxx::internal::result_iter<·T·>·Class·Template·Reference</div></div> | 62 | ··<div·class="headertitle"><div·class="title">pqxx::internal::result_iter<·T·>·Class·Template·Reference</div></div> |
63 | </div><!--header--> | 63 | </div><!--header--> |
64 | <div·class="contents"> | 64 | <div·class="contents"> |
65 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 65 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
66 | <li><a·class="el"·href="a00 | 66 | <li><a·class="el"·href="a00044_source.html">row.hxx</a></li> |
67 | </ul> | 67 | </ul> |
68 | </div><!--·contents·--> | 68 | </div><!--·contents·--> |
69 | </div><!--·doc-content·--> | 69 | </div><!--·doc-content·--> |
70 | <!--·start·footer·part·--> | 70 | <!--·start·footer·part·--> |
71 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 71 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
72 | ··<ul> | 72 | ··<ul> |
73 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01414.html">result_iter</a></li> | 73 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01414.html">result_iter</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::row·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::row·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Reference·to·one·row·in·a·result.·· | 69 | <p>Reference·to·one·row·in·a·result.·· |
70 | ·<a·href="a01418.html#details">More...</a></p> | 70 | ·<a·href="a01418.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00044_source.html">row.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
74 | Public·Types</h2></td></tr> | 74 | Public·Types</h2></td></tr> |
75 | <tr·class="memitem:a245d26c7874b11abddb60bdb24f5ac74"·id="r_a245d26c7874b11abddb60bdb24f5ac74"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="el"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a></td></tr> | 75 | <tr·class="memitem:a245d26c7874b11abddb60bdb24f5ac74"·id="r_a245d26c7874b11abddb60bdb24f5ac74"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="el"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a></td></tr> |
76 | <tr·class="separator:a245d26c7874b11abddb60bdb24f5ac74"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a245d26c7874b11abddb60bdb24f5ac74"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:a480e38e15f978e453bbd3b09be65c836"·id="r_a480e38e15f978e453bbd3b09be65c836"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="el"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a></td></tr> | 77 | <tr·class="memitem:a480e38e15f978e453bbd3b09be65c836"·id="r_a480e38e15f978e453bbd3b09be65c836"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="el"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a></td></tr> |
78 | <tr·class="separator:a480e38e15f978e453bbd3b09be65c836"><td·class="memSeparator"·colspan="2"> </td></tr> | 78 | <tr·class="separator:a480e38e15f978e453bbd3b09be65c836"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1549, 15 lines modified | Offset 1549, 15 lines modified | ||
1549 | </div><div·class="memdoc"> | 1549 | </div><div·class="memdoc"> |
1550 | <p>Result·set·of·which·this·is·one·row.·</p> | 1550 | <p>Result·set·of·which·this·is·one·row.·</p> |
1551 | </div> | 1551 | </div> |
1552 | </div> | 1552 | </div> |
1553 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1553 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1554 | <li><a·class="el"·href="a00 | 1554 | <li><a·class="el"·href="a00044_source.html">row.hxx</a></li> |
1555 | <li><b>row.cxx</b></li> | 1555 | <li><b>row.cxx</b></li> |
1556 | </ul> | 1556 | </ul> |
1557 | </div><!--·contents·--> | 1557 | </div><!--·contents·--> |
1558 | </div><!--·doc-content·--> | 1558 | </div><!--·doc-content·--> |
1559 | <!--·start·footer·part·--> | 1559 | <!--·start·footer·part·--> |
1560 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1560 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1561 | ··<ul> | 1561 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::const_row_iterator·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::const_row_iterator·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Iterator·for·fields·in·a·row.·Use·as·<a·class="el"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">row::const_iterator</a>.·· | 69 | <p>Iterator·for·fields·in·a·row.·Use·as·<a·class="el"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">row::const_iterator</a>.·· |
70 | ·<a·href="a01422.html#details">More...</a></p> | 70 | ·<a·href="a01422.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00044_source.html">row.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::const_row_iterator:</div> | 73 | Inheritance·diagram·for·pqxx::const_row_iterator:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01421.png"·border="0"·usemap="#apqxx_1_1const__row__iterator_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01421.png"·border="0"·usemap="#apqxx_1_1const__row__iterator_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1const__row__iterator_inherit__map"·id="apqxx_1_1const__row__iterator_inherit__map"> | 76 | <map·name="apqxx_1_1const__row__iterator_inherit__map"·id="apqxx_1_1const__row__iterator_inherit__map"> |
77 | <area·shape="rect"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> | 77 | <area·shape="rect"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> |
78 | <area·shape="rect"·href="a01426.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/> | 78 | <area·shape="rect"·href="a01426.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/> |
Offset 1014, 15 lines modified | Offset 1014, 15 lines modified | ||
1014 | ··</tr> | 1014 | ··</tr> |
1015 | </table> | 1015 | </table> |
1016 | </div><div·class="memdoc"> | 1016 | </div><div·class="memdoc"> |
1017 | </div> | 1017 | </div> |
1018 | </div> | 1018 | </div> |
1019 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1019 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1020 | <li><a·class="el"·href="a00 | 1020 | <li><a·class="el"·href="a00044_source.html">row.hxx</a></li> |
1021 | <li><b>row.cxx</b></li> | 1021 | <li><b>row.cxx</b></li> |
1022 | </ul> | 1022 | </ul> |
1023 | </div><!--·contents·--> | 1023 | </div><!--·contents·--> |
1024 | </div><!--·doc-content·--> | 1024 | </div><!--·doc-content·--> |
1025 | <!--·start·footer·part·--> | 1025 | <!--·start·footer·part·--> |
1026 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1026 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
1027 | ··<ul> | 1027 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::const_reverse_row_iterator·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::const_reverse_row_iterator·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Reverse·iterator·for·a·row.·Use·as·<a·class="el"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">row::const_reverse_iterator</a>.·· | 69 | <p>Reverse·iterator·for·a·row.·Use·as·<a·class="el"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">row::const_reverse_iterator</a>.·· |
70 | ·<a·href="a01426.html#details">More...</a></p> | 70 | ·<a·href="a01426.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00044_source.html">row.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::const_reverse_row_iterator:</div> | 73 | Inheritance·diagram·for·pqxx::const_reverse_row_iterator:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01425.png"·border="0"·usemap="#apqxx_1_1const__reverse__row__iterator_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01425.png"·border="0"·usemap="#apqxx_1_1const__reverse__row__iterator_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1const__reverse__row__iterator_inherit__map"·id="apqxx_1_1const__reverse__row__iterator_inherit__map"> | 76 | <map·name="apqxx_1_1const__reverse__row__iterator_inherit__map"·id="apqxx_1_1const__reverse__row__iterator_inherit__map"> |
77 | <area·shape="rect"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/> | 77 | <area·shape="rect"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/> |
78 | <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> | 78 | <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/> |
Offset 867, 15 lines modified | Offset 867, 15 lines modified | ||
867 | ··</tr> | 867 | ··</tr> |
868 | </table> | 868 | </table> |
869 | </div><div·class="memdoc"> | 869 | </div><div·class="memdoc"> |
870 | </div> | 870 | </div> |
871 | </div> | 871 | </div> |
872 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 872 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
873 | <li><a·class="el"·href="a00 | 873 | <li><a·class="el"·href="a00044_source.html">row.hxx</a></li> |
874 | <li><b>row.cxx</b></li> | 874 | <li><b>row.cxx</b></li> |
875 | </ul> | 875 | </ul> |
876 | </div><!--·contents·--> | 876 | </div><!--·contents·--> |
877 | </div><!--·doc-content·--> | 877 | </div><!--·doc-content·--> |
878 | <!--·start·footer·part·--> | 878 | <!--·start·footer·part·--> |
879 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 879 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
880 | ··<ul> | 880 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·TYPE,·ENABLE·>·Struct·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·TYPE,·ENABLE·>·Struct·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Traits·describing·a·type's·"null·value,"·if·any.·· | 69 | <p>Traits·describing·a·type's·"null·value,"·if·any.·· |
70 | ·<a·href="a01430.html#details">More...</a></p> | 70 | ·<a·href="a01430.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
74 | Static·Public·Member·Functions</h2></td></tr> | 74 | Static·Public·Member·Functions</h2></td></tr> |
75 | <tr·class="memitem:a309fcad467f815a9fbccbea0c2a6608a"·id="r_a309fcad467f815a9fbccbea0c2a6608a"><td·class="memItemLeft"·align="right"·valign="top">static·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>·(TYPE·const·&value)</td></tr> | 75 | <tr·class="memitem:a309fcad467f815a9fbccbea0c2a6608a"·id="r_a309fcad467f815a9fbccbea0c2a6608a"><td·class="memItemLeft"·align="right"·valign="top">static·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>·(TYPE·const·&value)</td></tr> |
76 | <tr·class="memdesc:a309fcad467f815a9fbccbea0c2a6608a"><td·class="mdescLeft"> </td><td·class="mdescRight">Is·<code>value</code>·a·null?··<br·/></td></tr> | 76 | <tr·class="memdesc:a309fcad467f815a9fbccbea0c2a6608a"><td·class="mdescLeft"> </td><td·class="mdescRight">Is·<code>value</code>·a·null?··<br·/></td></tr> |
77 | <tr·class="separator:a309fcad467f815a9fbccbea0c2a6608a"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:a309fcad467f815a9fbccbea0c2a6608a"><td·class="memSeparator"·colspan="2"> </td></tr> |
78 | <tr·class="memitem:a475f5e490aabd4934aa63a621ecfd0ab"·id="r_a475f5e490aabd4934aa63a621ecfd0ab"><td·class="memItemLeft"·align="right"·valign="top">static·TYPE </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>·()</td></tr> | 78 | <tr·class="memitem:a475f5e490aabd4934aa63a621ecfd0ab"·id="r_a475f5e490aabd4934aa63a621ecfd0ab"><td·class="memItemLeft"·align="right"·valign="top">static·TYPE </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>·()</td></tr> |
Offset 208, 15 lines modified | Offset 208, 15 lines modified | ||
208 | </div><div·class="memdoc"> | 208 | </div><div·class="memdoc"> |
209 | <p>Does·this·type·have·a·null·value?·</p> | 209 | <p>Does·this·type·have·a·null·value?·</p> |
210 | </div> | 210 | </div> |
211 | </div> | 211 | </div> |
212 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 212 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
213 | <li><a·class="el"·href="a000 | 213 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
214 | </ul> | 214 | </ul> |
215 | </div><!--·contents·--> | 215 | </div><!--·contents·--> |
216 | </div><!--·doc-content·--> | 216 | </div><!--·doc-content·--> |
217 | <!--·start·footer·part·--> | 217 | <!--·start·footer·part·--> |
218 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 218 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
219 | ··<ul> | 219 | ··<ul> |
220 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01430.html">nullness</a></li> | 220 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01430.html">nullness</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::no_null<·TYPE·>·Struct·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::no_null<·TYPE·>·Struct·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Nullness·traits·describing·a·type·which·does·not·have·a·null·value.·· | 69 | <p>Nullness·traits·describing·a·type·which·does·not·have·a·null·value.·· |
70 | ·<a·href="a01434.html#details">More...</a></p> | 70 | ·<a·href="a01434.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::no_null<·TYPE·>:</div> | 73 | Inheritance·diagram·for·pqxx::no_null<·TYPE·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01433.png"·border="0"·usemap="#apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01433.png"·border="0"·usemap="#apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"> |
77 | <area·shape="rect"·title="Nullness·traits·describing·a·type·which·does·not·have·a·null·value."·alt=""·coords="5,84,176,109"/> | 77 | <area·shape="rect"·title="Nullness·traits·describing·a·type·which·does·not·have·a·null·value."·alt=""·coords="5,84,176,109"/> |
78 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="377,24,555,49"/> | 78 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="377,24,555,49"/> |
Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
196 | <p>For·example,·a·pointer·can·equal·<code>nullptr</code>,·which·makes·a·very·natural·representation·of·an·SQL·null·value.·For·such·types,·the·code·sometimes·needs·to·make·special·allowances.</p> | 196 | <p>For·example,·a·pointer·can·equal·<code>nullptr</code>,·which·makes·a·very·natural·representation·of·an·SQL·null·value.·For·such·types,·the·code·sometimes·needs·to·make·special·allowances.</p> |
197 | <p>for·most·types,·such·as·<code>int</code>·or·<code>std::string</code>,·there·is·no·built-in·null.·If·you·want·to·represent·an·SQL·null·value·for·such·a·type,·you·would·have·to·wrap·it·in·something·that·does·have·a·null·value.·For·example,·you·could·use·<code>std::optional<int></code>·for·"either·an·@c·int·or·a | 197 | <p>for·most·types,·such·as·<code>int</code>·or·<code>std::string</code>,·there·is·no·built-in·null.·If·you·want·to·represent·an·SQL·null·value·for·such·a·type,·you·would·have·to·wrap·it·in·something·that·does·have·a·null·value.·For·example,·you·could·use·<code>std::optional<int></code>·for·"either·an·@c·int·or·a |
198 | null·value."·</p> | 198 | null·value."·</p> |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 201 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
202 | <li><a·class="el"·href="a000 | 202 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
203 | </ul> | 203 | </ul> |
204 | </div><!--·contents·--> | 204 | </div><!--·contents·--> |
205 | </div><!--·doc-content·--> | 205 | </div><!--·doc-content·--> |
206 | <!--·start·footer·part·--> | 206 | <!--·start·footer·part·--> |
207 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 207 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
208 | ··<ul> | 208 | ··<ul> |
209 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01434.html">no_null</a></li> | 209 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01434.html">no_null</a></li> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·TYPE·>·Struct·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·TYPE·>·Struct·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Traits·class·for·use·in·string·conversions.·· | 69 | <p>Traits·class·for·use·in·string·conversions.·· |
70 | ·<a·href="a01438.html#details">More...</a></p> | 70 | ·<a·href="a01438.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
72 | <table·class="memberdecls"> | 72 | <table·class="memberdecls"> |
73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 73 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
74 | Static·Public·Member·Functions</h2></td></tr> | 74 | Static·Public·Member·Functions</h2></td></tr> |
75 | <tr·class="memitem:a81b2526f70d7191c37e36fb78530b977"·id="r_a81b2526f70d7191c37e36fb78530b977"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">to_buf</a>·(char·*begin,·char·*end,·TYPE·const·&value)</td></tr> | 75 | <tr·class="memitem:a81b2526f70d7191c37e36fb78530b977"·id="r_a81b2526f70d7191c37e36fb78530b977"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01510.html">zview</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">to_buf</a>·(char·*begin,·char·*end,·TYPE·const·&value)</td></tr> |
76 | <tr·class="memdesc:a81b2526f70d7191c37e36fb78530b977"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·<code>string_view</code>·representing·value,·plus·terminating·zero.··<br·/></td></tr> | 76 | <tr·class="memdesc:a81b2526f70d7191c37e36fb78530b977"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·<code>string_view</code>·representing·value,·plus·terminating·zero.··<br·/></td></tr> |
77 | <tr·class="separator:a81b2526f70d7191c37e36fb78530b977"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:a81b2526f70d7191c37e36fb78530b977"><td·class="memSeparator"·colspan="2"> </td></tr> |
78 | <tr·class="memitem:ad0fa1a3d75ba56a58c39822d25c14a0c"·id="r_ad0fa1a3d75ba56a58c39822d25c14a0c"><td·class="memItemLeft"·align="right"·valign="top">static·char·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#ad0fa1a3d75ba56a58c39822d25c14a0c">into_buf</a>·(char·*begin,·char·*end,·TYPE·const·&value)</td></tr> | 78 | <tr·class="memitem:ad0fa1a3d75ba56a58c39822d25c14a0c"·id="r_ad0fa1a3d75ba56a58c39822d25c14a0c"><td·class="memItemLeft"·align="right"·valign="top">static·char·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#ad0fa1a3d75ba56a58c39822d25c14a0c">into_buf</a>·(char·*begin,·char·*end,·TYPE·const·&value)</td></tr> |
Offset 330, 15 lines modified | Offset 330, 15 lines modified | ||
330 | <p>Is·conversion·from·<code>TYPE</code>·to·strings·supported?·</p> | 330 | <p>Is·conversion·from·<code>TYPE</code>·to·strings·supported?·</p> |
331 | <p>When·defining·your·own·conversions,·specialise·this·as·<code>true</code>·to·indicate·that·your·string·traits·support·the·conversions·to·strings.·</p> | 331 | <p>When·defining·your·own·conversions,·specialise·this·as·<code>true</code>·to·indicate·that·your·string·traits·support·the·conversions·to·strings.·</p> |
332 | </div> | 332 | </div> |
333 | </div> | 333 | </div> |
334 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> | 334 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul> |
335 | <li><a·class="el"·href="a000 | 335 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
336 | <li><b>strconv.cxx</b></li> | 336 | <li><b>strconv.cxx</b></li> |
337 | </ul> | 337 | </ul> |
338 | </div><!--·contents·--> | 338 | </div><!--·contents·--> |
339 | </div><!--·doc-content·--> | 339 | </div><!--·doc-content·--> |
340 | <!--·start·footer·part·--> | 340 | <!--·start·footer·part·--> |
341 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 341 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
342 | ··<ul> | 342 | ··<ul> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::forbidden_conversion<·TYPE·>·Struct·Template·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::forbidden_conversion<·TYPE·>·Struct·Template·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>String·traits·for·a·forbidden·type·conversion.·· | 69 | <p>String·traits·for·a·forbidden·type·conversion.·· |
70 | ·<a·href="a01442.html#details">More...</a></p> | 70 | ·<a·href="a01442.html#details">More...</a></p> |
71 | <p><code>#include·<<a·class="el"·href="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::forbidden_conversion<·TYPE·>:</div> | 73 | Inheritance·diagram·for·pqxx::forbidden_conversion<·TYPE·>:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01441.png"·border="0"·usemap="#apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01441.png"·border="0"·usemap="#apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"> | 76 | <map·name="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"> |
77 | <area·shape="rect"·title="String·traits·for·a·forbidden·type·conversion."·alt=""·coords="5,101,208,141"/> | 77 | <area·shape="rect"·title="String·traits·for·a·forbidden·type·conversion."·alt=""·coords="5,101,208,141"/> |
78 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="381,5,584,45"/> | 78 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="381,5,584,45"/> |
Offset 309, 15 lines modified | Offset 309, 15 lines modified | ||
309 | ··</tr> | 309 | ··</tr> |
310 | </table> | 310 | </table> |
311 | </div><div·class="memdoc"> | 311 | </div><div·class="memdoc"> |
312 | </div> | 312 | </div> |
313 | </div> | 313 | </div> |
314 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 314 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
315 | <li><a·class="el"·href="a000 | 315 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
316 | </ul> | 316 | </ul> |
317 | </div><!--·contents·--> | 317 | </div><!--·contents·--> |
318 | </div><!--·doc-content·--> | 318 | </div><!--·doc-content·--> |
319 | <!--·start·footer·part·--> | 319 | <!--·start·footer·part·--> |
320 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 320 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
321 | ··<ul> | 321 | ··<ul> |
322 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01442.html">forbidden_conversion</a></li> | 322 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01442.html">forbidden_conversion</a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·char·>·Struct·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·char·>·Struct·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·· | 67 | <p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·· |
68 | ·<a·href="a01446.html#details">More...</a></p> | 68 | ·<a·href="a01446.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::string_traits<·char·>:</div> | 71 | Inheritance·diagram·for·pqxx::string_traits<·char·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01445.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01445.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1string__traits_3_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01char_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1string__traits_3_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01char_01_4_inherit__map"> |
75 | <area·shape="rect"·title="You·cannot·convert·a·char·to/from·SQL."·alt=""·coords="37,197,177,237"/> | 75 | <area·shape="rect"·title="You·cannot·convert·a·char·to/from·SQL."·alt=""·coords="37,197,177,237"/> |
76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> | 76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> |
Offset 102, 15 lines modified | Offset 102, 15 lines modified | ||
102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
103 | <div·class="textblock"><p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·</p> | 103 | <div·class="textblock"><p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·</p> |
104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·If·so,·did·you·mean·it·to·be·signed·or·unsigned?·(The·C++·Standard·allows·the·system·to·implement·<code>char</code>·as·either·a·signed·type·or·an·unsigned·type.)·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> | 104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·If·so,·did·you·mean·it·to·be·signed·or·unsigned?·(The·C++·Standard·allows·the·system·to·implement·<code>char</code>·as·either·a·signed·type·or·an·unsigned·type.)·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> |
105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p> | 105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p> |
106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> | 106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> |
107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> | 107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> |
108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
109 | <li><a·class="el"·href="a000 | 109 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
110 | </ul> | 110 | </ul> |
111 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
112 | </div><!--·doc-content·--> | 112 | </div><!--·doc-content·--> |
113 | <!--·start·footer·part·--> | 113 | <!--·start·footer·part·--> |
114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
115 | ··<ul> | 115 | ··<ul> |
116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01446.html">string_traits<·char·></a></li> | 116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01446.html">string_traits<·char·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·unsigned·char·>·Struct·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·unsigned·char·>·Struct·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·· | 67 | <p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·· |
68 | ·<a·href="a01450.html#details">More...</a></p> | 68 | ·<a·href="a01450.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::string_traits<·unsigned·char·>:</div> | 71 | Inheritance·diagram·for·pqxx::string_traits<·unsigned·char·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01449.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01449.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"> |
75 | <area·shape="rect"·title="You·cannot·convert·an·unsigned·char·to/from·SQL."·alt=""·coords="35,197,178,237"/> | 75 | <area·shape="rect"·title="You·cannot·convert·an·unsigned·char·to/from·SQL."·alt=""·coords="35,197,178,237"/> |
76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> | 76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> |
Offset 102, 15 lines modified | Offset 102, 15 lines modified | ||
102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
103 | <div·class="textblock"><p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·</p> | 103 | <div·class="textblock"><p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·</p> |
104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> | 104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> |
105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p> | 105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p> |
106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> | 106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> |
107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> | 107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> |
108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
109 | <li><a·class="el"·href="a000 | 109 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
110 | </ul> | 110 | </ul> |
111 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
112 | </div><!--·doc-content·--> | 112 | </div><!--·doc-content·--> |
113 | <!--·start·footer·part·--> | 113 | <!--·start·footer·part·--> |
114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
115 | ··<ul> | 115 | ··<ul> |
116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01450.html">string_traits<·unsigned·char·></a></li> | 116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01450.html">string_traits<·unsigned·char·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·signed·char·>·Struct·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·signed·char·>·Struct·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·· | 67 | <p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·· |
68 | ·<a·href="a01454.html#details">More...</a></p> | 68 | ·<a·href="a01454.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::string_traits<·signed·char·>:</div> | 71 | Inheritance·diagram·for·pqxx::string_traits<·signed·char·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01453.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01453.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"> |
75 | <area·shape="rect"·title="You·cannot·convert·a·signed·char·to/from·SQL."·alt=""·coords="37,197,177,237"/> | 75 | <area·shape="rect"·title="You·cannot·convert·a·signed·char·to/from·SQL."·alt=""·coords="37,197,177,237"/> |
76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> | 76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> |
Offset 102, 15 lines modified | Offset 102, 15 lines modified | ||
102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
103 | <div·class="textblock"><p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·</p> | 103 | <div·class="textblock"><p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·</p> |
104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·in·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> | 104 | <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·in·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p> |
105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·etc.</p> | 105 | <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·etc.</p> |
106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> | 106 | <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p> |
107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> | 107 | <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view<std::byte></code>·instead.·</p> |
108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 108 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
109 | <li><a·class="el"·href="a000 | 109 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
110 | </ul> | 110 | </ul> |
111 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
112 | </div><!--·doc-content·--> | 112 | </div><!--·doc-content·--> |
113 | <!--·start·footer·part·--> | 113 | <!--·start·footer·part·--> |
114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 114 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
115 | ··<ul> | 115 | ··<ul> |
116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01454.html">string_traits<·signed·char·></a></li> | 116 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01454.html">string_traits<·signed·char·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·std::byte·>·Struct·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::string_traits<·std::byte·>·Struct·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·· | 67 | <p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·· |
68 | ·<a·href="a01458.html#details">More...</a></p> | 68 | ·<a·href="a01458.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::string_traits<·std::byte·>:</div> | 71 | Inheritance·diagram·for·pqxx::string_traits<·std::byte·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01457.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01457.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"> |
75 | <area·shape="rect"·title="You·cannot·convert·a·std::byte·to/from·SQL."·alt=""·coords="37,197,177,237"/> | 75 | <area·shape="rect"·title="You·cannot·convert·a·std::byte·to/from·SQL."·alt=""·coords="37,197,177,237"/> |
76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> | 76 | <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/> |
Offset 100, 15 lines modified | Offset 100, 15 lines modified | ||
100 | <tr·class="separator:a37c0ece1279b898256bb9b0e62826646·inherit·pub_static_attribs_a01442"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:a37c0ece1279b898256bb9b0e62826646·inherit·pub_static_attribs_a01442"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | </table> | 101 | </table> |
102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 102 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
103 | <div·class="textblock"><p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·</p> | 103 | <div·class="textblock"><p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·</p> |
104 | <p>To·convert·a·raw·byte·value,·use·a·<code>std::basic_string_view<std::byte></code>.</p> | 104 | <p>To·convert·a·raw·byte·value,·use·a·<code>std::basic_string_view<std::byte></code>.</p> |
105 | <p>For·example,·to·convert·a·byte·<code>b</code>·from·C++·to·SQL,·convert·the·value·<code>std::basic_string_view<std::byte>{&b,·1}</code>·instead.·</p> | 105 | <p>For·example,·to·convert·a·byte·<code>b</code>·from·C++·to·SQL,·convert·the·value·<code>std::basic_string_view<std::byte>{&b,·1}</code>·instead.·</p> |
106 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 106 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
107 | <li><a·class="el"·href="a000 | 107 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
108 | </ul> | 108 | </ul> |
109 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
110 | </div><!--·doc-content·--> | 110 | </div><!--·doc-content·--> |
111 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
112 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 112 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
113 | ··<ul> | 113 | ··<ul> |
114 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01458.html">string_traits<·std::byte·></a></li> | 114 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01458.html">string_traits<·std::byte·></a></li> |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·>·Struct·Template·Reference</div></div> | 64 | ··<div·class="headertitle"><div·class="title">pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·>·Struct·Template·Reference</div></div> |
65 | </div><!--header--> | 65 | </div><!--header--> |
66 | <div·class="contents"> | 66 | <div·class="contents"> |
67 | <p>Nullness:·Enums·do·not·have·an·inherent·null·value.·· | 67 | <p>Nullness:·Enums·do·not·have·an·inherent·null·value.·· |
68 | ·<a·href="a01462.html#details">More...</a></p> | 68 | ·<a·href="a01462.html#details">More...</a></p> |
69 | <p><code>#include·<<a·class="el"·href="a000 | 69 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
70 | <div·class="dynheader"> | 70 | <div·class="dynheader"> |
71 | Inheritance·diagram·for·pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·>:</div> | 71 | Inheritance·diagram·for·pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·>:</div> |
72 | <div·class="dyncontent"> | 72 | <div·class="dyncontent"> |
73 | <div·class="center"><img·src="a01461.png"·border="0"·usemap="#apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 73 | <div·class="center"><img·src="a01461.png"·border="0"·usemap="#apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
74 | <map·name="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"> | 74 | <map·name="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"> |
75 | <area·shape="rect"·title="Nullness:·Enums·do·not·have·an·inherent·null·value."·alt=""·coords="5,168,205,223"/> | 75 | <area·shape="rect"·title="Nullness:·Enums·do·not·have·an·inherent·null·value."·alt=""·coords="5,168,205,223"/> |
76 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="16,93,195,119"/> | 76 | <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="16,93,195,119"/> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> | 96 | <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft"> </td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr> |
97 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table> | 98 | </table> |
99 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 99 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
100 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·ENUM><br·/> | 100 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·ENUM><br·/> |
101 | struct·pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·></div><p>Nullness:·Enums·do·not·have·an·inherent·null·value.·</p> | 101 | struct·pqxx::nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·></div><p>Nullness:·Enums·do·not·have·an·inherent·null·value.·</p> |
102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
103 | <li><a·class="el"·href="a000 | 103 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
104 | </ul> | 104 | </ul> |
105 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
106 | </div><!--·doc-content·--> | 106 | </div><!--·doc-content·--> |
107 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
108 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 108 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
109 | ··<ul> | 109 | ··<ul> |
110 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01462.html">nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·></a></li> | 110 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01462.html">nullness<·ENUM,·std::enable_if_t<·std::is_enum_v<·ENUM·>·>·></a></li> |
Offset 67, 15 lines modified | Offset 67, 15 lines modified | ||
67 | ··<div·class="headertitle"><div·class="title">pqxx::internal::enum_traits<·ENUM·>·Struct·Template·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::internal::enum_traits<·ENUM·>·Struct·Template·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p>Helper·class·for·defining·enum·conversions.·· | 70 | <p>Helper·class·for·defining·enum·conversions.·· |
71 | ·<a·href="a01466.html#details">More...</a></p> | 71 | ·<a·href="a01466.html#details">More...</a></p> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00083_source.html">strconv.hxx</a>></code></p> |
73 | <table·class="memberdecls"> | 73 | <table·class="memberdecls"> |
74 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 74 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
75 | Public·Types</h2></td></tr> | 75 | Public·Types</h2></td></tr> |
76 | <tr·class="memitem:ac7d8b63cc17a504cb8d0ae52381f925a"·id="r_ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·=·std::underlying_type_t<·ENUM·></td></tr> | 76 | <tr·class="memitem:ac7d8b63cc17a504cb8d0ae52381f925a"·id="r_ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·=·std::underlying_type_t<·ENUM·></td></tr> |
77 | <tr·class="separator:ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memSeparator"·colspan="2"> </td></tr> | 77 | <tr·class="separator:ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memSeparator"·colspan="2"> </td></tr> |
78 | <tr·class="memitem:a0738a13461cb8e13a61e3ef1123b3e7e"·id="r_a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#a0738a13461cb8e13a61e3ef1123b3e7e">impl_traits</a>·=·<a·class="el"·href="a01438.html">string_traits</a><·<a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·></td></tr> | 78 | <tr·class="memitem:a0738a13461cb8e13a61e3ef1123b3e7e"·id="r_a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#a0738a13461cb8e13a61e3ef1123b3e7e">impl_traits</a>·=·<a·class="el"·href="a01438.html">string_traits</a><·<a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·></td></tr> |
79 | <tr·class="separator:a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memSeparator"·colspan="2"> </td></tr> | 79 | <tr·class="separator:a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 336, 15 lines modified | Offset 336, 15 lines modified | ||
336 | ··</tr> | 336 | ··</tr> |
337 | </table> | 337 | </table> |
338 | </div><div·class="memdoc"> | 338 | </div><div·class="memdoc"> |
339 | </div> | 339 | </div> |
340 | </div> | 340 | </div> |
341 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 341 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
342 | <li><a·class="el"·href="a000 | 342 | <li><a·class="el"·href="a00083_source.html">strconv.hxx</a></li> |
343 | </ul> | 343 | </ul> |
344 | </div><!--·contents·--> | 344 | </div><!--·contents·--> |
345 | </div><!--·doc-content·--> | 345 | </div><!--·doc-content·--> |
346 | <!--·start·footer·part·--> | 346 | <!--·start·footer·part·--> |
347 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 347 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
348 | ··<ul> | 348 | ··<ul> |
349 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01466.html">enum_traits</a></li> | 349 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01466.html">enum_traits</a></li> |
Offset 67, 15 lines modified | Offset 67, 15 lines modified | ||
67 | ··<div·class="headertitle"><div·class="title">pqxx::stream_from·Class·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::stream_from·Class·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p>Stream·data·from·the·database.·· | 70 | <p>Stream·data·from·the·database.·· |
71 | ·<a·href="a01470.html#details">More...</a></p> | 71 | ·<a·href="a01470.html#details">More...</a></p> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00035_source.html">stream_from.hxx</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·pqxx::stream_from:</div> | 74 | Inheritance·diagram·for·pqxx::stream_from:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01469.png"·border="0"·usemap="#apqxx_1_1stream__from_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01469.png"·border="0"·usemap="#apqxx_1_1stream__from_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="apqxx_1_1stream__from_inherit__map"·id="apqxx_1_1stream__from_inherit__map"> | 77 | <map·name="apqxx_1_1stream__from_inherit__map"·id="apqxx_1_1stream__from_inherit__map"> |
78 | <area·shape="rect"·title="Stream·data·from·the·database."·alt=""·coords="21,79,167,104"/> | 78 | <area·shape="rect"·title="Stream·data·from·the·database."·alt=""·coords="21,79,167,104"/> |
79 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> | 79 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> |
Offset 893, 15 lines modified | Offset 893, 15 lines modified | ||
893 | <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>.</p> | 893 | <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>.</p> |
894 | <p·class="reference">Referenced·by·<a·class="el"·href="a01470.html#a3c4cd42c50e3e90282ea5570ddb19e70">stream_from()</a>.</p> | 894 | <p·class="reference">Referenced·by·<a·class="el"·href="a01470.html#a3c4cd42c50e3e90282ea5570ddb19e70">stream_from()</a>.</p> |
895 | </div> | 895 | </div> |
896 | </div> | 896 | </div> |
897 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 897 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
898 | <li><a·class="el"·href="a000 | 898 | <li><a·class="el"·href="a00035_source.html">stream_from.hxx</a></li> |
899 | <li><b>stream_from.cxx</b></li> | 899 | <li><b>stream_from.cxx</b></li> |
900 | </ul> | 900 | </ul> |
901 | </div><!--·contents·--> | 901 | </div><!--·contents·--> |
902 | </div><!--·doc-content·--> | 902 | </div><!--·doc-content·--> |
903 | <!--·start·footer·part·--> | 903 | <!--·start·footer·part·--> |
904 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 904 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
905 | ··<ul> | 905 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::subtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::subtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>"Transaction"·nested·within·another·transaction·· | 68 | <p>"Transaction"·nested·within·another·transaction·· |
69 | ·<a·href="a01478.html#details">More...</a></p> | 69 | ·<a·href="a01478.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a0001 | 70 | <p><code>#include·<<a·class="el"·href="a00101_source.html">subtransaction.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::subtransaction:</div> | 72 | Inheritance·diagram·for·pqxx::subtransaction:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01477.png"·border="0"·usemap="#apqxx_1_1subtransaction_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01477.png"·border="0"·usemap="#apqxx_1_1subtransaction_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1subtransaction_inherit__map"·id="apqxx_1_1subtransaction_inherit__map"> | 75 | <map·name="apqxx_1_1subtransaction_inherit__map"·id="apqxx_1_1subtransaction_inherit__map"> |
76 | <area·shape="rect"·title=""Transaction"·nested·within·another·transaction"·alt=""·coords="108,152,267,177"/> | 76 | <area·shape="rect"·title=""Transaction"·nested·within·another·transaction"·alt=""·coords="108,152,267,177"/> |
77 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,79,183,104"/> | 77 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,79,183,104"/> |
Offset 482, 15 lines modified | Offset 482, 15 lines modified | ||
482 | ··</tr> | 482 | ··</tr> |
483 | </table> | 483 | </table> |
484 | </div><div·class="memdoc"> | 484 | </div><div·class="memdoc"> |
485 | </div> | 485 | </div> |
486 | </div> | 486 | </div> |
487 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 487 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
488 | <li><a·class="el"·href="a0001 | 488 | <li><a·class="el"·href="a00101_source.html">subtransaction.hxx</a></li> |
489 | <li><b>subtransaction.cxx</b></li> | 489 | <li><b>subtransaction.cxx</b></li> |
490 | </ul> | 490 | </ul> |
491 | </div><!--·contents·--> | 491 | </div><!--·contents·--> |
492 | </div><!--·doc-content·--> | 492 | </div><!--·doc-content·--> |
493 | <!--·start·footer·part·--> | 493 | <!--·start·footer·part·--> |
494 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 494 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
495 | ··<ul> | 495 | ··<ul> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_transaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_transaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Helper·base·class·for·the·transaction·class·template.·· | 68 | <p>Helper·base·class·for·the·transaction·class·template.·· |
69 | ·<a·href="a01482.html#details">More...</a></p> | 69 | ·<a·href="a01482.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00053_source.html">transaction.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::internal::basic_transaction:</div> | 72 | Inheritance·diagram·for·pqxx::internal::basic_transaction:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01481.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__transaction_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01481.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__transaction_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1internal_1_1basic__transaction_inherit__map"·id="apqxx_1_1internal_1_1basic__transaction_inherit__map"> | 75 | <map·name="apqxx_1_1internal_1_1basic__transaction_inherit__map"·id="apqxx_1_1internal_1_1basic__transaction_inherit__map"> |
76 | <area·shape="rect"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="15,152,169,192"/> | 76 | <area·shape="rect"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="15,152,169,192"/> |
77 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/> | 77 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/> |
Offset 463, 15 lines modified | Offset 463, 15 lines modified | ||
463 | ··</tr> | 463 | ··</tr> |
464 | </table> | 464 | </table> |
465 | </div><div·class="memdoc"> | 465 | </div><div·class="memdoc"> |
466 | </div> | 466 | </div> |
467 | </div> | 467 | </div> |
468 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 468 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
469 | <li><a·class="el"·href="a000 | 469 | <li><a·class="el"·href="a00053_source.html">transaction.hxx</a></li> |
470 | <li><b>transaction.cxx</b></li> | 470 | <li><b>transaction.cxx</b></li> |
471 | </ul> | 471 | </ul> |
472 | </div><!--·contents·--> | 472 | </div><!--·contents·--> |
473 | </div><!--·doc-content·--> | 473 | </div><!--·doc-content·--> |
474 | <!--·start·footer·part·--> | 474 | <!--·start·footer·part·--> |
475 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 475 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
476 | ··<ul> | 476 | ··<ul> |
Offset 67, 15 lines modified | Offset 67, 15 lines modified | ||
67 | ··<div·class="headertitle"><div·class="title">pqxx::transaction_focus·Class·Reference</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx::transaction_focus·Class·Reference</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
70 | <p>Base·class·for·things·that·monopolise·a·transaction's·attention.·· | 70 | <p>Base·class·for·things·that·monopolise·a·transaction's·attention.·· |
71 | ·<a·href="a01494.html#details">More...</a></p> | 71 | ·<a·href="a01494.html#details">More...</a></p> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00080_source.html">transaction_focus.hxx</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·pqxx::transaction_focus:</div> | 74 | Inheritance·diagram·for·pqxx::transaction_focus:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01493.png"·border="0"·usemap="#apqxx_1_1transaction__focus_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01493.png"·border="0"·usemap="#apqxx_1_1transaction__focus_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="apqxx_1_1transaction__focus_inherit__map"·id="apqxx_1_1transaction__focus_inherit__map"> | 77 | <map·name="apqxx_1_1transaction__focus_inherit__map"·id="apqxx_1_1transaction__focus_inherit__map"> |
78 | <area·shape="rect"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="209,5,386,31"/> | 78 | <area·shape="rect"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="209,5,386,31"/> |
79 | <area·shape="rect"·href="a01366.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,79,120,104"/> | 79 | <area·shape="rect"·href="a01366.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,79,120,104"/> |
Offset 545, 15 lines modified | Offset 545, 15 lines modified | ||
545 | ··</tr> | 545 | ··</tr> |
546 | </table> | 546 | </table> |
547 | </div><div·class="memdoc"> | 547 | </div><div·class="memdoc"> |
548 | </div> | 548 | </div> |
549 | </div> | 549 | </div> |
550 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 550 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
551 | <li><a·class="el"·href="a000 | 551 | <li><a·class="el"·href="a00080_source.html">transaction_focus.hxx</a></li> |
552 | <li><b>transaction_base.cxx</b></li> | 552 | <li><b>transaction_base.cxx</b></li> |
553 | </ul> | 553 | </ul> |
554 | </div><!--·contents·--> | 554 | </div><!--·contents·--> |
555 | </div><!--·doc-content·--> | 555 | </div><!--·doc-content·--> |
556 | <!--·start·footer·part·--> | 556 | <!--·start·footer·part·--> |
557 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 557 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
558 | ··<ul> | 558 | ··<ul> |
Offset 62, 20 lines modified | Offset 62, 20 lines modified | ||
62 | ··<div·class="headertitle"><div·class="title">pqxx::from_table_t·Struct·Reference</div></div> | 62 | ··<div·class="headertitle"><div·class="title">pqxx::from_table_t·Struct·Reference</div></div> |
63 | </div><!--header--> | 63 | </div><!--header--> |
64 | <div·class="contents"> | 64 | <div·class="contents"> |
65 | <p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·table.".·· | 65 | <p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·table.".·· |
66 | ·<a·href="a01498.html#details">More...</a></p> | 66 | ·<a·href="a01498.html#details">More...</a></p> |
67 | <p><code>#include·<<a·class="el"·href="a000 | 67 | <p><code>#include·<<a·class="el"·href="a00056_source.html">types.hxx</a>></code></p> |
68 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 68 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
69 | <div·class="textblock"><p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·table.".·</p> | 69 | <div·class="textblock"><p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·table.".·</p> |
70 | <dl·class="deprecated"><dt><b><a·class="el"·href="a00239.html#_deprecated000039">Deprecated:</a></b></dt><dd>Use·<a·class="el"·href="a01470.html#a8bd03db93560766414f74258202f86fd">stream_from::table()</a>·instead.·</dd></dl> | 70 | <dl·class="deprecated"><dt><b><a·class="el"·href="a00239.html#_deprecated000039">Deprecated:</a></b></dt><dd>Use·<a·class="el"·href="a01470.html#a8bd03db93560766414f74258202f86fd">stream_from::table()</a>·instead.·</dd></dl> |
71 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 71 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
72 | <li><a·class="el"·href="a000 | 72 | <li><a·class="el"·href="a00056_source.html">types.hxx</a></li> |
73 | </ul> | 73 | </ul> |
74 | </div><!--·contents·--> | 74 | </div><!--·contents·--> |
75 | </div><!--·doc-content·--> | 75 | </div><!--·doc-content·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 77 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
78 | ··<ul> | 78 | ··<ul> |
79 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01498.html">from_table_t</a></li> | 79 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01498.html">from_table_t</a></li> |
Offset 62, 20 lines modified | Offset 62, 20 lines modified | ||
62 | ··<div·class="headertitle"><div·class="title">pqxx::from_query_t·Struct·Reference</div></div> | 62 | ··<div·class="headertitle"><div·class="title">pqxx::from_query_t·Struct·Reference</div></div> |
63 | </div><!--header--> | 63 | </div><!--header--> |
64 | <div·class="contents"> | 64 | <div·class="contents"> |
65 | <p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·query.".·· | 65 | <p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·query.".·· |
66 | ·<a·href="a01502.html#details">More...</a></p> | 66 | ·<a·href="a01502.html#details">More...</a></p> |
67 | <p><code>#include·<<a·class="el"·href="a000 | 67 | <p><code>#include·<<a·class="el"·href="a00056_source.html">types.hxx</a>></code></p> |
68 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 68 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
69 | <div·class="textblock"><p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·query.".·</p> | 69 | <div·class="textblock"><p>Marker·for·<a·class="el"·href="a01470.html">stream_from</a>·constructors:·"stream·from·query.".·</p> |
70 | <dl·class="deprecated"><dt><b><a·class="el"·href="a00239.html#_deprecated000040">Deprecated:</a></b></dt><dd>Use·<a·class="el"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">stream_from::query()</a>·instead.·</dd></dl> | 70 | <dl·class="deprecated"><dt><b><a·class="el"·href="a00239.html#_deprecated000040">Deprecated:</a></b></dt><dd>Use·<a·class="el"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">stream_from::query()</a>·instead.·</dd></dl> |
71 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 71 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
72 | <li><a·class="el"·href="a000 | 72 | <li><a·class="el"·href="a00056_source.html">types.hxx</a></li> |
73 | </ul> | 73 | </ul> |
74 | </div><!--·contents·--> | 74 | </div><!--·contents·--> |
75 | </div><!--·doc-content·--> | 75 | </div><!--·doc-content·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 77 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
78 | ··<ul> | 78 | ··<ul> |
79 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01502.html">from_query_t</a></li> | 79 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01502.html">from_query_t</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::thread_safety_model·Struct·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::thread_safety_model·Struct·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Descriptor·of·library's·thread-safety·model.·· | 68 | <p>Descriptor·of·library's·thread-safety·model.·· |
69 | ·<a·href="a01506.html#details">More...</a></p> | 69 | ·<a·href="a01506.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00074_source.html">util.hxx</a>></code></p> |
71 | <table·class="memberdecls"> | 71 | <table·class="memberdecls"> |
72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 72 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
73 | Public·Attributes</h2></td></tr> | 73 | Public·Attributes</h2></td></tr> |
74 | <tr·class="memitem:a3fe3fa8e530712e5228d2b5379871540"·id="r_a3fe3fa8e530712e5228d2b5379871540"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html#a3fe3fa8e530712e5228d2b5379871540">safe_libpq</a>·=·false</td></tr> | 74 | <tr·class="memitem:a3fe3fa8e530712e5228d2b5379871540"·id="r_a3fe3fa8e530712e5228d2b5379871540"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html#a3fe3fa8e530712e5228d2b5379871540">safe_libpq</a>·=·false</td></tr> |
75 | <tr·class="memdesc:a3fe3fa8e530712e5228d2b5379871540"><td·class="mdescLeft"> </td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<br·/></td></tr> | 75 | <tr·class="memdesc:a3fe3fa8e530712e5228d2b5379871540"><td·class="mdescLeft"> </td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<br·/></td></tr> |
76 | <tr·class="separator:a3fe3fa8e530712e5228d2b5379871540"><td·class="memSeparator"·colspan="2"> </td></tr> | 76 | <tr·class="separator:a3fe3fa8e530712e5228d2b5379871540"><td·class="memSeparator"·colspan="2"> </td></tr> |
77 | <tr·class="memitem:abe3528c0d2e42d6e98d80f0b45d79002"·id="r_abe3528c0d2e42d6e98d80f0b45d79002"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html#abe3528c0d2e42d6e98d80f0b45d79002">safe_kerberos</a>·=·false</td></tr> | 77 | <tr·class="memitem:abe3528c0d2e42d6e98d80f0b45d79002"·id="r_abe3528c0d2e42d6e98d80f0b45d79002"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html#abe3528c0d2e42d6e98d80f0b45d79002">safe_kerberos</a>·=·false</td></tr> |
Offset 140, 15 lines modified | Offset 140, 15 lines modified | ||
140 | <p>Is·the·underlying·libpq·build·thread-safe?·</p> | 140 | <p>Is·the·underlying·libpq·build·thread-safe?·</p> |
141 | <p·class="reference">Referenced·by·<a·class="el"·href="a00250.html#a9b0f6310d503591513a899899d20526e">pqxx::describe_thread_safety()</a>.</p> | 141 | <p·class="reference">Referenced·by·<a·class="el"·href="a00250.html#a9b0f6310d503591513a899899d20526e">pqxx::describe_thread_safety()</a>.</p> |
142 | </div> | 142 | </div> |
143 | </div> | 143 | </div> |
144 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 144 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
145 | <li><a·class="el"·href="a00 | 145 | <li><a·class="el"·href="a00074_source.html">util.hxx</a></li> |
146 | </ul> | 146 | </ul> |
147 | </div><!--·contents·--> | 147 | </div><!--·contents·--> |
148 | </div><!--·doc-content·--> | 148 | </div><!--·doc-content·--> |
149 | <!--·start·footer·part·--> | 149 | <!--·start·footer·part·--> |
150 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 150 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
151 | ··<ul> | 151 | ··<ul> |
152 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01506.html">thread_safety_model</a></li> | 152 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01506.html">thread_safety_model</a></li> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::zview·Class·Reference</div></div> | 65 | ··<div·class="headertitle"><div·class="title">pqxx::zview·Class·Reference</div></div> |
66 | </div><!--header--> | 66 | </div><!--header--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <p>Marker-type·wrapper:·zero-terminated·<code>std::string_view</code>.·· | 68 | <p>Marker-type·wrapper:·zero-terminated·<code>std::string_view</code>.·· |
69 | ·<a·href="a01510.html#details">More...</a></p> | 69 | ·<a·href="a01510.html#details">More...</a></p> |
70 | <p><code>#include·<<a·class="el"·href="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00038_source.html">zview.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::zview:</div> | 72 | Inheritance·diagram·for·pqxx::zview:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01509.png"·border="0"·usemap="#apqxx_1_1zview_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01509.png"·border="0"·usemap="#apqxx_1_1zview_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1zview_inherit__map"·id="apqxx_1_1zview_inherit__map"> | 75 | <map·name="apqxx_1_1zview_inherit__map"·id="apqxx_1_1zview_inherit__map"> |
76 | <area·shape="rect"·title="Marker-type·wrapper:·zero-terminated·std::string_view."·alt=""·coords="39,167,139,192"/> | 76 | <area·shape="rect"·title="Marker-type·wrapper:·zero-terminated·std::string_view."·alt=""·coords="39,167,139,192"/> |
77 | <area·shape="rect"·title="·"·alt=""·coords="26,93,151,119"/> | 77 | <area·shape="rect"·title="·"·alt=""·coords="26,93,151,119"/> |
Offset 399, 15 lines modified | Offset 399, 15 lines modified | ||
399 | <p>Either·a·null·pointer,·or·a·zero-terminated·text·buffer.·</p> | 399 | <p>Either·a·null·pointer,·or·a·zero-terminated·text·buffer.·</p> |
400 | <p·class="reference">Referenced·by·<a·class="el"·href="a01402.html#a82b0f360dc1be25306ee58b27856457f">pqxx::result::column_number()</a>,·<a·class="el"·href="a00250.html#a204a7f521845d2fa16035b60eab9ddbb">pqxx::encrypt_password()</a>,·and·<a·class="el"·href="a01110.html#a0724de6ed0e9b65267967adaa34c4f78">pqxx::connection::encrypt_password()</a>.</p> | 400 | <p·class="reference">Referenced·by·<a·class="el"·href="a01402.html#a82b0f360dc1be25306ee58b27856457f">pqxx::result::column_number()</a>,·<a·class="el"·href="a00250.html#a204a7f521845d2fa16035b60eab9ddbb">pqxx::encrypt_password()</a>,·and·<a·class="el"·href="a01110.html#a0724de6ed0e9b65267967adaa34c4f78">pqxx::connection::encrypt_password()</a>.</p> |
401 | </div> | 401 | </div> |
402 | </div> | 402 | </div> |
403 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 403 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
404 | <li><a·class="el"·href="a00 | 404 | <li><a·class="el"·href="a00038_source.html">zview.hxx</a></li> |
405 | </ul> | 405 | </ul> |
406 | </div><!--·contents·--> | 406 | </div><!--·contents·--> |
407 | </div><!--·doc-content·--> | 407 | </div><!--·doc-content·--> |
408 | <!--·start·footer·part·--> | 408 | <!--·start·footer·part·--> |
409 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 409 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
410 | ··<ul> | 410 | ··<ul> |
411 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01510.html">zview</a></li> | 411 | ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01510.html">zview</a></li> |
Offset 76, 93 lines modified | Offset 76, 93 lines modified | ||
76 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a> | 76 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a> |
77 | Directories</h2></td></tr> | 77 | Directories</h2></td></tr> |
78 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_09456df80b5baeba1147d2b9ef5f002c.html">doc</a></td></tr> | 78 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_09456df80b5baeba1147d2b9ef5f002c.html">doc</a></td></tr> |
79 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 79 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
80 | </table><table·class="memberdecls"> | 80 | </table><table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
82 | Files</h2></td></tr> | 82 | Files</h2></td></tr> |
83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00023_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>array.hxx</b></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>binarystring.hxx</b></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00047_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>blob.hxx</b></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00071_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>composite.hxx</b></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00113_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>config-internal-autotools.h</b></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00086_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>config-internal-compiler.h</b></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00092_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>config-public-autotools.h</b></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00119_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>config-public-compiler.h</b></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0002 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00020_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>config.h</b></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>connection.hxx</b></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>cursor.hxx</b></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00116_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>dbtransaction.hxx</b></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00002_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>errorhandler.hxx</b></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>except.hxx</b></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>field.hxx</b></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0005 | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00050_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>isolation.hxx</b></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00029_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>largeobject.hxx</b></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00059_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>nontransaction.hxx</b></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0007 | 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00107_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>notification.hxx</b></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00089_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>params.hxx</b></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00065_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>pipeline.hxx</b></td></tr> |
124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>prepared_statement.hxx</b></td></tr> |
126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00068_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>range.hxx</b></td></tr> |
128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0004 | 129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00104_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>result.hxx</b></td></tr> |
130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00041_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>robusttransaction.hxx</b></td></tr> |
132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00044_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>row.hxx</b></td></tr> |
134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00077_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>separated_list.hxx</b></td></tr> |
136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00083_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>strconv.hxx</b></td></tr> |
138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00035_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>stream_from.hxx</b></td></tr> |
140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00005_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b></td></tr> | 141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00005_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b></td></tr> |
142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0001 | 143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00101_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>subtransaction.hxx</b></td></tr> |
144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00008_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>time.hxx</b></td></tr> |
146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>transaction.hxx</b></td></tr> |
148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b></td></tr> | 149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b></td></tr> |
150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
151 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 151 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>transaction_focus.hxx</b></td></tr> |
152 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 152 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
153 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 153 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>transactor.hxx</b></td></tr> |
154 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 154 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
155 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 155 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00056_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>types.hxx</b></td></tr> |
156 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 156 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
157 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 157 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00074_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>util.hxx</b></td></tr> |
158 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 158 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
159 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 159 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>version.hxx</b></td></tr> |
160 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 160 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
161 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 161 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00038_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>zview.hxx</b></td></tr> |
162 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 162 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
163 | </table> | 163 | </table> |
164 | </div><!--·contents·--> | 164 | </div><!--·contents·--> |
165 | </div><!--·doc-content·--> | 165 | </div><!--·doc-content·--> |
166 | <!--·start·footer·part·--> | 166 | <!--·start·footer·part·--> |
167 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 167 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
168 | ··<ul> | 168 | ··<ul> |
Offset 61, 15 lines modified | Offset 61, 15 lines modified | ||
61 | <div·class="header"> | 61 | <div·class="header"> |
62 | ··<div·class="headertitle"><div·class="title">src·Directory·Reference</div></div> | 62 | ··<div·class="headertitle"><div·class="title">src·Directory·Reference</div></div> |
63 | </div><!--header--> | 63 | </div><!--header--> |
64 | <div·class="contents"> | 64 | <div·class="contents"> |
65 | <table·class="memberdecls"> | 65 | <table·class="memberdecls"> |
66 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 66 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
67 | Files</h2></td></tr> | 67 | Files</h2></td></tr> |
68 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 68 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00179_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>pqxx-source.hxx</b></td></tr> |
69 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 69 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
70 | </table> | 70 | </table> |
71 | </div><!--·contents·--> | 71 | </div><!--·contents·--> |
72 | </div><!--·doc-content·--> | 72 | </div><!--·doc-content·--> |
73 | <!--·start·footer·part·--> | 73 | <!--·start·footer·part·--> |
74 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 74 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
75 | ··<ul> | 75 | ··<ul> |
Offset 55, 15 lines modified | Offset 55, 15 lines modified | ||
55 | ··</div> | 55 | ··</div> |
56 | ··<div·id="splitbar"·style="-moz-user-select:none;"· | 56 | ··<div·id="splitbar"·style="-moz-user-select:none;"· |
57 | ·······class="ui-resizable-handle"> | 57 | ·······class="ui-resizable-handle"> |
58 | ··</div> | 58 | ··</div> |
59 | </div> | 59 | </div> |
60 | <script·type="text/javascript"> | 60 | <script·type="text/javascript"> |
61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ | 61 | /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt·MIT·*/ |
62 | $(document).ready(function(){initNavTree('a00 | 62 | $(document).ready(function(){initNavTree('a00179_source.html','');·initResizable();·}); |
63 | /*·@license-end·*/ | 63 | /*·@license-end·*/ |
64 | </script> | 64 | </script> |
65 | <div·id="doc-content"> | 65 | <div·id="doc-content"> |
66 | <div·class="header"> | 66 | <div·class="header"> |
67 | ··<div·class="headertitle"><div·class="title">pqxx-source.hxx</div></div> | 67 | ··<div·class="headertitle"><div·class="title">pqxx-source.hxx</div></div> |
68 | </div><!--header--> | 68 | </div><!--header--> |
69 | <div·class="contents"> | 69 | <div·class="contents"> |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | ··Streams:···········1 | 1 | ··Streams:···········1 |
2 | ··Blocks:············1 | 2 | ··Blocks:············1 |
3 | ··Compressed·size:···176 | 3 | ··Compressed·size:···1762.7·KiB·(1805040·B) |
4 | ··Uncompressed·size:·8750.0·KiB·(8960000·B) | 4 | ··Uncompressed·size:·8750.0·KiB·(8960000·B) |
5 | ··Ratio:·············0.20 | 5 | ··Ratio:·············0.201 |
6 | ··Check:·············CRC64 | 6 | ··Check:·············CRC64 |
7 | ··Stream·Padding:····0·B | 7 | ··Stream·Padding:····0·B |
8 | ··Streams: | 8 | ··Streams: |
9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding | 9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding |
10 | ·········1·········1···············0···············0·········1805 | 10 | ·········1·········1···············0···············0·········1805040·········8960000··0.201··CRC64············0 |
11 | ··Blocks: | 11 | ··Blocks: |
12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check | 12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check |
13 | ·········1·········1··············12···············0·········1805 | 13 | ·········1·········1··············12···············0·········1805000·········8960000··0.201··CRC64 |