Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | ·3135df8147bad7706c8ef2b7413ddff1·2326116·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_armhf.deb | 1 | ·3135df8147bad7706c8ef2b7413ddff1·2326116·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_armhf.deb |
2 | ·5471663a6322ee724babca5011aeef7c·177088·libs·optional·libpqxx-7.8t64_7.8.1-2.1_armhf.deb | 2 | ·5471663a6322ee724babca5011aeef7c·177088·libs·optional·libpqxx-7.8t64_7.8.1-2.1_armhf.deb |
3 | ·e86d60650bbe0a92207b5a09726bb483·355220·libdevel·optional·libpqxx-dev_7.8.1-2.1_armhf.deb | 3 | ·e86d60650bbe0a92207b5a09726bb483·355220·libdevel·optional·libpqxx-dev_7.8.1-2.1_armhf.deb |
4 | · | 4 | ·ca858c66290e2894b2c0c564407512f2·1821628·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····16364·2024-02-28·19:39:58.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··18050 | 3 | -rw-r--r--···0········0········0··1805072·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/a00218_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 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)····29095·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)·····4546·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)····17615·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)····49711·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00011_source.html | ||
54 | -rw-r--r--···0·root·········(0)·root·········(0)····16864·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a000 | 58 | -rw-r--r--···0·root·········(0)·root·········(0)····16864·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00014_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 | ||
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 | ||
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 | 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)····19625·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)····84 | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····8440·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00020_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)···· | 61 | -rw-r--r--···0·root·········(0)·root·········(0)····59524·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00023_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/a000 | 62 | -rw-r--r--···0·root·········(0)·root·········(0)···110355·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00026_source.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 63 | -rw-r--r--···0·root·········(0)·root·········(0)·····4221·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00029_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/a000 | 64 | -rw-r--r--···0·root·········(0)·root·········(0)····16501·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)····26859·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)····50782·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00038_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/a000 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····31542·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)····12552·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)····92920·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)····60709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00050_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/a0005 | 71 | -rw-r--r--···0·root·········(0)·root·········(0)····12101·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00053_source.html |
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/a000 | 72 | -rw-r--r--···0·root·········(0)·root·········(0)····25867·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)····73883·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)···115169·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)····14410·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)····12205·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)····51677·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)·····3609·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)····57531·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)···137425·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)····19201·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)····11715·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)····91868·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)····84065·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00095_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/a000 | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····25736·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00098_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 | ||
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)····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/a001 | 87 | -rw-r--r--···0·root·········(0)·root·········(0)·····4789·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)····29915·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)····19625·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)···113680·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)·····3659·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 | 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 |
93 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 93 | -rw-r--r--···0·root·········(0)·root·········(0)···115762·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/a00218_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:·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 1, 99 lines modified | Offset 1, 171 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | errorhandler.hxx | ||
3 | 2 | zview.hxx | |
3 | 1/*·Zero-terminated·string·view. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·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 | 15 | ||
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 1 | 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/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 | 2 | 23 | 21namespace·_\x8p_\x8q_\x8x_\x8x |
24 | 22{ | ||
25 | 24 | ||
26 | _\x83_\x87class·_\x8z_\x8v_\x8i_\x8e_\x8w·:·public·std::string_view | ||
27 | 38{ | ||
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 | 28 | 39public: | |
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 | 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)} | ||
34 | 46·{} | ||
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·{} | ||
40 | 58 | 44 | 58 |
41 | 61 | ||
42 | 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·{} | ||
43 | 66 | 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·{} | ||
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 | 61 | 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 | 8 | 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} | ||
64 | 79 | 115}·//·namespace·pqxx | |
65 | 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 | ||
Max diff block lines reached; 4080/9677 bytes (42.16%) 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-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 1, 402 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 | stream_to.hxx | ||
3 | 1/*·Definition·of·the·pqxx::stream_to·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::stream_to·enables·optimized·batch·updates·to·a·database·table. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_to.hxx·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_STREAM_TO | ||
16 | 14#define·PQXX_H_STREAM_TO | ||
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/separated_list.hxx" | ||
23 | 21#include·"pqxx/transaction_base.hxx" | ||
24 | 22 | ||
25 | 23 | ||
26 | 24namespace·_\x8p_\x8q_\x8x_\x8x | ||
27 | 25{ | ||
28 | 27 | ||
29 | _\x88_\x80class·PQXX_LIBEXPORT·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
30 | 81{ | ||
31 | 82public: | ||
32 | 84 | ||
33 | _\x81_\x80_\x84·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·_\x8r_\x8a_\x8w_\x8__\x8t_\x8a_\x8b_\x8l_\x8e( | ||
34 | 105·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·path,·std::string_view·columns·=·"") | ||
35 | 106·{ | ||
36 | 107·return·{tx,·path,·columns}; | ||
37 | 108·} | ||
38 | 109 | ||
39 | 111 | ||
40 | _\x81_\x82_\x80·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·_\x8t_\x8a_\x8b_\x8l_\x8e( | ||
41 | 121·_\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, | ||
42 | 122·std::initializer_list<std::string_view>·columns·=·{}) | ||
43 | 123·{ | ||
44 | 124·auto·const·&conn{tx._\x8c_\x8o_\x8n_\x8n()}; | ||
45 | 125·return·raw_table(tx,·conn.quote_table(path),·conn.quote_columns(columns)); | ||
46 | 126·} | ||
47 | 127 | ||
48 | 128#if·defined(PQXX_HAVE_CONCEPTS) | ||
49 | 130 | ||
50 | 137·template<PQXX_CHAR_STRINGS_ARG·COLUMNS> | ||
51 | 138·static·stream_to | ||
52 | 139·table(transaction_base·&tx,·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·path,·COLUMNS·const·&columns) | ||
53 | 140·{ | ||
54 | 141·auto·const·&conn{tx.conn()}; | ||
55 | 142·return·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o_\x8:_\x8:_\x8r_\x8a_\x8w_\x8__\x8t_\x8a_\x8b_\x8l_\x8e( | ||
56 | 143·tx,·conn.quote_table(path),·tx.conn().quote_columns(columns)); | ||
57 | 144·} | ||
58 | 145 | ||
59 | 147 | ||
60 | 154·template<PQXX_CHAR_STRINGS_ARG·COLUMNS> | ||
61 | 155·static·stream_to | ||
62 | 156·table(transaction_base·&tx,·std::string_view·path,·COLUMNS·const·&columns) | ||
63 | 157·{ | ||
64 | 158·return·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o_\x8:_\x8:_\x8r_\x8a_\x8w_\x8__\x8t_\x8a_\x8b_\x8l_\x8e(tx,·path,·tx.conn().quote_columns(columns)); | ||
65 | 159·} | ||
66 | 160#endif·//·PQXX_HAVE_CONCEPTS | ||
67 | 161 | ||
68 | 163 | ||
69 | _\x81_\x87_\x82·[[deprecated("Use·table()·or·raw_table()·factory.")]]·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o( | ||
70 | 173·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·table_name)·: | ||
71 | 174·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o{tx,·table_name,·""sv} | ||
72 | 175·{} | ||
73 | 176 | ||
74 | 178 | ||
75 | 180·template<typename·Columns> | ||
76 | 181·[[deprecated("Use·table()·or·raw_table()·factory.")]]·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o( | ||
77 | 182·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&,·std::string_view·table_name,·Columns·const·&columns); | ||
78 | 183 | ||
79 | 185 | ||
80 | 187·template<typename·Iter> | ||
81 | 188·[[deprecated("Use·table()·or·raw_table()·factory.")]]·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o( | ||
82 | 189·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&,·std::string_view·table_name,·Iter·columns_begin, | ||
83 | 190·Iter·columns_end); | ||
84 | 191 | ||
85 | _\x81_\x89_\x82·explicit·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·&&other)·: | ||
86 | 193·//·(This·first·step·only·moves·the·transaction_focus·base-class | ||
87 | 194·//·object.) | ||
88 | 195·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{std::move(other)}, | ||
89 | 196·m_finished{other.m_finished}, | ||
90 | 197·m_buffer{std::move(other.m_buffer)}, | ||
91 | 198·m_field_buf{std::move(other.m_field_buf)}, | ||
92 | 199·m_finder{other.m_finder} | ||
93 | 200·{ | ||
94 | 201·other.m_finished·=·true; | ||
95 | 202·} | ||
96 | 203·_\x8~_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o()·noexcept; | ||
97 | 204 | ||
98 | _\x82_\x80_\x86·[[nodiscard]]·constexpr·operator·bool()·const·noexcept | ||
99 | 207·{ | ||
100 | 208·return·not·m_finished; | ||
101 | 209·} | ||
102 | _\x82_\x81_\x81·[[nodiscard]]·constexpr·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!()·const·noexcept | ||
103 | 212·{ | ||
104 | 213·return·m_finished; | ||
105 | 214·} | ||
106 | 215 | ||
107 | 217 | ||
108 | 223·void·complete(); | ||
109 | 224 | ||
110 | 226 | ||
111 | _\x82_\x83_\x85·template<typename·Row>·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<(Row·const·&_\x8r_\x8o_\x8w) | ||
112 | 236·{ | ||
113 | 237·write_row(_\x8r_\x8o_\x8w); | ||
114 | 238·return·*this; | ||
115 | 239·} | ||
116 | 240 | ||
117 | 242 | ||
118 | 246·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<(_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m·&); | ||
Max diff block lines reached; 206/15261 bytes (1.35%) 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 1, 71 lines modified | Offset 1, 112 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 | 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 | ||
7 | 16 | 14#if·!defined(PQXX_HEADER_PRE) | |
8 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | |
9 | 1 | 18 | 16#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 | 19 | 17 |
17 | 18 | ||
18 | 1 | 20 | 18#include·<functional> |
21 | 19#include·<type_traits> | ||
19 | 20 | 22 | 20 |
23 | 21#include·"pqxx/connection.hxx" | ||
24 | 22#include·"pqxx/transaction.hxx" | ||
25 | 23 | ||
20 | 2 | 26 | 24namespace·_\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 | 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} | ||
56 | 81 | 151}·//·namespace·pqxx | |
82 | 153#endif | ||
Max diff block lines reached; 1860/5893 bytes (31.56%) 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:·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 1, 607 lines modified | Offset 1, 334 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | field.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_FIELD | ||
16 | 14#define·PQXX_H_FIELD | ||
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·<optional> | ||
23 | 21 | ||
24 | 22#include·"pqxx/array.hxx" | ||
25 | 23#include·"pqxx/composite.hxx" | ||
26 | 24#include·"pqxx/result.hxx" | ||
27 | 2 | 22 | 20#include·"pqxx/internal/concat.hxx" |
23 | 21#include·"pqxx/internal/statement_parameters.hxx" | ||
28 | 2 | 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 | ||
29 | 27 | 28 | 27{ |
30 | 28namespace·_\x8p_\x8q_\x8x_\x8x | ||
31 | 29 | 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); | ||
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 | 35 | 51} |
47 | 57 | ||
48 | 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) | ||
49 | 74 | 42 | 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 | 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 | ||
55 | 83 | 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) | ||
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 | 54 | 103{ |
66 | 109 | ||
67 | _\x81_\x81_\x83·[[nodiscard]]·PQXX_PURE·std::string_view·_\x8v_\x8i_\x8e_\x8w()·const·& | ||
68 | 114·{ | ||
69 | 1 | 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 | 112namespace·_\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)); | ||
70 | 1 | 76 | 136·} |
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 | 77 | 137 |
Max diff block lines reached; 27495/34212 bytes (80.37%) 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:·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 1, 9 lines modified | Offset 1, 99 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | prepared_statement.hxx | ||
3 | 1 | ||
4 | 2 | ||
5 | 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 | ||
6 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 96 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
7 | ····*·_\x8p_\x8q_\x8x_\x8x | 97 | ····*·_\x8p_\x8q_\x8x_\x8x |
8 | ····*· | 98 | ····*·e.er.rr.ro.or.rh.ha.an.nd.dl.le.er.r.\x8.h\x8hx\x8xx\x8x |
9 | ····*·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:·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 1, 122 lines modified | Offset 1, 44 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | version.hxx | ||
3 | 1/*·Version·info·for·libpqxx. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·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#if·!defined(PQXX_H_VERSION) | ||
14 | 12#·define·PQXX_H_VERSION | ||
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 | 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 | ||
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 | 25 | 27 |
26 | 28#·define·PQXX_VERSION_CHECK·check_pqxx_version_7_8 | ||
27 | 29 | ||
28 | 30namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
29 | 31{ | ||
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 | 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 | 55}·//·namespace·pqxx::internal | ||
33 | 56#endif | ||
34 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
35 | Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself. | ||
36 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·composite.hxx:84 | ||
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 | Library·version·check·stub. | ||
40 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·version.cxx:23 | ||
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 | ||
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 | ||
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 | ||
82 | 79/*·Define·if·g++·supports·visibility·attribute.·*/ | ||
83 | 80#define·PQXX_HAVE_GCC_VISIBILITY·1 | ||
84 | 81 | ||
85 | 82/*·Define·if·likely·&·unlikely·work.·*/ | ||
86 | 83/*·#undef·PQXX_HAVE_LIKELY·*/ | ||
87 | 84 | ||
88 | 85/*·Define·if·compiler·has·usable·std::filesystem::path.·*/ | ||
89 | 86#define·PQXX_HAVE_PATH·1 | ||
90 | 87 | ||
Max diff block lines reached; 146/5251 bytes (2.78%) 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_to.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 1, 548 lines modified | Offset 1, 402 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | array.hxx | ||
3 | 2 | stream_to.hxx | |
3 | 1/*·Definition·of·the·pqxx::stream_to·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::stream_to·enables·optimized·batch·updates·to·a·database·table. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_to.hxx·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_ARRAY | ||
14 | 12#define·PQXX_H_ARRAY | ||
15 | 13 | 15 | 13#ifndef·PQXX_H_STREAM_TO |
16 | 14#define·PQXX_H_STREAM_TO | ||
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 | ||
22 | 20#include·"pqxx/separated_list.hxx" | ||
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 | 2 | 23 | 21#include·"pqxx/transaction_base.hxx" |
24 | 22 | ||
25 | 23 | ||
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 | 26 | 24namespace·_\x8p_\x8q_\x8x_\x8x | |
27 | 25{ | ||
28 | 27 | ||
29 | _\x88_\x80class·PQXX_LIBEXPORT·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s | ||
30 | 81{ | ||
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 | 31 | 82public: | |
32 | 84 | ||
33 | _\x81_\x80_\x84·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·_\x8r_\x8a_\x8w_\x8__\x8t_\x8a_\x8b_\x8l_\x8e( | ||
34 | 105·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·path,·std::string_view·columns·=·"") | ||
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 | 10 | 35 | 106·{ |
36 | 107·return·{tx,·path,·columns}; | ||
70 | 105·static_assert(sizeof...(index)·==·DIMENSIONS); | ||
71 | 106·return·m_elts[locate(index...)]; | ||
72 | 10 | 37 | 108·} |
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 | 1 | 38 | 109 |
39 | 111 | ||
40 | _\x81_\x82_\x80·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o·_\x8t_\x8a_\x8b_\x8l_\x8e( | ||
41 | 121·_\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, | ||
42 | 122·std::initializer_list<std::string_view>·columns·=·{}) | ||
43 | 123·{ | ||
44 | 124·auto·const·&conn{tx._\x8c_\x8o_\x8n_\x8n()}; | ||
45 | 125·return·raw_table(tx,·conn.quote_table(path),·conn.quote_columns(columns)); | ||
46 | 126·} | ||
47 | 127 | ||
48 | 128#if·defined(PQXX_HAVE_CONCEPTS) | ||
83 | 130 | 49 | 130 |
84 | 50 | 137·template<PQXX_CHAR_STRINGS_ARG·COLUMNS> | |
51 | 138·static·stream_to | ||
52 | 139·table(transaction_base·&tx,·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·path,·COLUMNS·const·&columns) | ||
85 | 14 | 53 | 140·{ |
86 | 14 | 54 | 141·auto·const·&conn{tx.conn()}; |
55 | 142·return·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8t_\x8o_\x8:_\x8:_\x8r_\x8a_\x8w_\x8__\x8t_\x8a_\x8b_\x8l_\x8e( | ||
56 | 143·tx,·conn.quote_table(path),·tx.conn().quote_columns(columns)); | ||
87 | 14 | 57 | 144·} |
58 | 145 | ||
59 | 147 | ||
60 | 154·template<PQXX_CHAR_STRINGS_ARG·COLUMNS> | ||
61 | 155·static·stream_to | ||
62 | 156·table(transaction_base·&tx,·std::string_view·path,·COLUMNS·const·&columns) | ||
88 | 149 | ||
89 | 151 | ||
90 | _\x81_\x85_\x83·constexpr·auto·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·m_elts.front();·} | ||
91 | 154 | ||
Max diff block lines reached; 26388/34346 bytes (76.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:·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 1, 112 lines modified | Offset 1, 655 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | transactor.hxx | ||
3 | 2 | row.hxx | |
3 | 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 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. | ||
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_ROW |
14 | 1 | 16 | 14#define·PQXX_H_ROW |
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·<functional> | ||
21 | 19#include·<type_traits> | ||
22 | 20 | ||
23 | 2 | 22 | 20#include·"pqxx/except.hxx" |
23 | 21#include·"pqxx/field.hxx" | ||
24 | 22#include·"pqxx/ | 24 | 22#include·"pqxx/result.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 | 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 | 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; | ||
33 | 103 | 79 | 103 |
80 | _\x81_\x80_\x84·[[nodiscard]]·constexpr·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept | ||
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 | 10 | 81 | 105·{ |
40 | 1 | 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 | ||
41 | 11 | 88 | 113·{ |
42 | 11 | 89 | 114·return·m_index; |
43 | 11 | 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 | ||
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 | 12 | 97 | 129·{ |
98 | 130·return·column_type(column_number(col_name)); | ||
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 | ||
Max diff block lines reached; 30809/36847 bytes (83.61%) 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 1, 757 lines modified | Offset 1, 12 lines modified | Diff chunk too large, falling back to line-by-line diff (7 lines added, 752 lines removed) | |
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | 2 | config-public-compiler.h | |
3 | 1/*· | 3 | 1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/ |
4 | 2 | 4 | 2 |
5 | 3 | 5 | 3#define·PQXX_HAVE_GCC_PURE·1 |
6 | 4· | 6 | 4#define·PQXX_HAVE_GCC_VISIBILITY·1 |
7 | 5 | 7 | 5#define·PQXX_HAVE_PATH·1 |
8 | 6· | 8 | 6#define·PQXX_HAVE_STRERROR_R·1 |
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 | ||
24 | 22 | ||
25 | 23namespace·_\x8p_\x8q_\x8x_\x8x | ||
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 | ||
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 | ||
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 | _\x88_\x89·[[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 | ||
56 | 90·{ | ||
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 | 104·} | ||
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·{ | ||
77 | 115·return·m_id·<·other.m_id; | ||
78 | 116·} | ||
79 | 118 | ||
80 | _\x81_\x81_\x89·[[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 | ||
81 | 120·{ | ||
82 | 121·return·m_id·>·other.m_id; | ||
83 | 122·} | ||
84 | 124 | ||
85 | 126 | ||
86 | 130·void·to_file(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·file)·const; | ||
87 | 131 | ||
88 | 133 | ||
89 | 137·void·remove(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t)·const; | ||
90 | 138 | ||
91 | 139protected: | ||
92 | 140·PQXX_PURE·static·internal::pq::PGconn·* | ||
93 | 141·raw_connection(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·const·&T); | ||
94 | 142 | ||
95 | 143·PQXX_PRIVATE·std::string·reason(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&,·int·err)·const; | ||
96 | 144 | ||
97 | 145private: | ||
98 | 146·oid·m_id·=·_\x8o_\x8i_\x8d_\x8__\x8n_\x8o_\x8n_\x8e; | ||
99 | 147}; | ||
100 | 148 | ||
101 | 149 | ||
102 | 151 | ||
103 | _\x81_\x85_\x83class·PQXX_LIBEXPORT·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s·:·private·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t | ||
104 | 154{ | ||
105 | 155public: | ||
106 | 156·using·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
107 | _\x81_\x85_\x87·using·_\x8o_\x8f_\x8f_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
108 | _\x81_\x85_\x88·using·_\x8p_\x8o_\x8s_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
109 | 159 | ||
110 | 161 | ||
111 | _\x81_\x86_\x88·using·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·=·std::ios::openmode; | ||
112 | 169 | ||
113 | _\x81_\x87_\x81·static·constexpr·auto·default_mode{ | ||
114 | 172·std::ios::in·|·std::ios::out·|·std::ios::binary}; | ||
115 | 173 | ||
116 | _\x81_\x87_\x85·using·_\x8s_\x8e_\x8e_\x8k_\x8d_\x8i_\x8r·=·std::ios::seekdir; | ||
117 | 176 | ||
118 | 178 | ||
119 | 183·[[deprecated("Use·blob·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s( | ||
120 | 184·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·mode·=·default_mode); | ||
121 | 185 | ||
122 | 187 | ||
123 | 194·[[deprecated("Use·blob·instead.")]]·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s( | ||
124 | 195·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·oid·o,·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·mode·=·default_mode); | ||
125 | 196 | ||
126 | 198 | ||
Max diff block lines reached; 206/33690 bytes (0.61%) 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:·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 1, 917 lines modified | Offset 1, 105 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | 2 | transaction.hxx | |
3 | 1/*·Definition·of·the· | 3 | 1/*·Definition·of·the·pqxx::transaction·class. |
4 | 2·*·pqxx::transaction·represents·a·standard·database·transaction. | ||
5 | 3·* | ||
4 | 2·* | ||
5 | 3·*·pqxx::connection·encapsulates·a·connection·to·a·database. | ||
6 | 4·* | ||
7 | 6 | 4·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead. | |
8 | 7 | 5·* | |
9 | 8 | 6·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | |
10 | 9 | 7·* | |
11 | 10 | 8·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 11 | 9·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 1 | 12 | 10·*·mistake,·or·contact·the·author. |
14 | 1 | 13 | 11·*/ |
15 | 1 | 14 | 12#ifndef·PQXX_H_TRANSACTION |
16 | 1 | 15 | 13#define·PQXX_H_TRANSACTION |
17 | 1 | 16 | 14 |
18 | 1 | 17 | 15#if·!defined(PQXX_HEADER_PRE) |
19 | 1 | 18 | 16#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
20 | 1 | 19 | 17#endif |
20 | 18 | ||
21 | 19#include·"pqxx/dbtransaction.hxx" | ||
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; | ||
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 | 34 | 33 |
35 | 34private: | ||
36 | 35·virtual·void·do_commit()·override; | ||
37 | 36}; | ||
38 | 37}·//·namespace·pqxx::internal | ||
39 | 38 | ||
40 | 39 | ||
41 | 40namespace·_\x8p_\x8q_\x8x_\x8x | ||
42 | 41{ | ||
43 | 46 | ||
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·{} | ||
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 | 93·{} | ||
62 | 94 | ||
63 | 95·virtual·~transaction()·noexcept·override·{·close();·} | ||
64 | 96}; | ||
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 | 39#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 | 77class·sql_cursor; | ||
51 | 78 | ||
52 | 79#if·defined(PQXX_HAVE_CONCEPTS) | ||
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 | 65 | 97 |
70 | 98 | 66 | 98 |
67 | 100using·work·=·transaction<>; | ||
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; | ||
Max diff block lines reached; 13284/39067 bytes (34.00%) 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 1, 338 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 | stream_from.hxx | ||
3 | 1/*·Definition·of·the·pqxx::stream_from·class. | ||
4 | 2·* | ||
5 | 3·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·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_STREAM_FROM | ||
16 | 14#define·PQXX_H_STREAM_FROM | ||
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."}; | ||
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·<cassert> | ||
23 | 21#include·<variant> | ||
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 | ||
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 | 28 | 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 | 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 | 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 | ||
55 | 88 | 66 | 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 | 102#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
62 | 103·} | ||
63 | 67 | 89namespace·_.p_.q_.x_.x | |
68 | 90{ | ||
69 | 92 | ||
70 | 94template<typename...·T> | ||
Max diff block lines reached; 14403/19677 bytes (73.20%) 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 1, 171 lines modified | Offset 1, 316 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | zview.hxx | ||
3 | 2 | result.hxx | |
3 | 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 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. | ||
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_RESULT |
14 | 1 | 16 | 14#define·PQXX_H_RESULT |
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 | ||
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 | ||
23 | 21namespace·_\x8p_\x8q_\x8x_\x8x | ||
24 | 2 | 22 | 20#include·<functional> |
23 | 21#include·<ios> | ||
24 | 22#include·<memory> | ||
25 | 23#include·<stdexcept> | ||
25 | 24 | 26 | 24 |
26 | 27 | 25#include·"pqxx/except.hxx" | |
28 | 26#include·"pqxx/types.hxx" | ||
29 | 27#include·"pqxx/util.hxx" | ||
30 | 28#include·"pqxx/zview.hxx" | ||
31 | 29 | ||
32 | 30#include·"pqxx/internal/encodings.hxx" | ||
33 | 31 | ||
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 | ||
27 | 38 | 40 | 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 | 41 | 39namespace·_.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l_.:_.:_.g_.a_.t_.e | |
42 | 40{ | ||
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 | ||
35 | 47 | 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; | ||
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 | 65 | 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 | 66 | _.8_.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 | ||
66 | 94 | 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; | ||
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 | 79 | 101 |
Max diff block lines reached; 11791/18579 bytes (63.46%) 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 1, 118 lines modified | Offset 1, 226 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | robusttransaction.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·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead. | ||
8 | 6·* | ||
9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
10 | 8·* | ||
11 | 7 | 5·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
12 | 8 | 6·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
13 | 9 | 7·*·mistake,·or·contact·the·author. | |
14 | 12·*/ | ||
15 | 13#ifndef·PQXX_H_ROBUSTTRANSACTION | ||
16 | 10 | 8·*/ | |
11 | 9#ifndef·PQXX_H_TYPES | ||
12 | 10#define·PQXX_H_TYPES | ||
13 | 11 | ||
14 | 12#if·!defined(PQXX_HEADER_PRE) | ||
15 | 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
16 | 14#endif | ||
17 | 15 | 17 | 15 |
18 | 16#if·!defined(PQXX_HEADER_PRE) | ||
19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
20 | 1 | 18 | 16#include·<cstddef> |
19 | 17#include·<cstdint> | ||
20 | 18#include·<iterator> | ||
21 | 19 | 21 | 19 |
22 | 20#include·"pqxx/dbtransaction.hxx" | ||
23 | 21 | ||
24 | 2 | 22 | 20#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) |
23 | 21#·include·<ranges> | ||
24 | 22#endif | ||
25 | 23 | 25 | 23 |
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; | ||
32 | 32 | ||
33 | _\x83_\x84using·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·int; | ||
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 | 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; | ||
37 | 36private: | ||
38 | 37·using·IDType·=·unsigned·long; | ||
39 | 38 | 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 | 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 | 40 | 44 |
46 | 45·//·@warning·This·function·will·become·`final`. | ||
47 | 4 | 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 | ||
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, | ||
48 | 74 | 84}; | |
49 | 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>; | ||
Max diff block lines reached; 6061/13192 bytes (45.94%) 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 1, 655 lines modified | Offset 1, 71 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | row.hxx | ||
3 | 2 | isolation.hxx | |
3 | 1/*·Definitions·for·transaction·isolation·levels,·and·such. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·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_ROW | ||
16 | 14#define·PQXX_H_ROW | ||
17 | 1 | 13 | 11#ifndef·PQXX_H_ISOLATION |
14 | 12#define·PQXX_H_ISOLATION | ||
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·"pqxx/util.hxx" | ||
21 | 19 | 21 | 19 |
22 | 20namespace·_\x8p_\x8q_\x8x_\x8x | ||
23 | 21{ | ||
22 | 20#include·"pqxx/except.hxx" | ||
23 | 21#include·"pqxx/field.hxx" | ||
24 | 22#include·"pqxx/result.hxx" | ||
25 | 23 | 24 | 23 |
25 | _\x82_\x86enum·class·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
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{ | 26 | 27{ |
30 | _\x82_\x88template<typename...·T>·class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8i_\x8t_\x8e_\x8r; | ||
31 | 29}·//·namespace·pqxx::internal | ||
32 | 27 | 28·_.r_.e_.a_.d_.__.o_.n_.l_.y, | |
28 | 29·_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e | ||
29 | 30}; | ||
33 | 31 | 30 | 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 | 31 | 32 | |
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; 13868/35039 bytes (39.58%) 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:·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 1, 229 lines modified | Offset 1, 607 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | blob.hxx | ||
3 | 2 | field.hxx | |
3 | 1/*·Definitions·for·the·pqxx::field·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::field·refers·to·a·field·in·a·query·result. |
6 | 4·* | 6 | 4·* |
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·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_FIELD |
16 | 14#define·PQXX_H_ | 16 | 14#define·PQXX_H_FIELD |
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·<optional> |
23 | 21 | 23 | 21 |
24 | 22#include·"pqxx/array.hxx" | ||
25 | 23#include·"pqxx/composite.hxx" | ||
26 | 24#include·"pqxx/result.hxx" | ||
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 | ||
31 | 29 | ||
32 | 30#if·defined(PQXX_HAVE_SPAN)·&&·__has_include(<span>) | ||
33 | 31#·include·<span> | ||
34 | 32#endif | ||
35 | 33 | ||
36 | 27 | 25#include·"pqxx/strconv.hxx" | |
37 | 35 | ||
38 | 28 | 26#include·"pqxx/types.hxx" | |
29 | 27 | ||
39 | 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; | ||
40 | 38 | 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 | ||
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 | ||
55 | 73 | ||
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 | ||
71 | 107#if·defined(PQXX_HAVE_SPAN) | ||
72 | 109 | 66 | 109 |
67 | _\x81_\x81_\x83·[[nodiscard]]·PQXX_PURE·std::string_view·_\x8v_\x8i_\x8e_\x8w()·const·& | ||
73 | 114·template<std::size_t·extent·=·std::dynamic_extent> | ||
74 | 115·std::span<std::byte>·read(std::span<std::byte,·extent>·buf) | ||
75 | 11 | 68 | 114·{ |
76 | 11 | 69 | 115·return·std::string_view(c_str(),·size()); |
77 | 11 | 70 | 116·} |
71 | 117 | ||
72 | 119 | ||
73 | 128·[[nodiscard]]·PQXX_PURE·char·const·*c_str()·const·&; | ||
78 | 119#endif·//·PQXX_HAVE_SPAN | ||
79 | 120 | ||
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 | 74 | 129 |
84 | 130·return·{std::data(buf),·raw_read(std::data(buf),·std::size(buf))}; | ||
Max diff block lines reached; 23359/29639 bytes (78.81%) 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:·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 1, 71 lines modified | Offset 1, 421 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | isolation.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 | 11#ifndef·PQXX_H_ISOLATION | ||
14 | 12#define·PQXX_H_ISOLATION | ||
15 | 13 | 15 | 13#ifndef·PQXX_H_CURSOR |
16 | 14#define·PQXX_H_CURSOR | ||
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·"pqxx/util.hxx" | ||
21 | 19 | 21 | 19 |
22 | 20#include·<limits> | ||
23 | 21#include·<stdexcept> | ||
24 | 22 | ||
25 | 23#include·"pqxx/result.hxx" | ||
26 | 24#include·"pqxx/transaction_base.hxx" | ||
27 | 25 | ||
28 | 26 | ||
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 | ||
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 | ||
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·}; | ||
44 | 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 | _\x89_\x83·}; | ||
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 | ||
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 | 110·return·(std::numeric_limits<int>::max)()·-·1; | ||
68 | 111·} | ||
69 | 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 | 123·return·-1; | ||
78 | 124·} | ||
79 | 125 | ||
80 | 127 | ||
81 | _\x81_\x82_\x89·[[nodiscard]]·static·constexpr·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8b_\x8a_\x8c_\x8k_\x8w_\x8a_\x8r_\x8d_\x8__\x8a_\x8l_\x8l()·noexcept | ||
82 | 130·{ | ||
83 | 131·return·(std::numeric_limits<int>::min)()·+·1; | ||
84 | 132·} | ||
85 | 133 | ||
86 | 135 | ||
87 | 137 | ||
88 | _\x81_\x84_\x82·[[nodiscard]]·constexpr·std::string·const·&_\x8n_\x8a_\x8m_\x8e()·const·noexcept | ||
89 | 143·{ | ||
90 | 144·return·m_name; | ||
91 | 145·} | ||
92 | 146 | ||
93 | 147protected: | ||
94 | 148·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&,·std::string_view·Name,·bool·embellish_name·= | ||
95 | true); | ||
96 | 149 | ||
97 | _\x81_\x85_\x80·std::string·const·_\x8m_\x8__\x8n_\x8a_\x8m_\x8e; | ||
98 | 151}; | ||
99 | 152}·//·namespace·pqxx | ||
100 | 153 | ||
101 | 154 | ||
102 | 155#include·<pqxx/internal/sql_cursor.hxx> | ||
103 | 156 | ||
104 | 157 | ||
105 | 158namespace·_\x8p_\x8q_\x8x_\x8x | ||
106 | 159{ | ||
107 | 161 | ||
108 | 167template<cursor_base::update_policy·up,·cursor_base::ownership_policy·op> | ||
109 | _\x81_\x86_\x88class·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8l_\x8e_\x8s_\x8s_\x8__\x8c_\x8u_\x8r_\x8s_\x8o_\x8r | ||
110 | 169{ | ||
111 | 170public: | ||
112 | _\x81_\x87_\x81·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; | ||
113 | _\x81_\x87_\x82·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; | ||
114 | 173 | ||
115 | 175 | ||
116 | _\x81_\x88_\x83·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8l_\x8e_\x8s_\x8s_\x8__\x8c_\x8u_\x8r_\x8s_\x8o_\x8r( | ||
117 | 184·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·query,·std::string_view·cname, | ||
118 | 185·bool·hold)·: | ||
119 | 186·m_cur{tx,·query,·cname,·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e::random_access,·up,·op,·hold} | ||
120 | 187·{} | ||
121 | 188 | ||
122 | 190 | ||
Max diff block lines reached; 7789/17666 bytes (44.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:·transaction.hxx·Source·File</title> | 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 1, 105 lines modified | Offset 1, 70 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | transaction.hxx | 2 | nontransaction.hxx |
3 | 1/*·Definition·of·the·pqxx::transaction·class. | 3 | 1/*·Definition·of·the·pqxx::nontransaction·class. |
4 | 2·*·pqxx::transaction·represents·a·standard·database·transaction. | ||
5 | 4 | 2·* | |
5 | 3·*·pqxx::nontransaction·provides·nontransactional·database·access | ||
6 | 4·* | ||
6 | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead. | |
7 | 8 | 6·* | |
8 | 9 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | |
9 | 10 | 8·* | |
10 | 11 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
11 | 12 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
12 | 1 | 13 | 11·*·mistake,·or·contact·the·author. |
13 | 1 | 14 | 12·*/ |
14 | 1 | 15 | 13#ifndef·PQXX_H_NONTRANSACTION |
15 | 1 | 16 | 14#define·PQXX_H_NONTRANSACTION |
16 | 1 | 17 | 15 |
17 | 1 | 18 | 16#if·!defined(PQXX_HEADER_PRE) |
18 | 1 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
19 | 1 | 20 | 18#endif |
20 | 1 | 21 | 19 |
22 | 20#include·"pqxx/connection.hxx" | ||
23 | 21#include·"pqxx/result.hxx" | ||
21 | 24 | 22#include·"pqxx/transaction.hxx" | |
25 | 23 | ||
26 | 24namespace·_\x8p_\x8q_\x8x_\x8x | ||
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 | 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 | 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 | ||
33 | _\x8 | 41 | _\x87_.0·virtual·_.~_.n_.o_.n_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n()·override·{·close();·} |
34 | 42 | 71 | |
35 | 43 | 72private: | |
36 | 44 | 73·virtual·void·do_commit()·override·{} | |
45 | 74}; | ||
37 | 36}; | ||
38 | 37}·//·namespace·pqxx::internal | ||
39 | 38 | ||
40 | 39 | ||
41 | 40namespace·_\x8p_\x8q_\x8x_\x8x | ||
42 | 41{ | ||
43 | 46 | ||
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·{} | ||
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 | 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 | ||
72 | 46 | 75}·//·namespace·pqxx | |
73 | 47 | 76#endif | |
74 | _\x8p_\x8q_\x8x_\x8x | 48 | _\x8p_\x8q_\x8x_\x8x |
75 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | 49 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. |
76 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | 50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 |
77 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
78 | write_policy | ||
79 | Should·a·transaction·be·read-only,·or·read-write? | ||
80 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:27 | ||
81 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | ||
82 | isolation_level | ||
83 | Transaction·isolation·levels. | ||
84 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:66 | ||
85 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
86 | Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself. | ||
87 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·composite.hxx:84 | ||
88 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | 51 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n |
89 | Connection·to·a·database. | 52 | Connection·to·a·database. |
90 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253 | 53 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253 |
91 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8 | 54 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_.o_.n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n |
55 | Simple·"transaction"·class·offering·no·transactional·integrity. | ||
92 | Abstract·transaction·base·class:·bracket·transactions·on·the·database. | ||
93 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·dbtransaction.hxx:54 | ||
94 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\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 | ||
95 | Helper·base·class·for·the·transaction·class·template. | ||
96 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transaction.hxx: | 56 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·nontransaction.hxx:56 |
57 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
58 | nontransaction(connection·&c,·std::string_view·tname=""sv) | ||
59 | Constructor. | ||
60 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·nontransaction.hxx:64 | ||
97 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8 | 61 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_.o_.n_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.:_.:_.~_.n_.o_.n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n |
98 | virtual·~ | 62 | virtual·~nontransaction()·override |
99 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8z_\x8v_\x8i_\x8e_\x8w | ||
100 | 63 | D.De.ef.fi.in.ni.it.ti.io.on.n·nontransaction.hxx:70 | |
64 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e | ||
65 | Interface·definition·(and·common·code)·for·"transaction"·classes. | ||
101 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 66 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transaction_base.hxx:88 |
Max diff block lines reached; 188/6577 bytes (2.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:·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 1, 226 lines modified | Offset 1, 156 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | types.hxx | ||
3 | 2 | separated_list.hxx | |
3 | 1/*·Helper·similar·to·Python's·`str.join()`. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·C | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·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_SEPARATED_LIST | ||
14 | 12#define·PQXX_H_SEPARATED_LIST | ||
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·<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? | ||
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 | ||
26 | 24 | ||
27 | 2 | 28 | 26namespace·_\x8p_\x8q_\x8x_\x8x |
29 | 27{ | ||
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 | 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) | ||
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 | 35 | 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 | 6 | 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); | ||
60 | 65 | 55 | 65 |
61 | _\x86_\x87struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t | ||
62 | 68{}; | ||
63 | 69 | ||
64 | 71 | ||
65 | _\x87_\x83struct·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t | ||
66 | 74{}; | ||
67 | 75 | ||
68 | 56 | 66·char·*const·data{_.r_.e_.s_.u_.l_.t.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} | ||
69 | 78 | 68 | 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 | 69 | 79 | |
70 | 81template<typename·ITER> | ||
71 | 82[[nodiscard]]·inline·std::string | ||
72 | _\x88_\x83_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·ITER·begin,·ITER·end) | ||
Max diff block lines reached; 8887/13676 bytes (64.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:·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 1, 70 lines modified | Offset 1, 479 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | nontransaction.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_NONTRANSACTION | ||
16 | 14#define·PQXX_H_NONTRANSACTION | ||
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 | 1 | 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 | ||
22 | 35 | 33#include·"pqxx/except.hxx" | |
23 | 36 | 34#include·"pqxx/util.hxx" | |
24 | 22#include·"pqxx/transaction.hxx" | ||
25 | 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 | ||
26 | 46 | 45namespace·_\x8p_\x8q_\x8x_\x8x | |
47 | 46{ | ||
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 | 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(); | ||
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 | ||
84 | 146 | ||
85 | 148 | ||
86 | _\x81_\x85_\x84template<typename·TYPE>·struct·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8a_\x8i_\x8t_\x8s | ||
87 | 155{ | ||
88 | 157 | ||
89 | _\x81_\x86_\x80·static·constexpr·bool·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8s_\x8__\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g{false}; | ||
90 | 161 | ||
91 | 163 | ||
92 | _\x81_\x86_\x86·static·constexpr·bool·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t_\x8s_\x8__\x8f_\x8r_\x8o_\x8m_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g{false}; | ||
93 | 167 | ||
94 | 169 | ||
95 | 188·[[nodiscard]]·static·inline·_\x8z_\x8v_\x8i_\x8e_\x8w | ||
96 | _\x81_\x88_\x89·_\x8t_\x8o_\x8__\x8b_\x8u_\x8f(char·*begin,·char·*end,·TYPE·const·&value); | ||
97 | 190 | ||
98 | 192·/*·@warning·A·null·value·has·no·string·representation.·Do·not·pass·a·null. | ||
99 | 193·* | ||
100 | 194·*·Writes·value's·string·representation·into·the·buffer,·starting·exactly·at | ||
101 | 195·*·@c·begin,·and·ensuring·a·trailing·zero.·Returns·the·address·just·beyond | ||
102 | 196·*·the·trailing·zero,·so·the·caller·could·use·it·as·the·@c·begin·for·another | ||
103 | 197·*·call·to·@c·into_buf·writing·a·next·value. | ||
104 | 198·*/ | ||
105 | _\x81_\x89_\x89·static·inline·char·*_\x8i_\x8n_\x8t_\x8o_\x8__\x8b_\x8u_\x8f(char·*begin,·char·*end,·TYPE·const·&value); | ||
106 | 200 | ||
Max diff block lines reached; 8676/20690 bytes (41.93%) 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:·transaction_base.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 1, 352 lines modified | Offset 1, 750 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | binarystring.hxx | ||
3 | 2 | transaction_base.hxx | |
3 | 1/*·Common·code·and·definitions·for·the·transaction·classes. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·pqxx::transaction_base·defines·the·interface·for·any·abstract·class·that | ||
6 | 4·*·represents·a·database·transaction. | ||
7 | 5·* | ||
5 | 8 | 6·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction_base·instead. | |
6 | 9 | 7·* | |
7 | 10 | 8·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | |
8 | 11 | 9·* | |
9 | 12 | 10·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 13 | 11·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 14 | 12·*·mistake,·or·contact·the·author. | |
12 | 1 | 15 | 13·*/ |
13 | 11#ifndef·PQXX_H_BINARYSTRING | ||
14 | 12#define·PQXX_H_BINARYSTRING | ||
15 | 1 | 16 | 14#ifndef·PQXX_H_TRANSACTION_BASE |
17 | 15#define·PQXX_H_TRANSACTION_BASE | ||
18 | 16 | ||
16 | 1 | 19 | 17#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 20 | 18#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 21 | 19#endif |
22 | 20 | ||
19 | 17 | ||
20 | 18#include·<memory> | ||
21 | 19#include·<string> | ||
22 | 2 | 23 | 21#include·<string_view> |
23 | 2 | 24 | 22 |
25 | 23/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own | ||
26 | 24·*·transaction·classes.·This·is·not·something·the·typical·program·should·want | ||
27 | 25·*·to·do. | ||
28 | 26·* | ||
29 | 27·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public | ||
30 | 28·*·interface·for·the·available·transaction·classes·such·as·transaction·and | ||
31 | 29·*·nontransaction. | ||
32 | 30·*/ | ||
33 | 31 | ||
34 | 32#include·"pqxx/connection.hxx" | ||
35 | 33#include·"pqxx/internal/concat.hxx" | ||
36 | 34#include·"pqxx/internal/encoding_group.hxx" | ||
37 | 35#include·"pqxx/internal/stream_query.hxx" | ||
38 | 36#include·"pqxx/isolation.hxx" | ||
24 | 39 | 37#include·"pqxx/result.hxx" | |
25 | 40 | 38#include·"pqxx/row.hxx" | |
26 | 41 | 39#include·"pqxx/util.hxx" | |
42 | 40 | ||
43 | 41namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
44 | 42{ | ||
45 | 43class·transaction_subtransaction; | ||
46 | 44class·transaction_sql_cursor; | ||
47 | 45class·transaction_stream_to; | ||
48 | 46class·transaction_transaction_focus; | ||
49 | 47}·//·namespace·pqxx::internal::gate | ||
50 | 48 | ||
51 | 49 | ||
27 | 52 | 50namespace·_\x8p_\x8q_\x8x_\x8x | |
53 | 51{ | ||
54 | 52using·namespace·std::literals; | ||
55 | 53 | ||
56 | 54 | ||
57 | 55class·transaction_focus; | ||
58 | 56 | ||
59 | 57 | ||
28 | 26{ | ||
29 | 27class·binarystring; | ||
30 | 28template<>·struct·string_traits<binarystring>; | ||
31 | 29 | ||
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 | 60 | 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 | 61 | _.8_.7class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e | |
62 | 88{ | ||
63 | 89public: | ||
64 | _\x89_\x80·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e()·=·delete; | ||
65 | _\x89_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
66 | _\x89_\x82·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&&)·=·delete; | ||
67 | _\x89_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
68 | _\x89_\x84·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&&)·=·delete; | ||
69 | 95 | ||
70 | 96·virtual·_\x8~_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e()·=·0; | ||
64 | 97 | 71 | 97 |
72 | 99 | ||
73 | 112·void·commit(); | ||
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); | ||
Max diff block lines reached; 41389/49879 bytes (82.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:·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 1, 202 lines modified | Offset 1, 229 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | pipeline.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·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 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. | 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_BLOB |
16 | 14#define·PQXX_H_ | 16 | 14#define·PQXX_H_BLOB |
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> | ||
24 | 2 | 22 | 20#include·<cstdint> |
25 | 23 | ||
26 | 2 | 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 | ||
29 | 39 | 37namespace·_\x8p_\x8q_\x8x_\x8x | |
40 | 38{ | ||
41 | _\x85_\x82class·PQXX_LIBEXPORT·_\x8b_\x8l_\x8o_\x8b | ||
42 | 53{ | ||
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 | 5 | 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); | ||
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 | 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 | ||
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 | 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 | 56 | _.7_.6·_.b_.l_.o_.b()·=·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); | ||
65 | 106 | 70 | 106 |
66 | 108 | ||
67 | 116·void·cancel(); | ||
68 | 117 | ||
69 | 1 | 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 | ||
70 | 120 | 79 | 120 |
71 | 122 | ||
72 | 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) | ||
73 | 129·{ | 83 | 129·{ |
74 | 130·return· | 84 | 130·return·{std::data(buf),·raw_read(std::data(buf),·std::size(buf))}; |
75 | 131·} | 85 | 131·} |
76 | 132 | 86 | 132#else·//·PQXX_HAVE_CONCEPTS·&&·PQXX_HAVE_SPAN |
77 | 134 | 87 | 134 |
88 | 146·template<typename·ALLOC> | ||
Max diff block lines reached; 7028/13320 bytes (52.76%) 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 1, 686 lines modified | Offset 1, 81 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 | 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 | ||
6 | 18 | 16#if·!defined(PQXX_HEADER_PRE) | |
7 | 19 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | |
8 | 20 | 18#endif | |
21 | 19 | ||
22 | 20#include·<string> | ||
23 | 21 | ||
24 | 22#include·"pqxx/types.hxx" | ||
25 | 23 | ||
26 | 24 | ||
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 | 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{ | ||
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 | 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 | ||
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 | 8 | 48 | 89private: |
49 | 90·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&m_conn; | ||
50 | 91·std::string·m_channel; | ||
51 | 92}; | ||
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 | ||
Max diff block lines reached; 13547/34149 bytes (39.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:· | 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 1, 155 lines modified | Offset 1, 71 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | 2 | time.hxx | |
3 | 1 | ||
3 | 4 | 5#ifndef·PQXX_H_TIME | |
4 | 5 | 6#define·PQXX_H_TIME | |
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 | 6 | 7 |
10 | 8#include·"pqxx/internal/array-composite.hxx" | ||
11 | 9#include·"pqxx/internal/concat.hxx" | ||
12 | 7 | 8#if·!defined(PQXX_HEADER_PRE) | |
8 | 9#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | ||
9 | 10#endif | ||
13 | 11 | 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 | ||
14 | 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); | ||
15 | 13{ | ||
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)}; | ||
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} | 37 | 66·} |
50 | 67 | 38 | 67 |
51 | 68 | 39 | 68·static·char·* |
40 | 69·into_buf(char·*begin,·char·*end,·std::chrono::year_month_day·const·&value); | ||
52 | 70 | 41 | 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 | 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·} | ||
59 | 81 | 52 | 81 |
53 | 82private: | ||
54 | 84·static·constexpr·std::string_view·s_bc{"·BC"sv}; | ||
55 | 85}; | ||
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 | 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 | ||
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; 2071/7672 bytes (26.99%) 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 1, 614 lines modified | Offset 1, 338 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | util.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_UTIL | ||
14 | 12#define·PQXX_H_UTIL | ||
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 | 1 | 21 | 19 |
20 | 22 | 20#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> | ||
30 | 2 | 23 | 21#include·<variant> |
24 | 22 | ||
25 | 23#include·"pqxx/connection.hxx" | ||
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 | 26 | 24#include·"pqxx/except.hxx" | |
38 | 36#include·"pqxx/types.hxx" | ||
39 | 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 | ||
34 | 32namespace·_\x8p_\x8q_\x8x_\x8x | ||
35 | 33{ | ||
36 | 34class·transaction_base; | ||
37 | 35 | ||
38 | 36 | ||
40 | 38 | 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; | ||
41 | 39 | ||
42 | 41namespace·_\x8p_\x8q_\x8x_\x8x | ||
43 | 42{} | ||
44 | 43 | ||
45 | 44#include·<pqxx/internal/libpq-forward.hxx> | ||
46 | 45 | 43 | 45 |
47 | 46 | 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 | 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; | ||
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 | 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) | ||
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 | ||
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 | ||
Max diff block lines reached; 26141/36594 bytes (71.44%) 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-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 1, 156 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 | 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 | 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} | ||
68 | 78 | ||
69 | 79 | ||
70 | 81template<typename·ITER> | ||
71 | 82[[nodiscard]]·inline·std::string | ||
72 | _\x88_\x83_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·ITER·begin,·ITER·end) | ||
73 | 84{ | ||
74 | 85·return·_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(sep,·begin,·end,·[](ITER·i)·{·return·*i;·}); | ||
75 | 86} | ||
76 | 87 | ||
77 | 88 | ||
78 | 89//·C++20:·Use·a·concept. | ||
79 | 91template<typename·CONTAINER> | ||
80 | 92[[nodiscard]]·inline·auto | ||
81 | _\x89_\x83_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·CONTAINER·const·&c) | ||
82 | 94·/* | ||
83 | 95·Always·std::string;·necessary·because·SFINAE·doesn't·work·with·the | ||
84 | 96·contents·of·function·bodies,·so·the·check·for·iterability·has·to·be·in | ||
85 | 97·the·signature. | ||
86 | 98·*/ | ||
87 | 99·->·typename·std::enable_if< | ||
88 | 100·(not·std::is_void<decltype(std::begin(c))>::value·and | ||
89 | 101·not·std::is_void<decltype(std::end(c))>::value), | ||
90 | 102·std::string>::type | ||
91 | 103{ | ||
92 | 104·return·_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(sep,·std::begin(c),·std::end(c)); | ||
93 | 105} | ||
94 | 106 | ||
95 | 107 | ||
96 | 109template< | ||
97 | 110·typename·TUPLE,·std::size_t·INDEX·=·0,·typename·ACCESS, | ||
98 | 111·typename·std::enable_if< | ||
99 | 112·(INDEX·==·std::tuple_size<TUPLE>::value·-·1),·int>::type·=·0> | ||
100 | _\x81_\x81_\x83[[nodiscard]]·inline·std::string·_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t( | ||
101 | 114·std::string_view·/*·sep·*/,·TUPLE·const·&t,·ACCESS·const·&access) | ||
102 | 115{ | ||
103 | 116·return·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(access(&std::get<INDEX>(t))); | ||
104 | 117} | ||
105 | 118 | ||
106 | 119template< | ||
107 | 120·typename·TUPLE,·std::size_t·INDEX·=·0,·typename·ACCESS, | ||
108 | 121·typename·std::enable_if< | ||
109 | 122·(INDEX·<·std::tuple_size<TUPLE>::value·-·1),·int>::type·=·0> | ||
110 | 123[[nodiscard]]·inline·std::string | ||
111 | 124_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·TUPLE·const·&t,·ACCESS·const·&access) | ||
112 | 125{ | ||
113 | 126·std::string·out{_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(access(&std::get<INDEX>(t)))}; | ||
114 | 127·out.append(sep); | ||
115 | 128·out.append(separated_list<TUPLE,·INDEX·+·1>(sep,·t,·access)); | ||
116 | 129·return·out; | ||
117 | 130} | ||
118 | 131 | ||
119 | 132template< | ||
120 | 133·typename·TUPLE,·std::size_t·INDEX·=·0, | ||
121 | 134·typename·std::enable_if< | ||
122 | 135·(INDEX·<=·std::tuple_size<TUPLE>::value),·int>::type·=·0> | ||
123 | 136[[nodiscard]]·inline·std::string | ||
124 | _\x81_\x83_\x87_\x8s_\x8e_\x8p_\x8a_\x8r_\x8a_\x8t_\x8e_\x8d_\x8__\x8l_\x8i_\x8s_\x8t(std::string_view·sep,·TUPLE·const·&t) | ||
Max diff block lines reached; 218/5977 bytes (3.65%) 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 1, 159 lines modified | Offset 1, 352 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 | 2 | binarystring.hxx | |
3 | 1/*·Deprecated·representation·for·raw,·binary·data. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·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_BINARYSTRING | ||
14 | 12#define·PQXX_H_BINARYSTRING | ||
15 | 13 | ||
7 | 1 | 16 | 14#if·!defined(PQXX_HEADER_PRE) |
8 | 1 | 17 | 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
9 | 1 | 18 | 16#endif |
10 | 15 | ||
11 | 16#include·"pqxx/util.hxx" | ||
12 | 17 | 19 | 17 |
13 | 18namespace·_\x8p_\x8q_\x8x_\x8x | ||
14 | 1 | 20 | 18#include·<memory> |
21 | 19#include·<string> | ||
22 | 20#include·<string_view> | ||
15 | 21 | 23 | 21 |
16 | 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>; | ||
17 | 29 | 31 | 29 |
32 | 30 | ||
33 | 32 | ||
34 | _\x85_\x88class·PQXX_LIBEXPORT·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g | ||
35 | 59{ | ||
18 | 36 | 60public: | |
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 | 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} | ||
27 | 63 | 96·{} | |
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 | 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 | 133 | ||
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; | ||
32 | 44 | 110 | 144 |
Max diff block lines reached; 13542/25103 bytes (53.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:·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 1, 479 lines modified | Offset 1, 917 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | strconv.hxx | ||
3 | 2 | connection.hxx | |
3 | 1/*·Definition·of·the·connection·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::connection·encapsulates·a·connection·to·a·database. |
6 | 4·* | 6 | 4·* |
7 | 5·*·C | 7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·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_STRCONV | ||
14 | 12#define·PQXX_H_STRCONV | ||
15 | 13 | 15 | 13#ifndef·PQXX_H_CONNECTION |
16 | 14#define·PQXX_H_CONNECTION | ||
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 | 1 | 21 | 19 |
22 | 20#include·<cstddef> | ||
21 | 23 | 21#include·<ctime> | |
24 | 22#include·<initializer_list> | ||
22 | 2 | 25 | 23#include·<list> |
23 | 21#include·<sstream> | ||
24 | 2 | 26 | 24#include·<map> |
27 | 25#include·<memory> | ||
28 | 26#include·<string_view> | ||
25 | 2 | 29 | 27#include·<tuple> |
26 | 24 | ||
27 | 25#if·__has_include(<charconv>) | ||
28 | 26#·include·<charconv> | ||
29 | 27#endif | ||
30 | 28 | 30 | 28 |
31 | 29//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning | ||
32 | (#418). | ||
31 | 33 | 30#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) | |
32 | 3 | 34 | 31#·include·<ranges> |
33 | 3 | 35 | 32#endif |
34 | 3 | 36 | 33 |
37 | 34#include·"pqxx/errorhandler.hxx" | ||
35 | 3 | 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 | 39#include·"pqxx/strconv.hxx" | ||
43 | 40#include·"pqxx/types.hxx" | ||
36 | 44 | 41#include·"pqxx/util.hxx" | |
37 | 45 | 42#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 | 46 | 43 |
45 | 44 | 47 | 44 |
46 | 45namespace·_\x8p_\x8q_\x8x_\x8x | ||
47 | 46{ | ||
48 | 71 | ||
49 | 7 | 48 | 75namespace·_.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l |
49 | 76{ | ||
50 | 77class·sql_cursor; | ||
51 | 78 | ||
52 | 79#if·defined(PQXX_HAVE_CONCEPTS) | ||
50 | 81template<typename·T | 53 | 81template<typename·T> |
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 | 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 | ||
66 | 110 | 75 | 110 |
67 | 111 | 76 | _.1_.1_.1namespace·_.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l_.:_.:_.g_.a_.t_.e |
68 | 112 | 77 | 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 | 1 | 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; | ||
Max diff block lines reached; 47933/52737 bytes (90.89%) 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:·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 1, 14 lines modified | Offset 1, 118 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 | 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 | ||
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 | ||
52 | 51namespace·_\x8p_\x8q_\x8x_\x8x | ||
53 | 52{ | ||
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{ | ||
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·{} | ||
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 | ||
79 | 119}·//·namespace·pqxx | ||
80 | 120#endif | ||
81 | _\x8p_\x8q_\x8x_\x8x | ||
82 | The·home·of·all·libpqxx·classes,·functions,·templates,·etc. | ||
83 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 | ||
84 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
85 | write_policy | ||
86 | Should·a·transaction·be·read-only,·or·read-write? | ||
87 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·isolation.hxx:27 | ||
88 | _\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 | ||
89 | @·read_write | ||
90 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l | ||
91 | Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself. | ||
92 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·composite.hxx:84 | ||
93 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
94 | Connection·to·a·database. | ||
95 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253 | ||
96 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n | ||
97 | Abstract·transaction·base·class:·bracket·transactions·on·the·database. | ||
98 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·dbtransaction.hxx:54 | ||
99 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\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 | ||
100 | Helper·base·class·for·the·robusttransaction·class·template. | ||
101 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·robusttransaction.hxx:27 | ||
102 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\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_\x8:_\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 | ||
103 | virtual·~basic_robusttransaction()·override=0 | ||
104 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\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_\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 | ||
105 | basic_robusttransaction(connection·&c,·zview·begin_command,·std::string_view | ||
106 | tname) | ||
107 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·robusttransaction.cxx:104 | ||
108 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e_\x8:_\x8:_\x8c_\x8l_\x8o_\x8s_\x8e | ||
109 | void·close()·noexcept | ||
110 | End·transaction.·To·be·called·by·implementing·class'·destructor. | ||
111 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transaction_base.cxx:343 | ||
112 | _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8z_\x8v_\x8i_\x8e_\x8w | ||
113 | Marker-type·wrapper:·zero-terminated·std::string_view. | ||
114 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·zview.hxx:38 | ||
11 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 115 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
12 | ····*·_\x8p_\x8q_\x8x_\x8x | 116 | ····*·_\x8p_\x8q_\x8x_\x8x |
13 | ····*· | 117 | ····*·r.ro.ob.bu.us.st.tt.tr.ra.an.ns.sa.ac.ct.ti.io.on.n...h.hx.xx.x |
14 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 118 | ····*·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:·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 1, 334 lines modified | Offset 1, 66 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | params.hxx | ||
3 | 2 | subtransaction.hxx | |
3 | 1/*·Definition·of·the·pqxx::subtransaction·class. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*· | 5 | 3·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a |
6 | transaction. | ||
6 | 4·* | 7 | 4·* |
7 | 5·*·C | 8 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead. |
8 | 6·* | 9 | 6·* |
10 | 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
11 | 8·* | ||
9 | 12 | 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | |
10 | 13 | 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | |
11 | 14 | 11·*·mistake,·or·contact·the·author. | |
12 | 1 | 15 | 12·*/ |
13 | 11#ifndef·PQXX_H_PARAMS | ||
14 | 12#define·PQXX_H_PARAMS | ||
15 | 13 | 16 | 13#ifndef·PQXX_H_SUBTRANSACTION |
17 | 14#define·PQXX_H_SUBTRANSACTION | ||
18 | 15 | ||
16 | 1 | 19 | 16#if·!defined(PQXX_HEADER_PRE) |
17 | 1 | 20 | 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
18 | 1 | 21 | 18#endif |
19 | 17 | ||
20 | 18#include·<array> | ||
21 | 19 | 22 | 19 |
23 | 20#include·"pqxx/dbtransaction.hxx" | ||
24 | 21 | ||
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 | 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 | ||
63 | 25 | 22namespace·_\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 | 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{ | ||
68 | 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 | ||
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·} | ||
Max diff block lines reached; 5544/14468 bytes (38.32%) 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 1, 8 lines modified | Offset 1, 614 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 | util.hxx | |
3 | 1/*·Various·utility·definitions·for·libpqxx. | ||
4 | 2·* | ||
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·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_UTIL | ||
14 | 12#define·PQXX_H_UTIL | ||
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·<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> | ||
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 | 36#include·"pqxx/types.hxx" | ||
39 | 37#include·"pqxx/version.hxx" | ||
40 | 38 | ||
41 | 39 | ||
42 | 41namespace·_\x8p_\x8q_\x8x_\x8x | ||
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 | ||
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); | ||
100 | 104#endif | ||
101 | 105} | ||
102 | 106 | ||
103 | 107 | ||
104 | 108//·C++20:·Retire·wrapper. | ||
105 | 110template<typename·LEFT,·typename·RIGHT> | ||
106 | _\x81_\x81_\x81inline·constexpr·bool·_\x8c_\x8m_\x8p_\x8__\x8g_\x8r_\x8e_\x8a_\x8t_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l(LEFT·lhs,·RIGHT·rhs)·noexcept | ||
107 | 112{ | ||
108 | 113#if·defined(PQXX_HAVE_CMP) | ||
109 | 114·return·std::cmp_greater_equal(lhs,·rhs); | ||
110 | 115#else | ||
111 | 116·return·not·_\x8c_\x8m_\x8p_\x8__\x8l_\x8e_\x8s_\x8s(lhs,·rhs); | ||
112 | 117#endif | ||
113 | 118} | ||
114 | 119 | ||
115 | 120 | ||
116 | 122 | ||
117 | _\x81_\x82_\x85[[nodiscard]]·inline·std::string·_\x8c_\x8a_\x8t_\x82(std::string_view·x,·std::string_view | ||
118 | y) | ||
119 | 126{ | ||
120 | 127·std::string·buf; | ||
121 | 128·auto·const·xs{std::size(x)},·ys{std::size(y)}; | ||
122 | 129·buf.resize(xs·+·ys); | ||
123 | 130·x.copy(std::data(buf),·xs); | ||
124 | 131·y.copy(std::data(buf)·+·xs,·ys); | ||
125 | 132·return·buf; | ||
Max diff block lines reached; 188/23207 bytes (0.81%) 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 1, 44 lines modified | Offset 1, 548 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | version.hxx | ||
3 | 2 | array.hxx | |
3 | 1/*·Handling·of·SQL·arrays. | ||
4 | 2·* | 4 | 2·* |
5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/ | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·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_ARRAY |
14 | 12# | 14 | 12#define·PQXX_H_ARRAY |
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 | 26#·define·PQXX_VERSION_MINOR·8 | ||
25 | 27 | ||
26 | 28#·define·PQXX_VERSION_CHECK·check_pqxx_version_7_8 | ||
27 | 29 | ||
28 | 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 | ||
29 | 31 | 33 | 31 |
34 | _\x83_\x82namespace·_\x8p_\x8q_\x8x_\x8x | ||
30 | 33 | 35 | 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 | 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]·!=·'{') | ||
Max diff block lines reached; 149/20825 bytes (0.72%) 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_ | 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 1, 750 lines modified | Offset 1, 159 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | transaction_ | 2 | transaction_focus.hxx |
3 | 1 | ||
3 | 1/*·Common·code·and·definitions·for·the·transaction·classes. | ||
4 | 2·* | ||
5 | 3·*·pqxx::transaction_base·defines·the·interface·for·any·abstract·class·that | ||
6 | 4·*·represents·a·database·transaction. | ||
7 | 5·* | ||
8 | 6·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction_base·instead. | ||
9 | 7·* | ||
10 | 8·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. | ||
11 | 9·* | ||
12 | 10·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called | ||
13 | 11·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this | ||
14 | 12·*·mistake,·or·contact·the·author. | ||
15 | 13·*/ | ||
16 | 4 | 9#ifndef·PQXX_H_TRANSACTION_FOCUS | |
17 | 1 | 5 | 10#define·PQXX_H_TRANSACTION_FOCUS |
18 | 1 | 6 | 11 |
19 | 1 | 7 | 12#if·!defined(PQXX_HEADER_PRE) |
20 | 1 | 8 | 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." |
21 | 1 | 9 | 14#endif |
10 | 15 | ||
22 | 20 | ||
23 | 21#include·<string_view> | ||
24 | 22 | ||
25 | 23/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own | ||
26 | 24·*·transaction·classes.·This·is·not·something·the·typical·program·should·want | ||
27 | 25·*·to·do. | ||
28 | 26·* | ||
29 | 27·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public | ||
30 | 28·*·interface·for·the·available·transaction·classes·such·as·transaction·and | ||
31 | 29·*·nontransaction. | ||
32 | 30·*/ | ||
33 | 31 | ||
34 | 32#include·"pqxx/connection.hxx" | ||
35 | 33#include·"pqxx/internal/concat.hxx" | ||
36 | 34#include·"pqxx/internal/encoding_group.hxx" | ||
37 | 35#include·"pqxx/internal/stream_query.hxx" | ||
38 | 36#include·"pqxx/isolation.hxx" | ||
39 | 37#include·"pqxx/result.hxx" | ||
40 | 38#include·"pqxx/row.hxx" | ||
41 | 11 | 16#include·"pqxx/util.hxx" | |
12 | 17 | ||
13 | 18namespace·_\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 | 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·{} | ||
42 | 40 | 28 | 40 |
43 | 41namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e | ||
44 | 42{ | ||
45 | 43class·transaction_subtransaction; | ||
46 | 44class·transaction_sql_cursor; | ||
47 | 45class·transaction_stream_to; | ||
48 | 46class·transaction_transaction_focus; | ||
49 | 4 | 29 | _.4_.1·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s(_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e·&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; | ||
50 | 48 | 36 | 48 |
37 | _\x85_\x80·[[nodiscard]]·constexpr·std::string_view·_\x8c_\x8l_\x8a_\x8s_\x8s_\x8n_\x8a_\x8m_\x8e()·const·noexcept | ||
51 | 49 | ||
52 | 50namespace·_\x8p_\x8q_\x8x_\x8x | ||
53 | 51{ | 38 | 51·{ |
54 | 52using·namespace·std::literals; | ||
55 | 5 | 39 | 52·return·m_classname; |
40 | 53·} | ||
56 | 54 | 41 | 54 |
42 | _\x85_\x86·[[nodiscard]]·std::string_view·_\x8n_\x8a_\x8m_\x8e()·const·&noexcept·{·return·m_name;·} | ||
57 | 55class·transaction_focus; | ||
58 | 56 | ||
59 | 57 | 43 | 57 |
44 | _\x85_\x88·[[nodiscard]]·std::string·_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8i_\x8o_\x8n()·const | ||
60 | 82 | ||
61 | _\x88_\x87class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e | ||
62 | 88{ | ||
63 | 89public: | ||
64 | _\x89_\x80·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e()·=·delete; | ||
65 | _\x89_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
66 | _\x89_\x82·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&&)·=·delete; | ||
67 | _\x89_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·const·&)·=·delete; | ||
68 | _\x89_\x84·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&&)·=·delete; | ||
69 | 95 | ||
70 | 96·virtual·_\x8~_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e()·=·0; | ||
71 | 97 | ||
72 | 99 | ||
73 | 112·void·commit(); | ||
74 | 113 | ||
75 | 115 | ||
76 | 118·void·abort(); | ||
77 | 119 | ||
78 | _\x81_\x83_\x81·template<typename...·ARGS>·[[nodiscard]]·auto·_\x8e_\x8s_\x8c(ARGS·&&...args)·const | ||
79 | 132·{ | ||
80 | 133·return·conn().esc(std::forward<ARGS>(args)...); | ||
81 | 134·} | ||
82 | 135 | ||
83 | 137 | ||
84 | _\x81_\x84_\x88·template<typename...·ARGS>·[[nodiscard]]·auto·_\x8e_\x8s_\x8c_\x8__\x8r_\x8a_\x8w(ARGS·&&...args)·const | ||
85 | 149·{ | ||
86 | 150·return·conn().esc_raw(std::forward<ARGS>(args)...); | ||
87 | 151·} | ||
88 | 152 | ||
89 | 154 | ||
90 | 157·[[nodiscard,·deprecated("Use·unesc_bin()·instead.")]]·std::string | ||
91 | _\x81_\x85_\x88·_\x8u_\x8n_\x8e_\x8s_\x8c_\x8__\x8r_\x8a_\x8w(_\x8z_\x8v_\x8i_\x8e_\x8w·_\x8t_\x8e_\x8x_\x8t)·const | ||
92 | 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); | ||
93 | 160#include·"pqxx/internal/ignore-deprecated-pre.hxx" | ||
94 | 161·return·conn().unesc_raw(_\x8t_\x8e_\x8x_\x8t); | ||
95 | 162#include·"pqxx/internal/ignore-deprecated-post.hxx" | ||
96 | 163·} | ||
97 | 164 | ||
98 | 166 | ||
Max diff block lines reached; 17810/39971 bytes (44.56%) 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-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 1, 66 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 | 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 | 12 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
64 | ····*·_\x8p_\x8q_\x8x_\x8x | 13 | ····*·_\x8p_\x8q_\x8x_\x8x |
65 | ····*· | 14 | ····*·c.co.on.nf.fi.ig.g-.-i.in.nt.te.er.rn.na.al.l-.-a.au.ut.to.ot.to.oo.ol.ls.s...h.h |
66 | ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 15 | ····*·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:·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 1, 316 lines modified | Offset 1, 202 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | result.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·< | 22 | 20#include·<limits> |
23 | 21#include·< | 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 | ||
24 | 22#include·<memory> | ||
25 | 23#include·<stdexcept> | ||
26 | 24 | ||
27 | 25#include·"pqxx/except.hxx" | ||
28 | 26#include·"pqxx/types.hxx" | ||
29 | 27#include·"pqxx/util.hxx" | ||
30 | 28#include·"pqxx/zview.hxx" | ||
31 | 29 | ||
32 | 30#include·"pqxx/internal/encodings.hxx" | ||
33 | 31 | ||
34 | 32 | 33 | 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 | ||
40 | 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 | 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 | _\x8 | 34 | _\x85_.0class·PQXX_LIBEXPORT·_.p_.i_.p_.e_.l_.i_.n_.e·:·public·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s |
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·} | ||
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(); | ||
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; | ||
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 | 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; | ||
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 | ||
82 | 114·{ | ||
83 | 115·return·not·operator==(rhs); | ||
84 | 116·} | ||
Max diff block lines reached; 14302/19018 bytes (75.20%) 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 1, 81 lines modified | Offset 1, 122 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
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 | 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 | 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 | 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 | 23 | 21 |
24 | 22#include·"pqxx/types.hxx" | ||
25 | 2 | 24 | 22/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/ |
25 | 23#define·HAVE_STRINGS_H·1 | ||
26 | 24 | 26 | 24 |
27 | 25namespace·_\x8p_\x8q_\x8x_\x8x | ||
28 | 26{ | ||
29 | 28 | ||
30 | 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 | ||
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·"" | ||
31 | 57 | 60 | 57 |
32 | 58 | 61 | 58/*·Define·to·the·version·of·this·package.·*/ |
62 | 59#define·PACKAGE_VERSION·"7.8.1" | ||
33 | 60 | 63 | 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= | ||
Max diff block lines reached; 161/7458 bytes (2.16%) 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 1, 421 lines modified | Offset 1, 686 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | range.hxx | ||
2 | cursor.hxx | ||
3 | 1/*·Definition·of·the·iterator/container-style·cursor·classes. | ||
4 | 2·* | ||
5 | 3·*·C++-style·wrappers·for·SQL·cursors. | ||
6 | 4·* | ||
7 | 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/cursor·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 | 1 | 3 | 1#ifndef·PQXX_H_RANGE |
16 | 14#define·PQXX_H_CURSOR | ||
17 | 4 | 2#define·PQXX_H_RANGE | |
5 | 3 | ||
18 | 6 | 4#if·!defined(PQXX_HEADER_PRE) | |
19 | 7 | 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." | |
20 | 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 | ||
21 | 19 | ||
22 | 20#include·<limits> | ||
23 | 21#include·<stdexcept> | ||
24 | 22 | ||
25 | 23#include·"pqxx/result.hxx" | ||
26 | 24#include·"pqxx/transaction_base.hxx" | ||
27 | 25 | ||
28 | 26 | ||
29 | 16 | 14namespace·_\x8p_\x8q_\x8x_\x8x | |
30 | 28{ | ||
31 | 30 | ||
32 | _\x84_\x81class·PQXX_LIBEXPORT·_\x8c_\x8u_\x8r_\x8s_\x8o_\x8r_\x8__\x8b_\x8a_\x8s_\x8e | ||
33 | 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 | ||
34 | 4 | 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} | ||
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 | ||
39 | _\x85_\x81·enum·_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | ||
40 | 5 | 44 | 51·{ |
41 | _\x85_\x84·_\x8f_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
42 | 56·random_access | ||
43 | _\x85_\x87·}; | ||
44 | 58 | ||
45 | 60 | ||
46 | 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)) | ||
47 | 6 | 54 | 61·{ |
48 | _\x86_\x86·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, | ||
49 | 68·update | ||
50 | _\x86_\x89·}; | ||
51 | 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}; | ||
52 | 72 | 64 | 72 |
53 | 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} | ||
54 | 8 | 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; | ||
55 | _\x89_\x80·_\x8o_\x8w_\x8n_\x8e_\x8d, | ||
56 | 92·loose | ||
57 | _\x89_\x83·}; | ||
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 | ||
Max diff block lines reached; 41482/45970 bytes (90.24%) 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 1, 15 lines modified | Offset 1, 9 lines modified | ||
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | config-internal-autotools.h | ||
3 | 2 | prepared_statement.hxx | |
3 | 1 | ||
4 | 2 | 4 | 2 |
5 | 3#include·"params.hxx" | ||
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" | ||
12 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 6 | ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
13 | ····*·_\x8p_\x8q_\x8x_\x8x | 7 | ····*·_\x8p_\x8q_\x8x_\x8x |
14 | ····*· | 8 | ····*·p.pr.re.ep.pa.ar.re.ed.d_._s.st.ta.at.te.em.me.en.nt.t...h.hx.xx.x |
15 | ····*·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:·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 1, 12 lines modified | Offset 1, 757 lines modified | Diff chunk too large, falling back to line-by-line diff (752 lines added, 7 lines removed) | |
1 | libpqxx 7.8.1 | 1 | libpqxx 7.8.1 |
2 | 2 | largeobject.hxx | |
3 | 1/*· | 3 | 1/*·Large·Objects·interface.·Deprecated;·use·blob·instead. |
4 | 2 | 4 | 2·* |
5 | 3 | 5 | 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead. |
6 | 4 | 6 | 4·* |
7 | 5 | 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 | ||
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 | ||
24 | 22 | ||
25 | 23namespace·_\x8p_\x8q_\x8x_\x8x | ||
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 | ||
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 | ||
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 | _\x88_\x89·[[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 | ||
56 | 90·{ | ||
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 | 104·} | ||
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·{ | ||
77 | 115·return·m_id·<·other.m_id; | ||
78 | 116·} | ||
79 | 118 | ||
80 | _\x81_\x81_\x89·[[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 | ||
81 | 120·{ | ||
82 | 121·return·m_id·>·other.m_id; | ||
83 | 122·} | ||
84 | 124 | ||
85 | 126 | ||
86 | 130·void·to_file(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·std::string_view·file)·const; | ||
87 | 131 | ||
88 | 133 | ||
89 | 137·void·remove(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t)·const; | ||
90 | 138 | ||
91 | 139protected: | ||
92 | 140·PQXX_PURE·static·internal::pq::PGconn·* | ||
93 | 141·raw_connection(_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·const·&T); | ||
94 | 142 | ||
95 | 143·PQXX_PRIVATE·std::string·reason(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&,·int·err)·const; | ||
96 | 144 | ||
97 | 145private: | ||
98 | 146·oid·m_id·=·_\x8o_\x8i_\x8d_\x8__\x8n_\x8o_\x8n_\x8e; | ||
99 | 147}; | ||
100 | 148 | ||
101 | 149 | ||
102 | 151 | ||
103 | _\x81_\x85_\x83class·PQXX_LIBEXPORT·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s·:·private·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t | ||
104 | 154{ | ||
105 | 155public: | ||
106 | 156·using·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
107 | _\x81_\x85_\x87·using·_\x8o_\x8f_\x8f_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
108 | _\x81_\x85_\x88·using·_\x8p_\x8o_\x8s_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
109 | 159 | ||
110 | 161 | ||
111 | _\x81_\x86_\x88·using·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·=·std::ios::openmode; | ||
112 | 169 | ||
113 | _\x81_\x87_\x81·static·constexpr·auto·default_mode{ | ||
114 | 172·std::ios::in·|·std::ios::out·|·std::ios::binary}; | ||
115 | 173 | ||
116 | _\x81_\x87_\x85·using·_\x8s_\x8e_\x8e_\x8k_\x8d_\x8i_\x8r·=·std::ios::seekdir; | ||
117 | 176 | ||
118 | 178 | ||
119 | 183·[[deprecated("Use·blob·instead.")]]·explicit·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s( | ||
120 | 184·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·mode·=·default_mode); | ||
121 | 185 | ||
122 | 187 | ||
123 | 194·[[deprecated("Use·blob·instead.")]]·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t_\x8a_\x8c_\x8c_\x8e_\x8s_\x8s( | ||
124 | 195·_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n·&t,·oid·o,·_\x8o_\x8p_\x8e_\x8n_\x8m_\x8o_\x8d_\x8e·mode·=·default_mode); | ||
125 | 196 | ||
126 | 198 | ||
Max diff block lines reached; 206/33690 bytes (0.61%) 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="a00095_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 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="a00095_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 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="a00080_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 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="a00080_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 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="a00080_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 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="a00065_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 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="a00083_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 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="a00083_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 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="a00050_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 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="a00050_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 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="a00014_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 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="a00014_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 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="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00047_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 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="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00047_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 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="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00047_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 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="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a00 | 72 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a00 | 73 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00119_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 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="a0005 | 70 | <p><code>#include·<<a·class="el"·href="a00053_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 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="a00 | 69 | <p><code>#include·<<a·class="el"·href="a00068_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 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="a00011_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 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="a00011_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 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="a00104_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 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="a00110_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 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="a00110_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 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="a00110_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 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="a00110_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 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="a00110_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 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="a00110_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 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="a00110_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 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="a00 | 71 | <p><code>#include·<<a·class="el"·href="a00038_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 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="a00086_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 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="a000 | 66 | <li><a·class="el"·href="a00026_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="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00026_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 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="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00026_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 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="a000 | 71 | <p><code>#include·<<a·class="el"·href="a00026_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00059_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 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="a00074_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 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | ··<div·class="headertitle"><div·class="title">pqxx::stream_to·Class·Reference</div></div> | 66 | ··<div·class="headertitle"><div·class="title">pqxx::stream_to·Class·Reference</div></div> |
67 | </div><!--header--> | 67 | </div><!--header--> |
68 | <div·class="contents"> | 68 | <div·class="contents"> |
69 | <p>Efficiently·write·data·directly·to·a·database·table.·· | 69 | <p>Efficiently·write·data·directly·to·a·database·table.·· |
70 | ·<a·href="a01474.html#details">More...</a></p> | 70 | ·<a·href="a01474.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">stream_to.hxx</a>></code></p> |
72 | <div·class="dynheader"> | 72 | <div·class="dynheader"> |
73 | Inheritance·diagram·for·pqxx::stream_to:</div> | 73 | Inheritance·diagram·for·pqxx::stream_to:</div> |
74 | <div·class="dyncontent"> | 74 | <div·class="dyncontent"> |
75 | <div·class="center"><img·src="a01473.png"·border="0"·usemap="#apqxx_1_1stream__to_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01473.png"·border="0"·usemap="#apqxx_1_1stream__to_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="apqxx_1_1stream__to_inherit__map"·id="apqxx_1_1stream__to_inherit__map"> | 76 | <map·name="apqxx_1_1stream__to_inherit__map"·id="apqxx_1_1stream__to_inherit__map"> |
77 | <area·shape="rect"·title="Efficiently·write·data·directly·to·a·database·table."·alt=""·coords="30,79,158,104"/> | 77 | <area·shape="rect"·title="Efficiently·write·data·directly·to·a·database·table."·alt=""·coords="30,79,158,104"/> |
78 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> | 78 | <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction's·attention."·alt=""·coords="5,5,183,31"/> |
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="a00 | 70 | <p><code>#include·<<a·class="el"·href="a00089_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 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="a00032_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 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ··<div·class="headertitle"><div·class="title">pqxx::transaction_base·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</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::transaction_base·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</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>Interface·definition·(and·common·code)·for·"transaction"·classes.·· | 68 | <p>Interface·definition·(and·common·code)·for·"transaction"·classes.·· |
69 | ·<a·href="a01490.html#details">More...</a></p> | 69 | ·<a·href="a01490.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">transaction_base.hxx</a>></code></p> |
71 | <div·class="dynheader"> | 71 | <div·class="dynheader"> |
72 | Inheritance·diagram·for·pqxx::transaction_base:</div> | 72 | Inheritance·diagram·for·pqxx::transaction_base:</div> |
73 | <div·class="dyncontent"> | 73 | <div·class="dyncontent"> |
74 | <div·class="center"><img·src="a01489.png"·border="0"·usemap="#apqxx_1_1transaction__base_inherit__map"·alt="Inheritance·graph"/></div> | 74 | <div·class="center"><img·src="a01489.png"·border="0"·usemap="#apqxx_1_1transaction__base_inherit__map"·alt="Inheritance·graph"/></div> |
75 | <map·name="apqxx_1_1transaction__base_inherit__map"·id="apqxx_1_1transaction__base_inherit__map"> | 75 | <map·name="apqxx_1_1transaction__base_inherit__map"·id="apqxx_1_1transaction__base_inherit__map"> |
76 | <area·shape="rect"·title="Interface·definition·(and·common·code)·for·"transaction"·classes."·alt=""·coords="5,102,179,127"/> | 76 | <area·shape="rect"·title="Interface·definition·(and·common·code)·for·"transaction"·classes."·alt=""·coords="5,102,179,127"/> |
77 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="231,77,381,102"/> | 77 | <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="231,77,381,102"/> |
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="a00098_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 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="a00041_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="a00041_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="a00041_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="a00041_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="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00092_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 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="a000 | 70 | <p><code>#include·<<a·class="el"·href="a00002_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 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="a00095_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="a00080_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="a00065_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="a00035_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="a001 | 91 | <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>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="a00005_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="a00077_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="a00 | 97 | <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>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="a00 | 99 | <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>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="a00083_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="a00050_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="a00116_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>dbtransaction.hxx</b></td></tr> | 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="a00014_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="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><b>except.hxx</b></td></tr> | 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="a000 | 111 | <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>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="a000 | 113 | <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>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="a00 | 115 | <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>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="a0005 | 117 | <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>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="a00 | 119 | <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>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="a00011_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="a00104_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="a00 | 125 | <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>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="a00110_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="a00 | 129 | <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>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="a00086_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="a000 | 133 | <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>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="a00056_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="a00059_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="a00074_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="a000 | 141 | <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>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="a00 | 143 | <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>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="a00071_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="a00032_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="a000 | 149 | <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>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="a00098_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="a00008_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="a00041_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="a000 | 157 | <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>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="a00020_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="a000 | 161 | <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>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="a00218_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('a00218_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"> |