4.08 MB
/srv/reproducible-results/rbuild-debian/r-b-build.BXPGYC0K/b1/libpqxx_7.8.1-2.1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.BXPGYC0K/b2/libpqxx_7.8.1-2.1_amd64.changes
483 B
Files
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
  
1 ·d7f0cf9bbcd85eb8fb9a0d88ab6ec8de·2262860·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_amd64.deb1 ·d7f0cf9bbcd85eb8fb9a0d88ab6ec8de·2262860·debug·optional·libpqxx-7.8t64-dbgsym_7.8.1-2.1_amd64.deb
2 ·63c908b3a74dfd5145c86950a02305b4·184872·libs·optional·libpqxx-7.8t64_7.8.1-2.1_amd64.deb2 ·63c908b3a74dfd5145c86950a02305b4·184872·libs·optional·libpqxx-7.8t64_7.8.1-2.1_amd64.deb
3 ·4bbbc854288b069086d1e1757c83c661·341096·libdevel·optional·libpqxx-dev_7.8.1-2.1_amd64.deb3 ·4bbbc854288b069086d1e1757c83c661·341096·libdevel·optional·libpqxx-dev_7.8.1-2.1_amd64.deb
4 ·8a9154b80e53163e7485009332567253·1821508·doc·optional·libpqxx-doc_7.8.1-2.1_all.deb4 ·d6b5e215df78964bfc7968d3b70c48c4·1821676·doc·optional·libpqxx-doc_7.8.1-2.1_all.deb
4.08 MB
libpqxx-doc_7.8.1-2.1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-02-28·19:39:58.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-02-28·19:39:58.000000·debian-binary
2 -rw-r--r--···0········0········0····16388·2024-02-28·19:39:58.000000·control.tar.xz2 -rw-r--r--···0········0········0····16360·2024-02-28·19:39:58.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1804928·2024-02-28·19:39:58.000000·data.tar.xz3 -rw-r--r--···0········0········0··1805124·2024-02-28·19:39:58.000000·data.tar.xz
1.84 KB
control.tar.xz
873 B
control.tar
851 B
./md5sums
30.0 B
./md5sums
Files differ
803 B
line order
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 usr/share/doc/libpqxx-doc/html/a00101_source.html81 usr/share/doc/libpqxx-doc/html/a00101_source.html
82 usr/share/doc/libpqxx-doc/html/a00104_source.html82 usr/share/doc/libpqxx-doc/html/a00104_source.html
83 usr/share/doc/libpqxx-doc/html/a00107_source.html83 usr/share/doc/libpqxx-doc/html/a00107_source.html
84 usr/share/doc/libpqxx-doc/html/a00110_source.html84 usr/share/doc/libpqxx-doc/html/a00110_source.html
85 usr/share/doc/libpqxx-doc/html/a00113_source.html85 usr/share/doc/libpqxx-doc/html/a00113_source.html
86 usr/share/doc/libpqxx-doc/html/a00116_source.html86 usr/share/doc/libpqxx-doc/html/a00116_source.html
87 usr/share/doc/libpqxx-doc/html/a00119_source.html87 usr/share/doc/libpqxx-doc/html/a00119_source.html
88 usr/share/doc/libpqxx-doc/html/a00185_source.html88 usr/share/doc/libpqxx-doc/html/a00191_source.html
89 usr/share/doc/libpqxx-doc/html/a00239.html89 usr/share/doc/libpqxx-doc/html/a00239.html
90 usr/share/doc/libpqxx-doc/html/a00240.html90 usr/share/doc/libpqxx-doc/html/a00240.html
91 usr/share/doc/libpqxx-doc/html/a00240.js91 usr/share/doc/libpqxx-doc/html/a00240.js
92 usr/share/doc/libpqxx-doc/html/a00241.html92 usr/share/doc/libpqxx-doc/html/a00241.html
93 usr/share/doc/libpqxx-doc/html/a00242.html93 usr/share/doc/libpqxx-doc/html/a00242.html
94 usr/share/doc/libpqxx-doc/html/a00243.html94 usr/share/doc/libpqxx-doc/html/a00243.html
95 usr/share/doc/libpqxx-doc/html/a00243.js95 usr/share/doc/libpqxx-doc/html/a00243.js
979 B
xz --list
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 ··Streams:···········11 ··Streams:···········1
2 ··Blocks:············12 ··Blocks:············1
3 ··Compressed·size:···16.0·KiB·(16388·B)3 ··Compressed·size:···16.0·KiB·(16360·B)
4 ··Uncompressed·size:·70.0·KiB·(71680·B)4 ··Uncompressed·size:·70.0·KiB·(71680·B)
5 ··Ratio:·············0.2295 ··Ratio:·············0.228
6 ··Check:·············CRC646 ··Check:·············CRC64
7 ··Stream·Padding:····0·B7 ··Stream·Padding:····0·B
8 ··Streams:8 ··Streams:
9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding
10 ·········1·········1···············0···············0···········16388···········71680··0.229··CRC64············010 ·········1·········1···············0···············0···········16360···········71680··0.228··CRC64············0
11 ··Blocks:11 ··Blocks:
12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check
13 ·········1·········1··············12···············0···········16352···········71680··0.228··CRC6413 ·········1·········1··············12···············0···········16324···········71680··0.228··CRC64
4.08 MB
data.tar.xz
4.08 MB
data.tar
12.5 KB
file list
    
Offset 47, 55 lines modifiedOffset 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.cxx47 -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.cxx48 -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.cxx49 -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.cxx50 -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.hxx51 -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.hxx52 -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)····11715·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00002_source.html54 -rw-r--r--···0·root·········(0)·root·········(0)····50782·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)···115169·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00005_source.html55 -rw-r--r--···0·root·········(0)·root·········(0)····92920·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)···110355·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00008_source.html56 -rw-r--r--···0·root·········(0)·root·········(0)····19625·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)····31542·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00011_source.html57 -rw-r--r--···0·root·········(0)·root·········(0)····31542·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)····91868·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00014_source.html58 -rw-r--r--···0·root·········(0)·root·········(0)····12552·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)····73883·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00017_source.html59 -rw-r--r--···0·root·········(0)·root·········(0)····51677·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)·····8440·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00020_source.html60 -rw-r--r--···0·root·········(0)·root·········(0)····11715·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)····19201·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00023_source.html61 -rw-r--r--···0·root·········(0)·root·········(0)····12101·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00023_source.html
 62 -rw-r--r--···0·root·········(0)·root·········(0)·····3609·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00026_source.html
62 -rw-r--r--···0·root·········(0)·root·········(0)···113680·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00026_source.html63 -rw-r--r--···0·root·········(0)·root·········(0)···113680·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00029_source.html
63 -rw-r--r--···0·root·········(0)·root·········(0)····59524·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)····60709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00032_source.html64 -rw-r--r--···0·root·········(0)·root·········(0)····60709·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)···144300·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00035_source.html65 -rw-r--r--···0·root·········(0)·root·········(0)····49711·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)·····4546·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00038_source.html66 -rw-r--r--···0·root·········(0)·root·········(0)····16864·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00038_source.html
67 -rw-r--r--···0·root·········(0)·root·········(0)····51677·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00041_source.html67 -rw-r--r--···0·root·········(0)·root·········(0)····25736·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.html68 -rw-r--r--···0·root·········(0)·root·········(0)····29915·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)····19625·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00047_source.html69 -rw-r--r--···0·root·········(0)·root·········(0)····59524·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)····35409·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00050_source.html70 -rw-r--r--···0·root·········(0)·root·········(0)····35409·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)····26859·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00053_source.html
 72 -rw-r--r--···0·root·········(0)·root·········(0)·····4789·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)···137425·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)····84065·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)····12125·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)·····8440·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)···115762·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)····19201·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)····73883·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00080_source.html
71 -rw-r--r--···0·root·········(0)·root·········(0)····29915·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00053_source.html81 -rw-r--r--···0·root·········(0)·root·········(0)····29095·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00083_source.html
72 -rw-r--r--···0·root·········(0)·root·········(0)····17615·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)·····4221·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)····25867·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00062_source.html82 -rw-r--r--···0·root·········(0)·root·········(0)····25867·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)···115169·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00089_source.html
75 -rw-r--r--···0·root·········(0)·root·········(0)····50782·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00065_source.html84 -rw-r--r--···0·root·········(0)·root·········(0)····17615·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00092_source.html
76 -rw-r--r--···0·root·········(0)·root·········(0)····16501·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00068_source.html85 -rw-r--r--···0·root·········(0)·root·········(0)····16501·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00095_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)···137425·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00074_source.html86 -rw-r--r--···0·root·········(0)·root·········(0)···110355·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00098_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.html87 -rw-r--r--···0·root·········(0)·root·········(0)·····4546·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00101_source.html
80 -rw-r--r--···0·root·········(0)·root·········(0)·····3659·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00080_source.html88 -rw-r--r--···0·root·········(0)·root·········(0)···144300·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00104_source.html
81 -rw-r--r--···0·root·········(0)·root·········(0)····12205·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00083_source.html89 -rw-r--r--···0·root·········(0)·root·········(0)····12205·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00107_source.html
82 -rw-r--r--···0·root·········(0)·root·········(0)···115762·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00086_source.html90 -rw-r--r--···0·root·········(0)·root·········(0)·····3659·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00110_source.html
83 -rw-r--r--···0·root·········(0)·root·········(0)····14410·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00089_source.html91 -rw-r--r--···0·root·········(0)·root·········(0)····14410·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00113_source.html
84 -rw-r--r--···0·root·········(0)·root·········(0)····25736·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)····16864·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)····12125·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)····49711·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00101_source.html92 -rw-r--r--···0·root·········(0)·root·········(0)·····4221·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00116_source.html
88 -rw-r--r--···0·root·········(0)·root·········(0)····12101·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)····29095·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)····57531·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00110_source.html93 -rw-r--r--···0·root·········(0)·root·········(0)····57531·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00119_source.html
91 -rw-r--r--···0·root·········(0)·root·········(0)·····4789·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00113_source.html 
92 -rw-r--r--···0·root·········(0)·root·········(0)····84065·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)····92920·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/a00185_source.html94 -rw-r--r--···0·root·········(0)·root·········(0)·····7709·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00191_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.html95 -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.html96 -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.js97 -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.html98 -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.html99 -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.html100 -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.js101 -rw-r--r--···0·root·········(0)·root·········(0)·····6050·2024-02-28·19:39:58.000000·./usr/share/doc/libpqxx-doc/html/a00243.js
70.1 KB
./usr/share/doc/libpqxx-doc/html/a00002_source.html
    
Offset 1, 15 lines modifiedOffset 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:·subtransaction.hxx·Source·File</title>8 <title>libpqxx:·result.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 71 lines modifiedOffset 60, 280 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">subtransaction.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">result.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::subtransaction·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a·transaction.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00251.html#ade1b58f5fe0254e0282e837865408e81">clear_result</a>(pq::PGresult·<span·class="keyword">const</span>·*)·<span·class="keyword">noexcept</span>;</div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div>
 109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_connection;</div>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_creation;</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_pipeline;</div>
 113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span>result_row;</div>
 114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>result_sql_cursor;</div>
 115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div>
 116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div>
93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
94 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};">121 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};">
95 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01478.html">···76</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·:·<span·class="keyword">public</span>·<a·class="co[·...·truncated·by·diffoscope;·len:·54,·SHA:·6244bb9a84a906b9166e57e0e98a972cdd10b80d8944ae32c2dbd384bff3db80·...·]</div>122 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01402.html">···72</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01402.html">result</a></div>
96 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······································<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div> 
97 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div>123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div>
98 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div>124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div>
99 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&amp;t,·std::string_view·tname·=·<sp[·...·truncated·by·diffoscope;·len:·47,·SHA:·684c49ebb87220ce806f47da6f54440b56879801770461e770d9cd6881ae3724·...·];</div>125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01402.html#a45143316d9e7b9a658850326732d2786">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">size_type</[·...·truncated·by·diffoscope;·len:·105,·SHA:·e8e603603913419d1279e2c043868a4a59fd785b22c8f1697dc91cc34f760fff·...·];</div>
 126 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div>
 127 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01402.html#a331bc56dd4ef9020f184f6909b3dd119">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01418.html">reference</a>·=·<a·class="code·hl_class"·href="a01418.html">row</a>;</div>
 128 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>·=·const_result_iterator;</div>
 129 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div>
 130 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div>
 131 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>·=·const_reverse_result_iterator;</div>
 132 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">reverse_iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>;</div>
100 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
101 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·&amp;t,·std::strin[·...·truncated·by·diffoscope;·len:·70,·SHA:·dc702dc90c7327b05a932f9ba26b74c92cb7b1bd3cd7ff2d2c3e6ac0cec74d1f·...·]>134 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}">
 135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">···84</a></span>··<a·class="code·hl_function"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:</div>
 136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········m_data{make_data_pointer()},</div>
 137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········m_query{},</div>
 138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········m_encoding{internal::encoding_group::MONOBYTE}</div>
102 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{}</div>
103 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01478.html">~subtransaction</a>()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div> 
104 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">private</span>:</div> 
106 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·quoted_name()<span·class="keyword">·const</span></div> 
107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div> 
108 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·quote_name(<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">transaction_focus::name</a>());</div> 
109 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> 
110 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div> 
111 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> 
112 </div>140 </div>
 141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01402.html#af78abacdc250b2b6997b933379e112da">···90</a></span>··<a·class="code·hl_function"·href="a01402.html#af78abacdc250b2b6997b933379e112da">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div>
 143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">···91</a></span>··<a·class="code·hl_function"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div>
 144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01402.html#ada6d82fe35f72cb45623fba4f8066279">···97</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;<a·class="code·hl_function"·href="a01402.html#ada6d82fe35f72cb45623fba4f8066279">operator=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div>
 147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 148 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01402.html#a399cde6713d4b415e229d67bfba4eccd">··100</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;<a·class="code·hl_function"·href="a01402.html#a399cde6713d4b415e229d67bfba4eccd">operator=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div>
 149 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 150 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div>
 151 <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}">
 152 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">··113</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">operator!=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div>
 153 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div>
 154 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div>
 155 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div>
 156 </div>
 157 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 158 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 159 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01402.html#afb672c73ca193aaf2fc5ba4d5c8a96f8">··126</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·TYPE&gt;·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01402.html#afb672c73ca193aaf2fc5ba4d5c8a96f8">iter</a>()·<span·class="keyword">const</span>;</div>
 160 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
Max diff block lines reached; 10690/56376 bytes (18.96%) of diff not shown.
15.0 KB
html2text {}
    
Offset 1, 66 lines modifiedOffset 1, 316 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 subtransaction.hxx 
3 1/*·Definition·of·the·pqxx::subtransaction·class.2 result.hxx
 3 1/*·Definitions·for·the·pqxx::result·class·and·support·classes.
4 2·*4 2·*
 5 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.
5 3·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a 
6 transaction. 
7 4·*6 4·*
8 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.
9 6·*8 6·*
10 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
11 8·*10 8·*
12 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 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·this12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
14 11·*·mistake,·or·contact·the·author.13 11·*·mistake,·or·contact·the·author.
15 12·*/14 12·*/
16 13#ifndef·PQXX_H_SUBTRANSACTION 
17 14#define·PQXX_H_SUBTRANSACTION15 13#ifndef·PQXX_H_RESULT
 16 14#define·PQXX_H_RESULT
18 1517 15
19 16#if·!defined(PQXX_HEADER_PRE)18 16#if·!defined(PQXX_HEADER_PRE)
20 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>."
21 18#endif20 18#endif
22 1921 19
 22 20#include·<functional>
 23 21#include·<ios>
 24 22#include·<memory>
 25 23#include·<stdexcept>
 26 24
 27 25#include·"pqxx/except.hxx"
 28 26#include·"pqxx/types.hxx"
23 20#include·"pqxx/dbtransaction.hxx"29 27#include·"pqxx/util.hxx"
24 2130 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
 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
25 22namespace·_\x8p_\x8q_\x8x_\x8x51 49namespace·_\x8p_\x8q_\x8x_\x8x
 52 50{
 53 52
 54 _\x87_\x82class·PQXX_LIBEXPORT·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t
 55 73{
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:56 74public:
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 8757 _.7_.5·using·_.s_.i_.z_.e_.__.t_.y_.p_.e·=·_.r_.e_.s_.u_.l_.t_.__.s_.i_.z_.e_.__.t_.y_.p_.e;
 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
 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·}
 85 118
 86 120
 87 _\x81_\x82_\x86·template<typename...·TYPE>·auto·_\x8i_\x8t_\x8e_\x8r()·const;
 88 127
 89 128·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const;
 90 129·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crbegin()·const;
 91 130·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rend()·const;
 92 131·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crend()·const;
 93 132
 94 133·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·begin()·const·noexcept;
 95 134·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·cbegin()·const·noexcept;
 96 _\x81_\x83_\x85·[[nodiscard]]·inline·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·end()·const·noexcept;
 97 _\x81_\x83_\x86·[[nodiscard]]·inline·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·cend()·const·noexcept;
 98 137
 99 138·[[nodiscard]]·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·front()·const·noexcept;
 100 139·[[nodiscard]]·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·back()·const·noexcept;
 101 140
 102 141·[[nodiscard]]·PQXX_PURE·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept;
 103 142·[[nodiscard]]·PQXX_PURE·bool·empty()·const·noexcept;
 104 _\x81_\x84_\x83·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·capacity()·const·noexcept·{·return·size();·}
 105 144
 106 146
 107 150·void·swap(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&)·noexcept;
 108 151
 109 153
 110 157·[[nodiscard]]·_\x8r_\x8o_\x8w·operator[](size_type·i)·const·noexcept;
 111 158
 112 159#if·pqxx_have_multidim
 113 160·[[nodiscard]]·_\x8f_\x8i_\x8e_\x8l_\x8d
Max diff block lines reached; 5583/15297 bytes (36.50%) of diff not shown.
251 KB
./usr/share/doc/libpqxx-doc/html/a00005_source.html
    
Offset 1, 15 lines modifiedOffset 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_base.hxx·Source·File</title>8 <title>libpqxx:·field.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 671 lines modifiedOffset 60, 539 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00005_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00005_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">transaction_base.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">field.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Common·code·and·definitions·for·the·transaction·classes.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::field·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::transaction_base·defines·the·interface·for·any·abstract·class·that</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::field·refers·to·a·field·in·a·query·result.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·represents·a·database·transaction.</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction_base·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_BASE</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_FIELD</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_BASE</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_FIELD</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/array.hxx&quot;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/composite.hxx&quot;</span></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·transaction·classes.··This·is·not·something·the·typical·program·should·want</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·to·do.</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*</span></div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public</span></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·interface·for·the·available·transaction·classes·such·as·transaction·and</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·nontransaction.</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>99 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 100 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
 101 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01314.html">···34</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01314.html">field</a></div>
 102 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/internal/stream_query.hxx&quot;</span></div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/isolation.hxx&quot;</span></div>103 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div>
 104 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>;</div>
 105 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··[[deprecated(</div>
 108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="stringliteral">&quot;Do·not·construct·fields·yourself.··Get·them·from·the·row.&quot;</span>)]]·<a·class="code·hl_class"·href="a01314.html">field</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·<span·class="keyword">const</span>·&amp;r,·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·c)·<span·class="keyword">noexcept</span>;</div>
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>transaction_subtransaction;</div> 
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span>transaction_sql_cursor;</div> 
114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>transaction_stream_to;</div> 
115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>transaction_transaction_focus;</div> 
116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div> 
117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··[[deprecated(</div>
119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="stringliteral">&quot;Do·not·construct·fields·yourself.··Get·them·from·the·&quot;</span></div>
 112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">···50</a></span>····<span·class="stringliteral">&quot;row.&quot;</span>)]]·<a·class="code·hl_function"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">field</a>()·noexcept·=·default;</div>
120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div>113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">using·namespace·</span>std::literals;</div> 
122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">class·</span>transaction_focus;</div> 
125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>114 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 115 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01314.html">field</a>·const·&amp;)·const·noexcept;</div>
127 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>116 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 117 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
128 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};">118 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}">
129 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01490.html">···87</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div>119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01314.html#a768ec9ffee118b5eb5a4c371afbacc5a">···78</a></span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01314.html">field</a>[·...·truncated·by·diffoscope;·len:·31,·SHA:·a9ed2bf8af09936b637d916f61064cd9117bd343607e71cca5ab4c55e0e310b1·...·]</div>
 120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{</div>
 121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div>
 122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div>
 123 </div>
130 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>{</div>124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·*name()·const·&amp;;</div>
131 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">public</span>:</div> 
132 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01490.html#aa849516f4122aa3727c3c25dd0bad6f5">···90</a></span>··<a·class="code·hl_function"·href="a01490.html#aa849516f4122aa3727c3c25dd0bad6f5">transaction_base</a>()·=·<span·class="keyword">delete</span>;</div> 
133 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01490.html#a50a020149ed8fcd8e790922f8ffa46af">···91</a></span>··<a·class="code·hl_function"·href="a01490.html#a50a020149ed8fcd8e790922f8ffa46af">transaction_base</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
134 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01490.html#a9a739cc46c8f59696df70549864f0834">···92</a></span>··<a·class="code·hl_function"·href="a01490.html#a9a739cc46c8f59696df70549864f0834">transaction_base</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div> 
135 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01490.html#a7868d8879f573238faa33cdf8e6af170">···93</a></span>··<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;<a·class="code·hl_function"·href="a01490.html#a7868d8879f573238faa33cdf8e6af170">operator=</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
136 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01490.html#ac5884fe8697d219ffed83693a2f21732">···94</a></span>··<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;<a·class="code·hl_function"·href="a01490.html#ac5884fe8697d219ffed83693a2f21732">operator=</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div> 
137 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
138 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01490.html">~transaction_base</a>()·=·0;</div>127 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·oid·PQXX_PURE·type()·const;</div>
139 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>128 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 129 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··[[nodiscard]]·PQXX_PURE·oid·table()·const;</div>
 130 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 131 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01314.html#a8e90cf78347c40fb5a975734e8557675">···98</a></span>··PQXX_PURE·constexpr·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·num()·const·noexcept·{·<span·class="keywordflow">return</span>·col();·}</div>
140 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>132 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
141 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keywordtype">void</span>·commit();</div>133 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··[[nodiscard]]·PQXX_PURE·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·table_column()·<span·class="keyword">const</span>;</div>
142 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
143 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
144 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keywordtype">void</span>·abort();</div> 
145 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>135 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
146 <div·class="foldopen"·id="foldopen00131"·data-start="{"·data-end="}">136 <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}">
Max diff block lines reached; 177224/201923 bytes (87.77%) of diff not shown.
53.9 KB
html2text {}
    
Offset 1, 750 lines modifiedOffset 1, 607 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 transaction_base.hxx 
3 1/*·Common·code·and·definitions·for·the·transaction·classes.2 field.hxx
 3 1/*·Definitions·for·the·pqxx::field·class.
4 2·*4 2·*
 5 3·*·pqxx::field·refers·to·a·field·in·a·query·result.
 6 4·*
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.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.
9 7·*8 6·*
10 8·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
11 9·*10 8·*
12 10·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 9·*·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·this12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
14 12·*·mistake,·or·contact·the·author.13 11·*·mistake,·or·contact·the·author.
15 13·*/14 12·*/
16 14#ifndef·PQXX_H_TRANSACTION_BASE 
17 15#define·PQXX_H_TRANSACTION_BASE 
18 1615 13#ifndef·PQXX_H_FIELD
 16 14#define·PQXX_H_FIELD
 17 15
19 17#if·!defined(PQXX_HEADER_PRE)18 16#if·!defined(PQXX_HEADER_PRE)
20 18#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
21 19#endif20 18#endif
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·*/21 19
 22 20#include·<optional>
 23 21
 24 22#include·"pqxx/array.hxx"
 25 23#include·"pqxx/composite.hxx"
 26 24#include·"pqxx/result.hxx"
 27 25#include·"pqxx/strconv.hxx"
 28 26#include·"pqxx/types.hxx"
 29 27
 30 28namespace·_\x8p_\x8q_\x8x_\x8x
 31 29{
33 3132 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
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 39#include·"pqxx/util.hxx" 
42 4038 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;
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 
52 50namespace·_\x8p_\x8q_\x8x_\x8x 
53 51{46 51
54 52using·namespace·std::literals; 
55 53 
56 54 
57 55class·transaction_focus; 
58 56 
59 5747 57
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 9748 73·[[nodiscard]]·PQXX_PURE·bool·operator==(_.f_.i_.e_.l_.d·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();·}
72 9963 99
73 112·void·commit(); 
74 113 
75 115 
76 118·void·abort();64 101·[[nodiscard]]·PQXX_PURE·_.r_.o_.w_.__.s_.i_.z_.e_.__.t_.y_.p_.e·table_column()·const;
 65 103
 66 109
 67 _\x81_\x81_\x83·[[nodiscard]]·PQXX_PURE·std::string_view·_\x8v_\x8i_\x8e_\x8w()·const·&
 68 114·{
 69 115·return·std::string_view(c_str(),·size());
 70 116·}
 71 117
77 11972 119
78 _.1_.3_.1·template<typename...·ARGS>·[[nodiscard]]·auto·_.e_.s_.c(ARGS·&&...args)·const73 128·[[nodiscard]]·PQXX_PURE·char·const·*c_str()·const·&;
 74 129
Max diff block lines reached; 50057/55163 bytes (90.74%) of diff not shown.
159 KB
./usr/share/doc/libpqxx-doc/html/a00008_source.html
    
Offset 1, 15 lines modifiedOffset 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:·row.hxx·Source·File</title>8 <title>libpqxx:·config.h·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 620 lines modifiedOffset 60, 136 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">row.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">config.h</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·include/pqxx/config.h.··Generated·from·config.h.in·by·configure.··*/</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">/*·include/pqxx/config.h.in.··Generated·from·configure.ac·by·autoheader.··*/</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;dlfcn.h&gt;·header·file.·*/</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·HAVE_DLFCN_H·1</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;inttypes.h&gt;·header·file.·*/</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq&#39;·library·(-lpq).·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_LIBPQ·1</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdint.h&gt;·header·file.·*/</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·HAVE_STDINT_H·1</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdio.h&gt;·header·file.·*/</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdlib.h&gt;·header·file.·*/</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_STDLIB_H·1</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/field.hxx&quot;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;strings.h&gt;·header·file.·*/</span></div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·HAVE_STRINGS_H·1</span></div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;string.h&gt;·header·file.·*/</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01414.html">···28</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01414.html">result_iter</a>;</div>97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/stat.h&gt;·header·file.·*/</span></div>
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·HAVE_SYS_STAT_H·1</span></div>
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/types.h&gt;·header·file.·*/</span></div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div>
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;unistd.h&gt;·header·file.·*/</span></div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div>
103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
104 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};"> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01418.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01418.html">row</a></div>106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·LT_OBJDIR·&quot;.libs/&quot;</span></div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Name·of·package·*/</span></div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div>
 113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div>
 114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div>
 116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div>
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>;</div> 
109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>;</div> 
110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> 
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01418.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_iterator</a>;</div> 
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01418.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01314.html">reference</a>·=·<a·class="code·hl_class"·href="a01314.html">field</a>;</div> 
113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01418.html#a2e922bcb1a3a3e003e4b31dfc8428974">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">pointer</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div> 
114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div> 
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8f09d3a10886af67da65026d1e0a0004">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">reverse_iterator</a>·=·<a·class="code·hl_class"[·...·truncated·by·diffoscope;·len:·47,·SHA:·092d6ea74ec6a10b63e8492ccd15821ad818fcf4e4fa7957479d0f4774374e3b·...·]</div>118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div>
 119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·7.8.1&quot;</span></div>
 120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div>
 122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div>
 123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div>
 125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#define·PACKAGE_URL·&quot;&quot;</span></div>
116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01418.html#aac9770e8157db227ea58b66f34865677">···58</a></span>··<a·class="code·hl_function"·href="a01418.html#aac9770e8157db227ea58b66f34865677">row</a>()·noexcept·=·default;</div> 
118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01418.html#aa1cb06aed0b36221084d040461e17e5f">···59</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;&amp;)·noexcept·=·default;</div> 
119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0e77f25a475909b6ea6f5feda5c7cd5a">···60</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·noexcept·=·default;</div> 
120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01418.html#ae980f90b6dfc0c4201cbdac6b91bf2a0">···61</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·noexcept·=·default;</div> 
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01418.html#aeaedfbaee84c9b14f8c71789bf5a3d5c">···62</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;&a[·...·truncated·by·diffoscope;·len:·24,·SHA:·286f57f55dd532a7b0fd526c4c02c8f37d137ac55e927b5717b55ef5ab31b601·...·]</div>127 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div>
 128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;7.8.1&quot;</span></div>
 129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·floating-point·conversion.·*/</span></div>
 131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div>
122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 133 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·integer·conversion.·*/</span></div>
 134 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div>
123 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·const·noexcept;</div> 
124 <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> 
125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0a4f6ee20682572863f56454a414891b">···69</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;rhs)·const·noexcept</div> 
126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div>135 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 136 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·if·compiler·has·C++20·std::cmp_greater·etc.·*/</span></div>
 137 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">/*·#undef·PQXX_HAVE_CMP·*/</span></div>
 138 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 139 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·if·compiler·supports·Concepts·and·&lt;ranges&gt;·header.·*/</span></div>
127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div>140 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">/*·#undef·PQXX_HAVE_CONCEPTS·*/</span></div>
128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div>141 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
129 </div>142 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·if·compiler·supports·__cxa_demangle·*/</span></div>
 143 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#define·PQXX_HAVE_CXA_DEMANGLE·1</span></div>
130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>144 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
Max diff block lines reached; 94920/126070 bytes (75.29%) of diff not shown.
35.9 KB
html2text {}
    
Offset 1, 655 lines modifiedOffset 1, 122 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 row.hxx 
3 1/*·Definitions·for·the·pqxx::result·class·and·support·classes. 
4 2·* 
5 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query. 
6 4·* 
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead. 
8 6·* 
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. 
10 8·* 
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called 
12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this 
13 11·*·mistake,·or·contact·the·author. 
14 12·*/ 
15 13#ifndef·PQXX_H_ROW 
16 14#define·PQXX_H_ROW2 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 1517 15
18 16#if·!defined(PQXX_HEADER_PRE) 
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
20 18#endif 
21 19 
22 20#include·"pqxx/except.hxx" 
23 21#include·"pqxx/field.hxx" 
24 22#include·"pqxx/result.hxx" 
25 23 
26 24#include·"pqxx/internal/concat.hxx" 
27 25 
28 26namespace·_.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l18 16/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/
 19 17#define·HAVE_STDIO_H·1
 20 18
 21 19/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/
 22 20#define·HAVE_STDLIB_H·1
 23 21
 24 22/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/
 25 23#define·HAVE_STRINGS_H·1
 26 24
 27 25/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/
 28 26#define·HAVE_STRING_H·1
29 27{29 27
30 _\x82_\x88template<typename...·T>·class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8i_\x8t_\x8e_\x8r; 
31 29}·//·namespace·pqxx::internal30 28/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/
 31 29#define·HAVE_SYS_STAT_H·1
32 3032 30
33 31 
34 32namespace·_.p_.q_.x_.x33 31/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/
 34 32#define·HAVE_SYS_TYPES_H·1
35 33{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 _.5_.6·using·_.r_.e_.v_.e_.r_.s_.e_.__.i_.t_.e_.r_.a_.t_.o_.r·=·_.c_.o_.n_.s_.t_.__.r_.e_.v_.e_.r_.s_.e_.__.i_.t_.e_.r_.a_.t_.o_.r;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·""
48 5760 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 _.6_.2·_.r_.o_.w·&operator=(_.r_.o_.w·&&)·noexcept·=·default;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
54 6366 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; 
Max diff block lines reached; 29660/36689 bytes (80.84%) of diff not shown.
121 KB
./usr/share/doc/libpqxx-doc/html/a00014_source.html
    
Offset 1, 15 lines modifiedOffset 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:·util.hxx·Source·File</title>8 <title>libpqxx:·isolation.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 550 lines modifiedOffset 60, 74 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">util.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">isolation.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Various·utility·definitions·for·libpqxx.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·transaction·isolation·levels,·and·such.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_UTIL</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ISOLATION</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_UTIL</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ISOLATION</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cctype&gt;</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cerrno&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/version.hxx&quot;</span></div> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{}</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div>
111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>91 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;pqxx/internal/libpq-forward.hxx&gt;</span></div> 
113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
115 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·C++23:·Retire·wrapper.</span></div> 
116 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#if·pqxx_have_unreachable</span></div> 
117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·std::unreachable()</span></div> 
118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#else</span></div> 
119 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·assert(false)</span></div> 
120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> 
121 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
122 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
124 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> 
125 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
126 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> 
127 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT&gt;</div> 
128 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">92 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};">
 93 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">···26</a></span><span·class="keyword">enum·class</span>·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a></div>
129 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">···63</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">cmp_less</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div> 
130 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{</div> 
131 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> 
132 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·std::cmp_less(lhs,·rhs);</div> 
133 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#else</span></div> 
134 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive</span></div> 
135 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·warning·when·we·compare·the·values·directly.··It·considers·that·a</span></div> 
136 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="comment">//·&quot;self-comparison.&quot;</span></div> 
137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·left_signed{std::is_signed_v&lt;LEFT&gt;};</div> 
138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(left_signed·==·std::is_signed_v&lt;RIGHT&gt;)</div> 
139 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·lhs·&lt;·rhs;</div> 
140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(std::is_signed_v&lt;LEFT&gt;)</div> 
141 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·(lhs·&lt;=·0)·?·true·:·(std::make_unsigned_t&lt;LEFT&gt;(lhs)·&lt;·rhs);</div> 
142 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">else</span></div> 
143 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·(rhs·&lt;=·0)·?·false·:·(lhs·&lt;·std::make_unsigned_t&lt;RIGHT&gt;(rhs));</div> 
144 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> 
145 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div>94 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
146 </div>95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe">read_only</a>,</div>
 96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a></div>
147 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>97 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>};</div>
148 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
149 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> 
150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT&gt;</div> 
151 <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> 
152 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">···85</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">cmp_greater</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div> 
153 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>{</div> 
154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> 
155 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keywordflow">return</span>·std::cmp_greater(lhs,·rhs);</div> 
156 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#else</span></div> 
157 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">cmp_less</a>(rhs,·lhs);</div> 
158 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#endif</span></div> 
159 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}</div> 
160 </div> 
161 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
162 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
163 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div> 
164 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT&gt;</div> 
165 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}"> 
166 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00251.html#ae694da3c8e1282b1b6f9b08c8bce07c8">···98</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#ae694da3c8e1282b1b6f9b08c8bce07c8">cmp_less_equal</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div> 
167 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>{</div> 
168 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div> 
Max diff block lines reached; 57904/98687 bytes (58.67%) of diff not shown.
24.2 KB
html2text {}
    
Offset 1, 614 lines modifiedOffset 1, 71 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 util.hxx 
3 1/*·Various·utility·definitions·for·libpqxx.2 isolation.hxx
 3 1/*·Definitions·for·transaction·isolation·levels,·and·such.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead.5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead.
6 4·*6 4·*
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
8 6·*8 6·*
9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called9 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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
12 10·*/12 10·*/
13 11#ifndef·PQXX_H_UTIL13 11#ifndef·PQXX_H_ISOLATION
14 12#define·PQXX_H_UTIL14 12#define·PQXX_H_ISOLATION
15 1315 13
16 14#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#endif18 16#endif
19 1719 17
 20 18#include·"pqxx/util.hxx"
 21 19
 22 20namespace·_\x8p_\x8q_\x8x_\x8x
 23 21{
 24 23
 25 _\x82_\x86enum·class·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y
 26 27{
 27 28·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y,
 28 29·_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e
 29 30};
 30 31
 31 32
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 3432 34
 33 _\x86_\x85enum·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l
 34 66{
 35 67·//·PostgreSQL·only·has·the·better·isolation·levels.
 36 68·//·read_uncommitted,
 37 69
 38 _\x87_\x80·_\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8o_\x8m_\x8m_\x8i_\x8t_\x8t_\x8e_\x8d,
 39 _\x87_\x81·_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8r_\x8e_\x8a_\x8d,
 40 _\x87_\x82·_\x8s_\x8e_\x8r_\x8i_\x8a_\x8l_\x8i_\x8z_\x8a_\x8b_\x8l_\x8e,
 41 73};
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> 
Max diff block lines reached; 9389/24746 bytes (37.94%) of diff not shown.
148 KB
./usr/share/doc/libpqxx-doc/html/a00017_source.html
    
Offset 1, 15 lines modifiedOffset 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:·strconv.hxx·Source·File</title>8 <title>libpqxx:·stream_from.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 435 lines modifiedOffset 60, 310 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">strconv.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">stream_from.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·String·conversion·definitions.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::stream_from·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_STRCONV</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_FROM</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_STRCONV</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_FROM</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__has_include(&lt;charconv&gt;)</span></div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··include·&lt;charconv&gt;</span></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif</span></div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/stream_iterator.hxx&quot;</span></div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&amp;&amp;·__has_include(&lt;ranges&gt;)</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#··include·&lt;ranges&gt;</span></div>97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div>
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#endif</span></div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/transaction_focus.hxx&quot;</span></div>
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>transaction_base;</div>
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div>104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>106 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a66648ed503eb162846c41247daa32660">···40</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01498.html">from_table_t</a>·<a·class="code·hl_variable"·href="a00250.html#a66648ed503eb162846c41247daa32660">from_table</a>;</div>
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> 
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>PQXX_LIBEXPORT·std::string·<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">demangle_type_name</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[]);</div> 
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> 
111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">···44</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01502.html">from_query_t</a>·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>;</div>
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>110 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div>111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 113 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};">
 114 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01470.html">···78</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01470.html">stream_from</a>·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div>
115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>115 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div>
116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">public</span>:</div>
117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div> 
118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00250.html#a03b51dc175989959be170596670dafa4">···82</a></span>std::string·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a00250.html#a03b51dc175989959be170596670dafa4">t[·...·truncated·by·diffoscope;·len:·178,·SHA:·b4825cd2f83bf5a4fe55ffa56ec042d8841717c2bcc17c560315a09cdd5081d0·...·]</div>117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01470.html#a3bd0036ff4ab9f55e856066532b0f86d">raw_line</a>[·...·truncated·by·diffoscope;·len:·2,·SHA:·c7506c8ff8e0c4bd4c3a21f2f5ede4405de7c103c198bfebccb8c74bbc3e8c01·...·]</div>
 118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····std::pair&lt;std::unique_ptr&lt;char,·void·(*)(<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*)&gt;,·std::size_t&gt;;</div>
119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">···84</a></span>··<a·class="code·hl_function"·href="a01470.html#a63b70c913aa4b64dd61ca75b8d203a7f">stream_from</a>(<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&amp;&amp;)·[·...·truncated·by·diffoscope;·len:·38,·SHA:·2032e298fae84dc69aa1c92c1fc33412d17aa42a0498f9a99eddfd4247842106·...·]</div>
 121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01470.html#aaf2ff6b8c825cf39a4100dc423471908">···85</a></span>··<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&amp;<a·class="code·hl_function"·href="a01470.html#aaf2ff6b8c825cf39a4100dc423471908">operator=</a>(<a·class="code·hl_class"·href="a01470.html">stream_from</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div>
121 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 123 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 124 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··[[deprecated(<span·class="stringliteral">&quot;Use·transaction_base::stream·instead.&quot;</span>)]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01470.html">stream_from</a></div>
122 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};">125 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}">
 126 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">···98</a></span>··<a·class="code·hl_function"·href="a01470.html#a062c20b73f6c9d019bfc35806c432ec0">query</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;tx,·std::string_view·q)</div>
123 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01430.html">···92</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE,·<span·class="keyword">typename</span>·ENABLE·=·<span·class="keywordtype">void</span>&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">nullness</a></div> 
124 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>{</div> 
125 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01430.html#a9edbc6067a38f35a42723ed6fbaf6200">···95</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#a9edbc6067a38f35a42723ed6fbaf6200">has_null</a>;</div> 
126 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
127 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">···98</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">always_null</a>;</div> 
128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>127 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div>
129 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">··101</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01430.html#a309fca[·...·truncated·by·diffoscope;·len:·92,·SHA:·ac76b89d26dadf587d4e02eca305b6b226a9bc4e7f4b92e05f423f4ec88c159a·...·]</div>128 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-pre.hxx&quot;</span></div>
 129 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·{tx,·<a·class="code·hl_variable"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">from_query</a>,·q};</div>
 130 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-post.hxx&quot;</span></div>
130 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>131 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div>
131 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
132 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">··109</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·TYPE·<a·class="code·hl_function"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>();</div> 
133 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div> 
134 </div>132 </div>
135 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
136 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
137 <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="};"> 
138 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01434.html">··114</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">no_null</a></div> 
139 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>{</div>134 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
140 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>135 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
141 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01434.html#a8f3b58a4b6b3d4161e63e53431a7d2d1">··127</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="cod[·...·truncated·by·diffoscope;·len:·118,·SHA:·37d40e3f41feb65adcaa1181e1ebc5a2122024f0ccd90f75ce99f5ae46047b3a·...·]</div>136 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··[[deprecated(<span·class="stringliteral">&quot;Use·transaction_base::stream·instead.&quot;</span>)]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01470.html">stream_from</a></div>
142 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>137 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··raw_table(</div>
 138 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;tx,·std::string_view·path,</div>
 139 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····std::string_view·columns·=·<span·class="stringliteral">&quot;&quot;</span>sv);</div>
143 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>140 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
144 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">··133</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a>·=·<span·class="keyword">false</span>;</div> 
145 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>141 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div>
 142 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··[[deprecated(<span·class="stringliteral">&quot;Use·transaction_base::stream·instead.&quot;</span>)]]·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01470.html">stream_from</a></div>
146 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
147 <div·class="foldopen"·id="foldopen00140"·data-start="{"·data-end="}"> 
148 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01434.html#ab53a311556c321a9dd10229b5b64773b">··140</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01434.html#ab53a311556c321a9dd10229b5b64773b">is_null</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">noexcept</span></div> 
149 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··{</div>143 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··table(</div>
Max diff block lines reached; 93682/119914 bytes (78.12%) of diff not shown.
31.2 KB
html2text {}
    
Offset 1, 479 lines modifiedOffset 1, 338 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 strconv.hxx 
3 1/*·String·conversion·definitions.2 stream_from.hxx
 3 1/*·Definition·of·the·pqxx::stream_from·class.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·instead.5 3·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table.
6 4·*6 4·*
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.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 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 9·*·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·this12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.13 11·*·mistake,·or·contact·the·author.
12 10·*/14 12·*/
13 11#ifndef·PQXX_H_STRCONV15 13#ifndef·PQXX_H_STREAM_FROM
14 12#define·PQXX_H_STRCONV16 14#define·PQXX_H_STREAM_FROM
15 1317 15
16 14#if·!defined(PQXX_HEADER_PRE)18 16#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#endif20 18#endif
19 1721 19
 22 20#include·<cassert>
20 18#include·<algorithm>23 21#include·<variant>
 24 22
 25 23#include·"pqxx/connection.hxx"
21 19#include·<cstring> 
22 20#include·<limits> 
23 21#include·<sstream> 
24 22#include·<stdexcept> 
25 23#include·<typeinfo> 
26 24 
27 25#if·__has_include(<charconv>) 
28 26#·include·<charconv> 
29 27#endif 
30 28 
31 29#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>) 
32 30#·include·<ranges> 
33 31#endif 
34 32 
35 33#include·"pqxx/except.hxx"26 24#include·"pqxx/except.hxx"
36 34#include·"pqxx/util.hxx" 
37 35#include·"pqxx/zview.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 3638 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
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 
46 45namespace·_\x8p_\x8q_\x8x_\x8x 
47 46{44 46
48 71 
49 73 
50 81template<typename·TYPE> 
51 _\x88_\x82std::string·const·_\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e{_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8m_\x8a_\x8n_\x8g_\x8l_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e(typeid(TYPE).name 
52 ())};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>;
53 8351 83
54 8452 _.8_.4·_.s_.t_.r_.e_.a_.m_.__.f_.r_.o_.m(_.s_.t_.r_.e_.a_.m_.__.f_.r_.o_.m·&&)·=·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;
55 8654 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 10255 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·}
64 10463 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{64 115
71 11765 117
 66 133·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m
 67 134·raw_table(
 68 135·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·std::string_view·path,
 69 136·std::string_view·columns·=·""sv);
 70 137
 71 139
 72 141·[[deprecated("Use·transaction_base::stream·instead.")]]·static·_\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8__\x8f_\x8r_\x8o_\x8m
 73 142·table(
 74 143·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&tx,·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·path,
 75 144·std::initializer_list<std::string_view>·columns·=·{});
72 _\x81_\x82_\x87·static·constexpr·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l·=·false; 
73 128 
74 130 
75 _\x81_\x83_\x83·static·constexpr·bool·_\x8a_\x8l_\x8w_\x8a_\x8y_\x8s_\x8__\x8n_\x8u_\x8l_\x8l·=·false; 
76 134 
77 136 
78 _\x81_\x84_\x80·[[nodiscard]]·static·constexpr·bool·_\x8i_\x8s_\x8__\x8n_\x8u_\x8l_\x8l(TYPE·const·&)·noexcept 
79 141·{ 
80 142·return·false; 
81 143·} 
82 144}; 
83 145 
Max diff block lines reached; 27108/31882 bytes (85.03%) of diff not shown.
19.4 KB
./usr/share/doc/libpqxx-doc/html/a00020_source.html
    
Offset 1, 15 lines modifiedOffset 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:·version.hxx·Source·File</title>8 <title>libpqxx:·subtransaction.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 54 lines modifiedOffset 60, 71 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">version.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">subtransaction.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Version·info·for·libpqxx.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::subtransaction·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a·transaction.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if·!defined(PQXX_H_VERSION)</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#··define·PQXX_H_VERSION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#··if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#····error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#··define·PQXX_VERSION·&quot;7.8.1&quot;</span></div> 
88 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··define·PQXX_ABI·&quot;7.8&quot;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
89 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··define·PQXX_VERSION_MAJOR·7</span></div> 
91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··define·PQXX_VERSION_MINOR·8</span></div> 
92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#··define·PQXX_VERSION_CHECK·check_pqxx_version_7_8</span></div> 
94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
98 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>PQXX_LIBEXPORT·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00251.html#a0b3caa100e732c23e2f94129d0f164e6">PQXX_VERSION_CHECK</a>()·noexcept;</div>94 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};">
 95 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01478.html">···76</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>,</div>
 96 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······································<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div>
 97 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div>
 98 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div>
 99 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&amp;t,·std::string_view·tname·=·<span·class="stringliteral">&quot;&quot;</span>sv);</div>
 100 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 101 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01478.html">subtransaction</a>(<a·class="code·hl_class"·href="a01478.html">subtransaction</a>·&amp;t,·std::string_view·name·=·<span·class="stringliteral">&quot;&quot;</span>sv);</div>
 102 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 103 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01478.html">~subtransaction</a>()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div>
 104 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">private</span>:</div>
 106 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·quoted_name()<span·class="keyword">·const</span></div>
 107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div>
 108 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·quote_name(<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">transaction_focus::name</a>());</div>
 109 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div>
 110 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div>
 111 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div>
 112 </div>
99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>113 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//·namespace·pqxx</span></div>
100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div>114 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif</span></div>
101 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div> 
102 <div·class="ttc"·id="aa00251_html_a0b3caa100e732c23e2f94129d0f164e6"><div·class="ttname"><a·href="a00251.html#a0b3caa100e732c23e2f94129d0f164e6">pqxx::internal::PQXX_VERSION_CHECK</a></div><div·class="ttdeci">int·PQXX_VERSION_CHECK()·noexcept</div><div·class="ttdoc">Library·version·[·...·truncated·by·diffoscope;·len:·67,·SHA:·576a921662f9f756e23b7803bf41d8e221c0447106be46fe198d67f8d0f6f018·...·]3</div></div>115 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>
 116 <div·class="ttc"·id="aa01134_html"><div·class="ttname"><a·href="a01134.html">pqxx::dbtransaction</a></div><div·class="ttdoc">Abstract·transaction·base·class:·bracket·transactions·on·the·database.</div><div·class="ttdef"><b>Definition</b>·dbtransaction.hxx:54</div></div>
 117 <div·class="ttc"·id="aa01478_html"><div·class="ttname"><a·href="a01478.html">pqxx::subtransaction</a></div><div·class="ttdoc">&quot;Transaction&quot;·nested·within·another·transaction</div><div·class="ttdef"><b>Definition</b>·subtransaction.hxx:78</div></div>
 118 <div·class="ttc"·id="aa01494_html"><div·class="ttname"><a·href="a01494.html">pqxx::transaction_focus</a></div><div·class="ttdoc">Base·class·for·things·that·monopolise·a·transaction's·attention.</div><div·class="ttdef"><b>Definition</b>·transaction_focus.hxx:29</div></div>
 119 <div·class="ttc"·id="aa01494_html_a4ccffff2688e9e7757acc385be1d781c"><div·class="ttname"><a·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">pqxx::transaction_focus::name</a></div><div·class="ttdeci">std::string_view·name()·const·&amp;noexcept</div><div·class="ttdoc">Name·for·this·object,·if·the·caller·passed·one;·empty·string·otherwise.</div><div·class="ttdef"><b>Definition</b>·transaction_focus.hxx:56</div></div>
103 </div><!--·fragment·--></div><!--·contents·-->120 </div><!--·fragment·--></div><!--·contents·-->
104 </div><!--·doc-content·-->121 </div><!--·doc-content·-->
105 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
106 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->123 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
107 ··<ul>124 ··<ul>
108 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>version.hxx</b></li>125 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>subtransaction.hxx</b></li>
109 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>126 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>
110 ··</ul>127 ··</ul>
111 </div>128 </div>
112 </body>129 </body>
113 </html>130 </html>
3.96 KB
html2text {}
    
Offset 1, 44 lines modifiedOffset 1, 66 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 version.hxx 
3 1/*·Version·info·for·libpqxx.2 subtransaction.hxx
 3 1/*·Definition·of·the·pqxx::subtransaction·class.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead.5 3·*·pqxx::subtransaction·is·a·nested·transaction,·i.e.·one·within·a
 6 transaction.
6 4·*7 4·*
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.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 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called12 9·*·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·this13 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.14 11·*·mistake,·or·contact·the·author.
12 10·*/15 12·*/
13 11#if·!defined(PQXX_H_VERSION)16 13#ifndef·PQXX_H_SUBTRANSACTION
14 12#·define·PQXX_H_VERSION17 14#define·PQXX_H_SUBTRANSACTION
15 1318 15
16 14#·if·!defined(PQXX_HEADER_PRE)19 16#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."20 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#·endif21 18#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 
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 33 
31 54PQXX_LIBEXPORT·int·_.P_.Q_.X_.X_.__.V_.E_.R_.S_.I_.O_.N_.__.C_.H_.E_.C_.K()·noexcept;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};
32 55}·//·namespace·pqxx::internal45 95}·//·namespace·pqxx
33 56#endif46 96#endif
 47 _\x8p_\x8q_\x8x_\x8x
 48 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
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:2349 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
41 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e63 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
42 ····*·_\x8p_\x8q_\x8x_\x8x64 ····*·_\x8p_\x8q_\x8x_\x8x
43 ····*·v.ve.er.rs.si\x8io\x8on\x8n.\x8.h\x8hx\x8xx\x8x65 ····*·s.su.ub.bt.tr.ra.an.ns.sa.ac.ct.ti\x8io\x8on\x8n.\x8.h\x8hx\x8xx\x8x
44 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.866 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
31.4 KB
./usr/share/doc/libpqxx-doc/html/a00023_source.html
    
Offset 1, 15 lines modifiedOffset 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:·robusttransaction.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 60, 112 lines modifiedOffset 60, 76 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">robusttransaction.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">nontransaction.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::robusttransaction·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::nontransaction·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::nontransaction·provides·nontransactional·database·access</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NONTRANSACTION</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROBUSTTRANSACTION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NONTRANSACTION</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
93 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01406.html">···25</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">using·namespace·</span>std::literals;</div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01406.html#a533c620d4ebc725446866c9370620b04">···29</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01406.html#a533c620d4ebc725446866c9370620b04">~basic_robusttransaction</a>()·<span·class="keyword">override</span>·=·0;</div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">protected</span>:</div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(</div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">private</span>:</div> 
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::string·m_conn_string;</div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··std::string·m_xid;</div> 
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordtype">void</span>·init(<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div>98 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">
 99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01350.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01350.html">nontransaction</a>·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div>
 100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>
 101 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>102 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·@warning·This·function·will·become·`final`.</span></div> 
115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div>103 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}">
 104 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">···64</a></span>··<a·class="code·hl_function"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">nontransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname·=·<span·class="stringliteral">&quot;&quot;</span>sv)·:</div>
 105 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·std::shared_ptr&lt;std::string&gt;{}}</div>
 106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>
 107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····register_transaction();</div>
116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div>108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div>
117 </div>109 </div>
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 111 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">···70</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">~nontransaction</a>()<span·class="keyword">·override·</span>{·close();·}</div>
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>112 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> 
123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
124 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;isolation_level·ISOLATION·=·read_committed&gt;</div> 
125 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">class·</span>robusttransaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01406.html">internal::basic_robusttransaction</a></div> 
126 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> 
127 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div>113 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">private</span>:</div>
 114 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()<span·class="keyword">·override·</span>{}</div>
128 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··robusttransaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname)·:</div> 
129 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div> 
130 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;,</div> 
131 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············tname}</div> 
132 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> 
133 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>115 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div>
 116 </div>
134 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··robusttransaction(connection·&amp;c,·std::string·&amp;&amp;tname)·:</div> 
135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div> 
136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;,</div> 
137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>············std::move(tname)}</div> 
138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{}</div> 
139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
140 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keyword">explicit</span>·robusttransaction(connection·&amp;c)·:</div> 
141 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div> 
142 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;}</div> 
143 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··{}</div> 
144 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
145 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">virtual</span>·~robusttransaction()·noexcept<span·class="keyword">·override·</span>{·<a·class="code·hl_function"·href="a01490.html#a654452e1e1cbe9706622ce701e296112">close</a>();·}</div> 
146 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>};</div> 
147 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
148 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>}·<span·class="comment">//·namespace·pqxx</span></div>117 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}·<span·class="comment">//·namespace·pqxx</span></div>
149 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="preprocessor">#endif</span></div>118 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#endif</span></div>
150 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>119 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>
151 <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">pqxx::write_policy</a></div><div·class="ttdeci">write_policy</div><div·class="ttdoc">Should·a·transaction·be·read-only,·or·read-write?</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:27</div></div> 
152 <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">pqxx::write_policy::read_write</a></div><div·class="ttdeci">@·read_write</div></div> 
153 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div> 
154 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div>120 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div>
 121 <div·class="ttc"·id="aa01350_html"><div·class="ttname"><a·href="a01350.html">pqxx::nontransaction</a></div><div·class="ttdoc">Simple·&quot;transaction&quot;·class·offering·no·transactional·integrity.</div><div·class="ttdef"><b>Definition</b>·nontransaction.hxx:56</div></div>
 122 <div·class="ttc"·id="aa01350_html_a556124900e411a1902b01bc4bb04fb0a"><div·class="ttname"><a·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">pqxx::nontransaction::nontransaction</a></div><div·class="ttdeci">nontransaction(connection·&amp;c,·std::string_view·tname=&quot;&quot;sv)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition</b>·nontransaction.hxx:64</div></div>
Max diff block lines reached; 861/24796 bytes (3.47%) of diff not shown.
7.05 KB
html2text {}
    
Offset 1, 118 lines modifiedOffset 1, 70 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 robusttransaction.hxx2 nontransaction.hxx
3 1/*·Definition·of·the·pqxx::robusttransaction·class.3 1/*·Definition·of·the·pqxx::nontransaction·class.
4 2·*4 2·*
5 3·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class.5 3·*·pqxx::nontransaction·provides·nontransactional·database·access
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·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·called11 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·this12 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_ROBUSTTRANSACTION15 13#ifndef·PQXX_H_NONTRANSACTION
16 14#define·PQXX_H_ROBUSTTRANSACTION16 14#define·PQXX_H_NONTRANSACTION
17 1517 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#endif20 18#endif
21 1921 19
 22 20#include·"pqxx/connection.hxx"
 23 21#include·"pqxx/result.hxx"
22 20#include·"pqxx/dbtransaction.hxx"24 22#include·"pqxx/transaction.hxx"
23 21 
24 22namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l 
25 23{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_\x8x26 24namespace·_\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{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{
58 84public:33 57public:
 34 59
 35 _\x86_\x84·_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·tname·=·""sv)·:
 36 65·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e{c,·tname,·std::shared_ptr<std::string>{}}
 37 66·{
 38 67·register_transaction();
 39 68·}
 40 69
 41 _\x87_\x80·virtual·_\x8~_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·override·{·close();·}
 42 71
 43 72private:
 44 73·virtual·void·do_commit()·override·{}
 45 74};
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·pqxx46 75}·//·namespace·pqxx
80 120#endif47 76#endif
81 _\x8p_\x8q_\x8x_\x8x48 _\x8p_\x8q_\x8x_\x8x
82 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.49 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
83 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:3350 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_\x8n51 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n
94 Connection·to·a·database.52 Connection·to·a·database.
95 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:25353 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253
96 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8d_.b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n54 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_.o_.n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n
97 Abstract·transaction·base·class:·bracket·transactions·on·the·database.55 Simple·"transaction"·class·offering·no·transactional·integrity.
98 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·dbtransaction.hxx:5456 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·nontransaction.hxx:56
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.57 _.p_.q_.x_.x_.:_.:_.n_.o_.n_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.:_.:_.n_.o_.n_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n
 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
 61 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8~_\x8n_\x8o_\x8n_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n
 62 virtual·~nontransaction()·override
101 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·robusttransaction.hxx:2763 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·nontransaction.hxx:70
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 
Max diff block lines reached; 206/7192 bytes (2.86%) of diff not shown.
141 KB
./usr/share/doc/libpqxx-doc/html/a00026_source.html
    
Offset 1, 15 lines modifiedOffset 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:·range.hxx·Source·File</title>8 <title>libpqxx:·config-public-autotools.h·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 631 lines modifiedOffset 60, 23 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">range.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">config-public-autotools.h</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/autotools·config.·*/</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_RANGE</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_RANGE</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div> 
85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
86 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};"> 
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01374.html">···23</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01374.html">no_bound</a></div> 
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> 
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div> 
90 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}"> 
91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">···26</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> 
92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> 
93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··}</div> 
95 </div> 
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div> 
97 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> 
98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">···31</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> 
99 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div> 
100 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
101 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}</div> 
102 </div> 
103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> 
104 </div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
108 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> 
109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01378.html">···42</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01378.html">inclusive_bound</a></div> 
110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> 
111 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·&lt;·10:·see·#665.)</span></div> 
112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div> 
113 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··TYPE·m_value;</div> 
114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> 
116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">···49</a></span>··<a·class="code·hl_function"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div> 
117 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> 
118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">···50</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·:·m_value{value}</div> 
119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> 
120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">if</span>·(is_null(value))</div> 
121 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">&quot;Got·null·value·as·an·inclusive·range·bound.&quot;</span>};</div> 
122 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> 
123 </div> 
124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">···56</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">get</a>()·const·&amp;noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div> 
126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
127 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> 
128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">···59</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·<span·class="keyword">const</span></div> 
129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·&lt;·m_value))</div> 
130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> 
131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·not(value·&lt;·m_value);</div> 
132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div> 
133 </div> 
134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
135 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> 
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">···66</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·<span·class="keyword">const</span></div> 
137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·&lt;·m_value))</div> 
138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> 
139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·not(m_value·&lt;·value);</div> 
140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> 
141 </div> 
142 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>};</div> 
143 </div> 
144 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
145 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
147 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};"> 
148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01382.html">···78</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01382.html">exclusive_bound</a></div> 
149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> 
150 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·&lt;·10:·see·#665.)</span></div> 
151 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> 
152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··TYPE·m_value;</div> 
153 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
154 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div> 
155 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">···85</a></span>··<a·class="code·hl_function"·href="a01382.html#a28470b926f2137faf0dcc00d8d6480da">exclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div> 
156 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> 
157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">···86</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·:·m_value{value}</div> 
158 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> 
159 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">if</span>·(is_null(value))</div> 
160 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">&quot;Got·null·value·as·an·exclusive·range·bound.&quot;</span>};</div> 
161 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··}</div> 
162 </div> 
163 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
164 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01382.html#a48eb7938ae1fa47f568f02e4753bb4f2">···92</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01382.html#a48eb7938ae1fa47f568f02e4753bb4f2">get</a>()·const·&amp;noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div> 
165 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
166 <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}"> 
167 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01382.html#a9dc981842fd802771fa55cd91088b3ab">···95</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01382.html#a9dc981842fd802771fa55cd91088b3ab">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·<span·class="keyword">const</span></div> 
168 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(m_value·&lt;·value))</div> 
169 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> 
Max diff block lines reached; 856/113741 bytes (0.75%) of diff not shown.
30.2 KB
html2text {}
    
Offset 1, 686 lines modifiedOffset 1, 8 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 config-public-autotools.h
 3 1/*·Automatically·generated·from·config.h:·public/autotools·config.·*/
 4 2
2 range.hxx 
3 1#ifndef·PQXX_H_RANGE 
4 2#define·PQXX_H_RANGE 
5 3 
6 4#if·!defined(PQXX_HEADER_PRE) 
7 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
8 6#endif 
9 7 
10 8#include·<utility> 
11 9#include·<variant> 
12 10 
13 11#include·"pqxx/internal/array-composite.hxx" 
14 12#include·"pqxx/internal/concat.hxx" 
15 13 
16 14namespace·_\x8p_\x8q_\x8x_\x8x 
17 15{ 
18 17 
19 _\x82_\x83struct·_\x8n_\x8o_\x8__\x8b_\x8o_\x8u_\x8n_\x8d 
20 24{ 
21 25·template<typename·TYPE> 
22 _\x82_\x86·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept 
23 27·{ 
24 28·return·true; 
25 29·} 
26 30·template<typename·TYPE> 
27 _\x83_\x81·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&)·const·noexcept 
28 32·{ 
29 33·return·true; 
30 34·} 
31 35}; 
32 36 
33 37 
34 39 
35 _\x84_\x82template<typename·TYPE>·class·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d 
36 43{ 
37 44·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) 
38 45private: 
39 46·TYPE·m_value; 
40 47 
41 48public: 
42 _\x84_\x89·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; 
43 _\x85_\x80·constexpr·explicit·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} 
44 51·{ 
45 52·if·(is_null(value)) 
46 53·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·inclusive·range·bound."}; 
47 54·} 
48 55 
49 _\x85_\x86·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; 
50 } 
51 57 
52 _\x85_\x89·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const 
53 60·noexcept(noexcept(value·<·m_value)) 
54 61·{ 
55 62·return·not(value·<·m_value); 
56 63·} 
57 64 
58 _\x86_\x86·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const 
59 67·noexcept(noexcept(value·<·m_value)) 
60 68·{ 
61 69·return·not(m_value·<·value); 
62 70·} 
63 71}; 
64 72 
65 73 
66 75 
67 _\x87_\x88template<typename·TYPE>·class·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d 
68 79{ 
69 80·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.) 
70 81private: 
71 82·TYPE·m_value; 
72 83 
73 84public: 
74 _\x88_\x85·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; 
75 _\x88_\x86·constexpr·explicit·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value} 
76 87·{ 
77 88·if·(is_null(value)) 
78 89·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·exclusive·range·bound."}; 
79 90·} 
80 91 
81 _\x89_\x82·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value; 
82 } 
83 93 
84 _\x89_\x85·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const 
85 96·noexcept(noexcept(m_value·<·value)) 
86 97·{ 
87 98·return·m_value·<·value; 
88 99·} 
89 100 
90 _\x81_\x80_\x82·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const 
91 103·noexcept(noexcept(value·<·m_value)) 
92 104·{ 
93 105·return·value·<·m_value; 
94 106·} 
95 107}; 
96 108 
97 109 
98 111 
99 _\x81_\x81_\x84template<typename·TYPE>·class·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d 
100 115{ 
101 116·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see 
102 #665.) 
103 117private: 
104 118·std::variant<no_bound,·inclusive_bound<TYPE>,·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>> 
105 m_bound; 
106 119 
107 120public: 
108 _\x81_\x82_\x81·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete; 
109 _\x81_\x82_\x82·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8n_\x8o_\x8__\x8b_\x8o_\x8u_\x8n_\x8d)·noexcept·:·m_bound{}·{} 
110 123 
111 _\x81_\x82_\x84·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>·const·&bound)·noexcept( 
112 125·noexcept(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{bound}))·: 
113 126·m_bound{bound} 
114 127·{} 
115 128 
116 _\x81_\x82_\x89·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>·const·&bound)·noexcept( 
117 130·noexcept(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d{bound}))·: 
118 131·m_bound{bound} 
119 132·{} 
120 133 
121 _\x81_\x83_\x84·constexpr·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d·const·&)·noexcept( 
122 135·noexcept(_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{ 
123 136·std::declval<inclusive_bound<TYPE>·const·&>()}) 
124 137·and·noexcept(_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d_\x8<_\x8T_\x8Y_\x8P_\x8E_\x8>{ 
Max diff block lines reached; 191/30870 bytes (0.62%) of diff not shown.
209 KB
./usr/share/doc/libpqxx-doc/html/a00029_source.html
    
Offset 1, 15 lines modifiedOffset 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:·stream_to.hxx·Source·File</title>8 <title>libpqxx:·range.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 386 lines modifiedOffset 60, 631 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">stream_to.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">range.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::stream_to·class.</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::stream_to·enables·optimized·batch·updates·to·a·database·table.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_to.hxx·instead.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_TO</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_RANGE</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_TO</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_RANGE</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 86 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};">
 87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01374.html">···23</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01374.html">no_bound</a></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
 89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div>
 90 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}">
 91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">···26</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div>
95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>
 93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
 94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··}</div>
 95 </div>
 96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div>
 97 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}">
 98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">···31</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01374.html#ad1afc63e6dfd4d5e99a3d7fbe0e6a98e">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div>
 99 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>
 100 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
 101 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}</div>
 102 </div>
 103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div>
 104 </div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 108 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};">
 109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01378.html">···42</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01378.html">inclusive_bound</a></div>
 110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>
 111 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·&lt;·10:·see·#665.)</span></div>
 112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div>
 113 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··TYPE·m_value;</div>
 114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>
 116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">···49</a></span>··<a·class="code·hl_function"·href="a01378.html#a669c68b6ac0918f80a69b95736832c84">inclusive_bound</a>()·=·<span·class="keyword">delete</span>;</div>
 117 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">
 118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">···50</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·:·m_value{value}</div>
 119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">if</span>·(is_null(value))</div>
 121 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01194.html">argument_error</a>{<span·class="stringliteral">&quot;Got·null·value·as·an·inclusive·range·bound.&quot;</span>};</div>
 122 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div>
 123 </div>
 124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">···56</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·TYPE·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01378.html#a9de488d75160a6fea87450d8de2101db">get</a>()·const·&amp;noexcept·{·<span·class="keywordflow">return</span>·m_value;·}</div>
 126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 127 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}">
 128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">···59</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#a262003fb0fad4296194b8802a077dfbc">extends_down_to</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·<span·class="keyword">const</span></div>
 129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·&lt;·m_value))</div>
 130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
 131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·not(value·&lt;·m_value);</div>
 132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div>
 133 </div>
 134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 135 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}">
 136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">···66</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01378.html#abdedc091380634eeac13cc78e02fde9b">extends_up_to</a>(TYPE·<span·class="keyword">const</span>·&amp;value)·<span·class="keyword">const</span></div>
 137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(value·&lt;·m_value))</div>
 138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
 139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·not(m_value·&lt;·value);</div>
 140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div>
 141 </div>
 142 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>};</div>
 143 </div>
 144 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 145 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
96 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};">147 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};">
97 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01474.html">···80</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01474.html">stream_to</a>·:·<a·class="code·hl_class"·href="a01494.html">transact[·...·truncated·by·diffoscope;·len:·9,·SHA:·0ca37a0513065e69d131da495f02befaeb82d2866622db5fd64a2854fcee32b8·...·]</a></div>148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01382.html">···78</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01382.h[·...·truncated·by·diffoscope;·len:·20,·SHA:·fb915b20144fbc0af364ec61c69b80a508203f743c1dbe758dc45bb325ef6304·...·]</a></div>
 149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div>
 150 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·(Putting·private·section·first·to·work·around·bug·in·gcc·&lt;·10:·see·#665.)</span></div>
Max diff block lines reached; 145658/169010 bytes (86.18%) of diff not shown.
44.2 KB
html2text {}
    
Offset 1, 402 lines modifiedOffset 1, 686 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 range.hxx
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_TO3 1#ifndef·PQXX_H_RANGE
16 14#define·PQXX_H_STREAM_TO 
17 154 2#define·PQXX_H_RANGE
 5 3
18 16#if·!defined(PQXX_HEADER_PRE)6 4#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."7 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
20 18#endif8 6#endif
21 19 
22 20#include·"pqxx/separated_list.hxx" 
23 21#include·"pqxx/transaction_base.hxx" 
24 22 
25 239 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
26 24namespace·_\x8p_\x8q_\x8x_\x8x16 14namespace·_\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{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
31 82public:41 48public:
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·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e·&tx,·std::string_view·path,·std::string_view·columns·=·"")42 _.4_.9·_.i_.n_.c_.l_.u_.s_.i_.v_.e_.__.b_.o_.u_.n_.d()·=·delete;
 43 _\x85_\x80·constexpr·explicit·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value}
 44 51·{
 45 52·if·(is_null(value))
 46 53·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·inclusive·range·bound."};
 47 54·}
 48 55
 49 _\x85_\x86·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value;
 50 }
 51 57
 52 _\x85_\x89·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const
 53 60·noexcept(noexcept(value·<·m_value))
 54 61·{
 55 62·return·not(value·<·m_value);
 56 63·}
 57 64
 58 _\x86_\x86·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const
 59 67·noexcept(noexcept(value·<·m_value))
 60 68·{
 61 69·return·not(m_value·<·value);
 62 70·}
 63 71};
 64 72
 65 73
 66 75
 67 _\x87_\x88template<typename·TYPE>·class·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d
 68 79{
 69 80·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see·#665.)
 70 81private:
 71 82·TYPE·m_value;
 72 83
 73 84public:
 74 _\x88_\x85·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d()·=·delete;
 75 _\x88_\x86·constexpr·explicit·_\x8e_\x8x_\x8c_\x8l_\x8u_\x8s_\x8i_\x8v_\x8e_\x8__\x8b_\x8o_\x8u_\x8n_\x8d(TYPE·const·&value)·:·m_value{value}
 76 87·{
 77 88·if·(is_null(value))
 78 89·throw·_\x8a_\x8r_\x8g_\x8u_\x8m_\x8e_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Got·null·value·as·an·exclusive·range·bound."};
 79 90·}
 80 91
 81 _\x89_\x82·[[nodiscard]]·constexpr·TYPE·const·&_\x8g_\x8e_\x8t()·const·&noexcept·{·return·m_value;
 82 }
 83 93
 84 _\x89_\x85·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8d_\x8o_\x8w_\x8n_\x8__\x8t_\x8o(TYPE·const·&value)·const
 85 96·noexcept(noexcept(m_value·<·value))
 86 97·{
 87 98·return·m_value·<·value;
 88 99·}
 89 100
 90 _\x81_\x80_\x82·[[nodiscard]]·constexpr·bool·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8s_\x8__\x8u_\x8p_\x8__\x8t_\x8o(TYPE·const·&value)·const
 91 103·noexcept(noexcept(value·<·m_value))
35 106·{92 104·{
36 107·return·{tx,·path,·columns};93 105·return·value·<·m_value;
37 108·}94 106·}
 95 107};
 96 108
38 10997 109
39 11198 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·=·{})99 _.1_.1_.4template<typename·TYPE>·class·_.r_.a_.n_.g_.e_.__.b_.o_.u_.n_.d
 100 115{
 101 116·//·(Putting·private·section·first·to·work·around·bug·in·gcc·<·10:·see
 102 #665.)
Max diff block lines reached; 37074/45257 bytes (81.92%) of diff not shown.
236 KB
./usr/share/doc/libpqxx-doc/html/a00035_source.html
    
Offset 1, 15 lines modifiedOffset 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:·except.hxx·Source·File</title>8 <title>libpqxx:·params.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 938 lines modifiedOffset 60, 312 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">except.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">params.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·libpqxx·exception·classes.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helpers·for·prepared·statements·and·parameterised·statements.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·...</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·See·the·connection·class·for·more·about·such·statements.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_EXCEPT</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PARAMS</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_EXCEPT</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_PARAMS</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··include·&lt;source_location&gt;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/internal/statement_parameters.hxx&quot;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 94 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}">
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00253.html">···26</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00253.html">pqxx::prepare</a></div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;</div>
 99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div>
99 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};">100 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}">
100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01146.html">···47</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01146.html">failure</a>·:·std::runtime_error</div>101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">···48</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(IT·begin,·IT·end)</div>
101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div>102 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>
102 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div> 
103 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(</div> 
104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::string·<span·class="keyword">const</span>·&amp;,</div>103 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params(begin,·end);</div>
105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::source_location·=·std::source_location::current());</div> 
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::source_location·location;</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#else</span></div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(std::string·<span·class="keyword">const</span>·&amp;);</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>};</div>104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>
111 </div>105 </div>
112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div>
 110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div>
115 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};">111 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}">
116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01150.html">···80</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·:·<a·class="code·hl_struct"·href="a01146.htm[·...·truncated·by·diffoscope;·len:·14,·SHA:·a676bde76d2af894a4578c25245f229afa113a7b3247111ab5328c002e5c7547·...·]</div>112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6de97f407faf3f08ad4df4db9cc338b">···73</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·<span·class="keyword"[·...·truncated·by·diffoscope;·len:·29,·SHA:·8cdb9ae0a29d562e6abda4552deab56e12ab24c5bb31b74268aef1013f31fe97·...·]</div>
117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>113 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div>
 114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">typename</span>·C::const_iterator;</div>
 115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-pre.hxx&quot;</span></div>
118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>();</div> 
119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>(</div> 
120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::string·<span·class="keyword">const</span>·&amp;</div> 
121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div>116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT&gt;{container};</div>
 117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-post.hxx&quot;</span></div>
122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····,</div> 
123 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::source_location·=·std::source_location::current()</div> 
124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>#endif</div> 
125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··);</div> 
126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div>118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div>
127 </div>119 </div>
 120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>123 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·ACCESSOR&gt;</div>
 124 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div>
131 <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="};">125 <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}">
132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01154.html">··102</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·:·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a></div>126 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00253.html#a1a203b1fe19277c71759412f2f6c6cb1">··102</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·&amp;container,·ACCESSOR·accessor)</div>
133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div>127 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div>
 128 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">decltype</span>(std::begin(container));</div>
 129 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-pre.hxx&quot;</span></div>
 130 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT,·ACCESSOR&gt;{container,·accessor};</div>
 131 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-post.hxx&quot;</span></div>
134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>(</div> 
135 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····std::string·<span·class="keyword">const</span>·&amp;</div> 
136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div> 
137 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····,</div> 
138 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····std::source_location·=·std::source_location::current()</div> 
139 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>#endif</div> 
140 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··);</div>132 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div>
141 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>};</div> 
142 </div>133 </div>
143 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
144 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
145 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="};"> 
146 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01158.html">··115</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01158.html">variable_set_to_null</a>·:·<a·class="code·hl_struct"·href="a01146.html">failure</a></div> 
147 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>{</div> 
148 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01158.html">variable_set_to_null</a>(</div> 
149 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····std::string·<span·class="keyword">const</span>·&amp;</div> 
150 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div> 
151 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····,</div>134 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>}·<span·class="comment">//·namespace·pqxx::prepare</span></div>
152 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····std::source_location·=·std::source_location::current()</div> 
Max diff block lines reached; 163426/189451 bytes (86.26%) of diff not shown.
51.3 KB
html2text {}
    
Offset 1, 935 lines modifiedOffset 1, 334 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 except.hxx 
3 1/*·Definition·of·libpqxx·exception·classes.2 params.hxx
 3 1/*·Helpers·for·prepared·statements·and·parameterised·statements.
4 2·*4 2·*
5 3·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·...5 3·*·See·the·connection·class·for·more·about·such·statements.
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead.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·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called9 7·*·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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
14 12·*/12 10·*/
15 13#ifndef·PQXX_H_EXCEPT 
16 14#define·PQXX_H_EXCEPT 
17 1513 11#ifndef·PQXX_H_PARAMS
 14 12#define·PQXX_H_PARAMS
 15 13
18 16#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
20 18#endif18 16#endif
 19 17
 20 18#include·<array>
21 1921 19
22 20#if·pqxx_have_source_location 
23 21#·include·<source_location> 
24 22#endif22 20#include·"pqxx/internal/concat.hxx"
 23 21#include·"pqxx/internal/statement_parameters.hxx"
 24 22#include·"pqxx/types.hxx"
25 2325 23
 26 24
 27 _\x82_\x86namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8e_\x8p_\x8a_\x8r_\x8e
26 24#include·<stdexcept> 
27 25#include·<string> 
28 26 
29 2728 27{
30 28namespace·_\x8p_\x8q_\x8x_\x8x 
31 29{29 29
32 _\x84_\x87struct·PQXX_LIBEXPORT·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e·:·std::runtime_error 
33 48{ 
34 49#if·pqxx_have_source_location 
35 50·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e( 
36 51·std::string·const·&, 
37 52·std::source_location·=·std::source_location::current()); 
38 53·std::source_location·location; 
39 54#else 
40 55·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e(std::string·const·&); 
41 56#endif 
42 57}; 
43 58 
44 59 
45 61 
46 _.8_.0struct·PQXX_LIBEXPORT·_.b_.r_.o_.k_.e_.n_.__.c_.o_.n_.n_.e_.c_.t_.i_.o_.n·:·_.f_.a_.i_.l_.u_.r_.e30 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
47 81{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)
48 82·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(); 
49 83·explicit·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n( 
50 84·std::string·const·& 
51 85#if·pqxx_have_source_location 
52 86·, 
53 87·std::source_location·=·std::source_location::current() 
54 88#endif 
55 89·); 
56 90}; 
57 91 
58 92 
59 94 
60 _\x81_\x80_\x82struct·PQXX_LIBEXPORT·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·:·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n 
61 103{54 103{
62 104·explicit·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n( 
63 105·std::string·const·& 
64 106#if·pqxx_have_source_location 
65 107·, 
66 108·std::source_location·=·std::source_location::current() 
67 109#endif 
68 110·);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
69 111};62 111
70 11263 112namespace·_.p_.q_.x_.x
71 11364 113{
 65 115
 66 _\x81_\x82_\x85template<typename·COUNTER·=·unsigned·int>·class·_\x8p_\x8l_\x8a_\x8c_\x8e_\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8s
72 _\x81_\x81_\x85struct·PQXX_LIBEXPORT·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e 
73 116{ 
74 117·explicit·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l( 
75 118·std::string·const·& 
76 119#if·pqxx_have_source_location 
77 120·, 
78 121·std::source_location·=·std::source_location::current() 
79 122#endif 
80 123·); 
81 124}; 
82 125 
83 12667 126{
84 128 
85 _\x81_\x83_\x81class·PQXX_LIBEXPORT·_\x8s_\x8q_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·:·public·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e 
86 132{ 
87 134·std::string·const·m_query; 
88 136·std::string·const·m_sqlstate;68 127public:
Max diff block lines reached; 47555/52469 bytes (90.63%) of diff not shown.
21.4 KB
./usr/share/doc/libpqxx-doc/html/a00038_source.html
    
Offset 1, 15 lines modifiedOffset 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:·config-internal-compiler.h·Source·File</title>8 <title>libpqxx:·errorhandler.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 29 lines modifiedOffset 60, 99 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">config-internal-compiler.h</div></div>67 ··<div·class="headertitle"><div·class="title">errorhandler.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::errorhandler·class.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::errorhandler·handlers·errors·and·warnings·in·a·database·session.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/errorhandler·instead.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ERRORHANDLER</span></div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ERRORHANDLER</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">class·</span>errorhandler_connection;</div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}</div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>
 100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 102 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};">
 103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01138.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div>
 104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PQXX_HAVE_CXA_DEMANGLE·1</span></div>105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div>
 106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;);</div>
 107 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01138.html">~errorhandler</a>();</div>
 108 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 110 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·msg[])·<span·class="keyword">noexcept</span>·=·0;</div>
 111 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 112 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">···67</a></span>··<a·class="code·hl_function"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">errorhandler</a>()·=·<span·class="keyword">delete</span>;</div>
 113 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">···68</a></span>··<a·class="code·hl_function"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">errorhandler</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 114 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">···69</a></span>··<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·&amp;<a·class="code·hl_function"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">operator=</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 115 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 116 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">private</span>:</div>
 117 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·*m_home;</div>
 118 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 119 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01138.html#af70de8ea5e1464b69bc5a4c4eaadb98e">···74</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection;</div>
 120 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div>
 121 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div>
 122 </div>
 123 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 125 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};">
 126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01142.html">···80</a></span>class·<a·class="code·hl_class"·href="a01142.html">quiet_errorhandler</a>·:·public·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div>
 127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>
 128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div>
 129 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">···84</a></span>··<a·class="code·hl_function"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;conn)·:·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>{conn}·{}</div>
 130 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 131 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">···87</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div>
 132 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div>
 133 </div>
 134 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 135 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}·<span·class="comment">//·namespace·pqxx</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_HAVE_POLL·1</span></div>136 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PQXX_HAVE_SLEEP_FOR·1</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·PQXX_HAVE_THREAD_LOCAL·1</span></div>137 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>
 138 <div·class="ttc"·id="aa00252_html"><div·class="ttname"><a·href="a00252.html">pqxx::internal::gate</a></div><div·class="ttdef"><b>Definition</b>·connection.hxx:112</div></div>
 139 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div>
 140 <div·class="ttc"·id="aa01138_html"><div·class="ttname"><a·href="a01138.html">pqxx::errorhandler</a></div><div·class="ttdoc">Base·class·for·error-handler·callbacks.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:54</div></div>
 141 <div·class="ttc"·id="aa01138_html_a702298913e5ef0a44552204ab0ef107a"><div·class="ttname"><a·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">pqxx::errorhandler::errorhandler</a></div><div·class="ttdeci">errorhandler()=delete</div></div>
 142 <div·class="ttc"·id="aa01138_html_a8404c336eaefab488ab326cbcb704993"><div·class="ttname"><a·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(char·const·msg[])·noexcept=0</div></div>
 143 <div·class="ttc"·id="aa01138_html_ac52009eced624930fdecaa9594c89c28"><div·class="ttname"><a·href="a01138.html#ac52009eced624930fdecaa9594c89c28">pqxx::errorhandler::operator=</a></div><div·class="ttdeci">errorhandler·&amp;·operator=(errorhandler·const·&amp;)=delete</div></div>
 144 <div·class="ttc"·id="aa01138_html_ae6e3073c572e5ed6190b640be8b08fa1"><div·class="ttname"><a·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">pqxx::errorhandler::errorhandler</a></div><div·class="ttdeci">errorhandler(errorhandler·const·&amp;)=delete</div></div>
 145 <div·class="ttc"·id="aa01142_html"><div·class="ttname"><a·href="a01142.html">pqxx::quiet_errorhandler</a></div><div·class="ttdoc">An·error·handler·that·suppresses·any·previously·registered·error·handlers.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:81</div></div>
 146 <div·class="ttc"·id="aa01142_html_a051f8a9a1019974daffc47c75addc46e"><div·class="ttname"><a·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">pqxx::quiet_errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(char·const[])·noexcept·override</div><div·class="ttdoc">Revert·to·previous·handling·of·error·notices.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:87</div></div>
 147 <div·class="ttc"·id="aa01142_html_a0cbea9b3c07e0bc115df209d34aa762d"><div·class="ttname"><a·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">pqxx::quiet_errorhandler::quiet_errorhandler</a></div><div·class="ttdeci">quiet_errorhandler(connection·&amp;conn)</div><div·class="ttdoc">Suppress·error·notices.</div><div·class="ttdef"><b>Definition</b>·errorhandler.hxx:84</div></div>
78 </div><!--·fragment·--></div><!--·contents·-->148 </div><!--·fragment·--></div><!--·contents·-->
79 </div><!--·doc-content·-->149 </div><!--·doc-content·-->
80 <!--·start·footer·part·-->150 <!--·start·footer·part·-->
81 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->151 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
82 ··<ul>152 ··<ul>
83 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>config-internal-compiler.h</b></li>153 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>errorhandler.hxx</b></li>
84 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>154 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>
85 ··</ul>155 ··</ul>
86 </div>156 </div>
87 </body>157 </body>
88 </html>158 </html>
4.36 KB
html2text {}
    
Offset 1, 14 lines modifiedOffset 1, 99 lines modified
1 libpqxx 7.8.11 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·12 errorhandler.hxx
 3 1/*·Definition·of·the·pqxx::errorhandler·class.
 4 2·*
 5 3·*·pqxx::errorhandler·handlers·errors·and·warnings·in·a·database·session.
 6 4·*
 7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/errorhandler·instead.
 8 6·*
 9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
 10 8·*
 11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
 12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
 13 11·*·mistake,·or·contact·the·author.
 14 12·*/
 15 13#ifndef·PQXX_H_ERRORHANDLER
 16 14#define·PQXX_H_ERRORHANDLER
 17 15
 18 16#if·!defined(PQXX_HEADER_PRE)
 19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
 20 18#endif
 21 19
 22 20#include·"pqxx/types.hxx"
 23 21
 24 22
 25 23namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e
 26 24{
 27 25class·errorhandler_connection;
 28 26}
 29 27
 30 28
 31 29namespace·_\x8p_\x8q_\x8x_\x8x
 32 30{
 33 35
 34 37
 35 _\x85_\x83class·PQXX_LIBEXPORT·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 36 54{
 37 55public:
 38 56·explicit·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&);
 39 57·virtual·_\x8~_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r();
 40 58
 41 61
 42 _\x86_\x85·virtual·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(char·const·msg[])·noexcept·=·0;
 43 66
 44 _\x86_\x87·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r()·=·delete;
 45 _\x86_\x88·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete;
 46 _\x86_\x89·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·const·&)·=·delete;
 47 70
 48 71private:
 49 72·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·*m_home;
 50 73
 51 _\x87_\x84·friend·class·internal::gate::errorhandler_connection;
 52 75·void·unregister()·noexcept;
 53 76};
 54 77
 55 78
 56 _\x88_\x80class·_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r·:·public·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 57 81{
 58 82public:
 59 _\x88_\x84·_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&conn)·:·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r{conn}·{}
 60 85
 61 _\x88_\x87·virtual·bool·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(char·const[])·noexcept·override·{·return·false;·}
 62 88};
 63 89
 64 91}·//·namespace·pqxx
 65 92#endif
 66 _\x8p_\x8q_\x8x_\x8x
 67 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 68 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33
 69 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e
 70 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:112
 71 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n
 72 Connection·to·a·database.
 73 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253
 74 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 75 Base·class·for·error-handler·callbacks.
 76 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:54
 77 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 78 errorhandler()=delete
 79 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)
 80 virtual·bool·operator()(char·const·msg[])·noexcept=0
 81 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=
 82 errorhandler·&·operator=(errorhandler·const·&)=delete
 83 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 84 errorhandler(errorhandler·const·&)=delete
 85 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 86 An·error·handler·that·suppresses·any·previously·registered·error·handlers.
 87 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:81
 88 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)
 89 virtual·bool·operator()(char·const[])·noexcept·override
 90 Revert·to·previous·handling·of·error·notices.
 91 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:87
 92 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r_\x8:_\x8:_\x8q_\x8u_\x8i_\x8e_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8r
 93 quiet_errorhandler(connection·&conn)
 94 Suppress·error·notices.
 95 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·errorhandler.hxx:84
11 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e96 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
12 ····*·_\x8p_\x8q_\x8x_\x8x97 ····*·_\x8p_\x8q_\x8x_\x8x
13 ····*·c.co.on.nf.fi.ig.g-.-i.in.nt.te.er.rn.na.al.l-.-c.co.om.mp.pi.il.le.er.r...h.h98 ····*·e.er.rr.ro.or.rh.ha.an.nd.dl.le.er.r...h.hx.xx.x
14 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.899 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
91.4 KB
./usr/share/doc/libpqxx-doc/html/a00041_source.html
    
Offset 1, 15 lines modifiedOffset 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:·stream_from.hxx·Source·File</title>8 <title>libpqxx:·transaction_focus.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 310 lines modifiedOffset 60, 154 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">stream_from.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">transaction_focus.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::stream_from·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::stream_from·enables·optimized·batch·reads·from·a·database·table.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_FROM</span></div>71 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_FOCUS</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_FROM</span></div>72 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_FOCUS</span></div>
 73 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 74 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 75 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 76 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>77 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>78 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 79 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 80 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>{</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 83 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};">
 84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01494.html">···28</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div>
 85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div>
 87 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}">
 88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">···31</a></span>··<a·class="code·hl_function"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">transaction_focus</a>(</div>
 89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname,·std::string_view·oname)·:</div>
 90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········m_trans{&amp;t},·m_classname{cname},·m_name{oname}</div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/stream_iterator.hxx&quot;</span></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/transaction_focus.hxx&quot;</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>91 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{}</div>
 92 </div>
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>transaction_base;</div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>93 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 94 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}">
 95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">···36</a></span>··<a·class="code·hl_function"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">transaction_focus</a>(</div>
 96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname,·std::string·&amp;&amp;oname)·:</div>
 97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··········m_trans{&amp;t},·m_classname{cname},·m_name{std::move(oname)}</div>
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{}</div>
 99 </div>
106 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00250.html#a66648ed503eb162846c41247daa32660">···40</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01498.html">from_table_t</a>·<a·class="code·hl_variable"·href="a00250.html#a66648ed503eb162846c41247daa32660">from_table</a>;</div> 
108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a31fff381823ee2bc5af1f47139b3b48c">···44</a></span><span·class="keyword">constexpr</span>·<a·class="code·hl_struct"·href="a01502.html">from_query_t</a>·<a·class="[·...·truncated·by·diffoscope;·len:·91,·SHA:·e50adc6e4b9941d399747665c58bb1cf4f7ddf4eb97bdd4947333e4046eb3904·...·]>101 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}">
 102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">···41</a></span>··<a·class="code·hl_function"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">transaction_focus</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname)·:</div>
 103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··········m_trans{&amp;t},·m_classname{cname}</div>
 104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div>
 105 </div>
110 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>106 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>107 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">···45</a></span>··<a·class="code·hl_function"·href="a01494.html#a110b1ac9360d94461f550bc229fd880b">transaction_focus</a>()·=·<span·class="keyword[·...·truncated·by·diffoscope;·len:·16,·SHA:·13c8ed3ea607ec79de5e0dccf8a0306e008f48e0cf79304e24c4e44e4aedb951·...·]</div>
 108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">···46</a></span>··<a·class="code·hl_function"·href="a01494.html#a5d57153b4a7b28784882ffa046296203">transaction_focus</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01494.html#aea03cea4362d054357b9923be5e93669">···47</a></span>··<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&amp;<a·class="code·hl_function"·href="a01494.html#aea03cea4362d054357b9923be5e93669">operator=</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 111 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">
 112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">···50</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4f6084553fd1dfe95cc5432675bf9395">classname</a>()·const·noexcept</div>
 113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 114 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">return</span>·m_classname;</div>
 115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··}</div>
 116 </div>
 117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 118 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">···56</a></span>··[[nodiscard]]·std::string_view·<a·class="code·hl_function"·href="a01494.html#a4ccffff2688e9e7757acc385be1d781c">name</a>()·const·&amp;noexcept·{·<span·class="keywordflow">return</span>·m_name;·}</div>
 119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
113 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};">120 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}">
114 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01470.html">···78</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01470.html">stream_from</a>·:·<a·class="code·hl_class"·href="a01494.html">transa[·...·truncated·by·diffoscope;·len:·14,·SHA:·7d76d235b1137e2918b2f9e53efee55ca3c27bec555e1735b25435f4cb4e6cda·...·]></div>121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">···58</a></span>··[[nodiscard]]·std::string·<a·class="code·hl_function"·href="a01494.html#a000513278ee08ec0f1f3d6aebec0a92f">description</a>()<s[·...·truncated·by·diffoscope;·len:·32,·SHA:·75465528dd6441210470199a2e1460a400aa5277cfe9c8de4a6f555d9e087aa4·...·]></div>
 122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div>
 123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00251.html#a9e632aaf61a00536f6ddea8a2472c80a">pqxx::internal::describe_object</a>(m_classname,·m_name);</div>
 124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>
 125 </div>
 126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 127 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 128 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01494.html#a5f7c64916c66dea3ea3f80a3131c7005">···63</a></span>··<a·class="code·hl_function"·href="a01494.html#a5f7c64916c66dea3ea3f80a3131c7005">transaction_focus</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&amp;&amp;other)·:</div>
 129 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········m_trans{other.m_trans},</div>
 130 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········m_registered{other.m_registered},</div>
 131 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········m_classname{other.m_classname},</div>
 132 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="comment">//·We·can&#39;t·move·the·name·until·later.</span></div>
 133 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··········m_name{}</div>
 134 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{</div>
 135 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·This·is·a·bit·more·complicated·than·you·might·expect.··The·transaction</span></div>
 136 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new</span></div>
 137 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·focus.</span></div>
 138 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····move_name_and_registration(other);</div>
 139 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>
 140 </div>
 141 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 142 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">
 143 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01494.html#aac813196ce2667d141d45242c7d0df22">···76</a></span>··<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&amp;<a·class="code·hl_function"·href="a01494.html#aac813196ce2667d141d45242c7d0df22">operator=</a>(<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>·&amp;&amp;other)</div>
Max diff block lines reached; 50146/72509 bytes (69.16%) of diff not shown.
20.5 KB
html2text {}
    
Offset 1, 338 lines modifiedOffset 1, 159 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 transaction_focus.hxx
 3 1
 4 9#ifndef·PQXX_H_TRANSACTION_FOCUS
 5 10#define·PQXX_H_TRANSACTION_FOCUS
 6 11
 7 12#if·!defined(PQXX_HEADER_PRE)
 8 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
 9 14#endif
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 1510 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·<cassert> 
23 21#include·<variant> 
24 22 
25 23#include·"pqxx/connection.hxx" 
26 24#include·"pqxx/except.hxx"11 16#include·"pqxx/util.hxx"
 12 17
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_\x8x13 18namespace·_\x8p_\x8q_\x8x_\x8x
35 33{ 
36 34class·transaction_base;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·{}
37 3523 35
38 36 
39 38 
40 _\x84_\x80constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8t_\x8a_\x8b_\x8l_\x8e; 
41 42 
42 _\x84_\x84constexpr·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8t·_\x8f_\x8r_\x8o_\x8m_\x8__\x8q_\x8u_\x8e_\x8r_\x8y; 
43 45 
44 4624 _.3_.6·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s(
 25 37·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string·&&oname)·:
 26 38·m_trans{&t},·m_classname{cname},·m_name{std::move(oname)}
 27 39·{}
 28 40
 29 _\x84_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname)·:
 30 42·m_trans{&t},·m_classname{cname}
 31 43·{}
 32 44
 33 _\x84_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s()·=·delete;
 34 _\x84_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete;
 35 _\x84_\x87·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete;
45 4836 48
46 _\x87_.8class·PQXX_LIBEXPORT·_.s_.t_.r_.e_.a_.m_.__.f_.r_.o_.m·:·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.f_.o_.c_.u_.s37 _\x85_.0·[[nodiscard]]·constexpr·std::string_view·_.c_.l_.a_.s_.s_.n_.a_.m_.e()·const·noexcept
 38 51·{
 39 52·return·m_classname;
 40 53·}
 41 54
 42 _\x85_\x86·[[nodiscard]]·std::string_view·_\x8n_\x8a_\x8m_\x8e()·const·&noexcept·{·return·m_name;·}
 43 57
 44 _\x85_\x88·[[nodiscard]]·std::string·_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8i_\x8o_\x8n()·const
 45 59·{
 46 60·return·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8b_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(m_classname,·m_name);
 47 61·}
 48 62
 49 _\x86_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other)·:
 50 64·m_trans{other.m_trans},
 51 65·m_registered{other.m_registered},
 52 66·m_classname{other.m_classname},
 53 67·//·We·can't·move·the·name·until·later.
 54 68·m_name{}
 55 69·{
 56 70·//·This·is·a·bit·more·complicated·than·you·might·expect.·The·transaction
 57 71·//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new
 58 72·//·focus.
 59 73·move_name_and_registration(other);
 60 74·}
 61 75
 62 _\x87_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other)
 63 77·{
 64 78·if·(&other·!=·this)
47 79{65 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 8666 80·if·(m_registered)
 67 81·unregister_me();
 68 82·m_trans·=·other.m_trans;
 69 83·m_classname·=·other.m_classname;
 70 84·move_name_and_registration(other);
 71 85·}
 72 86·return·*this;
 73 87·}
55 8874 88
 75 89protected:
 76 90·void·register_me();
 77 91·void·unregister_me()·noexcept;
 78 92·void·reg_pending_error(std::string·const·&)·noexcept;
 79 _\x89_\x83·bool·registered()·const·noexcept·{·return·m_registered;·}
 80 94
 81 _\x89_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·*_\x8m_\x8__\x8t_\x8r_\x8a_\x8n_\x8s;
 82 96
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) 
Max diff block lines reached; 8315/20930 bytes (39.73%) of diff not shown.
45.4 KB
./usr/share/doc/libpqxx-doc/html/a00044_source.html
    
Offset 1, 15 lines modifiedOffset 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:·isolation.hxx·Source·File</title>8 <title>libpqxx:·pipeline.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 74 lines modifiedOffset 60, 199 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">isolation.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">pipeline.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·transaction·isolation·levels,·and·such.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::pipeline·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*···Throughput-optimized·mechanism·for·executing·queries.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ISOLATION</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ISOLATION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
91 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
92 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> 
93 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">···26</a></span><span·class="keyword">enum·class</span>·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write[·...·truncated·by·diffoscope;·len:·10,·SHA:·cd1993e47367c4cffbb090c264ae1d9d83cadb7b276f747b7a5343a0607c4dc8·...·]></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
94 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·TODO:·libpq·14·introduced·a·similar·&quot;pipeline·mode.&quot;··Can·we·use·that?</span></div>
95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912abefe72871b2de8f4f0e20108517e31fe">read_only</a>,</div> 
96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a></div> 
97 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>};</div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
98 </div> 
99 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
101 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
102 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};">101 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};">
103 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">···65</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_[·...·truncated·by·diffoscope;·len:·5,·SHA:·0081779c287d567d9ca622f4c0cc2ede819b0cc7f286a5f01d8c3c0178191ad6·...·]</a></div>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01366.html">···50</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01366.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·44,·SHA:·9b771f2e5d74ca6e477f1f328a1ef8f7296f4ed7589907af4b0c10ee9cc031da·...·]</a></div>
 103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div>
 104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·=·long;</div>
 106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">···56</a></span>··<a·class="code·hl_function"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">···57</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">···58</a></span>··<a·class="code·hl_function"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div>
 110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">···59</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 113 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t)·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname}</div>
 115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div>
 116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····init();</div>
104 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div>117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div>
105 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·PostgreSQL·only·has·the·better·isolation·levels.</span></div> 
106 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·read_uncommitted,</span></div>118 </div>
 119 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}">
 120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">···68</a></span>··<a·class="code·hl_function"·href="a01366.html#a92463b4b599f681a372016d5dbbe016d">pipeline</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·tname)·:</div>
 121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01494.html">transaction_focus</a>{t,·s_classname,·tname}</div>
107 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>122 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div>
108 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">···70</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div> 
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">···71</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">repeatable_read</a>,</div> 
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">···72</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b24[·...·truncated·by·diffoscope;·len:·38,·SHA:·93b54ba3050c12379eab371e979a42d4ef955bbbaa06f4a097c29a95937ce6f4·...·]</div>123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····init();</div>
 124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div>
 125 </div>
111 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div>126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 127 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01366.html">~pipeline</a>()·noexcept;</div>
 128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 129 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··query_id·insert(std::string_view)·&amp;;</div>
 131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 133 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordtype">void</span>·complete();</div>
 134 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 135 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 136 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keywordtype">void</span>·flush();</div>
 137 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 138 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 139 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordtype">void</span>·cancel();</div>
 140 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 141 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·is_finished(query_id)·const;</div>
 142 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 143 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 144 <div·class="foldopen"·id="foldopen00128"·data-start="{"·data-end="}">
 145 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01366.html#a19c508710d0025993e41512f23de56be">··128</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·retrieve(<a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·qid)</div>
 146 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··{</div>
 147 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keywordflow">return</span>·retrieve(m_queries.find(qid)).second;</div>
 148 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··}</div>
 149 </div>
 150 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div>
 151 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 152 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··std::pair&lt;query_id,·result&gt;·retrieve();</div>
 153 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 154 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a01366.html#a2b71c541f1cd3949cbc5344f42d10039">··137</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01366.html#a2b71c541f1cd3949cbc5344f42d10039">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·std::empty(m_queries);·}</div>
 155 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div>
 156 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
 157 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keywordtype">int</span>·retain(<span·class="keywordtype">int</span>·retain_max·=·2)·&amp;;</div>
 158 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div>
 159 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
Max diff block lines reached; 7510/37644 bytes (19.95%) of diff not shown.
8.5 KB
html2text {}
    
Offset 1, 71 lines modifiedOffset 1, 202 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 isolation.hxx 
3 1/*·Definitions·for·transaction·isolation·levels,·and·such.2 pipeline.hxx
 3 1/*·Definition·of·the·pqxx::pipeline·class.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/isolation·instead.5 3·*·Throughput-optimized·mechanism·for·executing·queries.
6 4·*6 4·*
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.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.
 10 8·*
9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 9·*·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·this12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.13 11·*·mistake,·or·contact·the·author.
12 10·*/14 12·*/
13 11#ifndef·PQXX_H_ISOLATION15 13#ifndef·PQXX_H_PIPELINE
14 12#define·PQXX_H_ISOLATION16 14#define·PQXX_H_PIPELINE
15 1317 15
16 14#if·!defined(PQXX_HEADER_PRE)18 16#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#endif20 18#endif
19 17 
20 18#include·"pqxx/util.hxx" 
21 1921 19
22 20namespace·_\x8p_\x8q_\x8x_\x8x 
23 21{22 20#include·<limits>
 23 21#include·<map>
 24 22#include·<string>
24 2325 23
25 _\x82_\x86enum·class·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y 
26 27{ 
27 28·_\x8r_\x8e_\x8a_\x8d_\x8__\x8o_\x8n_\x8l_\x8y, 
28 29·_\x8r_\x8e_\x8a_\x8d_\x8__\x8w_\x8r_\x8i_\x8t_\x8e 
29 30}; 
30 3126 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
31 3233 32
 34 _\x85_\x80class·PQXX_LIBEXPORT·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s
 35 51{
 36 52public:
 37 _\x85_\x84·using·_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·=·long;
 38 55
 39 _\x85_\x86·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete;
 40 _\x85_\x87·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete;
 41 _\x85_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete;
 42 _\x85_\x89·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete;
 43 60
 44 61
 45 _\x86_\x83·explicit·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t)·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname}
 46 64·{
 47 65·init();
 48 66·}
 49 _\x86_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·tname)·:
 50 69·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname,·tname}
 51 70·{
 52 71·init();
 53 72·}
 54 73
 55 75·_\x8~_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e()·noexcept;
 56 76
 57 78
 58 84·query_id·insert(std::string_view)·&;
 59 85
 60 87
 61 93·void·complete();
 62 94
 63 96
 64 105·void·flush();
 65 106
 66 108
 67 116·void·cancel();
 68 117
 69 119·[[nodiscard]]·bool·is_finished(query_id)·const;
 70 120
 71 122
 72 _\x81_\x82_\x88·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·retrieve(_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·qid)
 73 129·{
 74 130·return·retrieve(m_queries.find(qid)).second;
 75 131·}
 76 132
32 3477 134
33 _\x86_\x85enum·_\x8i_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8l_\x8e_\x8v_\x8e_\x8l 
34 66{ 
35 67·//·PostgreSQL·only·has·the·better·isolation·levels. 
36 68·//·read_uncommitted, 
37 69 
38 _\x87_\x80·_\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8o_\x8m_\x8m_\x8i_\x8t_\x8t_\x8e_\x8d, 
39 _\x87_\x81·_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8r_\x8e_\x8a_\x8d, 
40 _\x87_\x82·_\x8s_\x8e_\x8r_\x8i_\x8a_\x8l_\x8i_\x8z_\x8a_\x8b_\x8l_\x8e, 
41 73};78 135·std::pair<query_id,·result>·retrieve();
 79 136
 80 _\x81_\x83_\x87·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·std::empty(m_queries);·}
 81 138
 82 141
 83 152·int·retain(int·retain_max·=·2)·&;
 84 153
 85 154
 86 156·void·resume()·&;
 87 157
 88 158private:
 89 159·struct·PQXX_PRIVATE·Query
 90 160·{
 91 161·explicit·Query(std::string_view·q)·:
 92 162·query{std::make_shared<std::string>(q)}
 93 163·{}
 94 164
 95 165·std::shared_ptr<std::string>·query;
 96 166·result·res;
 97 167·};
 98 168
 99 169·using·QueryMap·=·std::map<query_id,·Query>;
 100 170
 101 171·void·init();
 102 172·void·attach();
 103 173·void·detach();
 104 174
 105 176·static·constexpr·query_id·qid_limit()·noexcept
 106 177·{
 107 178·//·Parenthesise·this·to·work·around·an·eternal·Visual·C++·problem:
 108 179·//·Without·the·extra·parentheses,·unless·NOMINMAX·is·defined,·the
 109 180·//·preprocessor·will·mistake·this·"max"·for·its·annoying·built-in·macro
 110 181·//·of·the·same·name.
Max diff block lines reached; 3106/8679 bytes (35.79%) of diff not shown.
91.7 KB
./usr/share/doc/libpqxx-doc/html/a00047_source.html
    
Offset 1, 15 lines modifiedOffset 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:·config.h·Source·File</title>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 60, 136 lines modifiedOffset 60, 386 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">config.h</div></div>67 ··<div·class="headertitle"><div·class="title">stream_to.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·include/pqxx/config.h.··Generated·from·config.h.in·by·configure.··*/</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::stream_to·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">/*·include/pqxx/config.h.in.··Generated·from·configure.ac·by·autoheader.··*/</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;dlfcn.h&gt;·header·file.·*/</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·HAVE_DLFCN_H·1</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::stream_to·enables·optimized·batch·updates·to·a·database·table.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_to.hxx·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;inttypes.h&gt;·header·file.·*/</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq&#39;·library·(-lpq).·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_LIBPQ·1</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_TO</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdint.h&gt;·header·file.·*/</span></div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·HAVE_STDINT_H·1</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_TO</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdio.h&gt;·header·file.·*/</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;stdlib.h&gt;·header·file.·*/</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_STDLIB_H·1</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;strings.h&gt;·header·file.·*/</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·HAVE_STRINGS_H·1</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;string.h&gt;·header·file.·*/</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 96 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};">
 97 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01474.html">···80</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01474.html">stream_to</a>·:·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/stat.h&gt;·header·file.·*/</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·HAVE_SYS_STAT_H·1</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/types.h&gt;·header·file.·*/</span></div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;unistd.h&gt;·header·file.·*/</span></div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·LT_OBJDIR·&quot;.libs/&quot;</span></div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Name·of·package·*/</span></div> 
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div> 
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div> 
114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div> 
116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div> 
117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div> 
119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·7.8.1&quot;</span></div> 
120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div> 
122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div> 
123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div> 
125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#define·PACKAGE_URL·&quot;&quot;</span></div> 
126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
127 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div> 
128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;7.8.1&quot;</span></div> 
129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·floating-point·conversion.·*/</span></div> 
131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_FLOAT·1</span></div> 
132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
133 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·integer·conversion.·*/</span></div> 
134 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PQXX_HAVE_CHARCONV_INT·1</span></div> 
135 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
136 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·if·compiler·has·C++20·std::cmp_greater·etc.·*/</span></div> 
137 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">/*·#undef·PQXX_HAVE_CMP·*/</span></div> 
138 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
139 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·if·compiler·supports·Concepts·and·&lt;ranges&gt;·header.·*/</span></div> 
140 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">/*·#undef·PQXX_HAVE_CONCEPTS·*/</span></div> 
141 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
142 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·if·compiler·supports·__cxa_demangle·*/</span></div> 
143 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#define·PQXX_HAVE_CXA_DEMANGLE·1</span></div> 
144 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
145 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">/*·Define·if·g++·supports·pure·attribute·*/</span></div> 
146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_PURE·1</span></div> 
147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">/*·Define·if·g++·supports·visibility·attribute.·*/</span></div> 
149 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_VISIBILITY·1</span></div> 
150 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>98 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>
151 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">/*·Define·if·likely·&amp;·unlikely·work.·*/</span></div> 
152 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">/*·#undef·PQXX_HAVE_LIKELY·*/</span></div>99 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div>
153 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>100 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 101 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}">
 102 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01474.html#a05279e61c463fb48a4182eea47f8f531">··104</a></span>··<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01474.html">stream_to</a>·<a·class="code·hl_function"·href="a01474.html#a05279e61c463fb48a4182eea47f8f531">raw_table</a>(</div>
 103 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;tx,·std::string_view·path,·std::string_view·columns·=·<span·class="stringliteral">&quot;&quot;</span>)</div>
154 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">/*·Define·if·compiler·has·usable·std::filesystem::path.·*/</span></div> 
155 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">#define·PQXX_HAVE_PATH·1</span></div> 
156 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
Max diff block lines reached; 843/75191 bytes (1.12%) of diff not shown.
18.2 KB
html2text {}
    
Offset 1, 122 lines modifiedOffset 1, 402 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 config.h 
3 1/*·include/pqxx/config.h.·Generated·from·config.h.in·by·configure.·*/ 
4 2/*·include/pqxx/config.h.in.·Generated·from·configure.ac·by·autoheader.·*/ 
5 3 
6 4/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/ 
7 5#define·HAVE_DLFCN_H·1 
8 6 
9 7/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/ 
10 8#define·HAVE_INTTYPES_H·1 
11 9 
12 10/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/ 
13 11#define·HAVE_LIBPQ·1 
14 12 
15 13/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/ 
16 14#define·HAVE_STDINT_H·12 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 1517 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{
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 2728 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 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·"" 
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 8130 81{
 31 82public:
85 82/*·Define·if·likely·&·unlikely·work.·*/ 
86 83/*·#undef·PQXX_HAVE_LIKELY·*/ 
87 8432 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};
88 85/*·Define·if·compiler·has·usable·std::filesystem::path.·*/ 
89 86#define·PQXX_HAVE_PATH·1 
90 87 
91 88/*·Define·if·poll()·is·available.·*/ 
92 89#define·PQXX_HAVE_POLL·1 
93 90 
94 91/*·Define·if·std::this_thread::sleep_for·works.·*/ 
95 92#define·PQXX_HAVE_SLEEP_FOR·1 
96 93 
97 94/*·Define·if·compiler·has·std::span.·*/ 
Max diff block lines reached; 152/18614 bytes (0.82%) of diff not shown.
63.2 KB
./usr/share/doc/libpqxx-doc/html/a00053_source.html
    
Offset 1, 15 lines modifiedOffset 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:·pipeline.hxx·Source·File</title>8 <title>libpqxx:·composite.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 199 lines modifiedOffset 60, 159 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">pipeline.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">composite.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::pipeline·class.</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*···Throughput-optimized·mechanism·for·executing·queries.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_COMPOSITE</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_COMPOSITE</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>83 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·TODO:·libpq·14·introduced·a·similar·&quot;pipeline·mode.&quot;··Can·we·use·that?</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
101 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01366.html">···50</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01366.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div> 
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> 
104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;</div>
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01366.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·=·long;</div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">···56</a></span>··<a·class="code·hl_function"·href="a01366.html#ae8036160d99e56a6593000a210a966a6">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">···57</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01366.html#a30abfeb5aca46a50a5879285ab1f7ac6">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">···58</a></span>··<a·class="code·hl_function"·href="a01366.html#ad0d8d4cdb9812b918842a812e5c5360c">pipeline</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">···59</a></span>··<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01366.html#a0e4a1002dc49d4df0518556a67c7a752">operator=</a>(<a·class="code·hl_class"·href="a01366.html">pipeline</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
113 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">85 <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="}">
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01366.html#a0c80a5e68052b2c35089e384e3c842ce">pipelin[·...·truncated·by·diffoscope;·len:·162,·SHA:·de652062a4f215a3a23877a8cc116871f178341d7c13229607f4189d556b2bc6·...·]</div>86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">···35</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686[·...·truncated·by·diffoscope;·len:·47,·SHA:·767eea30a686e5a7bd7cda38f8cdae477fa0e1b311751b28188c7174ddd230b3·...·]</div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··pqxx::internal::encoding_group·enc,·std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&amp;...fields)</div>
 88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div>
 89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(fields)·&gt;·0);</div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·scan{<a·class="code·hl_function"·href="a00251.html#a0e21b3091e1c76c9cbd604e0cff6f17a">pqxx::internal::get_glyph_scanner</a>(enc)};</div>
 92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·data{std::data(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div>
 93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·size{std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordflow">if</span>·(size·==·0)</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{<span·class="stringliteral">&quot;Cannot·parse·composite·value·from·empty·string.&quot;</span>};</div>
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··std::size_t·here{0},·next{scan(data,·size,·here)};</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keywordflow">if</span>·(next·!=·1·or·data[here]·!=·<span·class="charliteral">&#39;(&#39;</span>)</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······internal::concat(<span·class="stringliteral">&quot;Invalid·composite·value·string:·&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div>
 101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··here·=·next;</div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·TODO:·Reuse·parse_composite_field·specialisation·across·calls.</span></div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·num_fields{<span·class="keyword">sizeof</span>...(fields)};</div>
 106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::size_t·index{0};</div>
 107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··(pqxx::internal::specialize_parse_composite_field&lt;T&gt;(enc)(</div>
 108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····index,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·here,·fields,·num_fields·-·1),</div>
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····init();</div>109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···...);</div>
 110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">if</span>·(here·!=·std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>))</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="stringliteral">&quot;Composite·value·did·not·end·at·the·closing·parenthesis:·&#39;&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,</div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="stringliteral">&quot;&#39;.&quot;</span>)};</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[here·-·1]·!=·<span·class="charliteral">&#39;)&#39;</span>)</div>
 115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div>
 116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="stringliteral">&quot;Composive·value·did·not·end·in·parenthesis:·&#39;&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="stringliteral">&quot;&#39;&quot;</span>)};</div>
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div>117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div>
 118 </div>
 119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;</div>
 123 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">
 124 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00250.html#a0cd702e0c9b6172bf07f0253b238506b">···76</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&amp;...fields)</div>
 125 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div>
 126 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(pqxx::internal::encoding_group::MONOBYTE,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·fields...);</div>
 127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div>
 128 </div>
 129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
Max diff block lines reached; 31018/52297 bytes (59.31%) of diff not shown.
12.1 KB
html2text {}
    
Offset 1, 202 lines modifiedOffset 1, 155 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 composite.hxx
2 pipeline.hxx 
3 1/*·Definition·of·the·pqxx::pipeline·class. 
4 2·* 
5 3·*·Throughput-optimized·mechanism·for·executing·queries. 
6 4·* 
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/pipeline·instead. 
8 6·* 
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. 
10 8·* 
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called 
12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this 
13 11·*·mistake,·or·contact·the·author. 
14 12·*/ 
15 13#ifndef·PQXX_H_PIPELINE3 1#ifndef·PQXX_H_COMPOSITE
16 14#define·PQXX_H_PIPELINE4 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{
17 1516 15
18 16#if·!defined(PQXX_HEADER_PRE) 
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
20 18#endif 
21 19 
22 20#include·<limits> 
23 21#include·<map> 
24 22#include·<string> 
25 23 
26 24#include·"pqxx/transaction_base.hxx" 
27 25 
28 26 
29 27namespace·_\x8p_\x8q_\x8x_\x8x 
30 28{ 
31 29//·TODO:·libpq·14·introduced·a·similar·"pipeline·mode."·Can·we·use·that? 
32 30 
33 32 
34 _\x85_\x80class·PQXX_LIBEXPORT·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·:·public·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s 
35 51{ 
36 52public: 
37 _\x85_\x84·using·_\x8q_\x8u_\x8e_\x8r_\x8y_\x8__\x8i_\x8d·=·long; 
38 55 
39 _\x85_\x86·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; 
40 _\x85_\x87·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·const·&)·=·delete; 
41 _\x85_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; 
42 _\x85_\x89·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e·&&)·=·delete; 
43 60 
44 61 
45 _\x86_\x83·explicit·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t)·:·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname} 
46 64·{ 
47 65·init();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,·"'")};
48 66·}49 66}
49 _\x86_\x88·_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·tname)·: 
50 69·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s{t,·s_classname,·tname} 
51 70·{ 
52 71·init(); 
53 72·} 
54 73 
55 75·_\x8~_\x8p_\x8i_\x8p_\x8e_\x8l_\x8i_\x8n_\x8e()·noexcept; 
56 76 
57 78 
58 84·query_id·insert(std::string_view)·&; 
59 8550 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
60 8765 87
61 93·void·complete(); 
62 94 
63 96 
64 105·void·flush(); 
65 106 
66 108 
67 116·void·cancel();66 88
 67 89namespace·_\x8p_\x8q_\x8x_\x8x
 68 90{
 69 92
Max diff block lines reached; 7170/12339 bytes (58.11%) of diff not shown.
22.5 KB
./usr/share/doc/libpqxx-doc/html/a00056_source.html
    
Offset 1, 15 lines modifiedOffset 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:·transactor.hxx·Source·File</title>8 <title>libpqxx:·config-internal-autotools.h·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 111 lines modifiedOffset 60, 30 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">transactor.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">config-internal-autotools.h</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions.</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·7.8.1&quot;</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;7.8.1&quot;</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> 
95 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
97 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TRANSACTION_CALLBACK&gt;</div> 
98 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}"> 
99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">··101</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">perform</a>(TRANSACTION_CALLBACK·&amp;&amp;callback,·<span·class="keywordtype">int</span>·attempts·=·3)</div> 
100 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··-&gt;·std::invoke_result_t&lt;TRANSACTION_CALLBACK&gt;</div> 
101 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> 
102 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordflow">if</span>·(attempts·&lt;=·0)</div> 
103 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div> 
104 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="stringliteral">&quot;Zero·or·negative·number·of·attempts·passed·to·pqxx::perform().&quot;</span>};</div> 
105 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
106 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keywordflow">for</span>·(;·attempts·&gt;·0;·--attempts)</div> 
107 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··{</div> 
108 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">try</span></div> 
109 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div> 
110 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·std::invoke(callback);</div> 
111 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div> 
112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01166.html">in_doubt_error</a>·<span·class="keyword">const</span>·&amp;)</div> 
113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····{</div> 
114 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div> 
115 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div> 
116 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<span·class="keywordflow">throw</span>;</div> 
117 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····}</div> 
118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01178.html">statement_completion_unknown</a>·<span·class="keyword">const</span>·&amp;)</div> 
119 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div> 
120 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·Not·sure·whether·our·last·statement·succeeded.··Don&#39;t·risk·running·it</span></div> 
121 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<span·class="comment">//·again.</span></div> 
122 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······<span·class="keywordflow">throw</span>;</div> 
123 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····}</div> 
124 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·<span·class="keyword">const</span>·&amp;)</div> 
125 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····{</div> 
126 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="comment">//·This·is·a·subclass·of·broken_connection,·but·it&#39;s·not·one·where</span></div> 
127 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······<span·class="comment">//·retrying·is·likely·to·do·us·any·good.</span></div> 
128 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>······<span·class="keywordflow">throw</span>;</div> 
129 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····}</div> 
130 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·<span·class="keyword">const</span>·&amp;)</div> 
131 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····{</div> 
132 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="comment">//·Connection·failed.··May·be·worth·retrying,·if·the·transactor·opens·its</span></div> 
133 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······<span·class="comment">//·own·connection.</span></div> 
134 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)</div> 
135 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>········<span·class="keywordflow">throw</span>;</div> 
136 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······<span·class="keywordflow">continue</span>;</div> 
137 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····}</div> 
138 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01170.html">transaction_rollback</a>·<span·class="keyword">const</span>·&amp;)</div> 
139 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····{</div> 
140 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>······<span·class="comment">//·Some·error·that·may·well·be·transient,·such·as·serialization·failure</span></div> 
141 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>······<span·class="comment">//·or·deadlock.··Worth·retrying.</span></div> 
142 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)</div> 
143 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>········<span·class="keywordflow">throw</span>;</div> 
144 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······<span·class="keywordflow">continue</span>;</div> 
145 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····}</div> 
146 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··}</div> 
147 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01186.html">pqxx::internal_error</a>{<span·class="stringliteral">&quot;No·outcome·reached·on·perform().&quot;</span>};</div> 
148 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>}</div> 
149 </div> 
150 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
151 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span><span·class="preprocessor">#endif</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#define·VERSION·&quot;7.8.1&quot;</span></div>
152 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> 
153 <div·class="ttc"·id="aa00250_html_a9c2faadd143f7c48353eb23b2aa24134"><div·class="ttname"><a·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">pqxx::perform</a></div><div·class="ttdeci">auto·perform(TRANSACTION_CALLBACK·&amp;&amp;callback,·int·attempts=3)·-&gt;·std::invoke_result_t&lt;·TRANSACTION_CALLBACK·&gt;</div><div·class="ttdoc">Simple·way·to·execute·a·transaction·with·automatic·retry.</div><div·class="ttdef"><b>Definition</b>·transactor.hxx:101</div></div> 
154 <div·class="ttc"·id="aa01150_html"><div·class="ttname"><a·href="a01150.html">pqxx::broken_connection</a></div><div·class="ttdoc">Exception·class·for·lost·or·failed·backend·connection.</div><div·class="ttdef"><b>Definition</b>·except.hxx:81</div></div> 
155 <div·class="ttc"·id="aa01154_html"><div·class="ttname"><a·href="a01154.html">pqxx::protocol_violation</a></div><div·class="ttdoc">Exception·class·for·micommunication·with·the·server.</div><div·class="ttdef"><b>Definition</b>·except.hxx:103</div></div> 
156 <div·class="ttc"·id="aa01166_html"><div·class="ttname"><a·href="a01166.html">pqxx::in_doubt_error</a></div><div·class="ttdoc">&quot;Help,·I·don't·know·whether·transaction·was·committed·successfully!&quot;</div><div·class="ttdef"><b>Definition</b>·except.hxx:165</div></div> 
157 <div·class="ttc"·id="aa01170_html"><div·class="ttname"><a·href="a01170.html">pqxx::transaction_rollback</a></div><div·class="ttdoc">The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.</div><div·class="ttdef"><b>Definition</b>·except.hxx:178</div></div> 
158 <div·class="ttc"·id="aa01178_html"><div·class="ttname"><a·href="a01178.html">pqxx::statement_completion_unknown</a></div><div·class="ttdoc">We·can't·tell·whether·our·last·statement·succeeded.</div><div·class="ttdef"><b>Definition</b>·except.hxx:214</div></div> 
159 <div·class="ttc"·id="aa01186_html"><div·class="ttname"><a·href="a01186.html">pqxx::internal_error</a></div><div·class="ttdoc">Internal·error·in·libpqxx·library.</div><div·class="ttdef"><b>Definition</b>·except.hxx:242</div></div> 
160 </div><!--·fragment·--></div><!--·contents·-->79 </div><!--·fragment·--></div><!--·contents·-->
161 </div><!--·doc-content·-->80 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->82 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>83 ··<ul>
165 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>transactor.hxx</b></li>84 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>config-internal-autotools.h</b></li>
Max diff block lines reached; 35/18343 bytes (0.19%) of diff not shown.
4.53 KB
html2text {}
    
Offset 1, 112 lines modifiedOffset 1, 15 lines modified
1 libpqxx 7.8.11 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 transactor.hxx 
3 1/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions. 
4 2·* 
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead. 
6 4·* 
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. 
8 6·* 
9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called 
10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this 
11 9·*·mistake,·or·contact·the·author. 
12 10·*/ 
13 11#ifndef·PQXX_H_TRANSACTOR 
14 12#define·PQXX_H_TRANSACTOR 
15 13 
16 14#if·!defined(PQXX_HEADER_PRE) 
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
18 16#endif 
19 17 
20 18#include·<functional> 
21 19#include·<type_traits> 
22 20 
23 21#include·"pqxx/connection.hxx" 
24 22#include·"pqxx/transaction.hxx" 
25 23 
26 24namespace·_\x8p_\x8q_\x8x_\x8x 
27 25{ 
28 69 
29 71 
30 100template<typename·TRANSACTION_CALLBACK> 
31 _\x81_\x80_\x81inline·auto·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m(TRANSACTION_CALLBACK·&&callback,·int·attempts·=·3) 
32 102·->·std::invoke_result_t<TRANSACTION_CALLBACK> 
33 103{ 
34 104·if·(attempts·<=·0) 
35 105·throw·std::invalid_argument{ 
36 106·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."}; 
37 107 
38 108·for·(;·attempts·>·0;·--attempts) 
39 109·{ 
40 110·try 
41 111·{ 
42 112·return·std::invoke(callback); 
43 113·} 
44 114·catch·(_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·const·&) 
45 115·{ 
46 116·//·Not·sure·whether·transaction·went·through·or·not.·The·last·thing·in 
47 117·//·the·world·that·we·should·do·now·is·try·again! 
48 118·throw; 
49 119·} 
50 120·catch·(_\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n·const·&) 
51 121·{ 
52 122·//·Not·sure·whether·our·last·statement·succeeded.·Don't·risk·running·it 
53 123·//·again. 
54 124·throw; 
55 125·} 
56 126·catch·(_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·const·&) 
57 127·{ 
58 128·//·This·is·a·subclass·of·broken_connection,·but·it's·not·one·where 
59 129·//·retrying·is·likely·to·do·us·any·good. 
60 130·throw; 
61 131·} 
62 132·catch·(_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&) 
63 133·{ 
64 134·//·Connection·failed.·May·be·worth·retrying,·if·the·transactor·opens·its 
65 135·//·own·connection. 
66 136·if·(attempts·<=·1) 
67 137·throw; 
68 138·continue; 
69 139·} 
70 140·catch·(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8o_\x8l_\x8l_\x8b_\x8a_\x8c_\x8k·const·&) 
71 141·{ 
72 142·//·Some·error·that·may·well·be·transient,·such·as·serialization·failure 
73 143·//·or·deadlock.·Worth·retrying. 
74 144·if·(attempts·<=·1) 
75 145·throw; 
76 146·continue; 
77 147·} 
78 148·} 
79 149·throw·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"No·outcome·reached·on·perform()."}; 
80 150} 
81 151}·//·namespace·pqxx 
82 153#endif 
83 _\x8p_\x8q_\x8x_\x8x 
84 The·home·of·all·libpqxx·classes,·functions,·templates,·etc. 
85 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33 
86 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m 
87 auto·perform(TRANSACTION_CALLBACK·&&callback,·int·attempts=3)·->·std:: 
88 invoke_result_t<·TRANSACTION_CALLBACK·> 
89 Simple·way·to·execute·a·transaction·with·automatic·retry. 
90 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·transactor.hxx:101 
91 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n 
92 Exception·class·for·lost·or·failed·backend·connection. 
93 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:81 
94 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n 
95 Exception·class·for·micommunication·with·the·server. 
96 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:103 
97 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r 
98 "Help,·I·don't·know·whether·transaction·was·committed·successfully!" 
99 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:165 
100 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8o_\x8l_\x8l_\x8b_\x8a_\x8c_\x8k 
101 The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction. 
102 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:178 
103 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n 
104 We·can't·tell·whether·our·last·statement·succeeded. 
105 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:214 
106 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r 
107 Internal·error·in·libpqxx·library. 
108 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·except.hxx:242 
109 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e12 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
110 ····*·_\x8p_\x8q_\x8x_\x8x13 ····*·_\x8p_\x8q_\x8x_\x8x
111 ····*·t.tr.ra.an.ns.sa.ac.ct.to.or.r...h.hx.xx.x14 ····*·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
112 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.815 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
170 KB
./usr/share/doc/libpqxx-doc/html/a00059_source.html
    
Offset 1, 15 lines modifiedOffset 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:·config-public-compiler.h·Source·File</title>8 <title>libpqxx:·connection.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 27 lines modifiedOffset 60, 822 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">config-public-compiler.h</div></div>67 ··<div·class="headertitle"><div·class="title">connection.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (801 lines added, 6 lines removed)
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/compiler·config.·*/</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·connection·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_PURE·1</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::connection·encapsulates·a·connection·to·a·database.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_VISIBILITY·1</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PQXX_HAVE_PATH·1</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_HAVE_STRERROR_R·1</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION</span></div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;list&gt;</span></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning·(#418).</span></div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&amp;&amp;·__has_include(&lt;ranges&gt;)</span></div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·&lt;ranges&gt;</span></div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/errorhandler.hxx&quot;</span></div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/params.hxx&quot;</span></div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
 109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>{</div>
 116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">class·</span>sql_cursor;</div>
 117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)</span></div>
 119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">concept·</span>ZKey_ZValues·=</div>
 121 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··std::ranges::input_range&lt;T&gt;·and</div>
 122 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">requires</span>(T·t)·{</div>
 123 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····{</div>
 124 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······std::cbegin(t)</div>
 125 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····};</div>
 126 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>
 127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······std::get&lt;0&gt;(*std::cbegin(t))</div>
 128 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}·-&gt;·ZString;</div>
 129 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{</div>
 130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······std::get&lt;1&gt;(*std::cbegin(t))</div>
 131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}·-&gt;·ZString;</div>
 132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}·and</div>
 133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::tuple_size_v&lt;typename·std::ranges::iterator_t&lt;T&gt;::value_type&gt;·==·2;</div>
 134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif·</span><span·class="comment">//·PQXX_HAVE_CONCEPTS</span></div>
 135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 137 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 138 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keywordtype">void</span>·PQXX_COLD·PQXX_LIBEXPORT·<a·class="code·hl_function"·href="a00250.html#a71f4fd3d06b6e0a849c58a8160380a86">skip_init_ssl</a>(<span·class="keywordtype">int</span>·flags)·<span·class="keyword">noexcept</span>;</div>
 139 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 140 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 141 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 142 <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}">
 143 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00252.html">··111</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div>
 144 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>{</div>
 145 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>connection_dbtransaction;</div>
 146 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="keyword">class·</span>connection_errorhandler;</div>
 147 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">class·</span>connection_largeobject;</div>
 148 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">class·</span>connection_notification_receiver;</div>
 149 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">class·</span>connection_pipeline;</div>
 150 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="keyword">class·</span>connection_sql_cursor;</div>
 151 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">struct·</span>connection_stream_from;</div>
 152 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">class·</span>connection_stream_to;</div>
 153 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">class·</span>connection_transaction;</div>
 154 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="keyword">class·</span>const_connection_largeobject;</div>
 155 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div>
 156 </div>
 157 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 158 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 159 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 160 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>{</div>
 161 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 162 <div·class="foldopen"·id="foldopen00136"·data-start="{"·data-end="};">
 163 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">··136</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00250.html#adabe80e8385e85d663acc6e44332070d">skip_init</a>·:·<span·class="keywordtype">int</span></div>
 164 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>{</div>
 165 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">··139</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da867e5843857acbeb150fcaf025825a6f">nothing</a>,</div>
 166 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div>
 167 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da5d4554eccdc33a1da0f98e9eadee475b">··142</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da5d4554eccdc33a1da0f98e9eadee475b">openssl</a>,</div>
 168 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div>
 169 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a00250.html#adabe80e8385e85d663acc6e44332070da53ed303431af4a833cea27c47169ff57">··145</a></span>··<a·class="code·hl_enumvalue"·href="a00250.html#adabe80e8385e85d663acc6e44332070da53ed303431af4a833cea27c47169ff57">crypto</a>,</div>
Max diff block lines reached; 860/138293 bytes (0.62%) of diff not shown.
35.0 KB
html2text {}
    
Offset 1, 12 lines modifiedOffset 1, 917 lines modified
Diff chunk too large, falling back to line-by-line diff (912 lines added, 7 lines removed)
1 libpqxx 7.8.11 libpqxx 7.8.1
2 config-public-compiler.h2 connection.hxx
3 1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/3 1/*·Definition·of·the·connection·class.
4 24 2·*
5 3#define·PQXX_HAVE_GCC_PURE·15 3·*·pqxx::connection·encapsulates·a·connection·to·a·database.
6 4#define·PQXX_HAVE_GCC_VISIBILITY·16 4·*
7 5#define·PQXX_HAVE_PATH·17 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead.
8 6#define·PQXX_HAVE_STRERROR_R·18 6·*
 9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
 10 8·*
 11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
 12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
 13 11·*·mistake,·or·contact·the·author.
 14 12·*/
 15 13#ifndef·PQXX_H_CONNECTION
 16 14#define·PQXX_H_CONNECTION
 17 15
 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·<cstddef>
 23 21#include·<ctime>
 24 22#include·<initializer_list>
 25 23#include·<list>
 26 24#include·<map>
 27 25#include·<memory>
 28 26#include·<string_view>
 29 27#include·<tuple>
 30 28
 31 29//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning
 32 (#418).
 33 30#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>)
 34 31#·include·<ranges>
 35 32#endif
 36 33
 37 34#include·"pqxx/errorhandler.hxx"
 38 35#include·"pqxx/except.hxx"
 39 36#include·"pqxx/internal/concat.hxx"
 40 37#include·"pqxx/params.hxx"
 41 38#include·"pqxx/separated_list.hxx"
 42 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
 70 98
 71 100
 72 107void·PQXX_COLD·PQXX_LIBEXPORT·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l(int·flags)·noexcept;
 73 108}·//·namespace·pqxx::internal
 74 109
 75 110
 76 _\x81_\x81_\x81namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8a_\x8t_\x8e
 77 112{
 78 113class·connection_dbtransaction;
 79 114class·connection_errorhandler;
 80 115class·connection_largeobject;
 81 116class·connection_notification_receiver;
 82 117class·connection_pipeline;
 83 118class·connection_sql_cursor;
 84 119struct·connection_stream_from;
 85 120class·connection_stream_to;
 86 121class·connection_transaction;
 87 122class·const_connection_largeobject;
 88 123}·//·namespace·pqxx::internal::gate
 89 124
 90 125
 91 126namespace·_\x8p_\x8q_\x8x_\x8x
 92 127{
 93 129
 94 _\x81_\x83_\x86enum·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t·:·int
 95 137{
 96 _\x81_\x83_\x89·_\x8n_\x8o_\x8t_\x8h_\x8i_\x8n_\x8g,
 97 140
 98 _\x81_\x84_\x82·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8s_\x8l,
 99 143
 100 _\x81_\x84_\x85·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o,
 101 146};
 102 147
 103 148
 104 150
 105 _\x81_\x87_\x83template<_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t...·SKIP>·inline·void·_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l()·noexcept
 106 174{
 107 175·//·(Normalise·skip·flags·to·one·per.)
 108 176·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8s_\x8k_\x8i_\x8p_\x8__\x8i_\x8n_\x8i_\x8t_\x8__\x8s_\x8s_\x8l(((1·<<·SKIP)·|·...));
 109 177}
 110 178
 111 179
 112 181
 113 _\x81_\x88_\x88using·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h·=·std::initializer_list<std::string_view>;
 114 189
 115 190
 116 192[[nodiscard,
 117 193·deprecated("Use·connection::encrypt_password·instead.")]]·std::string
 118 194·PQXX_LIBEXPORT
 119 195·_\x8e_\x8n_\x8c_\x8r_\x8y_\x8p_\x8t_\x8__\x8p_\x8a_\x8s_\x8s_\x8w_\x8o_\x8r_\x8d(char·const·user[],·char·const·password[]);
 120 196
 121 198[[nodiscard,
 122 199·deprecated("Use·connection::encrypt_password·instead.")]]·inline·std::
 123 string
 124 _\x82_\x80_\x80_\x8e_\x8n_\x8c_\x8r_\x8y_\x8p_\x8t_\x8__\x8p_\x8a_\x8s_\x8s_\x8w_\x8o_\x8r_\x8d(_\x8z_\x8v_\x8i_\x8e_\x8w·user,·_\x8z_\x8v_\x8i_\x8e_\x8w·password)
 125 201{
 126 202#include·"pqxx/internal/ignore-deprecated-pre.hxx"
Max diff block lines reached; 203/35807 bytes (0.57%) of diff not shown.
126 KB
./usr/share/doc/libpqxx-doc/html/a00062_source.html
    
Offset 1, 15 lines modifiedOffset 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:·separated_list.hxx·Source·File</title>8 <title>libpqxx:·array.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 165 lines modifiedOffset 60, 519 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">separated_list.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">array.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helper·similar·to·Python&#39;s·`str.join()`.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Handling·of·SQL·arrays.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_SEPARATED_LIST</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_SEPARATED_LIST</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·C++20:·Simplify·using·std::ranges::range.</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator.</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·TODO:·Can·we·pass·separators·at·compile·time?</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> 
97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
99 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER,·<span·class="keyword">typename</span>·ACCESS&gt;</div> 
100 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>[[nodiscard]]·<span·class="keyword">inline</span>·std::string</div> 
101 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">101 <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}">
102 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">···44</a></span><a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(std::string_view·sep,·ITER·b[·...·truncated·by·diffoscope;·len:·30,·SHA:·c5dafdcbd4cd0493487b8696df6be14377f46f032fde8217ecbeadebb85c74d6·...·]</div>102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00250.html">···32</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div>103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one·buffer.</span></div>
104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">if</span>·(end·==·begin)</div> 
105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·{};</div> 
106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">auto</span>·next{begin};</div> 
107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··++next;</div> 
108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">if</span>·(next·==·end)</div> 
109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00250.html#accab0ae142ee4c6789f5252578d0d478">to_string</a>(access(begin));</div> 
110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·From·here·on,·we&#39;ve·got·at·least·2·elements·--·meaning·that·we·need·sep.</span></div> 
112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">using·</span>elt_type·=·<a·class="code·hl_typedef"·href="a00250.html#a316a1521470224aad07d24109ff0043d">strip_t</a>&lt;<span·class="keyword">decltype</span>(access(begin))&gt;;</div> 
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>traits·=·<a·class="code·hl_struct"·href="a01438.html">string_traits&lt;elt_type&gt;</a>;</div>106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>&lt;</div>
 108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·ELEMENT,·std::size_t·DIMENSIONS·=·1u,</div>
 109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">char</span>·SEPARATOR·=·array_separator&lt;ELEMENT&gt;&gt;</div>
 110 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">
 111 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01086.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01086.html">array</a>·final</div>
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>112 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>
115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··std::size_t·budget{0};</div> 
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordflow">for</span>·(ITER·cnt{begin};·cnt·!=·end;·++cnt)</div>113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····budget·+=·traits::size_buffer(access(cnt));</div> 
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··budget·+=</div> 
119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(std::distance(begin,·end))·*·std::size(sep);</div> 
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··std::string·<a·class="code·hl_class"·href="a01402.html">result</a>;</div> 
122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01402.html">result</a>.resize(budget);</div> 
123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>114 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 115 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}">
 116 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01086.html#abf1925ec5be448b26147a100660d936c">···68</a></span>··<a·class="code·hl_function"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>(std::string_view·data,·<a·class="code·hl_class"·href="a01110.html">connection</a>·<span·class="keyword">const</span>·&amp;conn)·:</div>
 117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01086.html">array</a>{data,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::enc_group(conn.encoding_id())}</div>
124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">char</span>·*<span·class="keyword">const</span>·data{<a·class="code·hl_class"·href="a01402.html">result</a>.data()};</div> 
125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">char</span>·*here{data};</div> 
126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keywordtype">char</span>·*stop{data·+·budget};</div> 
127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··here·=·traits::into_buf(here,·stop,·access(begin))·-·1;</div> 
128 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">for</span>·(++begin;·begin·!=·end;·++begin)</div> 
129 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div>118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div>
130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····here·+=·sep.copy(here,·std::size(sep));</div> 
131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····here·=·traits::into_buf(here,·stop,·access(begin))·-·1;</div> 
132 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> 
133 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01402.html">result</a>.resize(<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(here·-·data));</div> 
134 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01402.html">result</a>;</div> 
135 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div> 
136 </div>119 </div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 121 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">···75</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>()·noexcept·{·<span·class="keywordflow">return</span>·DIMENSIONS;·}</div>
 123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
138 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
139 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div> 
140 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>[[nodiscard]]·<span·class="keyword">inline</span>·std::string</div> 
141 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}">125 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00250.html#a043b0acb60e5e805b5d6af403da4fafc">···83</a></span><a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(std::string_view·sep,·ITER·be[·...·truncated·by·diffoscope;·len:·14,·SHA:·67951f0781def7ff4806eeb25c83ee5092f89afbdc11e6ad30d1d268f8e57965·...·]</div>126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">···82</a></span>··std::array&lt;std::size_t,·DIMENSIONS&gt;·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01086.html[·...·truncated·by·diffoscope;·len:·56,·SHA:·5db189452ca0e97294bb1566f23c8dcf056defe0287d6e2b8fed4c867c3b9e9b·...·]</div>
143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div>127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
144 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(sep,·begin,·end,·[](ITER·i)·{·<span·class="keywordflow">retu[·...·truncated·by·diffoscope;·len:·16,·SHA:·521497f85a096c00526b6b88587729f91afd24885d943b5ca11505f6676a3e1c·...·];</div>128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·m_extents;</div>
145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}</div>129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>
146 </div> 
147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//·C++20:·Use·a·concept.</span></div> 
Max diff block lines reached; 75401/104015 bytes (72.49%) of diff not shown.
24.4 KB
html2text {}
    
Offset 1, 156 lines modifiedOffset 1, 548 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 separated_list.hxx 
3 1/*·Helper·similar·to·Python's·`str.join()`.2 array.hxx
 3 1/*·Handling·of·SQL·arrays.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead.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·called9 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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
12 10·*/12 10·*/
13 11#ifndef·PQXX_H_SEPARATED_LIST13 11#ifndef·PQXX_H_ARRAY
14 12#define·PQXX_H_SEPARATED_LIST14 12#define·PQXX_H_ARRAY
15 1315 13
16 14#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#endif18 16#endif
19 1719 17
20 18#include·<algorithm>20 18#include·<algorithm>
21 19#include·<numeric>21 19#include·<cassert>
22 2022 20#include·<stdexcept>
 23 21#include·<string>
 24 22#include·<type_traits>
 25 23#include·<utility>
 26 24#include·<vector>
 27 25
23 21#include·"pqxx/strconv.hxx"28 26#include·"pqxx/connection.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?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
28 26namespace·_\x8p_\x8q_\x8x_\x8x34 _.3_.2namespace·_\x8p_\x8q_\x8x_\x8x
 35 33{
 36 34//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one
 37 buffer.
 38 35
 39 37
 40 52template<
 41 53·typename·ELEMENT,·std::size_t·DIMENSIONS·=·1u,
 42 54·char·SEPARATOR·=·array_separator<ELEMENT>>
 43 _\x85_\x85class·_\x8a_\x8r_\x8r_\x8a_\x8y·final
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 5644 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
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 7854 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·}
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}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...)];
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 
Max diff block lines reached; 4741/24924 bytes (19.02%) of diff not shown.
70.9 KB
./usr/share/doc/libpqxx-doc/html/a00065_source.html
    
Offset 1, 15 lines modifiedOffset 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:·result.hxx·Source·File</title>8 <title>libpqxx:·dbtransaction.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 280 lines modifiedOffset 60, 73 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">result.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">dbtransaction.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_DBTRANSACTION</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_DBTRANSACTION</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00251.html#ade1b58f5fe0254e0282e837865408e81">clear_result</a>(pq::PGresult·<span·class="keyword">const</span>·*)·<span·class="keyword">noexcept</span>;</div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> 
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> 
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_connection;</div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_creation;</div> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_pipeline;</div> 
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span>result_row;</div> 
114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>result_sql_cursor;</div> 
115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div> 
116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>93 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
121 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};">94 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};">
122 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01402.html">···72</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01402.html">result</a></div>95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01134.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·:·<span·class="keyword">public</span[·...·truncated·by·diffoscope;·len:·62,·SHA:·76f2c2dd9a222aec9fec2a0fcb978e349e011a91c5ae9e5424f3a3df4cf9caf3·...·]</a></div>
123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div>96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div>97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">protected</span>:</div>
 98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">···57</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01134.html#ac7c5607b7503cd50e53c9ff90362013a">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c)·:·<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c}·{}</div>
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01402.html#a45143316d9e7b9a658850326732d2786">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a937d9f67d0bc04774b85efa58736852b">result_size_type</a>;</div> 
126 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a661295284ddda2ed9fbcf740cc3530d7">result_difference_type</a>;</div> 
127 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01402.html#a331bc56dd4ef9020f184f6909b3dd119">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01418.html">reference</a>·=·<a·class="code·hl_class"·href="a01418.html">row</a>;</div> 
128 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>·=·const_result_iterator;</div> 
129 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a5b44355a997fde27ff5a693fdeeda04b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> 
130 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a6995f8db23dc53fbe204ab4fc41610a2">iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#ae52e3b60c1e512110b1c425e5a36eb7c">const_iterator</a>;</div> 
131 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>·=·const_reverse_result_iterator;</div> 
132 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01402.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">reverse_iterator</a>·=·<a·class="code·hl_typedef"·href="a01402.html#a1460ff79bb0f7d2a05a24eccece1eb22">const_reverse_iterator</a>;</div> 
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
134 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}">99 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}">
 100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">···59</a></span>··<a·class="code·hl_function"·href="a01134.html#ad41eb96e0cb743cace7c6420d55fdf0f">dbtransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname)·:</div>
 101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname}</div>
135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">···84</a></span>··<a·class="code·hl_function"·href="a01402.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:</div> 
136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········m_data{make_data_pointer()},</div> 
137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········m_query{},</div> 
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········m_encoding{internal::encoding_group::MONOBYTE}</div> 
139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{}</div>102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{}</div>
 103 </div>
 104 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 105 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">···63</a></span>··<a·class="code·hl_function"·href="a01134.html#aaf517316c584ca63213b8b8db06ea2e4">dbtransaction</a>(</div>
 106 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname,</div>
 107 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····std::shared_ptr&lt;std::string&gt;·rollback_cmd)·:</div>
 108 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·rollback_cmd}</div>
 109 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{}</div>
140 </div>110 </div>
141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>111 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div>
142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01402.html#af78abacdc250b2b6997b933379e112da">···90</a></span>··<a·class="code·hl_function"·href="a01402.html#af78abacdc250b2b6997b933379e112da">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> 
143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">···91</a></span>··<a·class="code·hl_function"·href="a01402.html#a1d2a85020e1487c352010b8e1739129b">result</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> 
144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01402.html#ada6d82fe35f72cb45623fba4f8066279">···97</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;<a·class="code·hl_function"·href="a01402.html#ada6d82fe35f72cb45623fba4f8066279">operator=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> 
147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
148 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01402.html#a399cde6713d4b415e229d67bfba4eccd">··100</a></span>··<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;<a·class="code·hl_function"·href="a01402.html#a399cde6713d4b415e229d67bfba4eccd">operator=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·&amp;&amp;rhs)·<span·class="keyword">noexcept</span>·=·<span·class="keywordflow">default</span>;</div> 
149 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
150 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div> 
151 <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> 
152 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">··113</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01402.html#a4e047a3746e1e9f37efd0cedfc4a891b">operator!=</a>(<a·class="code·hl_class"·href="a01402.html">result</a>·<span·class="keyword">const</span>·&amp;rhs)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> 
153 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> 
154 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> 
155 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> 
156 </div>112 </div>
157 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
158 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
159 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01402.html#afb672c73ca193aaf2fc5ba4d5c8a96f8">··126</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·TYPE&gt;·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01402.html#afb672c73ca193aaf2fc5ba4d5c8a96f8">iter</a>()·<span·class="keyword">const</span>;</div> 
160 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
Max diff block lines reached; 11417/56780 bytes (20.11%) of diff not shown.
15.3 KB
html2text {}
    
Offset 1, 316 lines modifiedOffset 1, 70 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 result.hxx 
3 1/*·Definitions·for·the·pqxx::result·class·and·support·classes.2 dbtransaction.hxx
 3 1/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class.
4 2·*4 2·*
5 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.5 3·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database.
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead.
8 6·*8 6·*
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.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·called11 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·this12 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_RESULT15 13#ifndef·PQXX_H_DBTRANSACTION
16 14#define·PQXX_H_RESULT16 14#define·PQXX_H_DBTRANSACTION
17 1517 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#endif20 18#endif
21 1921 19
 22 20#include·"pqxx/transaction_base.hxx"
 23 21
22 20#include·<functional> 
23 21#include·<ios> 
24 22#include·<memory> 
25 23#include·<stdexcept> 
26 24 
27 25#include·"pqxx/except.hxx" 
28 26#include·"pqxx/types.hxx" 
29 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 
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_\x8x24 22namespace·_\x8p_\x8q_\x8x_\x8x
 25 23{
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; 
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 
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·} 
85 118 
86 120 
87 _\x81_\x82_\x86·template<typename...·TYPE>·auto·_\x8i_\x8t_\x8e_\x8r()·const; 
88 127 
89 128·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const; 
90 129·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crbegin()·const; 
91 130·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rend()·const; 
92 131·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crend()·const; 
93 132 
94 133·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·begin()·const·noexcept; 
95 134·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·cbegin()·const·noexcept; 
96 _\x81_\x83_\x85·[[nodiscard]]·inline·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·end()·const·noexcept; 
97 _\x81_\x83_\x86·[[nodiscard]]·inline·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·cend()·const·noexcept; 
98 137 
99 138·[[nodiscard]]·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·front()·const·noexcept; 
100 139·[[nodiscard]]·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·back()·const·noexcept; 
101 140 
102 141·[[nodiscard]]·PQXX_PURE·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept; 
103 142·[[nodiscard]]·PQXX_PURE·bool·empty()·const·noexcept; 
104 _\x81_\x84_\x83·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·capacity()·const·noexcept·{·return·size();·} 
105 144 
106 146 
107 150·void·swap(_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t·&)·noexcept; 
108 151 
109 153 
110 157·[[nodiscard]]·_\x8r_\x8o_\x8w·operator[](size_type·i)·const·noexcept; 
111 158 
112 159#if·pqxx_have_multidim 
113 160·[[nodiscard]]·_\x8f_\x8i_\x8e_\x8l_\x8d 
114 161·operator[](size_type·row_num,·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·col_num)·const·noexcept; 
115 162#endif·//·pqxx_have_multidim 
116 163 
117 165·_\x8r_\x8o_\x8w·at(size_type)·const; 
118 166 
119 168·_\x8f_\x8i_\x8e_\x8l_\x8d·at(size_type,·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e)·const; 
120 169 
121 171 
122 _\x81_\x87_\x88·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·noexcept 
123 179·{ 
Max diff block lines reached; 5996/15687 bytes (38.22%) of diff not shown.
25.5 KB
./usr/share/doc/libpqxx-doc/html/a00068_source.html
    
Offset 1, 15 lines modifiedOffset 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:·version.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 103 lines modifiedOffset 60, 54 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">transaction.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">version.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::transaction·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Version·info·for·libpqxx.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*·pqxx::transaction·represents·a·standard·database·transaction.</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead.</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if·!defined(PQXX_H_VERSION)</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#··define·PQXX_H_VERSION</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#··if·!defined(PQXX_HEADER_PRE)</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#····error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··endif</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#··define·PQXX_VERSION·&quot;7.8.1&quot;</span></div>
 88 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··define·PQXX_ABI·&quot;7.8&quot;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>89 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
92 <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="};"> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01482.html">···24</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtrans[·...·truncated·by·diffoscope;·len:·9,·SHA:·32567be03bc7d5df5844e5ae57dec30f8d761fe1022d032c13e6daf711be4916·...·]></div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··define·PQXX_VERSION_MAJOR·7</span></div>
 91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··define·PQXX_VERSION_MINOR·8</span></div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#··define·PQXX_VERSION_CHECK·check_pqxx_version_7_8</span></div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">protected</span>:</div>94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(</div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string·&amp;&amp;tname);</div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div>
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">···32</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">~basic_transaction</a>()·noexcept·override·=·0;</div> 
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 98 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>PQXX_LIBEXPORT·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00251.html#a0b3caa100e732c23e2f94129d0f164e6">PQXX_VERSION_CHECK</a>()·noexcept;</div>
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>private:</div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··virtual·<span·class="keywordtype">void</span>·do_commit()·override;</div> 
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div> 
106 </div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>namespace·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> 
112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
113 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>&lt;</div> 
115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATION·=·isolation_level::read_committed,</div> 
116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>·READWRITE·=·write_policy::read_write&gt;</div> 
117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">class·</span>transaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a></div> 
118 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>{</div> 
119 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">public</span>:</div> 
120 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname)·:</div> 
122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div> 
123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············c,·internal::begin_cmd&lt;ISOLATION,·READWRITE&gt;,·tname}</div> 
124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> 
125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
126 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">explicit</span>·transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c)·:</div> 
128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div> 
129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············c,·internal::begin_cmd&lt;ISOLATION,·READWRITE&gt;}</div> 
130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> 
131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
132 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">virtual</span>·~transaction()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·close();·}</div> 
133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div> 
134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
135 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
136 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">using·</span>work·=·transaction&lt;&gt;;</div> 
137 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">using·</span>read_transaction·=</div> 
139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··transaction&lt;isolation_level::read_committed,·write_policy::read_only&gt;;</div> 
140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
141 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
142 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">#endif</span></div>100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div>
143 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div> 
144 <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">pqxx::write_policy</a></div><div·class="ttdeci">write_policy</div><div·class="ttdoc">Should·a·transaction·be·read-only,·or·read-write?</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:27</div></div> 
145 <div·class="ttc"·id="aa00250_html_a8f05a60f9e1f7dc4e4af5dce6b987c8c"><div·class="ttname"><a·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">pqxx::isolation_level</a></div><div·class="ttdeci">isolation_level</div><div·class="ttdoc">Transaction·isolation·levels.</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:66</div></div> 
146 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div>101 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div>
 102 <div·class="ttc"·id="aa00251_html_a0b3caa100e732c23e2f94129d0f164e6"><div·class="ttname"><a·href="a00251.html#a0b3caa100e732c23e2f94129d0f164e6">pqxx::internal::PQXX_VERSION_CHECK</a></div><div·class="ttdeci">int·PQXX_VERSION_CHECK()·noexcept</div><div·class="ttdoc">Library·version·check·stub.</div><div·class="ttdef"><b>Definition</b>·version.cxx:23</div></div>
147 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div> 
148 <div·class="ttc"·id="aa01134_html"><div·class="ttname"><a·href="a01134.html">pqxx::dbtransaction</a></div><div·class="ttdoc">Abstract·transaction·base·class:·bracket·transactions·on·the·database.</div><div·class="ttdef"><b>Definition</b>·dbtransaction.hxx:54</div></div> 
149 <div·class="ttc"·id="aa01482_html"><div·class="ttname"><a·href="a01482.html">pqxx::internal::basic_transaction</a></div><div·class="ttdoc">Helper·base·class·for·the·transaction·class·template.</div><div·class="ttdef"><b>Definition</b>·transaction.hxx:25</div></div> 
150 <div·class="ttc"·id="aa01482_html_af6d966911cc44f4b012c9410080c77a5"><div·class="ttname"><a·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">pqxx::internal::basic_transaction::~basic_transaction</a></div><div·class="ttdeci">virtual·~basic_transaction()·noexcept·override=0</div></div> 
151 <div·class="ttc"·id="aa01510_html"><div·class="ttname"><a·href="a01510.html">pqxx::zview</a></div><div·class="ttdoc">Marker-type·wrapper:·zero-terminated·std::string_view.</div><div·class="ttdef"><b>Definition</b>·zview.hxx:38</div></div> 
152 </div><!--·fragment·--></div><!--·contents·-->103 </div><!--·fragment·--></div><!--·contents·-->
153 </div><!--·doc-content·-->104 </div><!--·doc-content·-->
154 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
155 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->106 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
156 ··<ul>107 ··<ul>
157 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>transaction.hxx</b></li>108 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>version.hxx</b></li>
158 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>109 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>
159 ··</ul>110 ··</ul>
160 </div>111 </div>
161 </body>112 </body>
162 </html>113 </html>
5.36 KB
html2text {}
    
Offset 1, 105 lines modifiedOffset 1, 44 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 version.hxx
 3 1/*·Version·info·for·libpqxx.
 4 2·*
2 transaction.hxx 
3 1/*·Definition·of·the·pqxx::transaction·class. 
4 2·*·pqxx::transaction·represents·a·standard·database·transaction. 
5 3·* 
6 4·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/version·instead.
7 5·*6 4·*
8 6·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
9 7·*8 6·*
10 8·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
11 9·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
12 10·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
13 11·*/12 10·*/
14 12#ifndef·PQXX_H_TRANSACTION13 11#if·!defined(PQXX_H_VERSION)
15 13#define·PQXX_H_TRANSACTION14 12#·define·PQXX_H_VERSION
16 1415 13
17 15#if·!defined(PQXX_HEADER_PRE)16 14#·if·!defined(PQXX_HEADER_PRE)
18 16#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
19 17#endif18 16#·endif
20 18 
21 19#include·"pqxx/dbtransaction.hxx" 
22 2019 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
23 21namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l28 30namespace·_\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 3129 31{
33 _\x83_\x82·virtual·_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n()·noexcept·override·=·0; 
34 3330 33
 31 54PQXX_LIBEXPORT·int·_\x8P_\x8Q_\x8X_\x8X_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8__\x8C_\x8H_\x8E_\x8C_\x8K()·noexcept;
35 34private: 
36 35·virtual·void·do_commit()·override; 
37 36}; 
38 37}·//·namespace·pqxx::internal32 55}·//·namespace·pqxx::internal
 33 56#endif
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 107}·//·namespace·pqxx 
73 108#endif 
74 _\x8p_\x8q_\x8x_\x8x 
75 The·home·of·all·libpqxx·classes,·functions,·templates,·etc. 
76 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_\x8l34 _\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.35 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:8436 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 
89 Connection·to·a·database.37 _.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l_.:_.:_.P_.Q_.X_.X_.__.V_.E_.R_.S_.I_.O_.N_.__.C_.H_.E_.C_.K
 38 int·PQXX_VERSION_CHECK()·noexcept
 39 Library·version·check·stub.
90 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:25340 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·version.cxx:23
91 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8d_\x8b_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n 
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:25 
97 _\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_\x8:_\x8:_\x8~_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n 
98 virtual·~basic_transaction()·noexcept·override=0 
99 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8z_\x8v_\x8i_\x8e_\x8w 
100 Marker-type·wrapper:·zero-terminated·std::string_view. 
101 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·zview.hxx:38 
102 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e41 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
103 ····*·_\x8p_\x8q_\x8x_\x8x42 ····*·_\x8p_\x8q_\x8x_\x8x
104 ····*·t.tr.ra.an.ns.sa.ac.ct.ti\x8io\x8on\x8n.\x8.h\x8hx\x8xx\x8x43 ····*·v.ve.er.rs.si\x8io\x8on\x8n.\x8.h\x8hx\x8xx\x8x
105 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.844 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
174 KB
./usr/share/doc/libpqxx-doc/html/a00071_source.html
    
Offset 1, 15 lines modifiedOffset 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:·composite.hxx·Source·File</title>8 <title>libpqxx:·largeobject.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 159 lines modifiedOffset 60, 664 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">composite.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">largeobject.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Large·Objects·interface.··Deprecated;·use·blob·instead.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="preprocessor">#ifndef·PQXX_H_COMPOSITE</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_LARGEOBJECT</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="preprocessor">#define·PQXX_H_COMPOSITE</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_LARGEOBJECT</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#endif</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
83 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;streambuf&gt;</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
 94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
85 <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="}">95 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">···35</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(</div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··pqxx::internal::encoding_group·enc,·std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·T·&amp;...fields)</div>96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01326.html">···33</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01326.html">largeobject</a></div>
 97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div>
 98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div>
 99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>;</div>
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div>100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01326.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·<a·class="code·hl_function"·href="a01326.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=·default;</div>
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(fields)·&gt;·0);</div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·scan{<a·class="code·hl_function"·href="a00251.html#a0e21b3091e1c76c9cbd604e0cff6f17a">pqxx::internal::get_glyph_scanner</a>(enc)};</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·data{std::data(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·<span·class="keyword">const</span>·size{std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordflow">if</span>·(size·==·0)</div> 
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{<span·class="stringliteral">&quot;Cannot·parse·composite·value·from·empty·string.&quot;</span>};</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··std::size_t·here{0},·next{scan(data,·size,·here)};</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keywordflow">if</span>·(next·!=·1·or·data[here]·!=·<span·class="charliteral">&#39;(&#39;</span>)</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······internal::concat(<span·class="stringliteral">&quot;Invalid·composite·value·string:·&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>)};</div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>103 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··[[deprecated(&quot;Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.&quot;)]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&amp;t);</div>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··here·=·next;</div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·TODO:·Reuse·parse_composite_field·specialisation·across·calls.</span></div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·num_fields{<span·class="keyword">sizeof</span>...(fields)};</div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::size_t·index{0};</div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··(pqxx::internal::specialize_parse_composite_field&lt;T&gt;(enc)(</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····index,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·here,·fields,·num_fields·-·1),</div> 
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···...);</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">if</span>·(here·!=·std::size(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>))</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="stringliteral">&quot;Composite·value·did·not·end·at·the·closing·parenthesis:·&#39;&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="stringliteral">&quot;&#39;.&quot;</span>)};</div> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[here·-·1]·!=·<span·class="charliteral">&#39;)&#39;</span>)</div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01198.html">conversion_error</a>{internal::concat(</div> 
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="stringliteral">&quot;Composive·value·did·not·end·in·parenthesis:·&#39;&quot;</span>,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="stringliteral">&quot;&#39;&quot;</span>)};</div> 
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> 
118 </div> 
119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;</div> 
123 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">107 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">
124 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00250.html#a0cd702e0c9b6172bf07f0253b238506b">···76</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00250.html#ac634686[·...·truncated·by·diffoscope;·len:·206,·SHA:·ab99dde033bdbe05d1221d7e5c157881e07addf882fd78af05e61b8f2ea9b073·...·]</div>108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01326.html#a5fa9d7249fd0d8b471e7df2af8f96df2">···52</a></span>··[[deprecated(&quot;Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.&quot;)]]·explicit·<a·class="code·hl_class[·...·truncated·by·diffoscope;·len:·54,·SHA:·352dcdbc87040dbd970b9a2e943ba7c8c66c8214b2ddf85ae7b088542a7d61f9·...·]</div>
125 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div>109 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··········m_id{o}</div>
126 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<a·class="code·hl_function"·href="a00250.html#ac634686eb086118eade113cd71c7d5a4">parse_composite</a>(pqxx::internal::encoding_group::MONOBYTE,·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·fields...);</div> 
127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> 
128 </div> 
129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
132 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}"> 
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00251.html">···83</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div> 
134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div>110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div>
135 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">···85</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">char</span>·<a·class="code·hl_variable"·href="a00251.html#abf2e874d3b8f21707c5206e1fdaeed4d">empty_composite_str</a>[]{<span·class="stringliteral">&quot;()&quot;</span>};</div> 
136 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div> 
137 </div>111 </div>
 112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·largeobject(</div>
 115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····dbtransaction·&amp;t,·std::string_view·file);</div>
 116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·largeobject(</div>
 119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····largeobjectaccess·<span·class="keyword">const</span>·&amp;o)·<span·class="keyword">noexcept</span>;</div>
Max diff block lines reached; 117474/138896 bytes (84.58%) of diff not shown.
38.3 KB
html2text {}
    
Offset 1, 155 lines modifiedOffset 1, 757 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 composite.hxx 
3 1#ifndef·PQXX_H_COMPOSITE 
4 2#define·PQXX_H_COMPOSITE 
5 32 largeobject.hxx
 3 1/*·Large·Objects·interface.·Deprecated;·use·blob·instead.
 4 2·*
 5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.
 6 4·*
 7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
 8 6·*
 9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
 10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
 11 9·*·mistake,·or·contact·the·author.
 12 10·*/
 13 11#ifndef·PQXX_H_LARGEOBJECT
 14 12#define·PQXX_H_LARGEOBJECT
 15 13
6 4#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
7 5#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
8 6#endif18 16#endif
9 7 
10 8#include·"pqxx/internal/array-composite.hxx" 
11 9#include·"pqxx/internal/concat.hxx"19 17
 20 18#include·<streambuf>
 21 19
12 10#include·"pqxx/util.hxx"22 20#include·"pqxx/dbtransaction.hxx"
13 1123 21
 24 22
14 12namespace·_\x8p_\x8q_\x8x_\x8x25 23namespace·_\x8p_\x8q_\x8x_\x8x
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·_.t_.e_.x_.t,·T·&...fields)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;
20 37{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
21 38·static_assert(sizeof...(fields)·>·0); 
22 39 
23 40·auto·const·scan{_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8g_\x8e_\x8t_\x8__\x8g_\x8l_\x8y_\x8p_\x8h_\x8__\x8s_\x8c_\x8a_\x8n_\x8n_\x8e_\x8r(enc)}; 
24 41·auto·const·data{std::data(_\x8t_\x8e_\x8x_\x8t)}; 
25 42·auto·const·size{std::size(_\x8t_\x8e_\x8x_\x8t)}; 
26 43·if·(size·==·0) 
27 44·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{"Cannot·parse·composite·value·from·empty·string."}; 
28 45 
29 46·std::size_t·here{0},·next{scan(data,·size,·here)}; 
30 47·if·(next·!=·1·or·data[here]·!=·'(') 
31 48·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{ 
32 49·internal::concat("Invalid·composite·value·string:·",·_\x8t_\x8e_\x8x_\x8t)}; 
33 50 
34 51·here·=·next; 
35 52 
36 53·//·TODO:·Reuse·parse_composite_field·specialisation·across·calls. 
37 54·constexpr·auto·num_fields{sizeof...(fields)}; 
38 55·std::size_t·index{0}; 
39 56·(pqxx::internal::specialize_parse_composite_field<T>(enc)( 
40 57·index,·_\x8t_\x8e_\x8x_\x8t,·here,·fields,·num_fields·-·1), 
41 58·...); 
42 59·if·(here·!=·std::size(_\x8t_\x8e_\x8x_\x8t)) 
43 60·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( 
44 61·"Composite·value·did·not·end·at·the·closing·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t, 
45 62·"'.")}; 
46 63·if·(_\x8t_\x8e_\x8x_\x8t[here·-·1]·!=·')') 
47 64·throw·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{internal::concat( 
48 65·"Composive·value·did·not·end·in·parenthesis:·'",·_\x8t_\x8e_\x8x_\x8t,·"'")}; 
49 66} 
50 67 
51 68 
52 70 
53 75template<typename...·T> 
54 _\x87_\x86inline·void·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(std::string_view·_\x8t_\x8e_\x8x_\x8t,·T·&...fields) 
55 77{ 
56 78·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e(pqxx::internal::encoding_group::MONOBYTE,·_\x8t_\x8e_\x8x_\x8t,·fields...); 
57 79} 
58 80}·//·namespace·pqxx 
59 81 
60 82 
61 _\x88_\x83namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l 
62 84{ 
63 _\x88_\x85constexpr·char·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8s_\x8i_\x8t_\x8e_\x8__\x8s_\x8t_\x8r[]{"()"}; 
64 86}·//·namespace·pqxx::internal 
65 87 
66 8854 88
67 89namespace·_.p_.q_.x_.x55 _.8_.9·[[nodiscard]]·bool·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.=(_.l_.a_.r_.g_.e_.o_.b_.j_.e_.c_.t·const·&other)·const
68 90{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·}
Max diff block lines reached; 16443/39151 bytes (42.00%) of diff not shown.
272 KB
./usr/share/doc/libpqxx-doc/html/a00074_source.html
    
Offset 1, 15 lines modifiedOffset 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:·connection.hxx·Source·File</title>8 <title>libpqxx:·util.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 822 lines modifiedOffset 60, 550 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">connection.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">util.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·connection·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Various·utility·definitions·for·libpqxx.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::connection·encapsulates·a·connection·to·a·database.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_UTIL</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_UTIL</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cctype&gt;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cerrno&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;list&gt;</span></div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning·(#418).</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)·&amp;&amp;·__has_include(&lt;ranges&gt;)</span></div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··include·&lt;ranges&gt;</span></div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/errorhandler.hxx&quot;</span></div> 
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/params.hxx&quot;</span></div>106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/version.hxx&quot;</span></div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{}</div>
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/separated_list.hxx&quot;</span></div> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;pqxx/internal/libpq-forward.hxx&gt;</span></div>
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 115 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//·C++23:·Retire·wrapper.</span></div>
 116 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#if·pqxx_have_unreachable</span></div>
 117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·std::unreachable()</span></div>
 118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#else</span></div>
 119 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#··define·PQXX_UNREACHABLE·assert(false)</span></div>
 120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>
 121 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 122 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 124 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div>
 125 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 126 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div>
 127 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT&gt;</div>
 128 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 129 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">···63</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">cmp_less</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div>
115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>{</div>130 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{</div>
 131 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div>
 132 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·std::cmp_less(lhs,·rhs);</div>
 133 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#else</span></div>
 134 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·We·need·a·variable·just·because·lgtm.com·gives·off·a·false·positive</span></div>
 135 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·warning·when·we·compare·the·values·directly.··It·considers·that·a</span></div>
 136 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="comment">//·&quot;self-comparison.&quot;</span></div>
 137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·left_signed{std::is_signed_v&lt;LEFT&gt;};</div>
 138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(left_signed·==·std::is_signed_v&lt;RIGHT&gt;)</div>
 139 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·lhs·&lt;·rhs;</div>
 140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(std::is_signed_v&lt;LEFT&gt;)</div>
 141 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·(lhs·&lt;=·0)·?·true·:·(std::make_unsigned_t&lt;LEFT&gt;(lhs)·&lt;·rhs);</div>
116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">class·</span>sql_cursor;</div>142 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">else</span></div>
 143 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·(rhs·&lt;=·0)·?·false·:·(lhs·&lt;·std::make_unsigned_t&lt;RIGHT&gt;(rhs));</div>
 144 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div>
 145 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div>
 146 </div>
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>147 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 148 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 149 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//·C++20:·Retire·wrapper.</span></div>
 150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·LEFT,·<span·class="keyword">typename</span>·RIGHT&gt;</div>
 151 <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}">
 152 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">···85</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00251.html#ab2d088946f21d545e734a4388762fc30">cmp_greater</a>(LEFT·lhs,·RIGHT·rhs)·<span·class="keyword">noexcept</span></div>
 153 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>{</div>
118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CONCEPTS)</span></div>154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·defined(PQXX_HAVE_CMP)</span></div>
119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">concept·</span>ZKey_ZValues·=</div>155 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keywordflow">return</span>·std::cmp_greater(lhs,·rhs);</div>
121 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··std::ranges::input_range&lt;T&gt;·and</div> 
122 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">requires</span>(T·t)·{</div>156 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#else</span></div>
 157 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00251.html#a724b0dbd79cac2ceda71354d992ba389">cmp_less</a>(rhs,·lhs);</div>
Max diff block lines reached; 194338/221718 bytes (87.65%) of diff not shown.
55.3 KB
html2text {}
    
Offset 1, 917 lines modifiedOffset 1, 614 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 connection.hxx 
3 1/*·Definition·of·the·connection·class.2 util.hxx
 3 1/*·Various·utility·definitions·for·libpqxx.
4 2·*4 2·*
5 3·*·pqxx::connection·encapsulates·a·connection·to·a·database.5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/util·instead.
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/connection·instead.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·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called9 7·*·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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
14 12·*/12 10·*/
15 13#ifndef·PQXX_H_CONNECTION13 11#ifndef·PQXX_H_UTIL
16 14#define·PQXX_H_CONNECTION14 12#define·PQXX_H_UTIL
17 1515 13
18 16#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
20 18#endif18 16#endif
21 1919 17
 20 18#include·<cassert>
 21 19#include·<cctype>
22 20#include·<cstddef>22 20#include·<cerrno>
23 21#include·<ctime>23 21#include·<cstdio>
24 22#include·<initializer_list>24 22#include·<cstring>
 25 23#include·<functional>
 26 24#include·<iterator>
25 23#include·<list>27 25#include·<limits>
26 24#include·<map> 
27 25#include·<memory>28 26#include·<memory>
 29 27#include·<stdexcept>
 30 28#include·<string>
28 26#include·<string_view>31 29#include·<string_view>
 32 30#include·<type_traits>
 33 31#include·<typeinfo>
 34 32#include·<utility>
 35 33#include·<vector>
 36 34
29 27#include·<tuple> 
30 28 
31 29//·Double-check·in·order·to·suppress·an·overzealous·Visual·C++·warning 
32 (#418). 
33 30#if·defined(PQXX_HAVE_CONCEPTS)·&&·__has_include(<ranges>) 
34 31#·include·<ranges> 
35 32#endif 
36 33 
37 34#include·"pqxx/errorhandler.hxx" 
38 35#include·"pqxx/except.hxx"37 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"38 36#include·"pqxx/types.hxx"
44 41#include·"pqxx/util.hxx" 
45 42#include·"pqxx/zview.hxx"39 37#include·"pqxx/version.hxx"
 40 38
 41 39
 42 41namespace·_\x8p_\x8q_\x8x_\x8x
 43 42{}
46 4344 43
47 4445 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
48 75namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l56 57namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l
49 76{ 
50 77class·sql_cursor; 
51 7857 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{
52 79#if·defined(PQXX_HAVE_CONCEPTS)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
53 81template<typename·T> 
Max diff block lines reached; 51601/56596 bytes (91.17%) of diff not shown.
23.7 KB
./usr/share/doc/libpqxx-doc/html/a00077_source.html
    
Offset 1, 15 lines modifiedOffset 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:·config-public-autotools.h·Source·File</title>8 <title>libpqxx:·robusttransaction.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 23 lines modifiedOffset 60, 112 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00077_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00077_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">config-public-autotools.h</div></div>67 ··<div·class="headertitle"><div·class="title">robusttransaction.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/autotools·config.·*/</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::robusttransaction·class.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::robusttransaction·is·a·slower·but·safer·transaction·class.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/robusttransaction·instead.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROBUSTTRANSACTION</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
 93 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01406.html">···25</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01134.html">dbtransaction</a></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01406.html#a533c620d4ebc725446866c9370620b04">···29</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01406.html#a533c620d4ebc725446866c9370620b04">~basic_robusttransaction</a>()·<span·class="keyword">override</span>·=·0;</div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">protected</span>:</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(</div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01406.html">basic_robusttransaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">private</span>:</div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::string·m_conn_string;</div>
 109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··std::string·m_xid;</div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</div>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordtype">void</span>·init(<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div>
 113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·@warning·This·function·will·become·`final`.</span></div>
 115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;</div>
 116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div>
 117 </div>
 118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div>
 123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 124 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;isolation_level·ISOLATION·=·read_committed&gt;</div>
 125 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">class·</span>robusttransaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01406.html">internal::basic_robusttransaction</a></div>
 126 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
 127 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··robusttransaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname)·:</div>
 129 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div>
 130 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;,</div>
 131 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············tname}</div>
 132 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div>
 133 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 134 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··robusttransaction(connection·&amp;c,·std::string·&amp;&amp;tname)·:</div>
 135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div>
 136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;,</div>
 137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>············std::move(tname)}</div>
 138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{}</div>
 139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 140 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keyword">explicit</span>·robusttransaction(connection·&amp;c)·:</div>
 141 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··········internal::<a·class="code·hl_function"·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">basic_robusttransaction</a>{</div>
 142 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>············c,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::begin_cmd&lt;ISOLATION,·<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>::<a·class="code·hl_enumvalue"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">read_write</a>&gt;}</div>
 143 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··{}</div>
 144 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 145 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">virtual</span>·~robusttransaction()·noexcept<span·class="keyword">·override·</span>{·<a·class="code·hl_function"·href="a01490.html#a654452e1e1cbe9706622ce701e296112">close</a>();·}</div>
 146 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>};</div>
 147 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 148 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 149 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="preprocessor">#endif</span></div>
 150 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>
 151 <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">pqxx::write_policy</a></div><div·class="ttdeci">write_policy</div><div·class="ttdoc">Should·a·transaction·be·read-only,·or·read-write?</div><div·class="ttdef"><b>Definition</b>·isolation.hxx:27</div></div>
 152 <div·class="ttc"·id="aa00250_html_a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f"><div·class="ttname"><a·href="a00250.html#a3a8103e375bc507b6e9df93e24121912a06ad287ea83b37a6f9db3d8d10d72c8f">pqxx::write_policy::read_write</a></div><div·class="ttdeci">@·read_write</div></div>
 153 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">pqxx::internal</a></div><div·class="ttdoc">Internal·items·for·libpqxx'·own·use.·Do·not·use·these·yourself.</div><div·class="ttdef"><b>Definition</b>·composite.hxx:84</div></div>
 154 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div>
 155 <div·class="ttc"·id="aa01134_html"><div·class="ttname"><a·href="a01134.html">pqxx::dbtransaction</a></div><div·class="ttdoc">Abstract·transaction·base·class:·bracket·transactions·on·the·database.</div><div·class="ttdef"><b>Definition</b>·dbtransaction.hxx:54</div></div>
 156 <div·class="ttc"·id="aa01406_html"><div·class="ttname"><a·href="a01406.html">pqxx::internal::basic_robusttransaction</a></div><div·class="ttdoc">Helper·base·class·for·the·robusttransaction·class·template.</div><div·class="ttdef"><b>Definition</b>·robusttransaction.hxx:27</div></div>
 157 <div·class="ttc"·id="aa01406_html_a533c620d4ebc725446866c9370620b04"><div·class="ttname"><a·href="a01406.html#a533c620d4ebc725446866c9370620b04">pqxx::internal::basic_robusttransaction::~basic_robusttransaction</a></div><div·class="ttdeci">virtual·~basic_robusttransaction()·override=0</div></div>
 158 <div·class="ttc"·id="aa01406_html_afe8f0cf1a7c787dc96239b0ac206f65c"><div·class="ttname"><a·href="a01406.html#afe8f0cf1a7c787dc96239b0ac206f65c">pqxx::internal::basic_robusttransaction::basic_robusttransaction</a></div><div·class="ttdeci">basic_robusttransaction(connection·&amp;c,·zview·begin_command,·std::string_view·tname)</div><div·class="ttdef"><b>Definition</b>·robusttransaction.cxx:104</div></div>
 159 <div·class="ttc"·id="aa01490_html_a654452e1e1cbe9706622ce701e296112"><div·class="ttname"><a·href="a01490.html#a654452e1e1cbe9706622ce701e296112">pqxx::transaction_base::close</a></div><div·class="ttdeci">void·close()·noexcept</div><div·class="ttdoc">End·transaction.·To·be·called·by·implementing·class'·destructor.</div><div·class="ttdef"><b>Definition</b>·transaction_base.cxx:343</div></div>
 160 <div·class="ttc"·id="aa01510_html"><div·class="ttname"><a·href="a01510.html">pqxx::zview</a></div><div·class="ttdoc">Marker-type·wrapper:·zero-terminated·std::string_view.</div><div·class="ttdef"><b>Definition</b>·zview.hxx:38</div></div>
72 </div><!--·fragment·--></div><!--·contents·-->161 </div><!--·fragment·--></div><!--·contents·-->
73 </div><!--·doc-content·-->162 </div><!--·doc-content·-->
74 <!--·start·footer·part·-->163 <!--·start·footer·part·-->
75 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->164 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
76 ··<ul>165 ··<ul>
77 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>config-public-autotools.h</b></li>166 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>robusttransaction.hxx</b></li>
78 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>167 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>
79 ··</ul>168 ··</ul>
80 </div>169 </div>
81 </body>170 </body>
Max diff block lines reached; 0/18743 bytes (0.00%) of diff not shown.
5.34 KB
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 118 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 config-public-autotools.h 
3 1/*·Automatically·generated·from·config.h:·public/autotools·config.·*/ 
4 22 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
5 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e115 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
6 ····*·_\x8p_\x8q_\x8x_\x8x116 ····*·_\x8p_\x8q_\x8x_\x8x
7 ····*·c.co.on.nf.fi.ig.g-.-p.pu.ub.bl.li.ic.c-.-a.au.ut.to.ot.to.oo.ol.ls.s...h.h117 ····*·r.ro.ob.bu.us.st.tt.tr.ra.an.ns.sa.ac.ct.ti.io.on.n...h.hx.xx.x
8 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8118 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
90.1 KB
./usr/share/doc/libpqxx-doc/html/a00080_source.html
    
Offset 1, 15 lines modifiedOffset 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:·prepared_statement.hxx·Source·File</title>8 <title>libpqxx:·strconv.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 24 lines modifiedOffset 60, 435 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">prepared_statement.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">strconv.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·String·conversion·definitions.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·instead.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_STRCONV</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_STRCONV</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__has_include(&lt;charconv&gt;)</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··include·&lt;charconv&gt;</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·defined(PQXX_HAVE_RANGES)·&amp;&amp;·__has_include(&lt;ranges&gt;)</span></div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#··include·&lt;ranges&gt;</span></div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#endif</span></div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·&quot;params.hxx&quot;</span></div>103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/zview.hxx&quot;</span></div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div>
 109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>PQXX_LIBEXPORT·std::string·<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">demangle_type_name</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[]);</div>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div>
 115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;</div>
 118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00250.html#a03b51dc175989959be170596670dafa4">···82</a></span>std::string·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a00250.html#a03b51dc175989959be170596670dafa4">type_name</a>{<a·class="code·hl_function"·href="a00251.html#a28c83dbed828fc940ec76f0c9d4d776f">internal::demangle_type_name</a>(<span·class="keyword">typeid</span>(TYPE).name())};</div>
 119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 121 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 122 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};">
 123 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01430.html">···92</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE,·<span·class="keyword">typename</span>·ENABLE·=·<span·class="keywordtype">void</span>&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">nullness</a></div>
 124 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>{</div>
 125 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01430.html#a9edbc6067a38f35a42723ed6fbaf6200">···95</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#a9edbc6067a38f35a42723ed6fbaf6200">has_null</a>;</div>
 126 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 127 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">···98</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01430.html#adb3eef9868b3c4570085d166cd9d4c6a">always_null</a>;</div>
 128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 129 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">··101</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>(TYPE·<span·class="keyword">const</span>·&amp;value);</div>
 130 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 131 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 132 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">··109</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·TYPE·<a·class="code·hl_function"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>();</div>
 133 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div>
 134 </div>
 135 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 136 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 137 <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="};">
 138 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01434.html">··114</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">no_null</a></div>
 139 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>{</div>
 140 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 141 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01434.html#a8f3b58a4b6b3d4161e63e53431a7d2d1">··127</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01434.html#a8f3b58a4b6b3d4161e63e53431a7d2d1">has_null</a>·=·<span·class="keyword">false</span>;</div>
 142 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
 143 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 144 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">··133</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a>·=·<span·class="keyword">false</span>;</div>
 145 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 146 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 147 <div·class="foldopen"·id="foldopen00140"·data-start="{"·data-end="}">
 148 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01434.html#ab53a311556c321a9dd10229b5b64773b">··140</a></span>··[[nodiscard]]·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01434.html#ab53a311556c321a9dd10229b5b64773b">is_null</a>(TYPE·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">noexcept</span></div>
 149 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··{</div>
 150 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 151 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··}</div>
 152 </div>
 153 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>};</div>
 154 </div>
 155 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>
 156 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 157 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div>
 158 <div·class="foldopen"·id="foldopen00154"·data-start="{"·data-end="};">
 159 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno"><a·class="line"·href="a01438.html">··154</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01438.html">string_traits</a></div>
 160 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>{</div>
 161 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div>
 162 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno"><a·class="line"·href="a01438.html#ac537955384e39377e84fd71ad6c80bfd">··160</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01438.html#ac537955384e39377e84fd71ad6c80bfd">converts_to_string</a>{<span·class="keyword">false</span>};</div>
 163 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>
 164 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>
 165 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno"><a·class="line"·href="a01438.html#afc7783fd1fd1020f8d400b318f1a0c10">··166</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01438.html#afc7783fd1fd1020f8d400b318f1a0c10">converts_from_string</a>{<span·class="keyword">false</span>};</div>
 166 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div>
 167 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div>
 168 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>··[[nodiscard]]·<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01510.html">zview</a></div>
 169 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno"><a·class="line"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">··189</a></span>··<a·class="code·hl_function"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">to_buf</a>(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·TYPE·<span·class="keyword">const</span>·&amp;value);</div>
 170 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
Max diff block lines reached; 855/73799 bytes (1.16%) of diff not shown.
18.0 KB
html2text {}
    
Offset 1, 9 lines modifiedOffset 1, 479 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 prepared_statement.hxx 
3 1 
4 2 
5 3#include·"params.hxx"2 strconv.hxx
 3 1/*·String·conversion·definitions.
 4 2·*
 5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stringconv·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_STRCONV
 14 12#define·PQXX_H_STRCONV
 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·<cstring>
 22 20#include·<limits>
 23 21#include·<sstream>
 24 22#include·<stdexcept>
 25 23#include·<typeinfo>
 26 24
 27 25#if·__has_include(<charconv>)
 28 26#·include·<charconv>
 29 27#endif
 30 28
 31 29#if·defined(PQXX_HAVE_RANGES)·&&·__has_include(<ranges>)
 32 30#·include·<ranges>
 33 31#endif
 34 32
 35 33#include·"pqxx/except.hxx"
 36 34#include·"pqxx/util.hxx"
 37 35#include·"pqxx/zview.hxx"
 38 36
 39 37
 40 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
 46 45namespace·_\x8p_\x8q_\x8x_\x8x
 47 46{
 48 71
 49 73
 50 81template<typename·TYPE>
 51 _\x88_\x82std::string·const·_\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e{_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8m_\x8a_\x8n_\x8g_\x8l_\x8e_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8n_\x8a_\x8m_\x8e(typeid(TYPE).name
 52 ())};
 53 83
 54 84
 55 86
 56 _\x89_\x82template<typename·TYPE,·typename·ENABLE·=·void>·struct·_\x8n_\x8u_\x8l_\x8l_\x8n_\x8e_\x8s_\x8s
 57 93{
 58 _\x89_\x85·static·bool·_\x8h_\x8a_\x8s_\x8__\x8n_\x8u_\x8l_\x8l;
 59 96
 60 _\x89_\x88·static·bool·_\x8a_\x8l_\x8w_\x8a_\x8y_\x8s_\x8__\x8n_\x8u_\x8l_\x8l;
 61 99
 62 _\x81_\x80_\x81·static·bool·_\x8i_\x8s_\x8__\x8n_\x8u_\x8l_\x8l(TYPE·const·&value);
 63 102
 64 104
 65 _\x81_\x80_\x89·[[nodiscard]]·static·TYPE·_\x8n_\x8u_\x8l_\x8l();
 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
 107 202
 108 207·[[nodiscard]]·static·inline·TYPE·_\x8f_\x8r_\x8o_\x8m_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(std::string_view·_\x8t_\x8e_\x8x_\x8t);
 109 208
 110 209·//·C++20:·Can·we·make·these·all·constexpr?
 111 211
 112 215·[[nodiscard]]·static·inline·std::size_t
 113 _\x82_\x81_\x86·_\x8s_\x8i_\x8z_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r(TYPE·const·&value)·noexcept;
 114 217
 115 218·//·TODO:·Move·is_unquoted_string·into·the·traits·after·all?
 116 219};
 117 220
 118 221
 119 223
 120 _\x82_\x83_\x89template<typename·TYPE>·[[noreturn]]·void·_\x8o_\x8o_\x8p_\x8s_\x8__\x8f_\x8o_\x8r_\x8b_\x8i_\x8d_\x8d_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n()
 121 noexcept;
 122 240
 123 241
 124 243
Max diff block lines reached; 188/18383 bytes (1.02%) of diff not shown.
42.8 KB
./usr/share/doc/libpqxx-doc/html/a00083_source.html
    
Offset 1, 15 lines modifiedOffset 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:·time.hxx·Source·File</title>8 <title>libpqxx:·zview.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 80 lines modifiedOffset 60, 180 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">time.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">zview.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Zero-terminated·string·view.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
71 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·PQXX_H_TIME</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ZVIEW</span></div>
72 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_H_TIME</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ZVIEW</span></div>
73 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
74 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
75 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
76 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#endif</span></div> 
77 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·defined(PQXX_HAVE_YEAR_MONTH_DAY)</span></div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">using·namespace·</span>std::literals;</div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>92 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 93 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
 94 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01510.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01510.html">zview</a>·:·<span·class="keyword">public</span>·std::string_view</div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span>&lt;&gt;</div> 
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">struct·</span>nullness&lt;std::chrono::year_month_day&gt;</div> 
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>········:·no_null&lt;std::chrono::year_month_day&gt;</div> 
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{};</div>95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div>
 96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div>
 97 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01510.html#a634d664ac04e4686856df66fed64780d">···40</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a634d664ac04e4686856df66fed64780d">zview</a>()·noexcept·=·default;</div>
 98 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 99 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}">
 100 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01510.html#a766cc45a178d43b1471fdc025f01535d">···43</a></span>··constexpr·<a·class="code·hl_class"·href="a01510.html">zview</a>(<span·class="keywordtype">char</span>·const·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·noexcept(</div>
 101 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····noexcept(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}))·:</div>
 102 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}</div>
 103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{}</div>
 104 </div>
 105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 106 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}">
 107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">···49</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">zview</a>(<span·class="keywordtype">char</span>·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·<span·class="keyword">noexcept</span>(</div>
 108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">noexcept</span>(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}))·:</div>
 109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}</div>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{}</div>
 111 </div>
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 113 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}">
 114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">···55</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">zview</a>(std::string_view·other)·noexcept·:</div>
 115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········std::string_view{other}</div>
 116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div>
 117 </div>
97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>118 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
98 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>&lt;&gt;·<span·class="keyword">struct·</span>PQXX_LIBEXPORT·string_traits&lt;std::chrono::year_month_day&gt;</div> 
99 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div>119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
100 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··[[nodiscard]]·<span·class="keyword">static</span>·zview</div>120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·Args&gt;</div>
101 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··to_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;value)</div>121 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">···63</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">zview</a>(Args·&amp;&amp;...args)·:</div>
 123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········std::string_view(std::forward&lt;Args&gt;(args)...)</div>
102 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div>124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div>
103 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">return</span>·generic_to_buf(begin,·end,·value);</div>125 </div>
104 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div>126 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 127 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·C++20:·constexpr.</span></div>
 128 <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}">
 129 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">···69</a></span>··<a·class="code·hl_function"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">zview</a>(std::string·<span·class="keyword">const</span>·&amp;str)·noexcept·:</div>
 130 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··········std::string_view{str.c_str(),·str.size()}</div>
 131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{}</div>
 132 </div>
105 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
106 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">static</span>·<span·class="keywordtype">char</span>·*</div> 
107 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··into_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;value);</div> 
108 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 135 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}">
 136 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">···78</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">zview</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·str[])·<span·class="keyword">noexcept</span>(<span·class="keyword">noexcept</span>(std::string_view{str}))·:</div>
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::chrono::year_month_day</div> 
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_function"·href="a00250.html#ae3697fd4a0fc1fcdb40937e16e1ec878">from_string</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>);</div> 
111 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
112 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::size_t</div> 
113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··size_buffer(std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">noexcept</span></div> 
114 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········std::string_view{str}</div>
115 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::min)()}·&gt;=·-99999);</div> 
116 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::max)()}·&lt;=·99999);</div> 
117 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·5·+·1·+·2·+·1·+·2·+·std::size(s_bc)·+·1;</div> 
118 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div>138 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{}</div>
 139 </div>
119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>140 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">private</span>:</div> 
121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::string_view·s_bc{<span·class="stringliteral">&quot;·BC&quot;</span>sv};</div> 
122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>141 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keywordtype">size_t</span>·size&gt;</div>
 143 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}">
 144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01510.html#a19fb305262e043452bd898774d6c277f">···92</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a19fb305262e043452bd898774d6c277f">zview</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·(&amp;literal)[size])·:·<a·class="code·hl_class"·href="a01510.html">zview</a>(literal,·size·-·1)</div>
 145 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div>
 146 </div>
Max diff block lines reached; 5372/36189 bytes (14.84%) of diff not shown.
7.37 KB
html2text {}
    
Offset 1, 71 lines modifiedOffset 1, 171 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 time.hxx 
3 12 zview.hxx
 3 1/*·Zero-terminated·string·view.
 4 2·*
 5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead.
 6 4·*
 7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
 8 6·*
 9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
 10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
 11 9·*·mistake,·or·contact·the·author.
 12 10·*/
4 5#ifndef·PQXX_H_TIME13 11#ifndef·PQXX_H_ZVIEW
5 6#define·PQXX_H_TIME14 12#define·PQXX_H_ZVIEW
 15 13
6 7 
7 8#if·!defined(PQXX_HEADER_PRE) 
8 9#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
9 10#endif 
10 11 
11 12#include·<chrono> 
12 13#include·<cstdlib>16 14#include·<string>
 17 15#include·<string_view>
 18 16#include·<type_traits>
13 14 
14 15#include·"pqxx/internal/concat.hxx" 
15 16#include·"pqxx/strconv.hxx" 
16 1719 17
17 18 
18 19#if·defined(PQXX_HAVE_YEAR_MONTH_DAY)20 18#include·"pqxx/types.hxx"
 21 19
19 2022 20
20 21namespace·_\x8p_\x8q_\x8x_\x8x23 21namespace·_\x8p_\x8q_\x8x_\x8x
21 22{24 22{
22 23using·namespace·std::literals; 
23 2425 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;26 _.3_.7class·_.z_.v_.i_.e_.w·:·public·std::string_view
 27 38{
 28 39public:
 29 _\x84_\x80·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w()·noexcept·=·default;
 30 41
 31 _\x84_\x83·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept(
 32 44·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·:
 33 45·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}
 34 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·{}
 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}
51 80·}60 80·{}
52 8161 81
53 82private: 
54 84·static·constexpr·std::string_view·s_bc{"·BC"sv}; 
55 85};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}
56 86}·//·namespace·pqxx79 115}·//·namespace·pqxx
57 87#endif·//·PQXX_HAVE_YEAR_MONTH_DAY 
58 88#endif80 116
 81 117
 82 118#if·defined(PQXX_HAVE_CONCEPTS)
 83 120template<>·inline·constexpr·bool·std::ranges::enable_view<pqxx::zview>
 84 {true};
 85 121
 86 122
Max diff block lines reached; 2567/7521 bytes (34.13%) of diff not shown.
170 KB
./usr/share/doc/libpqxx-doc/html/a00086_source.html
    
Offset 1, 15 lines modifiedOffset 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:·largeobject.hxx·Source·File</title>8 <title>libpqxx:·separated_list.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 664 lines modifiedOffset 60, 165 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">largeobject.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">separated_list.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Large·Objects·interface.··Deprecated;·use·blob·instead.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helper·similar·to·Python&#39;s·`str.join()`.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/separated_list·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_LARGEOBJECT</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_SEPARATED_LIST</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_LARGEOBJECT</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_SEPARATED_LIST</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;streambuf&gt;</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·C++20:·Simplify·using·std::ranges::range.</span></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·C++20:·Optimise·buffer·allocation·using·random_access_range/iterator.</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·TODO:·Can·we·pass·separators·at·compile·time?</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
95 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> 
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01326.html">···33</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01326.html">largeobject</a></div> 
97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div>98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 99 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER,·<span·class="keyword">typename</span>·ACCESS&gt;</div>
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div>100 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>[[nodiscard]]·<span·class="keyword">inline</span>·std::string</div>
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01326.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#af4bb2fd5c38d4290470ca269379dc318">large_object_size_type</a>;</div> 
100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01326.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·<a·class="code·hl_function"·href="a01326.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=·default;</div> 
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
103 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··[[deprecated(&quot;Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.&quot;)]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(<a·class="code·hl_class"·href="a01134.html">dbtransaction</a>·&amp;t);</div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
107 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">101 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">
 102 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">···44</a></span><a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(std::string_view·sep,·ITER·begin,·ITER·end,·ACCESS·access)</div>
108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01326.html#a5fa9d7249fd0d8b471e7df2af8f96df2">···52</a></span>··[[deprecated(&quot;Use·<a·class="code·hl_class"·href="a01106.html">blob</a>·instead.&quot;)]]·explicit·<a·class="code·hl_class"·href="a01326.html">largeobject</a>(oid·o)·noexcept·:</div> 
109 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··········m_id{o}</div> 
110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div>103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div>
111 </div>104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">if</span>·(end·==·begin)</div>
 105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·{};</div>
 106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">auto</span>·next{begin};</div>
 107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··++next;</div>
 108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">if</span>·(next·==·end)</div>
 109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00250.html#accab0ae142ee4c6789f5252578d0d478">to_string</a>(access(begin));</div>
112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·From·here·on,·we&#39;ve·got·at·least·2·elements·--·meaning·that·we·need·sep.</span></div>
 112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">using·</span>elt_type·=·<a·class="code·hl_typedef"·href="a00250.html#a316a1521470224aad07d24109ff0043d">strip_t</a>&lt;<span·class="keyword">decltype</span>(access(begin))&gt;;</div>
 113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>traits·=·<a·class="code·hl_struct"·href="a01438.html">string_traits&lt;elt_type&gt;</a>;</div>
113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·largeobject(</div> 
115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····dbtransaction·&amp;t,·std::string_view·file);</div>115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··std::size_t·budget{0};</div>
 116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordflow">for</span>·(ITER·cnt{begin};·cnt·!=·end;·++cnt)</div>
 117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····budget·+=·traits::size_buffer(access(cnt));</div>
 118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··budget·+=</div>
 119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(std::distance(begin,·end))·*·std::size(sep);</div>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··std::string·<a·class="code·hl_class"·href="a01402.html">result</a>;</div>
 122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01402.html">result</a>.resize(budget);</div>
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··[[deprecated(<span·class="stringliteral">&quot;Use·blob·instead.&quot;</span>)]]·largeobject(</div> 
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····largeobjectaccess·<span·class="keyword">const</span>·&amp;o)·<span·class="keyword">noexcept</span>;</div>124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">char</span>·*<span·class="keyword">const</span>·data{<a·class="code·hl_class"·href="a01402.html">result</a>.data()};</div>
 125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">char</span>·*here{data};</div>
 126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keywordtype">char</span>·*stop{data·+·budget};</div>
 127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··here·=·traits::into_buf(here,·stop,·access(begin))·-·1;</div>
 128 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">for</span>·(++begin;·begin·!=·end;·++begin)</div>
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>129 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div>
 130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····here·+=·sep.copy(here,·std::size(sep));</div>
 131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····here·=·traits::into_buf(here,·stop,·access(begin))·-·1;</div>
121 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>132 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>
122 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">···77</a></span>··[[nodiscard]]·oid·<a·class="code·hl_function"·href="a01326.html#af210c3d0b39442a5ce9b3b1508d96c84">id</a>()·const·noexcept·{·<s[·...·truncated·by·diffoscope;·len:·45,·SHA:·2d554d97af04d086b04d76a339c8580393632bc40a0d9445b372e3242fa6acd1·...·]</div>133 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01402.html">result</a>.resize(<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(here·-·data));</div>
 134 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01402.html">result</a>;</div>
123 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>135 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div>
124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
125 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> 
126 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01326.html#a00f0df981995f7ca9991ba7162bdaa16">···89</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01326.html#a00f0df981995f7ca9991ba7162bdaa16">operator==</a>(<a·class="code·hl_class"·href="a01326.html">largeobject</a>·<span·class="keyword">const</span>·&amp;other)<span·class="keyword">·const</span></div> 
127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">··</span>{</div> 
128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·m_id·==·other.m_id;</div> 
129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> 
130 </div>136 </div>
 137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>138 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 139 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div>
 140 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>[[nodiscard]]·<span·class="keyword">inline</span>·std::string</div>
132 <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}">141 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}">
133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01326.html#ad326bef1920744c3d450406f43dbc6b5">···95</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01326.html#ad326bef1920744c3d450406f43d[·...·truncated·by·diffoscope;·len:·163,·SHA:·f96a19d35342104ff4bcd4448429ac1a0c751cc67c64a6a7618589c174fbfd26·...·]</div>142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00250.html#a043b0acb60e5e805b5d6af403da4fafc">···83</a></span><a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(std::string_view·sep,·ITER·b[·...·truncated·by·diffoscope;·len:·15,·SHA:·9cb6e5dfea303eedf3978b84d5e63ccd4bc6d5c14745ac6dcfb0954cd50b6eb3·...·]</div>
134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">··</span>{</div>143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div>
135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">return</span>·m_id·!=·other.m_id;</div>144 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00250.html#a20d624ee29b5c66c68a515da3a56d5e8">separated_list</a>(sep,·begin,·end,·[](ITER·i)·{·<span·class="keywordflow">ret[·...·truncated·by·diffoscope;·len:·17,·SHA:·bf517678df96e956bfc076ef1d05da0b5846b2ab4e4480a67cf4356b9c27c230·...·];</div>
136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··}</div>145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}</div>
137 </div>146 </div>
138 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//·C++20:·Use·a·concept.</span></div>
Max diff block lines reached; 110721/135542 bytes (81.69%) of diff not shown.
37.6 KB
html2text {}
    
Offset 1, 757 lines modifiedOffset 1, 156 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 largeobject.hxx 
3 1/*·Large·Objects·interface.·Deprecated;·use·blob·instead.2 separated_list.hxx
 3 1/*·Helper·similar·to·Python's·`str.join()`.
4 2·*4 2·*
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/largeobject·instead.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.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·called9 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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
11 9·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
12 10·*/12 10·*/
13 11#ifndef·PQXX_H_LARGEOBJECT 
14 12#define·PQXX_H_LARGEOBJECT13 11#ifndef·PQXX_H_SEPARATED_LIST
 14 12#define·PQXX_H_SEPARATED_LIST
15 1315 13
16 14#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
18 16#endif18 16#endif
19 1719 17
20 18#include·<streambuf> 
21 1920 18#include·<algorithm>
 21 19#include·<numeric>
 22 20
22 20#include·"pqxx/dbtransaction.hxx"23 21#include·"pqxx/strconv.hxx"
23 21 
24 2224 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?
25 23namespace·_\x8p_\x8q_\x8x_\x8x28 26namespace·_\x8p_\x8q_\x8x_\x8x
 29 27{
 30 32
26 24{ 
27 26 
28 _\x83_\x83class·PQXX_LIBEXPORT·_\x8l_\x8a_\x8r_\x8g_\x8e_\x8o_\x8b_\x8j_\x8e_\x8c_\x8t 
29 34{31 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 6332 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);
47 6555 65
48 69·[[deprecated("Use·blob·instead.")]]·largeobject( 
49 70·largeobjectaccess·const·&o)·noexcept; 
50 71 
51 73 
52 _.7_.7·[[nodiscard]]·oid·_.i_.d()·const·noexcept·{·return·m_id;·}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}
53 7868 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
54 8877 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·}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<
Max diff block lines reached; 33690/38499 bytes (87.51%) of diff not shown.
158 KB
./usr/share/doc/libpqxx-doc/html/a00089_source.html
    
Offset 1, 15 lines modifiedOffset 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:·notification.hxx·Source·File</title>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 60, 82 lines modifiedOffset 60, 671 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">notification.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">transaction_base.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::notification_receiver·functor·interface.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Common·code·and·definitions·for·the·transaction·classes.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::notification_receiver·handles·incoming·notifications.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::transaction_base·defines·the·interface·for·any·abstract·class·that</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·represents·a·database·transaction.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead.</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction_base·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NOTIFICATION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_BASE</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NOTIFICATION</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_BASE</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own</span></div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·transaction·classes.··This·is·not·something·the·typical·program·should·want</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·to·do.</span></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*</span></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public</span></div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·interface·for·the·available·transaction·classes·such·as·transaction·and</span></div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·nontransaction.</span></div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/internal/stream_query.hxx&quot;</span></div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/isolation.hxx&quot;</span></div>
 106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>transaction_subtransaction;</div>
 113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span>transaction_sql_cursor;</div>
 114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>transaction_stream_to;</div>
 115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>transaction_transaction_focus;</div>
 116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div>
 117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div>
 121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">using·namespace·</span>std::literals;</div>
 122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">class·</span>transaction_focus;</div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
97 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> 
98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01354.html">···56</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01354.html">notification_receiver</a></div> 
99 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
100 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> 
101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
102 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·channel);</div> 
103 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">···66</a></span>··<a·class="code·hl_function"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01354.html#afcf701e264edd9a14513765f542b446d">···68</a></span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·&amp;<a·class="code·hl_function"·href="a01354.html#afcf701e264edd9a14513765f542b446d">operator=</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
105 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01354.html">~notification_receiver</a>();</div> 
106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
107 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">···73</a></span>··[[nodiscard]]·std::string·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>()·const·&amp;·{·<span·class="keywordflow">return</span>·m_channel;·}</div> 
108 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref.</span></div> 
110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
111 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">···84</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">operator()</a>(std::string·<span·class="keyword">const</span>·&amp;payload,·<span·class="keywordtype">int</span>·backend_pid)·=·0;</div> 
112 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>127 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
113 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">protected</span>:</div> 
114 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">···87</a></span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;<a·class="code·hl_function"·href="a01354.html[·...·truncated·by·diffoscope;·len:·118,·SHA:·218411f371eb96d261681f1cd18845e2ec802d7ae8768b21357431c6c69ca565·...·]>128 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};">
 129 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01490.html">···87</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01490.html">transaction_base</a></div>
115 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>130 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>{</div>
116 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">private</span>:</div>131 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">public</span>:</div>
117 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;m_conn;</div> 
118 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·m_channel;</div>132 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01490.html#aa849516f4122aa3727c3c25dd0bad6f5">···90</a></span>··<a·class="code·hl_function"·href="a01490.html#aa849516f4122aa3727c3c25dd0bad6f5">transaction_base</a>()·=·<span·class="keyword"[·...·truncated·by·diffoscope;·len:·14,·SHA:·a97f4681cf993fab9f83ca3e729e3eef80b14ffb336b65e4e951de5da71138c9·...·];</div>
 133 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01490.html#a50a020149ed8fcd8e790922f8ffa46af">···91</a></span>··<a·class="code·hl_function"·href="a01490.html#a50a020149ed8fcd8e790922f8ffa46af">transaction_base</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 134 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01490.html#a9a739cc46c8f59696df70549864f0834">···92</a></span>··<a·class="code·hl_function"·href="a01490.html#a9a739cc46c8f59696df70549864f0834">transaction_base</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div>
 135 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01490.html#a7868d8879f573238faa33cdf8e6af170">···93</a></span>··<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;<a·class="code·hl_function"·href="a01490.html#a7868d8879f573238faa33cdf8e6af170">operator=</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 136 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01490.html#ac5884fe8697d219ffed83693a2f21732">···94</a></span>··<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;<a·class="code·hl_function"·href="a01490.html#ac5884fe8697d219ffed83693a2f21732">operator=</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;&amp;)·=·<span·class="keyword">delete</span>;</div>
119 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div>137 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 138 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01490.html">~transaction_base</a>()·=·0;</div>
 139 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 140 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 141 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keywordtype">void</span>·commit();</div>
 142 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 143 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 144 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keywordtype">void</span>·abort();</div>
 145 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 146 <div·class="foldopen"·id="foldopen00131"·data-start="{"·data-end="}">
 147 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00240.html#ga6710c7298c40ae41b5d8326cbf2ad20e">··131</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·ARGS&gt;·[[nodiscard]]·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00240.html#ga6710c7298c40ae41b5d8326cbf2ad20e">esc</a>(ARGS·&amp;&amp;...args)<span·class="keyword">·const</span></div>
 148 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="keyword">··</span>{</div>
 149 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····<span·class="keywordflow">return</span>·conn().esc(std::forward&lt;ARGS&gt;(args)...);</div>
 150 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··}</div>
120 </div>151 </div>
Max diff block lines reached; 26327/125539 bytes (20.97%) of diff not shown.
35.6 KB
html2text {}
    
Offset 1, 81 lines modifiedOffset 1, 750 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 notification.hxx 
3 1/*·Definition·of·the·pqxx::notification_receiver·functor·interface.2 transaction_base.hxx
 3 1/*·Common·code·and·definitions·for·the·transaction·classes.
4 2·*4 2·*
5 3·*·pqxx::notification_receiver·handles·incoming·notifications. 
6 4·*5 3·*·pqxx::transaction_base·defines·the·interface·for·any·abstract·class·that
 6 4·*·represents·a·database·transaction.
 7 5·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead.8 6·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction_base·instead.
8 6·*9 7·*
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.10 8·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
10 8·*11 9·*
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called12 10·*·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·this13 11·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.14 12·*·mistake,·or·contact·the·author.
14 12·*/15 13·*/
15 13#ifndef·PQXX_H_NOTIFICATION 
16 14#define·PQXX_H_NOTIFICATION 
17 1516 14#ifndef·PQXX_H_TRANSACTION_BASE
 17 15#define·PQXX_H_TRANSACTION_BASE
 18 16
18 16#if·!defined(PQXX_HEADER_PRE)19 17#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."20 18#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
20 18#endif21 19#endif
21 1922 20
22 20#include·<string>23 21#include·<string_view>
23 2124 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 22#include·"pqxx/types.hxx"39 37#include·"pqxx/result.hxx"
25 23 
26 2440 38#include·"pqxx/row.hxx"
 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 25namespace·_\x8p_\x8q_\x8x_\x8x52 50namespace·_\x8p_\x8q_\x8x_\x8x
28 26{ 
29 28 
30 _.5_.6class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_.n_.o_.t_.i_.f_.i_.c_.a_.t_.i_.o_.n_.__.r_.e_.c_.e_.i_.v_.e_.r53 51{
 54 52using·namespace·std::literals;
 55 53
 56 54
 57 55class·transaction_focus;
 58 56
31 57{59 57
 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{
32 58public:63 89public:
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_.4·virtual·void·_.o_.p_.e_.r_.a_.t_.o_.r_.(_.)(std::string·const·&payload,·int·backend_pid)·=·0;64 _\x89_.0·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e()·=·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 159·{
 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
 99 _\x81_\x86_\x89·[[nodiscard]]·std::basic_string<std::byte>·_\x8u_\x8n_\x8e_\x8s_\x8c_\x8__\x8b_\x8i_\x8n(_\x8z_\x8v_\x8i_\x8e_\x8w·_\x8t_\x8e_\x8x_\x8t)
 100 170·{
 101 171·return·conn().unesc_bin(_\x8t_\x8e_\x8x_\x8t);
 102 172·}
 103 173
 104 175
 105 178·[[nodiscard,·deprecated("Use·unesc_bin()·instead.")]]·std::string
 106 _\x81_\x87_\x89·_\x8u_\x8n_\x8e_\x8s_\x8c_\x8__\x8r_\x8a_\x8w(char·const·*_\x8t_\x8e_\x8x_\x8t)·const
 107 180·{
 108 181#include·"pqxx/internal/ignore-deprecated-pre.hxx"
 109 182·return·conn().unesc_raw(_\x8t_\x8e_\x8x_\x8t);
 110 183#include·"pqxx/internal/ignore-deprecated-post.hxx"
Max diff block lines reached; 15959/36480 bytes (43.75%) of diff not shown.
49.4 KB
./usr/share/doc/libpqxx-doc/html/a00092_source.html
    
Offset 1, 15 lines modifiedOffset 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_focus.hxx·Source·File</title>8 <title>libpqxx:·transactor.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 154 lines modifiedOffset 60, 111 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">transaction_focus.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">transactor.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions.</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
71 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_FOCUS</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div>
72 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_FOCUS</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div>
73 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
74 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
75 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
76 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
77 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
78 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
79 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>
 92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
80 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>{</div> 
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
83 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> 
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01494.html">···28</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01494.html">transaction_focus</a></div> 
85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div>95 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 97 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TRANSACTION_CALLBACK&gt;</div>
87 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}">98 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}">
 99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">··101</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00250.html#a9c2faadd143f7c48353eb23b2aa24134">perform</a>(TRANSACTION_CALLBACK·&amp;&amp;callback,·<span·class="keywordtype">int</span>·attempts·=·3)</div>
 100 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··-&gt;·std::invoke_result_t&lt;TRANSACTION_CALLBACK&gt;</div>
88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">···31</a></span>··<a·class="code·hl_function"·href="a01494.html#ad5aacbfc012e06e2df8ad76db763a591">transaction_focus</a>(</div> 
89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname,·std::string_view·oname)·:</div> 
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········m_trans{&amp;t},·m_classname{cname},·m_name{oname}</div> 
91 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{}</div>101 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div>
 102 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordflow">if</span>·(attempts·&lt;=·0)</div>
 103 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div>
 104 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="stringliteral">&quot;Zero·or·negative·number·of·attempts·passed·to·pqxx::perform().&quot;</span>};</div>
 105 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 106 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keywordflow">for</span>·(;·attempts·&gt;·0;·--attempts)</div>
 107 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··{</div>
 108 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">try</span></div>
 109 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div>
 110 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·std::invoke(callback);</div>
 111 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div>
 112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01166.html">in_doubt_error</a>·<span·class="keyword">const</span>·&amp;)</div>
 113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····{</div>
 114 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div>
 115 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div>
 116 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<span·class="keywordflow">throw</span>;</div>
 117 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····}</div>
 118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01178.html">statement_completion_unknown</a>·<span·class="keyword">const</span>·&amp;)</div>
 119 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div>
 120 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·Not·sure·whether·our·last·statement·succeeded.··Don&#39;t·risk·running·it</span></div>
 121 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<span·class="comment">//·again.</span></div>
 122 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······<span·class="keywordflow">throw</span>;</div>
 123 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····}</div>
 124 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·<span·class="keyword">const</span>·&amp;)</div>
 125 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····{</div>
 126 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="comment">//·This·is·a·subclass·of·broken_connection,·but·it&#39;s·not·one·where</span></div>
 127 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······<span·class="comment">//·retrying·is·likely·to·do·us·any·good.</span></div>
 128 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>······<span·class="keywordflow">throw</span>;</div>
 129 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····}</div>
 130 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·<span·class="keyword">const</span>·&amp;)</div>
 131 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····{</div>
 132 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="comment">//·Connection·failed.··May·be·worth·retrying,·if·the·transactor·opens·its</span></div>
 133 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······<span·class="comment">//·own·connection.</span></div>
 134 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)</div>
 135 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>········<span·class="keywordflow">throw</span>;</div>
 136 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······<span·class="keywordflow">continue</span>;</div>
 137 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····}</div>
 138 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····<span·class="keywordflow">catch</span>·(<a·class="code·hl_struct"·href="a01170.html">transaction_rollback</a>·<span·class="keyword">const</span>·&amp;)</div>
 139 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····{</div>
 140 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>······<span·class="comment">//·Some·error·that·may·well·be·transient,·such·as·serialization·failure</span></div>
 141 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>······<span·class="comment">//·or·deadlock.··Worth·retrying.</span></div>
 142 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)</div>
 143 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>········<span·class="keywordflow">throw</span>;</div>
 144 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······<span·class="keywordflow">continue</span>;</div>
 145 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····}</div>
 146 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··}</div>
 147 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keywordflow">throw</span>·<a·class="code·hl_struct"·href="a01186.html">pqxx::internal_error</a>{<span·class="stringliteral">&quot;No·outcome·reached·on·perform().&quot;</span>};</div>
 148 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>}</div>
92 </div>149 </div>
93 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
94 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> 
95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">···36</a></span>··<a·class="code·hl_function"·href="a01494.html#a569a0500142e0fae52cd8b3766831e69">transaction_focus</a>(</div> 
96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname,·std::string·&amp;&amp;oname)·:</div> 
97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··········m_trans{&amp;t},·m_classname{cname},·m_name{std::move(oname)}</div> 
98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{}</div> 
99 </div> 
100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
101 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> 
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">···41</a></span>··<a·class="code·hl_function"·href="a01494.html#a1b4428ced7f7ed7e7237143220167bba">transaction_focus</a>(<a·class="code·hl_class"·href="a01490.html">transaction_base</a>·&amp;t,·std::string_view·cname)·:</div> 
103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··········m_trans{&amp;t},·m_classname{cname}</div> 
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> 
Max diff block lines reached; 8400/39076 bytes (21.50%) of diff not shown.
11.1 KB
html2text {}
    
Offset 1, 159 lines modifiedOffset 1, 112 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 transaction_focus.hxx 
3 12 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·*/
4 9#ifndef·PQXX_H_TRANSACTION_FOCUS13 11#ifndef·PQXX_H_TRANSACTOR
5 10#define·PQXX_H_TRANSACTION_FOCUS14 12#define·PQXX_H_TRANSACTOR
6 1115 13
7 12#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
8 13#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
9 14#endif18 16#endif
10 15 
11 16#include·"pqxx/util.hxx" 
12 1719 17
 20 18#include·<functional>
 21 19#include·<type_traits>
 22 20
 23 21#include·"pqxx/connection.hxx"
 24 22#include·"pqxx/transaction.hxx"
 25 23
13 18namespace·_\x8p_\x8q_\x8x_\x8x26 24namespace·_\x8p_\x8q_\x8x_\x8x
 27 25{
 28 69
 29 71
 30 100template<typename·TRANSACTION_CALLBACK>
 31 _\x81_\x80_\x81inline·auto·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m(TRANSACTION_CALLBACK·&&callback,·int·attempts·=·3)
 32 102·->·std::invoke_result_t<TRANSACTION_CALLBACK>
 33 103{
 34 104·if·(attempts·<=·0)
 35 105·throw·std::invalid_argument{
 36 106·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."};
 37 107
 38 108·for·(;·attempts·>·0;·--attempts)
14 19{ 
15 21 
16 _\x82_\x88class·PQXX_LIBEXPORT·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s 
17 29{ 
18 30public: 
19 _\x83_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( 
20 32·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string_view·oname)·: 
21 33·m_trans{&t},·m_classname{cname},·m_name{oname} 
22 34·{} 
23 35 
24 _\x83_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s( 
25 37·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname,·std::string·&&oname)·: 
26 38·m_trans{&t},·m_classname{cname},·m_name{std::move(oname)} 
27 39·{} 
28 40 
29 _\x84_\x81·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·&t,·std::string_view·cname)·: 
30 42·m_trans{&t},·m_classname{cname} 
31 43·{} 
32 44 
33 _\x84_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s()·=·delete; 
34 _\x84_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; 
35 _\x84_\x87·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·const·&)·=·delete; 
36 48 
37 _\x85_\x80·[[nodiscard]]·constexpr·std::string_view·_\x8c_\x8l_\x8a_\x8s_\x8s_\x8n_\x8a_\x8m_\x8e()·const·noexcept 
38 51·{ 
39 52·return·m_classname; 
40 53·} 
41 54 
42 _\x85_\x86·[[nodiscard]]·std::string_view·_\x8n_\x8a_\x8m_\x8e()·const·&noexcept·{·return·m_name;·} 
43 57 
44 _\x85_\x88·[[nodiscard]]·std::string·_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8i_\x8o_\x8n()·const 
45 59·{ 
46 60·return·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8:_\x8:_\x8d_\x8e_\x8s_\x8c_\x8r_\x8i_\x8b_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8c_\x8t(m_classname,·m_name); 
47 61·} 
48 62 
49 _\x86_\x83·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other)·: 
50 64·m_trans{other.m_trans}, 
51 65·m_registered{other.m_registered}, 
52 66·m_classname{other.m_classname}, 
53 67·//·We·can't·move·the·name·until·later. 
54 68·m_name{} 
55 69·{ 
56 70·//·This·is·a·bit·more·complicated·than·you·might·expect.·The·transaction 
57 71·//·has·a·backpointer·to·the·focus,·and·we·need·to·transfer·that·to·the·new 
58 72·//·focus. 
59 73·move_name_and_registration(other); 
60 74·} 
61 75 
62 _\x87_\x86·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&&other) 
63 77·{ 
64 78·if·(&other·!=·this) 
65 79·{ 
66 80·if·(m_registered) 
67 81·unregister_me(); 
68 82·m_trans·=·other.m_trans; 
69 83·m_classname·=·other.m_classname; 
70 84·move_name_and_registration(other); 
71 85·} 
72 86·return·*this; 
73 87·} 
74 88 
75 89protected: 
76 90·void·register_me(); 
77 91·void·unregister_me()·noexcept; 
78 92·void·reg_pending_error(std::string·const·&)·noexcept; 
79 _\x89_\x83·bool·registered()·const·noexcept·{·return·m_registered;·} 
80 94 
81 _\x89_\x85·_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8a_\x8s_\x8e·*_\x8m_\x8__\x8t_\x8r_\x8a_\x8n_\x8s; 
82 96 
83 97private: 
84 98·bool·m_registered·=·false; 
85 99·std::string_view·m_classname; 
86 100·std::string·m_name; 
87 101 
88 103·void·move_name_and_registration(_\x8t_\x8r_\x8a_\x8n_\x8s_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8o_\x8c_\x8u_\x8s·&other) 
89 104·{39 109·{
 40 110·try
 41 111·{
 42 112·return·std::invoke(callback);
90 105·bool·const·reg{other.m_registered}; 
91 106·//·Unregister·the·original·while·it·still·owns·its·name. 
92 107·if·(reg) 
93 108·other._\x8u_\x8n_\x8r_\x8e_\x8g_\x8i_\x8s_\x8t_\x8e_\x8r_\x8__\x8m_\x8e(); 
94 109·//·Now!·Quick!·Steal·that·name. 
95 110·m_name·=·std::move(other.m_name); 
96 111·//·Now·that·we·own·the·name,·register·ourselves·instead. 
Max diff block lines reached; 5190/11392 bytes (45.56%) of diff not shown.
36.1 KB
./usr/share/doc/libpqxx-doc/html/a00095_source.html
    
Offset 1, 15 lines modifiedOffset 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:·errorhandler.hxx·Source·File</title>8 <title>libpqxx:·transaction.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 99 lines modifiedOffset 60, 103 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">errorhandler.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">transaction.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::errorhandler·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::transaction·class.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*·pqxx::transaction·represents·a·standard·database·transaction.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::errorhandler·handlers·errors·and·warnings·in·a·database·session.</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/errorhandler·instead.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ERRORHANDLER</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ERRORHANDLER</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00252.html">pqxx::internal::gate</a></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">class·</span>errorhandler_connection;</div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}</div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> 
100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
102 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};">92 <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="};">
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01138.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01482.html">···24</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>·:·<span·class="keyword">public</span>·<a·class[·...·truncated·by·diffoscope;·len:·49,·SHA:·0bd1b6034ea1b329433a5483ab6959101bb2f66364bb6b633d552893162b28e9·...·]</a></div>
104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div>95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">protected</span>:</div>
106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;);</div> 
107 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01138.html">~errorhandler</a>();</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(</div>
108 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string_view·tname);</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command,·std::string·&amp;&amp;tname);</div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<a·class="code·hl_class"·href="a01482.html">basic_transaction</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·<a·class="code·hl_class"·href="a01510.html">zview</a>·begin_command);</div>
109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">···32</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01482.html#af6d966911cc44f4b012c9410080c77a5">~basic_transaction</a>()·noexcept·override·=·0;</div>
110 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·msg[])·<span·class="keyword">noexcept</span>·=·0;</div> 
111 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
112 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">···67</a></span>··<a·class="code·hl_function"·href="a01138.html#a702298913e5ef0a44552204ab0ef107a">errorhandler</a>()·=·<span·class="keyword">delete</span>;</div> 
113 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">···68</a></span>··<a·class="code·hl_function"·href="a01138.html#ae6e3073c572e5ed6190b640be8b08fa1">errorhandler</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
114 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">···69</a></span>··<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·&amp;<a·class="code·hl_function"·href="a01138.html#ac52009eced624930fdecaa9594c89c28">operator=</a>(<a·class="code·hl_class"·href="a01138.html">errorhandler</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
115 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
116 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">private</span>:</div> 
117 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·*m_home;</div> 
118 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
119 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01138.html#af70de8ea5e1464b69bc5a4c4eaadb98e">···74</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection;</div>103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>private:</div>
120 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div>104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··virtual·<span·class="keywordtype">void</span>·do_commit()·override;</div>
121 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div>105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div>
122 </div>106 </div>
123 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
125 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> 
126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01142.html">···80</a></span>class·<a·class="code·hl_class"·href="a01142.html">quiet_errorhandler</a>·:·public·<a·class="code·hl_class"·href="a01138.html">errorhandler</a></div> 
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div> 
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div> 
129 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">···84</a></span>··<a·class="code·hl_function"·href="a01142.html#a0cbea9b3c07e0bc115df209d34aa762d">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;conn)·:·<a·class="code·hl_class"·href="a01138.html">errorhandler</a>{conn}·{}</div> 
130 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
131 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">···87</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01142.html#a051f8a9a1019974daffc47c75addc46e">operator()</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div> 
132 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div> 
133 </div> 
134 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>namespace·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div>
 112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 113 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>&lt;</div>
 115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_enumeration"·href="a00250.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATION·=·isolation_level::read_committed,</div>
 116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_enumeration"·href="a00250.html#a3a8103e375bc507b6e9df93e24121912">write_policy</a>·READWRITE·=·write_policy::read_write&gt;</div>
 117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">class·</span>transaction·final·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a></div>
 118 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>{</div>
 119 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">public</span>:</div>
 120 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·tname)·:</div>
 122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div>
 123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············c,·internal::begin_cmd&lt;ISOLATION,·READWRITE&gt;,·tname}</div>
 124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div>
 125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 126 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">explicit</span>·transaction(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c)·:</div>
 128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··········<a·class="code·hl_class"·href="a01482.html">internal::basic_transaction</a>{</div>
 129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>············c,·internal::begin_cmd&lt;ISOLATION,·READWRITE&gt;}</div>
 130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div>
 131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 132 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">virtual</span>·~transaction()·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·close();·}</div>
 133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div>
 134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 135 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 136 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">using·</span>work·=·transaction&lt;&gt;;</div>
 137 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">using·</span>read_transaction·=</div>
 139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··transaction&lt;isolation_level::read_committed,·write_policy::read_only&gt;;</div>
 140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
Max diff block lines reached; 5686/28897 bytes (19.68%) of diff not shown.
7.77 KB
html2text {}
    
Offset 1, 99 lines modifiedOffset 1, 105 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 errorhandler.hxx2 transaction.hxx
3 1/*·Definition·of·the·pqxx::errorhandler·class.3 1/*·Definition·of·the·pqxx::transaction·class.
 4 2·*·pqxx::transaction·represents·a·standard·database·transaction.
 5 3·*
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.6 4·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.
8 6·*7 5·*
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.8 6·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
10 8·*9 7·*
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called10 8·*·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·this11 9·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.12 10·*·mistake,·or·contact·the·author.
14 12·*/13 11·*/
15 13#ifndef·PQXX_H_ERRORHANDLER 
16 14#define·PQXX_H_ERRORHANDLER 
17 1514 12#ifndef·PQXX_H_TRANSACTION
 15 13#define·PQXX_H_TRANSACTION
 16 14
18 16#if·!defined(PQXX_HEADER_PRE)17 15#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."18 16#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
 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;
 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};
 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 107}·//·namespace·pqxx
20 18#endif73 108#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_\x8x74 _\x8p_\x8q_\x8x_\x8x
67 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.75 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
68 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:3376 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33
69 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8i_.n_.t_.e_.r_.n_.a_.l_.:_.:_.g_.a_.t_.e77 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8w_.r_.i_.t_.e_.__.p_.o_.l_.i_.c_.y
Max diff block lines reached; 2445/7928 bytes (30.84%) of diff not shown.
149 KB
./usr/share/doc/libpqxx-doc/html/a00098_source.html
    
Offset 1, 15 lines modifiedOffset 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:·dbtransaction.hxx·Source·File</title>8 <title>libpqxx:·row.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 73 lines modifiedOffset 60, 620 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00098_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00098_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">dbtransaction.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">row.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::result·class·and·support·classes.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_DBTRANSACTION</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_DBTRANSACTION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/field.hxx&quot;</span></div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
93 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00251.html">pqxx::internal</a></div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01414.html">···28</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·T&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01414.html">result_iter</a>;</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>
 103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 104 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};">
 105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01418.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01418.html">row</a></div>
 106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>
 107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>
 108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>;</div>
 109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a3269cdd94e1966b5d9e5d175f27741db">row_difference_type</a>;</div>
 110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01418.html#abd640a160c9e039106a51a6a31823caf">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div>
 111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01418.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">iterator</a>·=·<a·class="code·hl_class"·href="a01422.html">const_iterator</a>;</div>
 112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01418.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01314.html">reference</a>·=·<a·class="code·hl_class"·href="a01314.html">field</a>;</div>
 113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01418.html#a2e922bcb1a3a3e003e4b31dfc8428974">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01422.html">pointer</a>·=·<a·class="code·hl_class"·href="a01422.html">const_row_iterator</a>;</div>
 114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>;</div>
 115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01418.html#a8f09d3a10886af67da65026d1e0a0004">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01426.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01426.html">const_reverse_iterator</a>;</div>
 116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01418.html#aac9770e8157db227ea58b66f34865677">···58</a></span>··<a·class="code·hl_function"·href="a01418.html#aac9770e8157db227ea58b66f34865677">row</a>()·noexcept·=·default;</div>
 118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01418.html#aa1cb06aed0b36221084d040461e17e5f">···59</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;&amp;)·noexcept·=·default;</div>
 119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0e77f25a475909b6ea6f5feda5c7cd5a">···60</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·noexcept·=·default;</div>
 120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01418.html#ae980f90b6dfc0c4201cbdac6b91bf2a0">···61</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·noexcept·=·default;</div>
 121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01418.html#aeaedfbaee84c9b14f8c71789bf5a3d5c">···62</a></span>··<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;operator=(<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;&amp;)·noexcept·=·default;</div>
 122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 123 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;)·const·noexcept;</div>
 124 <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}">
 125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01418.html#a0a4f6ee20682572863f56454a414891b">···69</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01418.html">row</a>·const·&amp;rhs)·const·noexcept</div>
 126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div>
 127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div>
 128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}</div>
 129 </div>
 130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··[[nodiscard]]·const_iterator·begin()·const·noexcept;</div>
 132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··[[nodiscard]]·const_iterator·cbegin()·const·noexcept;</div>
 133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··[[nodiscard]]·const_iterator·end()·const·noexcept;</div>
 134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[nodiscard]]·const_iterator·cend()·const·noexcept;</div>
 135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··[[nodiscard]]·reference·front()·const·noexcept;</div>
 137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[nodiscard]]·reference·back()·const·noexcept;</div>
 138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 139 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rbegin()·const·noexcept;</div>
 140 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crbegin()·const·noexcept;</div>
 141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·rend()·const·noexcept;</div>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··[[nodiscard]]·<a·class="code·hl_class"·href="a01426.html">const_reverse_row_iterator</a>·crend()·const·noexcept;</div>
 143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·reference·operator[](size_type)·const·noexcept;</div>
 145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··[[nodiscard]]·reference·operator[](<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div>
 146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··reference·at(size_type)·const;</div>
 148 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··reference·at(<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·const;</div>
 149 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 150 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}">
 151 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01418.html#a5188d51a9ae821ac1c2a5071b092e7ac">··104</a></span>··[[nodiscard]]·constexpr·<a·class="code·hl_typedef"·href="a01418.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·size()·const·noexcept</div>
 152 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div>
 153 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·m_end·-·m_begin;</div>
 154 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div>
 155 </div>
 156 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 157 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··[[deprecated(<span·class="stringliteral">&quot;Swap·iterators,·not·rows.&quot;</span>)]]·<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01418.html">row</a>·&amp;)·<span·class="keyword">noexcept</span>;</div>
 158 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 159 <div·class="foldopen"·id="foldopen00112"·data-start="{"·data-end="}">
 160 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">··112</a></span>··[[nodiscard]]·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01402.html#a45143316d9e7b9a658850326732d2786">result::size_type</a>·<a·class="code·hl_function"·href="a01418.html#aadd30c2141060d954c16301e3711a02c">rownumber</a>()·const·noexcept</div>
 161 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··{</div>
 162 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">return</span>·m_index;</div>
 163 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··}</div>
 164 </div>
 165 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 166 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··[[nodiscard]]·size_type·column_number(<a·class="code·hl_class"·href="a01510.html">zview</a>·col_name)·<span·class="keyword">const</span>;</div>
 167 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 168 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··[[nodiscard]]·oid·column_type(size_type)·<span·class="keyword">const</span>;</div>
 169 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
Max diff block lines reached; 24539/116600 bytes (21.05%) of diff not shown.
34.6 KB
html2text {}
    
Offset 1, 70 lines modifiedOffset 1, 655 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 dbtransaction.hxx 
3 1/*·Definition·of·the·pqxx::dbtransaction·abstract·base·class.2 row.hxx
 3 1/*·Definitions·for·the·pqxx::result·class·and·support·classes.
4 2·*4 2·*
5 3·*·pqxx::dbransaction·defines·a·real·transaction·on·the·database.5 3·*·pqxx::result·represents·the·set·of·result·rows·from·a·database·query.
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/dbtransaction·instead.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/result·instead.
8 6·*8 6·*
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
10 8·*10 8·*
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 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·this12 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_DBTRANSACTION15 13#ifndef·PQXX_H_ROW
16 14#define·PQXX_H_DBTRANSACTION16 14#define·PQXX_H_ROW
17 1517 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#endif20 18#endif
21 1921 19
22 20#include·"pqxx/transaction_base.hxx" 
23 21 
24 22namespace·_.p_.q_.x_.x22 20#include·"pqxx/except.hxx"
 23 21#include·"pqxx/field.hxx"
 24 22#include·"pqxx/result.hxx"
25 23{25 23
 26 24#include·"pqxx/internal/concat.hxx"
26 2527 25
27 _.5_.3class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_.d_.b_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n·:·public·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e28 26namespace·_.p_.q_.x_.x_.:_.:_.i_.n_.t_.e_.r_.n_.a_.l
 29 27{
 30 _\x82_\x88template<typename...·T>·class·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8__\x8i_\x8t_\x8e_\x8r;
 31 29}·//·namespace·pqxx::internal
 32 30
 33 31
 34 32namespace·_\x8p_\x8q_\x8x_\x8x
 35 33{
 36 35
 37 _\x84_\x86class·PQXX_LIBEXPORT·_\x8r_\x8o_\x8w
 38 47{
 39 48public:
 40 _\x84_\x89·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e;
 41 _\x85_\x80·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8r_\x8o_\x8w_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e;
 42 _\x85_\x81·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r;
 43 _\x85_\x82·using·_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r;
 44 _\x85_\x83·using·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8f_\x8i_\x8e_\x8l_\x8d;
 45 _\x85_\x84·using·_\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r;
 46 _\x85_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r;
 47 _\x85_\x86·using·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r;
 48 57
 49 _\x85_\x88·_\x8r_\x8o_\x8w()·noexcept·=·default;
 50 _\x85_\x89·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·&&)·noexcept·=·default;
 51 _\x86_\x80·_\x8r_\x8o_\x8w(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default;
 52 _\x86_\x81·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·const·&)·noexcept·=·default;
 53 _\x86_\x82·_\x8r_\x8o_\x8w·&operator=(_\x8r_\x8o_\x8w·&&)·noexcept·=·default;
 54 63
 55 68·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8r_\x8o_\x8w·const·&)·const·noexcept;
 56 _\x86_\x89·[[nodiscard]]·bool·operator!=(_\x8r_\x8o_\x8w·const·&rhs)·const·noexcept
 57 70·{
 58 71·return·not·operator==(rhs);
 59 72·}
 60 74
 61 75·[[nodiscard]]·const_iterator·begin()·const·noexcept;
 62 76·[[nodiscard]]·const_iterator·cbegin()·const·noexcept;
 63 77·[[nodiscard]]·const_iterator·end()·const·noexcept;
 64 78·[[nodiscard]]·const_iterator·cend()·const·noexcept;
 65 79
 66 84·[[nodiscard]]·reference·front()·const·noexcept;
 67 85·[[nodiscard]]·reference·back()·const·noexcept;
 68 86
 69 87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rbegin()·const·noexcept;
 70 88·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crbegin()·const·noexcept;
 71 89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·rend()·const·noexcept;
 72 90·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8r_\x8o_\x8w_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·crend()·const·noexcept;
 73 91
 74 92·[[nodiscard]]·reference·operator[](size_type)·const·noexcept;
 75 96·[[nodiscard]]·reference·operator[](_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const;
 76 97
 77 98·reference·at(size_type)·const;
 78 102·reference·at(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const;
 79 103
 80 _\x81_\x80_\x84·[[nodiscard]]·constexpr·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size()·const·noexcept
 81 105·{
 82 106·return·m_end·-·m_begin;
 83 107·}
 84 108
 85 109·[[deprecated("Swap·iterators,·not·rows.")]]·void·swap(_\x8r_\x8o_\x8w·&)·noexcept;
 86 110
 87 _\x81_\x81_\x82·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8r_\x8o_\x8w_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r()·const·noexcept
 88 113·{
 89 114·return·m_index;
 90 115·}
 91 116
 92 122·[[nodiscard]]·size_type·column_number(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const;
 93 123
 94 125·[[nodiscard]]·oid·column_type(size_type)·const;
 95 126
 96 _\x81_\x82_\x88·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8y_\x8p_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const
 97 129·{
 98 130·return·column_type(column_number(col_name));
 99 131·}
 100 132
 101 134·[[nodiscard]]·oid·column_table(size_type·col_num)·const;
 102 135
 103 _\x81_\x83_\x87·[[nodiscard]]·oid·_\x8c_\x8o_\x8l_\x8u_\x8m_\x8n_\x8__\x8t_\x8a_\x8b_\x8l_\x8e(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const
 104 138·{
 105 139·return·column_table(column_number(col_name));
 106 140·}
 107 141
 108 143
 109 150·[[nodiscard]]·size_type·table_column(size_type)·const;
 110 151
 111 _\x81_\x85_\x83·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8l_\x8u_\x8m_\x8n(_\x8z_\x8v_\x8i_\x8e_\x8w·col_name)·const
 112 154·{
 113 155·return·table_column(column_number(col_name));
 114 156·}
 115 158
 116 _\x81_\x85_\x89·[[nodiscard]]·constexpr·_\x8r_\x8e_\x8s_\x8u_\x8l_\x8t_\x8:_\x8:_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8n_\x8u_\x8m()·const·noexcept
 117 160·{
 118 161·return·rownumber();
 119 162·}
 120 163
 121 175·[[deprecated("Row·slicing·is·going·away.·File·a·bug·if·you·need·it.")]]·_\x8r_\x8o_\x8w
 122 176·slice(size_type·sbegin,·size_type·send)·const;
 123 177
 124 179·[[nodiscard,·deprecated("Row·slicing·is·going·away.")]]·PQXX_PURE·bool
Max diff block lines reached; 14176/35369 bytes (40.08%) of diff not shown.
61.5 KB
./usr/share/doc/libpqxx-doc/html/a00101_source.html
    
Offset 1, 15 lines modifiedOffset 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:·params.hxx·Source·File</title>8 <title>libpqxx:·config-internal-compiler.h·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 312 lines modifiedOffset 60, 29 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">params.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">config-internal-compiler.h</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
 70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/</span></div>
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Helpers·for·prepared·statements·and·parameterised·statements.</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·See·the·connection·class·for·more·about·such·statements.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PARAMS</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_PARAMS</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/internal/statement_parameters.hxx&quot;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
94 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}"> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00253.html">···26</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00253.html">pqxx::prepare</a></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> 
97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> 
100 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> 
101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">···48</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(IT·begin,·IT·end)</div> 
102 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> 
103 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params(begin,·end);</div> 
104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div> 
105 </div> 
106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div> 
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> 
111 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> 
112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00253.html#ae6de97f407faf3f08ad4df4db9cc338b">···73</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·<span·class="keyword">const</span>·&amp;container)</div> 
113 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> 
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">typename</span>·C::const_iterator;</div> 
115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-pre.hxx&quot;</span></div> 
116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT&gt;{container};</div> 
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-post.hxx&quot;</span></div> 
118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> 
119 </div> 
120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
123 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·ACCESSOR&gt;</div> 
124 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>[[deprecated(<span·class="stringliteral">&quot;Use·the·params·class·instead.&quot;</span>)]]·<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> 
125 <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> 
126 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00253.html#a1a203b1fe19277c71759412f2f6c6cb1">··102</a></span><a·class="code·hl_function"·href="a00253.html#ae6ae2b1e5dbca97ea3f4ff7e1425ef18">make_dynamic_params</a>(C·&amp;container,·ACCESSOR·accessor)</div> 
127 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> 
128 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">using·</span>IT·=·<span·class="keyword">decltype</span>(std::begin(container));</div> 
129 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-pre.hxx&quot;</span></div> 
130 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT,·ACCESSOR&gt;{container,·accessor};</div> 
131 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#include·&quot;pqxx/internal/ignore-deprecated-post.hxx&quot;</span></div> 
132 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> 
133 </div> 
134 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>}·<span·class="comment">//·namespace·pqxx::prepare</span></div> 
135 </div> 
136 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
137 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
138 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
139 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>{</div> 
140 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
141 <div·class="foldopen"·id="foldopen00125"·data-start="{"·data-end="};"> 
142 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01358.html">··125</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·COUNTER·=·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01358.html">placeholders</a></div> 
143 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>{</div> 
144 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keyword">public</span>:</div> 
145 <div·class="foldopen"·id="foldopen00129"·data-start="{"·data-end="};"> 
146 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01358.html#a066068da0d7ca3d0b38ee47ce0098843">··129</a></span>··<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01358.html#a066068da0d7ca3d0b38ee47ce0098843">max_params</a>{</div> 
147 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····(std::numeric_limits&lt;COUNTER&gt;::max)()};</div> 
148 </div> 
149 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> 
150 <div·class="foldopen"·id="foldopen00132"·data-start="{"·data-end="}"> 
151 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno"><a·class="line"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">··132</a></span>··<a·class="code·hl_function"·href="a01358.html#a635410e05190a78cd77c7d320853f64f">placeholders</a>()</div> 
152 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··{</div> 
153 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·initial{<span·class="stringliteral">&quot;$1\0&quot;</span>sv};</div> 
154 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····initial.copy(std::data(m_buf),·std::size(initial));</div> 
155 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··}</div> 
156 </div> 
157 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div> 
158 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
159 <div·class="foldopen"·id="foldopen00142"·data-start="{"·data-end="}"> 
160 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">··142</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_class"·href="a01510.html">zview</a>·<a·class="code·hl_function"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">view</a>()·const·&amp;noexcept</div> 
161 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··{</div> 
162 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01510.html">zview</a>{std::data(m_buf),·m_len};</div> 
163 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··}</div> 
164 </div> 
165 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
166 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> 
167 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a01358.html#a4bdc5f0c544e544a62af6d2fc2309c58">··153</a></span>··std::string·<a·class="code·hl_function"·href="a01358.html#a4bdc5f0c544e544a62af6d2fc2309c58">get</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·std::string(std::data(m_buf),·m_len);·}</div> 
168 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> 
169 <div·class="foldopen"·id="foldopen00156"·data-start="{"·data-end="}"> 
Max diff block lines reached; 858/50396 bytes (1.70%) of diff not shown.
12.2 KB
html2text {}
    
Offset 1, 334 lines modifiedOffset 1, 14 lines modified
1 libpqxx 7.8.11 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 params.hxx 
3 1/*·Helpers·for·prepared·statements·and·parameterised·statements. 
4 2·* 
5 3·*·See·the·connection·class·for·more·about·such·statements. 
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_PARAMS 
14 12#define·PQXX_H_PARAMS 
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·<array> 
21 19 
22 20#include·"pqxx/internal/concat.hxx" 
23 21#include·"pqxx/internal/statement_parameters.hxx" 
24 22#include·"pqxx/types.hxx" 
25 23 
26 24 
27 _\x82_\x86namespace·_\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8p_\x8r_\x8e_\x8p_\x8a_\x8r_\x8e 
28 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 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)); 
76 136·} 
77 137 
78 139 
79 _\x81_\x84_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w·_\x8v_\x8i_\x8e_\x8w()·const·&noexcept 
80 143·{ 
81 144·return·_\x8z_\x8v_\x8i_\x8e_\x8w{std::data(m_buf),·m_len}; 
82 145·} 
83 146 
84 148 
85 _\x81_\x85_\x83·std::string·_\x8g_\x8e_\x8t()·const·{·return·std::string(std::data(m_buf),·m_len);·} 
86 154 
87 _\x81_\x85_\x86·void·_\x8n_\x8e_\x8x_\x8t()·& 
88 157·{ 
89 158·if·(m_current·>=·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s) 
90 159·throw·_\x8r_\x8a_\x8n_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r{pqxx::internal::concat( 
91 160·"Too·many·parameters·in·one·statement:·limit·is·",·_\x8m_\x8a_\x8x_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s,·".")}; 
92 161·++m_current; 
93 162·if·(m_current·%·10·==·0) 
94 163·{ 
95 164·//·Carry·the·1.·Don't·get·too·clever·for·this·relatively·rare 
96 165·//·case,·just·rewrite·the·entire·number.·Leave·the·$·in·place 
97 166·//·though. 
98 167·char·*const·data{std::data(m_buf)}; 
99 168·char·*const·end{_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8C_\x8O_\x8U_\x8N_\x8T_\x8E_\x8R_\x8>_\x8:_\x8:_\x8i_\x8n_\x8t_\x8o_\x8__\x8b_\x8u_\x8f( 
100 169·data·+·1,·data·+·std::size(m_buf),·m_current)}; 
101 170·//·(Subtract·because·we·don't·include·the·trailing·zero.) 
102 171·m_len·=·check_cast<COUNTER>(end·-·data,·"placeholders·counter")·-·1; 
103 172·} 
104 173·else 
105 174·{ 
106 175·PQXX_LIKELY 
107 176·//·Shortcut·for·the·common·case:·just·increment·that·last·digit. 
108 177·++m_buf[m_len·-·1]; 
109 178·} 
110 179·} 
111 180 
112 _\x81_\x88_\x82·COUNTER·_\x8c_\x8o_\x8u_\x8n_\x8t()·const·noexcept·{·return·m_current;·} 
113 183 
114 184private: 
115 186·COUNTER·m_current·=·1; 
116 187 
117 189·COUNTER·m_len·=·2; 
118 190 
Max diff block lines reached; 197/12452 bytes (1.58%) of diff not shown.
189 KB
./usr/share/doc/libpqxx-doc/html/a00104_source.html
    
Offset 1, 15 lines modifiedOffset 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:·nontransaction.hxx·Source·File</title>8 <title>libpqxx:·except.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 76 lines modifiedOffset 60, 938 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">nontransaction.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">except.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::nontransaction·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·libpqxx·exception·classes.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::nontransaction·provides·nontransactional·database·access</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·...</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NONTRANSACTION</span></div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_EXCEPT</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NONTRANSACTION</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_EXCEPT</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#··include·&lt;source_location&gt;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">using·namespace·</span>std::literals;</div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
98 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">99 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};">
99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01350.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01350.html">nontransaction</a>·final·:·<span·class="keyword">public</span>·<a·cl[·...·truncated·by·diffoscope;·len:·59,·SHA:·2f8e122dc345677126a3a7bf42fda9c450e53106d0da42af8e8acb4558c74afe·...·]</div>100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01146.html">···47</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01146.html">failure</a>·:·std::runtime_error</div>
 101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div>
 102 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·pqxx_have_source_location</span></div>
 103 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(</div>
 104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::string·<span·class="keyword">const</span>·&amp;,</div>
 105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::source_location·=·std::source_location::current());</div>
 106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::source_location·location;</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#else</span></div>
 108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a>(std::string·<span·class="keyword">const</span>·&amp;);</div>
 109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif</span></div>
 110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>};</div>
 111 </div>
100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
101 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> 
Diff chunk too large, falling back to line-by-line diff (799 lines added, 13 lines removed)
102 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
103 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}">114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
104 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">···64</a></span>··<a·class="code·hl_function"·href="a01350.html#a556124900e411a1902b01bc4bb04fb0a">nontransaction</a>(<a·class=[·...·truncated·by·diffoscope;·len:·140,·SHA:·e1ee0f6234d7e263da49b631b57f0292713f3fd3294e3f4709e50ac6567d2ceb·...·]>115 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};">
105 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········<a·class="code·hl_class"·href="a01490.html">transaction_base</a>{c,·tname,·std::shared_ptr&lt;std::string&gt;{}}</div>116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01150.html">···80</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>·:·<a·class="code·hl_struct"·href="a01146.htm[·...·truncated·by·diffoscope;·len:·14,·SHA:·a676bde76d2af894a4578c25245f229afa113a7b3247111ab5328c002e5c7547·...·]</div>
106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>
107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····register_transaction();</div>118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>();</div>
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div>119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a>(</div>
109 </div>120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::string·<span·class="keyword">const</span>·&amp;</div>
110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div>
111 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">···70</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01350.html#a6484d71b3740a9b4e744610e5fa002c1">~nontran[·...·truncated·by·diffoscope;·len:·64,·SHA:·69517569c264e7d3130b032d43f48a60a7fb1c0da4dbeb745d1acb92f0134da6·...·]</div>122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····,</div>
112 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>123 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::source_location·=·std::source_location::current()</div>
113 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">private</span>:</div>124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>#endif</div>
114 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()<span·class="keyword">·override·</span>{}</div>125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··);</div>
115 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div>126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div>
 127 </div>
 128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 131 <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="};">
 132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01154.html">··102</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>·:·<a·class="code·hl_struct"·href="a01150.html">broken_connection</a></div>
 133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div>
 134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01154.html">protocol_violation</a>(</div>
 135 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····std::string·<span·class="keyword">const</span>·&amp;</div>
 136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div>
 137 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····,</div>
 138 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····std::source_location·=·std::source_location::current()</div>
 139 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>#endif</div>
 140 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··);</div>
 141 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>};</div>
 142 </div>
 143 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 144 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 145 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="};">
 146 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01158.html">··115</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01158.html">variable_set_to_null</a>·:·<a·class="code·hl_struct"·href="a01146.html">failure</a></div>
 147 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>{</div>
 148 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_struct"·href="a01158.html">variable_set_to_null</a>(</div>
 149 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····std::string·<span·class="keyword">const</span>·&amp;</div>
 150 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>#<span·class="keywordflow">if</span>·pqxx_have_source_location</div>
 151 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····,</div>
 152 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····std::source_location·=·std::source_location::current()</div>
 153 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>#endif</div>
 154 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··);</div>
 155 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>};</div>
 156 </div>
 157 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 158 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
 159 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
 160 <div·class="foldopen"·id="foldopen00131"·data-start="{"·data-end="};">
 161 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a01162.html">··131</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01162.html">sql_error</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01146.html">failure</a></div>
 162 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>{</div>
 163 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··std::string·<span·class="keyword">const</span>·m_query;</div>
 164 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··std::string·<span·class="keyword">const</span>·m_sqlstate;</div>
 165 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
 166 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span><span·class="keyword">public</span>:</div>
 167 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01162.html">sql_error</a>(</div>
Max diff block lines reached; 23094/150664 bytes (15.33%) of diff not shown.
41.9 KB
html2text {}
    
Offset 1, 70 lines modifiedOffset 1, 935 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 nontransaction.hxx 
3 1/*·Definition·of·the·pqxx::nontransaction·class.2 except.hxx
 3 1/*·Definition·of·libpqxx·exception·classes.
4 2·*4 2·*
5 3·*·pqxx::nontransaction·provides·nontransactional·database·access5 3·*·pqxx::sql_error,·pqxx::broken_connection,·pqxx::in_doubt_error,·...
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/nontransaction·instead.7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/except·instead.
8 6·*8 6·*
9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
10 8·*10 8·*
11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called11 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·this12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.13 11·*·mistake,·or·contact·the·author.
14 12·*/14 12·*/
15 13#ifndef·PQXX_H_NONTRANSACTION 
16 14#define·PQXX_H_NONTRANSACTION15 13#ifndef·PQXX_H_EXCEPT
 16 14#define·PQXX_H_EXCEPT
17 1517 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#endif20 18#endif
21 1921 19
22 20#include·"pqxx/connection.hxx" 
23 21#include·"pqxx/result.hxx" 
24 22#include·"pqxx/transaction.hxx"22 20#if·pqxx_have_source_location
 23 21#·include·<source_location>
 24 22#endif
25 2325 23
26 24namespace·_\x8p_\x8q_\x8x_\x8x 
27 25{ 
28 26using·namespace·std::literals;26 24#include·<stdexcept>
 27 25#include·<string>
 28 26
29 2729 27
 30 28namespace·_\x8p_\x8q_\x8x_\x8x
30 2931 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:32 _.4_.7struct·PQXX_LIBEXPORT·_.f_.a_.i_.l_.u_.r_.e·:·std::runtime_error
 33 48{
 34 49#if·pqxx_have_source_location
 35 50·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e(
 36 51·std::string·const·&,
 37 52·std::source_location·=·std::source_location::current());
 38 53·std::source_location·location;
 39 54#else
 40 55·explicit·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e(std::string·const·&);
 41 56#endif
 42 57};
 43 58
34 5944 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·_.t_.r_.a_.n_.s_.a_.c_.t_.i_.o_.n_.__.b_.a_.s_.e{c,·tname,·std::shared_ptr<std::string>{}}45 61
 46 _\x88_\x80struct·PQXX_LIBEXPORT·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e
 47 81{
 48 82·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n();
 49 83·explicit·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(
 50 84·std::string·const·&
 51 85#if·pqxx_have_source_location
 52 86·,
 53 87·std::source_location·=·std::source_location::current()
 54 88#endif
 55 89·);
 56 90};
 57 91
 58 92
 59 94
 60 _\x81_\x80_\x82struct·PQXX_LIBEXPORT·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·:·_\x8b_\x8r_\x8o_\x8k_\x8e_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n
 61 103{
 62 104·explicit·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8i_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n(
 63 105·std::string·const·&
 64 106#if·pqxx_have_source_location
 65 107·,
 66 108·std::source_location·=·std::source_location::current()
 67 109#endif
 68 110·);
 69 111};
 70 112
 71 113
 72 _\x81_\x81_\x85struct·PQXX_LIBEXPORT·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e
 73 116{
 74 117·explicit·_\x8v_\x8a_\x8r_\x8i_\x8a_\x8b_\x8l_\x8e_\x8__\x8s_\x8e_\x8t_\x8__\x8t_\x8o_\x8__\x8n_\x8u_\x8l_\x8l(
 75 118·std::string·const·&
 76 119#if·pqxx_have_source_location
 77 120·,
 78 121·std::source_location·=·std::source_location::current()
 79 122#endif
 80 123·);
 81 124};
 82 125
 83 126
 84 128
 85 _\x81_\x83_\x81class·PQXX_LIBEXPORT·_\x8s_\x8q_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·:·public·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e
 86 132{
 87 134·std::string·const·m_query;
 88 136·std::string·const·m_sqlstate;
 89 137
 90 138public:
 91 139·explicit·_\x8s_\x8q_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r(
 92 140·std::string·const·&whatarg·=·"",·std::string·const·&Q·=·"",
 93 141·char·const·sqlstate[]·=·nullptr
 94 142#if·pqxx_have_source_location
 95 143·,
 96 144·std::source_location·=·std::source_location::current()
 97 145#endif
 98 146·);
 99 _\x81_\x84_\x87·virtual·_\x8~_\x8s_\x8q_\x8l_\x8__\x8e_\x8r_\x8r_\x8o_\x8r()·noexcept·override;
 100 148
 101 150·[[nodiscard]]·PQXX_PURE·std::string·const·&query()·const·noexcept;
 102 151
 103 153·[[nodiscard]]·PQXX_PURE·std::string·const·&sqlstate()·const·noexcept;
 104 154};
 105 155
 106 156
 107 158
 108 _\x81_\x86_\x84struct·PQXX_LIBEXPORT·_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·:·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e
 109 165{
 110 166·explicit·_\x8i_\x8n_\x8__\x8d_\x8o_\x8u_\x8b_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r(
 111 167·std::string·const·&
 112 168#if·pqxx_have_source_location
 113 169·,
 114 170·std::source_location·=·std::source_location::current()
 115 171#endif
 116 172·);
 117 173};
 118 174
Max diff block lines reached; 14769/42924 bytes (34.41%) of diff not shown.
42.8 KB
./usr/share/doc/libpqxx-doc/html/a00107_source.html
    
Offset 1, 15 lines modifiedOffset 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:·zview.hxx·Source·File</title>8 <title>libpqxx:·time.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 180 lines modifiedOffset 60, 80 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">zview.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">time.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Zero-terminated·string·view.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ZVIEW</span></div>71 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·PQXX_H_TIME</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ZVIEW</span></div>72 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_H_TIME</span></div>
 73 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 74 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 75 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 76 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#endif</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>77 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/internal/concat.hxx&quot;</span></div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·defined(PQXX_HAVE_YEAR_MONTH_DAY)</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">using·namespace·</span>std::literals;</div>
92 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
93 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> 
94 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01510.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01510.html">zview</a>·:·<span·class="keyword">public</span>·std::string_view</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span>&lt;&gt;</div>
 92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">struct·</span>nullness&lt;std::chrono::year_month_day&gt;</div>
 93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>········:·no_null&lt;std::chrono::year_month_day&gt;</div>
95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div>94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{};</div>
96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> 
97 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01510.html#a634d664ac04e4686856df66fed64780d">···40</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a634d664ac04e4686856df66fed64780d">zview</a>()·noexcept·=·default;</div> 
98 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
99 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> 
100 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01510.html#a766cc45a178d43b1471fdc025f01535d">···43</a></span>··constexpr·<a·class="code·hl_class"·href="a01510.html">zview</a>(<span·class="keywordtype">char</span>·const·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·noexcept(</div> 
101 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····noexcept(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}))·:</div> 
102 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}</div> 
103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{}</div> 
104 </div> 
105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
106 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> 
107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">···49</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a581b8c75e8c2c0de579debfca37cd725">zview</a>(<span·class="keywordtype">char</span>·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>[],·std::ptrdiff_t·len)·<span·class="keyword">noexcept</span>(</div> 
108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">noexcept</span>(std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}))·:</div> 
109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··········std::string_view{<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>,·<span·class="keyword">static_cast&lt;</span>std::size_t<span·class="keyword">&gt;</span>(len)}</div> 
110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{}</div>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
111 </div> 
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
113 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> 
114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">···55</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#aa713ad5896e247699dcb5be68528b0e8">zview</a>(std::string_view·other)·noexcept·:</div> 
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········std::string_view{other}</div> 
116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div> 
117 </div> 
118 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 98 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>&lt;&gt;·<span·class="keyword">struct·</span>PQXX_LIBEXPORT·string_traits&lt;std::chrono::year_month_day&gt;</div>
119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>99 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div>
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·Args&gt;</div>100 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··[[nodiscard]]·<span·class="keyword">static</span>·zview</div>
 101 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··to_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;value)</div>
121 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> 
122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">···63</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a3ddf4e0ff127e96f8f68361088f96d2e">zview</a>(Args·&amp;&amp;...args)·:</div> 
123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········std::string_view(std::forward&lt;Args&gt;(args)...)</div> 
124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div>102 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div>
125 </div>103 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">return</span>·generic_to_buf(begin,·end,·value);</div>
126 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>104 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··}</div>
127 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·C++20:·constexpr.</span></div> 
128 <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> 
129 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">···69</a></span>··<a·class="code·hl_function"·href="a01510.html#ad5928543720ef457a1ca229920f33de6">zview</a>(std::string·<span·class="keyword">const</span>·&amp;str)·noexcept·:</div> 
130 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··········std::string_view{str.c_str(),·str.size()}</div> 
131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{}</div> 
132 </div> 
133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>105 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 106 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">static</span>·<span·class="keywordtype">char</span>·*</div>
 107 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··into_buf(<span·class="keywordtype">char</span>·*begin,·<span·class="keywordtype">char</span>·*end,·std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;value);</div>
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>108 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
135 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> 
136 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">···78</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a9297b1b431ea593ea2ec6c8f0beaefa9">zview</[·...·truncated·by·diffoscope;·len:·184,·SHA:·0a5ba8284930be4adf28369385d71c7f857253e7983cb3abd400674b3cf48487·...·]</div>109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::chrono::year_month_day</div>
 110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_function"·href="a00250.html#ae3697fd4a0fc1fcdb40937e16e1ec878">from_string</a>(std::string_view·<a·class="code·hl_enumvalue"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea1cb251ec0d568de6a929b520c4aed8d1">text</a>);</div>
 111 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 112 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··[[nodiscard]]·<span·class="keyword">static</span>·std::size_t</div>
 113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··size_buffer(std::chrono::year_month_day·<span·class="keyword">const</span>·&amp;)·<span·class="keyword">noexcept</span></div>
137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········std::string_view{str}</div>114 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 115 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::min)()}·&gt;=·-99999);</div>
 116 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">static_assert</span>(<span·class="keywordtype">int</span>{(std::chrono::year::max)()}·&lt;=·99999);</div>
 117 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·5·+·1·+·2·+·1·+·2·+·std::size(s_bc)·+·1;</div>
138 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{}</div>118 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div>
139 </div> 
140 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">private</span>:</div>
 121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::string_view·s_bc{<span·class="stringliteral">&quot;·BC&quot;</span>sv};</div>
141 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keywordtype">size_t</span>·size&gt;</div> 
143 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> 
144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01510.html#a19fb305262e043452bd898774d6c277f">···92</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01510.html#a19fb305262e043452bd898774d6c277f">zview</a>(<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·(&amp;literal)[size])·:·<a·class="code·hl_class"·href="a01510.html">zview</a>(literal,·size·-·1)</div> 
145 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> 
146 </div> 
147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
Max diff block lines reached; 5372/36189 bytes (14.84%) of diff not shown.
7.37 KB
html2text {}
    
Offset 1, 171 lines modifiedOffset 1, 71 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 time.hxx
 3 1
2 zview.hxx 
3 1/*·Zero-terminated·string·view. 
4 2·* 
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/zview·instead. 
6 4·* 
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. 
8 6·* 
9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called 
10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this 
11 9·*·mistake,·or·contact·the·author. 
12 10·*/ 
13 11#ifndef·PQXX_H_ZVIEW4 5#ifndef·PQXX_H_TIME
14 12#define·PQXX_H_ZVIEW5 6#define·PQXX_H_TIME
15 136 7
 7 8#if·!defined(PQXX_HEADER_PRE)
 8 9#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
 9 10#endif
 10 11
 11 12#include·<chrono>
16 14#include·<string>12 13#include·<cstdlib>
17 15#include·<string_view> 
18 16#include·<type_traits>13 14
 14 15#include·"pqxx/internal/concat.hxx"
 15 16#include·"pqxx/strconv.hxx"
19 1716 17
20 18#include·"pqxx/types.hxx" 
21 1917 18
 18 19#if·defined(PQXX_HAVE_YEAR_MONTH_DAY)
22 2019 20
23 21namespace·_\x8p_\x8q_\x8x_\x8x20 21namespace·_\x8p_\x8q_\x8x_\x8x
24 22{21 22{
 22 23using·namespace·std::literals;
25 2423 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;
26 _\x83_\x87class·_\x8z_\x8v_\x8i_\x8e_\x8w·:·public·std::string_view 
27 38{ 
28 39public: 
29 _\x84_\x80·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w()·noexcept·=·default; 
30 41 
31 _\x84_\x83·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·_\x8t_\x8e_\x8x_\x8t[],·std::ptrdiff_t·len)·noexcept( 
32 44·noexcept(std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)}))·: 
33 45·std::string_view{_\x8t_\x8e_\x8x_\x8t,·static_cast<std::size_t>(len)} 
34 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·{} 
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·{}51 80·}
61 8152 81
 53 82private:
 54 84·static·constexpr·std::string_view·s_bc{"·BC"sv};
 55 85};
62 83 
63 91·template<size_t·size> 
64 _\x89_\x82·constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w(char·const·(&literal)[size])·:·_\x8z_\x8v_\x8i_\x8e_\x8w(literal,·size·-·1) 
65 93·{} 
66 94 
67 _\x89_\x86·[[nodiscard]]·constexpr·char·const·*_\x8c_\x8__\x8s_\x8t_\x8r()·const·&noexcept 
68 97·{ 
69 98·return·data(); 
70 99·} 
71 100}; 
72 101 
73 102 
74 104 
75 _\x81_\x81_\x81constexpr·_\x8z_\x8v_\x8i_\x8e_\x8w·operator""·_zv(char·const·str[],·std::size_t·len)·noexcept 
76 112{ 
77 113·return·_\x8z_\x8v_\x8i_\x8e_\x8w{str,·len}; 
78 114} 
79 115}·//·namespace·pqxx56 86}·//·namespace·pqxx
 57 87#endif·//·PQXX_HAVE_YEAR_MONTH_DAY
 58 88#endif
80 116 
81 117 
82 118#if·defined(PQXX_HAVE_CONCEPTS) 
83 120template<>·inline·constexpr·bool·std::ranges::enable_view<pqxx::zview> 
84 {true}; 
Max diff block lines reached; 2567/7521 bytes (34.13%) of diff not shown.
73.7 KB
./usr/share/doc/libpqxx-doc/html/a00110_source.html
    
Offset 1, 15 lines modifiedOffset 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:·binarystring.hxx·Source·File</title>8 <title>libpqxx:·prepared_statement.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 284 lines modifiedOffset 60, 24 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">binarystring.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">prepared_statement.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Deprecated·representation·for·raw,·binary·data.</span></div> 
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·instead.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·&quot;params.hxx&quot;</span></div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span>binarystring;</div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span>&lt;&gt;·<span·class="keyword">struct·</span>string_traits&lt;binarystring&gt;;</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
101 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};"> 
102 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01094.html">···58</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01094.html">binarystring</a></div> 
103 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> 
104 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> 
105 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·<span·class="keywordtype">unsigned</span>·char;</div> 
106 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;char_type&gt;::char_type;</div> 
107 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·=·std::size_t;</div> 
108 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div> 
109 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·&amp;;</div> 
110 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01094.html#af70ec84cf927dceb10418da704722a71">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·*;</div> 
111 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>;</div> 
112 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator&lt;const_iterator&gt;;</div> 
113 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
114 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">···70</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_function"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">binarystring</a>(</div> 
115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<a·class="code·hl_class"·href="a01094.html">binarystring</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keywordflow">default</span>;</div> 
116 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> 
119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_class"·href="a01314.html">field</a>·<span·class="keyword">const</span>·&amp;);</div> 
120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> 
123 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string_view);</div> 
124 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div> 
126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*,·std::size_t);</div> 
127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
128 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> 
129 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">···93</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_function"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">binarystring</a>(</div> 
130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····std::shared_ptr&lt;value_type&gt;·ptr,·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·size)·:</div> 
131 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········m_buf{std::move(ptr)},·m_size{size}</div> 
132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{}</div> 
133 </div> 
134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
135 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">···99</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}</div> 
136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">··101</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}</div> 
137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">··102</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()·==·0;·}</div> 
138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> 
139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">··104</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}</div> 
140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">··105</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div> 
141 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">··106</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()·+·m_size;·}</div> 
142 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">··107</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div> 
143 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
144 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">··109</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·*begin();·}</div> 
145 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}"> 
146 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01094.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">··110</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">back</a>()·const·noexcept</div> 
147 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··{</div> 
148 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">return</span>·*(data()·+·m_size·-·1);</div> 
149 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··}</div> 
150 </div> 
151 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
152 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="}"> 
153 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01094.html#a23036afb38422a54c60acdea2652891f">··115</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a23036afb38422a54c60acdea2652891f">rbegin</a>()<span·class="keyword">·const</span></div> 
154 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">··</span>{</div> 
155 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{end()};</div> 
156 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> 
157 </div> 
158 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01094.html#a809e9b45877602d87d923a91fbe9adc4">··119</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a809e9b45877602d87d923a91fbe9adc4">crbegin</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rbegin();·}</div> 
159 <div·class="foldopen"·id="foldopen00120"·data-start="{"·data-end="}"> 
160 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01094.html#ab10688f2e2fd77c3ef1a122c8aad5198">··120</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#ab10688f2e2fd77c3ef1a122c8aad5198">rend</a>()<span·class="keyword">·const</span></div> 
161 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">··</span>{</div> 
162 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{begin()};</div> 
163 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··}</div> 
164 </div> 
165 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a01094.html#a1fda08303c1ae00bb224c1c75c55b43e">··124</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a1fda08303c1ae00bb224c1c75c55b43e">crend</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rend();·}</div> 
166 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
167 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa8e2854a33324620fb8ba3bb0176fa51">··127</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·*<a·class="code·hl_function"·href="a01094.html#aa8e2854a33324620fb8ba3bb0176fa51">data</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_buf.get();·}</div> 
168 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
169 <div·class="foldopen"·id="foldopen00129"·data-start="{"·data-end="}"> 
170 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa2f3bd6f82016f668c375f64369bd307">··129</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#aa2f3bd6f82016f668c375f64369bd307">operator[]</a>(<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·i)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> 
Max diff block lines reached; 860/57296 bytes (1.50%) of diff not shown.
17.6 KB
html2text {}
    
Offset 1, 352 lines modifiedOffset 1, 9 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 prepared_statement.hxx
 3 1
 4 2
 5 3#include·"params.hxx"
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 
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·<memory> 
21 19#include·<string> 
22 20#include·<string_view> 
23 21 
24 22#include·"pqxx/result.hxx" 
25 23#include·"pqxx/strconv.hxx" 
26 24 
27 25namespace·_\x8p_\x8q_\x8x_\x8x 
28 26{ 
29 27class·binarystring; 
30 28template<>·struct·string_traits<binarystring>; 
31 29 
32 30 
33 32 
34 _\x85_\x88class·PQXX_LIBEXPORT·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g 
35 59{ 
36 60public: 
37 _\x86_\x81·using·_\x8c_\x8h_\x8a_\x8r_\x8__\x8t_\x8y_\x8p_\x8e·=·unsigned·char; 
38 _\x86_\x82·using·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::char_traits<char_type>::char_type; 
39 _\x86_\x83·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·std::size_t; 
40 _\x86_\x84·using·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·long; 
41 _\x86_\x85·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·&; 
42 _\x86_\x86·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r·=·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·*; 
43 _\x86_\x87·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8e_\x8r; 
44 _\x86_\x88·using·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·=·std::reverse_iterator<const_iterator>; 
45 69 
46 _\x87_\x80·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( 
47 71·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·const·&)·=·default; 
48 72 
49 74 
50 78·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( 
51 79·_\x8f_\x8i_\x8e_\x8l_\x8d·const·&); 
52 80 
53 82 
54 85·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( 
55 86·std::string_view); 
56 87 
57 89·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( 
58 90·void·const·*,·std::size_t); 
59 91 
60 _\x89_\x83·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g( 
61 94·std::shared_ptr<value_type>·ptr,·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size)·: 
62 95·m_buf{std::move(ptr)},·m_size{size} 
63 96·{} 
64 97 
65 _\x89_\x89·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_size;·} 
66 _\x81_\x80_\x81·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h()·const·noexcept·{·return·size();·} 
67 _\x81_\x80_\x82·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·size()·==·0;·} 
68 103 
69 _\x81_\x80_\x84·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·data();·} 
70 _\x81_\x80_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·begin();·} 
71 _\x81_\x80_\x86·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8e_\x8n_\x8d()·const·noexcept·{·return·data()·+·m_size; 
72 } 
73 _\x81_\x80_\x87·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·end();·} 
74 108 
75 _\x81_\x80_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·*begin();·} 
76 _\x81_\x81_\x80·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8b_\x8a_\x8c_\x8k()·const·noexcept 
77 111·{ 
78 112·return·*(data()·+·m_size·-·1); 
79 113·} 
80 114 
81 _\x81_\x81_\x85·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const 
82 116·{ 
83 117·return·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r{end()}; 
84 118·} 
85 _\x81_\x81_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const·{·return·rbegin();·} 
86 _\x81_\x82_\x80·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8r_\x8e_\x8n_\x8d()·const 
87 121·{ 
88 122·return·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r{begin()}; 
89 123·} 
90 _\x81_\x82_\x84·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8__\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·_\x8c_\x8r_\x8e_\x8n_\x8d()·const·{·return·rend();·} 
91 125 
92 _\x81_\x82_\x87·[[nodiscard]]·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·const·*_\x8d_\x8a_\x8t_\x8a()·const·noexcept·{·return·m_buf.get(); 
93 } 
94 128 
95 _\x81_\x82_\x89·[[nodiscard]]·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8__\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8](_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·i)·const·noexcept 
96 130·{ 
97 131·return·data()[i]; 
98 132·} 
99 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; 
110 144 
111 146·void·swap(_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g·&); 
112 147 
113 149 
114 _\x81_\x85_\x82·[[nodiscard]]·char·const·*_\x8g_\x8e_\x8t()·const·noexcept 
115 153·{ 
116 154·return·reinterpret_cast<char·const·*>(m_buf.get()); 
117 155·} 
118 156 
119 _\x81_\x85_\x88·[[nodiscard]]·std::string_view·_\x8v_\x8i_\x8e_\x8w()·const·noexcept 
120 159·{ 
121 160·return·std::string_view(get(),·size()); 
122 161·} 
123 162 
Max diff block lines reached; 203/18016 bytes (1.13%) of diff not shown.
18.9 KB
./usr/share/doc/libpqxx-doc/html/a00113_source.html
    
Offset 1, 15 lines modifiedOffset 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:·config-internal-autotools.h·Source·File</title>8 <title>libpqxx:·notification.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 30 lines modifiedOffset 60, 82 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">config-internal-autotools.h</div></div>67 ··<div·class="headertitle"><div·class="title">notification.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definition·of·the·pqxx::notification_receiver·functor·interface.</span></div>
 71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::notification_receiver·handles·incoming·notifications.</span></div>
 73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead.</span></div>
 75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
 77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div>
 78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
 79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
 80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
 81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>
 82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NOTIFICATION</span></div>
 83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NOTIFICATION</span></div>
 84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
 86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 97 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};">
 98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01354.html">···56</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01354.html">notification_receiver</a></div>
 99 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div>100 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·7.8.1&quot;</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div>101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 102 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;c,·std::string_view·channel);</div>
 103 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">···66</a></span>··<a·class="code·hl_function"·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">notification_receiver</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01354.html#afcf701e264edd9a14513765f542b446d">···68</a></span>··<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·&amp;<a·class="code·hl_function"·href="a01354.html#afcf701e264edd9a14513765f542b446d">operator=</a>(<a·class="code·hl_class"·href="a01354.html">notification_receiver</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 105 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01354.html">~notification_receiver</a>();</div>
 106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 107 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">···73</a></span>··[[nodiscard]]·std::string·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>()·const·&amp;·{·<span·class="keywordflow">return</span>·m_channel;·}</div>
 108 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref.</span></div>
 110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 111 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">···84</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">operator()</a>(std::string·<span·class="keyword">const</span>·&amp;payload,·<span·class="keywordtype">int</span>·backend_pid)·=·0;</div>
 112 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;7.8.1&quot;</span></div>113 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">protected</span>:</div>
 114 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">···87</a></span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;<a·class="code·hl_function"·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">conn</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_conn;·}</div>
 115 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 116 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">private</span>:</div>
 117 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01110.html">connection</a>·&amp;m_conn;</div>
 118 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·m_channel;</div>
 119 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div>
 120 </div>
 121 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>}·<span·class="comment">//·namespace·pqxx</span></div>
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#define·VERSION·&quot;7.8.1&quot;</span></div>122 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#endif</span></div>
 123 <div·class="ttc"·id="aa00250_html"><div·class="ttname"><a·href="a00250.html">pqxx</a></div><div·class="ttdoc">The·home·of·all·libpqxx·classes,·functions,·templates,·etc.</div><div·class="ttdef"><b>Definition</b>·array.hxx:33</div></div>
 124 <div·class="ttc"·id="aa01110_html"><div·class="ttname"><a·href="a01110.html">pqxx::connection</a></div><div·class="ttdoc">Connection·to·a·database.</div><div·class="ttdef"><b>Definition</b>·connection.hxx:253</div></div>
 125 <div·class="ttc"·id="aa01354_html"><div·class="ttname"><a·href="a01354.html">pqxx::notification_receiver</a></div><div·class="ttdef"><b>Definition</b>·notification.hxx:57</div></div>
 126 <div·class="ttc"·id="aa01354_html_a44ffe1ed8ec8020f4106ef8427e09d17"><div·class="ttname"><a·href="a01354.html#a44ffe1ed8ec8020f4106ef8427e09d17">pqxx::notification_receiver::notification_receiver</a></div><div·class="ttdeci">notification_receiver(notification_receiver·const·&amp;)=delete</div><div·class="ttdoc">Register·the·receiver·with·a·connection.</div></div>
 127 <div·class="ttc"·id="aa01354_html_a57732bae437844782bdfe6314f829d9a"><div·class="ttname"><a·href="a01354.html#a57732bae437844782bdfe6314f829d9a">pqxx::notification_receiver::channel</a></div><div·class="ttdeci">std::string·const·&amp;·channel()·const·&amp;</div><div·class="ttdoc">The·channel·that·this·receiver·listens·on.</div><div·class="ttdef"><b>Definition</b>·notification.hxx:73</div></div>
 128 <div·class="ttc"·id="aa01354_html_abb6fd7dd38319fc35e354e23d7f337d0"><div·class="ttname"><a·href="a01354.html#abb6fd7dd38319fc35e354e23d7f337d0">pqxx::notification_receiver::operator()</a></div><div·class="ttdeci">virtual·void·operator()(std::string·const·&amp;payload,·int·backend_pid)=0</div><div·class="ttdoc">Overridable:·action·to·invoke·when·notification·arrives.</div></div>
 129 <div·class="ttc"·id="aa01354_html_aedbe7f73abc3d4a1e211fa512b91479f"><div·class="ttname"><a·href="a01354.html#aedbe7f73abc3d4a1e211fa512b91479f">pqxx::notification_receiver::conn</a></div><div·class="ttdeci">connection·&amp;·conn()·const·noexcept</div><div·class="ttdef"><b>Definition</b>·notification.hxx:87</div></div>
 130 <div·class="ttc"·id="aa01354_html_afcf701e264edd9a14513765f542b446d"><div·class="ttname"><a·href="a01354.html#afcf701e264edd9a14513765f542b446d">pqxx::notification_receiver::operator=</a></div><div·class="ttdeci">notification_receiver·&amp;·operator=(notification_receiver·const·&amp;)=delete</div><div·class="ttdoc">Register·the·receiver·with·a·connection.</div></div>
79 </div><!--·fragment·--></div><!--·contents·-->131 </div><!--·fragment·--></div><!--·contents·-->
80 </div><!--·doc-content·-->132 </div><!--·doc-content·-->
81 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
82 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->134 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
83 ··<ul>135 ··<ul>
84 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>config-internal-autotools.h</b></li>136 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>notification.hxx</b></li>
85 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>137 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li>
86 ··</ul>138 ··</ul>
87 </div>139 </div>
88 </body>140 </body>
89 </html>141 </html>
4.09 KB
html2text {}
    
Offset 1, 15 lines modifiedOffset 1, 81 lines modified
1 libpqxx 7.8.11 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 notification.hxx
 3 1/*·Definition·of·the·pqxx::notification_receiver·functor·interface.
 4 2·*
 5 3·*·pqxx::notification_receiver·handles·incoming·notifications.
 6 4·*
 7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/notification·instead.
 8 6·*
 9 7·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.
 10 8·*
 11 9·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called
 12 10·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
 13 11·*·mistake,·or·contact·the·author.
 14 12·*/
 15 13#ifndef·PQXX_H_NOTIFICATION
 16 14#define·PQXX_H_NOTIFICATION
 17 15
 18 16#if·!defined(PQXX_HEADER_PRE)
 19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
 20 18#endif
 21 19
 22 20#include·<string>
 23 21
 24 22#include·"pqxx/types.hxx"
 25 23
 26 24
 27 25namespace·_\x8p_\x8q_\x8x_\x8x
 28 26{
 29 28
 30 _\x85_\x86class·PQXX_LIBEXPORT·PQXX_NOVTABLE·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r
 31 57{
 32 58public:
 33 60
 34 64·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&c,·std::string_view·channel);
 35 _\x86_\x86·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete;
 36 _\x86_\x88·_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r·const·&)·=·delete;
 37 70·virtual·_\x8~_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r();
 38 71
 39 _\x87_\x83·[[nodiscard]]·std::string·const·&_\x8c_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l()·const·&·{·return·m_channel;·}
 40 74
 41 75·//·TODO:·Change·API·to·take·payload·as·zview·instead·of·string·ref.
 42 77
 43 _\x88_\x84·virtual·void·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)(std::string·const·&payload,·int·backend_pid)·=·0;
 44 85
 45 86protected:
 46 _\x88_\x87·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&_\x8c_\x8o_\x8n_\x8n()·const·noexcept·{·return·m_conn;·}
 47 88
 48 89private:
 49 90·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·&m_conn;
 50 91·std::string·m_channel;
 51 92};
 52 93}·//·namespace·pqxx
 53 94#endif
 54 _\x8p_\x8q_\x8x_\x8x
 55 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 56 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·array.hxx:33
 57 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n
 58 Connection·to·a·database.
 59 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·connection.hxx:253
 60 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r
 61 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:57
 62 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r
 63 notification_receiver(notification_receiver·const·&)=delete
 64 Register·the·receiver·with·a·connection.
 65 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8c_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l
 66 std::string·const·&·channel()·const·&
 67 The·channel·that·this·receiver·listens·on.
 68 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:73
 69 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)
 70 virtual·void·operator()(std::string·const·&payload,·int·backend_pid)=0
 71 Overridable:·action·to·invoke·when·notification·arrives.
 72 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8c_\x8o_\x8n_\x8n
 73 connection·&·conn()·const·noexcept
 74 D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·notification.hxx:87
 75 _\x8p_\x8q_\x8x_\x8x_\x8:_\x8:_\x8n_\x8o_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8r_\x8e_\x8c_\x8e_\x8i_\x8v_\x8e_\x8r_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=
 76 notification_receiver·&·operator=(notification_receiver·const·&)=delete
 77 Register·the·receiver·with·a·connection.
12 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e78 ····*·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
13 ····*·_\x8p_\x8q_\x8x_\x8x79 ····*·_\x8p_\x8q_\x8x_\x8x
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.h80 ····*·n.no.ot.ti.if.fi.ic.ca.at.ti.io.on.n...h.hx.xx.x
15 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.881 ····*·Generated·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8
102 KB
./usr/share/doc/libpqxx-doc/html/a00116_source.html
    
Offset 1, 15 lines modifiedOffset 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:·array.hxx·Source·File</title>8 <title>libpqxx:·config-public-compiler.h·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 519 lines modifiedOffset 60, 27 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">array.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">config-public-compiler.h</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Handling·of·SQL·arrays.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Automatically·generated·from·config.h:·public/compiler·config.·*/</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div> 
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div> 
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div> 
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div> 
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div> 
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div> 
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div> 
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/connection.hxx&quot;</span></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/array-composite.hxx&quot;</span></div> 
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
101 <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> 
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00250.html">···32</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div> 
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> 
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one·buffer.</span></div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
106 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>&lt;</div> 
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·ELEMENT,·std::size_t·DIMENSIONS·=·1u,</div> 
109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">char</span>·SEPARATOR·=·array_separator&lt;ELEMENT&gt;&gt;</div> 
110 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> 
111 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01086.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01086.html">array</a>·final</div> 
112 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> 
113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> 
114 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
115 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> 
116 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01086.html#abf1925ec5be448b26147a100660d936c">···68</a></span>··<a·class="code·hl_function"·href="a01086.html#abf1925ec5be448b26147a100660d936c">array</a>(std::string_view·data,·<a·class="code·hl_class"·href="a01110.html">connection</a>·<span·class="keyword">const</span>·&amp;conn)·:</div> 
117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········<a·class="code·hl_class"·href="a01086.html">array</a>{data,·<a·class="code·hl_namespace"·href="a00250.html">pqxx</a>::internal::enc_group(conn.encoding_id())}</div> 
118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div> 
119 </div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
121 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">···75</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>()·noexcept·{·<span·class="keywordflow">return</span>·DIMENSIONS;·}</div> 
123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
125 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> 
126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">···82</a></span>··std::array&lt;std::size_t,·DIMENSIONS&gt;·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01086.html#ad0bf0e010691f056bebaa506f9e034dc">sizes</a>()·noexcept</div> 
127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> 
128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·m_extents;</div> 
129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> 
130 </div> 
131 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
132 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> 
133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">···87</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·INDEX&gt;·ELEMENT·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01086.html#ab09c8cc8cfe18291bebfdfbb85770ddd">at</a>(INDEX...·index)<span·class="keyword">·const</span></div> 
134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">··</span>{</div> 
135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(index)·==·DIMENSIONS);</div> 
136 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····check_bounds(index...);</div> 
137 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordflow">return</span>·m_elts.at(locate(index...));</div> 
138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> 
139 </div> 
140 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
142 <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> 
143 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">··103</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·INDEX&gt;·ELEMENT·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01086.html#a36d27b1f7e366a07944115a382aa4087">operator[]</a>(INDEX...·index)<span·class="keyword">·const</span></div> 
144 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">··</span>{</div> 
145 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">static_assert</span>(<span·class="keyword">sizeof</span>...(index)·==·DIMENSIONS);</div> 
146 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·m_elts[locate(index...)];</div> 
147 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> 
148 </div> 
149 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
150 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
151 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01086.html#aa091e8641639a3802f44b565194d1119">··115</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#aa091e8641639a3802f44b565194d1119">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.cbegin();·}</div> 
152 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01086.html#a14d57111c8af2324a8e9e8e3df162d9d">··117</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a14d57111c8af2324a8e9e8e3df162d9d">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.cend();·}</div> 
153 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01086.html#a2499a20fcc7d9da7e7f303b6e16fb254">··119</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a2499a20fcc7d9da7e7f303b6e16fb254">crbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.crbegin();·}</div> 
154 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01086.html#ac2f300e0917b8e0afbc9d77bbc26534a">··121</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#ac2f300e0917b8e0afbc9d77bbc26534a">crend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.crend();·}</div> 
155 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
156 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
157 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">··127</a></span>··<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.size();·}</div> 
158 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
159 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> 
160 <div·class="foldopen"·id="foldopen00145"·data-start="{"·data-end="}"> 
161 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a01086.html#a707b514df7835fa198a29ae68897efd8">··145</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#a707b514df7835fa198a29ae68897efd8">ssize</a>()·const·noexcept</div> 
162 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··{</div> 
163 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span>std::ptrdiff_t<span·class="keyword">&gt;</span>(<a·class="code·hl_function"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">size</a>());</div> 
164 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··}</div> 
165 </div> 
166 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
167 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> 
168 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a01086.html#af0f6cbf8e3621dc46e59b9563ed436b1">··153</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01086.html#af0f6cbf8e3621dc46e59b9563ed436b1">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_elts.front();·}</div> 
169 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> 
170 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
Max diff block lines reached; 855/84630 bytes (1.01%) of diff not shown.
19.7 KB
html2text {}
    
Offset 1, 548 lines modifiedOffset 1, 12 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
 2 config-public-compiler.h
 3 1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/
 4 2
 5 3#define·PQXX_HAVE_GCC_PURE·1
 6 4#define·PQXX_HAVE_GCC_VISIBILITY·1
 7 5#define·PQXX_HAVE_PATH·1
 8 6#define·PQXX_HAVE_STRERROR_R·1
2 array.hxx 
3 1/*·Handling·of·SQL·arrays. 
4 2·* 
5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead. 
6 4·* 
7 5·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen. 
8 6·* 
9 7·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called 
10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this 
11 9·*·mistake,·or·contact·the·author. 
12 10·*/ 
13 11#ifndef·PQXX_H_ARRAY 
14 12#define·PQXX_H_ARRAY 
15 13 
16 14#if·!defined(PQXX_HEADER_PRE) 
17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>." 
18 16#endif 
19 17 
20 18#include·<algorithm> 
21 19#include·<cassert> 
22 20#include·<stdexcept> 
23 21#include·<string> 
24 22#include·<type_traits> 
25 23#include·<utility> 
26 24#include·<vector> 
27 25 
28 26#include·"pqxx/connection.hxx" 
29 27#include·"pqxx/internal/array-composite.hxx" 
30 28#include·"pqxx/internal/encoding_group.hxx" 
31 29#include·"pqxx/internal/encodings.hxx" 
32 30 
33 31 
34 _\x83_\x82namespace·_\x8p_\x8q_\x8x_\x8x 
35 33{ 
36 34//·TODO:·Specialise·for·string_view/zview,·allocate·all·strings·in·one 
37 buffer. 
38 35 
39 37 
40 52template< 
41 53·typename·ELEMENT,·std::size_t·DIMENSIONS·=·1u, 
42 54·char·SEPARATOR·=·array_separator<ELEMENT>> 
43 _\x85_\x85class·_\x8a_\x8r_\x8r_\x8a_\x8y·final 
44 56{ 
45 57public: 
46 59 
47 _\x86_\x88·_\x8a_\x8r_\x8r_\x8a_\x8y(std::string_view·data,·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·const·&conn)·: 
48 69·_\x8a_\x8r_\x8r_\x8a_\x8y{data,·_\x8p_\x8q_\x8x_\x8x::internal::enc_group(conn.encoding_id())} 
49 70·{} 
50 71 
51 73 
52 _\x87_\x85·constexpr·std::size_t·_\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s()·noexcept·{·return·DIMENSIONS;·} 
53 76 
54 78 
55 _\x88_\x82·std::array<std::size_t,·DIMENSIONS>·const·&_\x8s_\x8i_\x8z_\x8e_\x8s()·noexcept 
56 83·{ 
57 84·return·m_extents; 
58 85·} 
59 86 
60 _\x88_\x87·template<typename...·INDEX>·ELEMENT·const·&_\x8a_\x8t(INDEX...·index)·const 
61 88·{ 
62 89·static_assert(sizeof...(index)·==·DIMENSIONS); 
63 90·check_bounds(index...); 
64 91·return·m_elts.at(locate(index...)); 
65 92·} 
66 93 
67 95 
68 _\x81_\x80_\x83·template<typename...·INDEX>·ELEMENT·const·&_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8](INDEX...·index)·const 
69 104·{ 
70 105·static_assert(sizeof...(index)·==·DIMENSIONS); 
71 106·return·m_elts[locate(index...)]; 
72 107·} 
73 108 
74 110 
75 _\x81_\x81_\x85·constexpr·auto·_\x8c_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.cbegin();·} 
76 _\x81_\x81_\x87·constexpr·auto·_\x8c_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.cend();·} 
77 _\x81_\x81_\x89·constexpr·auto·_\x8c_\x8r_\x8b_\x8e_\x8g_\x8i_\x8n()·const·noexcept·{·return·m_elts.crbegin();·} 
78 _\x81_\x82_\x81·constexpr·auto·_\x8c_\x8r_\x8e_\x8n_\x8d()·const·noexcept·{·return·m_elts.crend();·} 
79 122 
80 124 
81 _\x81_\x82_\x87·constexpr·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_elts.size();·} 
82 128 
83 130 
84 _\x81_\x84_\x85·constexpr·auto·_\x8s_\x8s_\x8i_\x8z_\x8e()·const·noexcept 
85 146·{ 
86 147·return·static_cast<std::ptrdiff_t>(_\x8s_\x8i_\x8z_\x8e()); 
87 148·} 
88 149 
89 151 
90 _\x81_\x85_\x83·constexpr·auto·_\x8f_\x8r_\x8o_\x8n_\x8t()·const·noexcept·{·return·m_elts.front();·} 
91 154 
92 156 
93 _\x81_\x85_\x88·constexpr·auto·_\x8b_\x8a_\x8c_\x8k()·const·noexcept·{·return·m_elts.back();·} 
94 159 
95 160private: 
96 162 
97 170·void·check_dims(std::string_view·data) 
98 171·{ 
99 172·auto·sz{std::size(data)}; 
100 173·if·(sz·<·DIMENSIONS·*·2) 
101 174·throw·conversion_error{pqxx::internal::concat( 
102 175·"Trying·to·parse·a·",·DIMENSIONS,·"-dimensional·array·out·of·'",·data, 
103 176·"'.")}; 
104 177 
105 178·//·Making·some·assumptions·here: 
106 179·//·*·The·array·holds·no·extraneous·whitespace. 
107 180·//·*·None·of·the·sub-arrays·can·be·null. 
108 181·//·*·Only·ASCII·characters·start·off·with·a·byte·in·the·0-127·range. 
109 182·// 
110 183·//·Given·those,·the·input·must·start·with·a·sequence·of·DIMENSIONS·bytes 
111 184·//·with·the·ASCII·value·for·'{';·and·likewise·it·must·end·with·a·sequence 
112 185·//·of·DIMENSIONS·bytes·with·the·ASCII·value·for·'}'. 
113 186 
114 187·if·(data[0]·!=·'{') 
115 188·throw·conversion_error{"Malformed·array:·does·not·start·with·'{'."}; 
116 189·for·(std::size_t·i{0};·i·<·DIMENSIONS;·++i) 
117 190·if·(data[i]·!=·'{') 
118 191·throw·conversion_error{pqxx::internal::concat( 
119 192·"Expecting·",·DIMENSIONS,·"-dimensional·array,·but·found·",·i,·".")}; 
120 193·if·(data[DIMENSIONS]·==·'{') 
Max diff block lines reached; 188/20112 bytes (0.93%) of diff not shown.
181 KB
./usr/share/doc/libpqxx-doc/html/a00119_source.html
    
Offset 1, 15 lines modifiedOffset 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:·field.hxx·Source·File</title>8 <title>libpqxx:·binarystring.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 60, 539 lines modifiedOffset 60, 284 lines modified
60 <script·type="text/javascript">60 <script·type="text/javascript">
61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·});
63 /*·@license-end·*/63 /*·@license-end·*/
64 </script>64 </script>
65 <div·id="doc-content">65 <div·id="doc-content">
66 <div·class="header">66 <div·class="header">
67 ··<div·class="headertitle"><div·class="title">field.hxx</div></div>67 ··<div·class="headertitle"><div·class="title">binarystring.hxx</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Definitions·for·the·pqxx::field·class.</span></div>70 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*·Deprecated·representation·for·raw,·binary·data.</span></div>
71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>71 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·pqxx::field·refers·to·a·field·in·a·query·result.</span></div>72 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·instead.</span></div>
73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.</span></div>74 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div>
75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>75 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</span></div> 
77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*</span></div> 
78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>76 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*·See·COPYING·for·copyright·license.··If·you·did·not·receive·a·file·called</span></div>
79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>77 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this</span></div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>78 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·mistake,·or·contact·the·author.</span></div>
81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*/</span></div>79 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_FIELD</span></div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</span></div>
83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_FIELD</span></div>81 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</span></div>
84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>82 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>83 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·!defined(PQXX_HEADER_PRE)</span></div>
86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>84 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#··error·&quot;Include·libpqxx·headers·as·&lt;pqxx/header&gt;,·not·&lt;pqxx/header.hxx&gt;.&quot;</span></div>
87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>85 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>86 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 87 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;string_view&gt;</span></div>
90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>90 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/array.hxx&quot;</span></div> 
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/composite.hxx&quot;</span></div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00250.html">pqxx</a></div>
 95 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span>binarystring;</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span>&lt;&gt;·<span·class="keyword">struct·</span>string_traits&lt;binarystring&gt;;</div>
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
99 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
100 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">101 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};">
101 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01314.html">···34</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01314.html">field</a></div>102 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01094.html">···58</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01094.html">binarystring</a></div>
102 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>103 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div>
103 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div>104 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div>
104 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01314.html#a4cd68406a1832a2a7002babaad31f3c8">size_type</a>·=·<a·class="code·hl_typedef"·href="a00250.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>;</div> 
105 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··[[deprecated(</div> 
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="stringliteral">&quot;Do·not·construct·fields·yourself.··Get·them·from·the·row.&quot;</span>)]]·<a·class="code·hl_class"·href="a01314.html">field</a>(<a·class="code·hl_class"·href="a014[·...·truncated·by·diffoscope;·len:·198,·SHA:·747b9f39d10deb6ff93287acb203d01fd9e692adc7e7f5f7c582302cd5dfcd40·...·];</div>105 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</[·...·truncated·by·diffoscope;·len:·51,·SHA:·3566641c97f66b5074a787923e4daff2310bb6bcc1d18c75eeda944c3345c76d·...·];</div>
 106 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;char_type&gt;::char_type;</div>
 107 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·=·std::size_t;</div>
 108 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div>
 109 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·&amp;;</div>
 110 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01094.html#af70ec84cf927dceb10418da704722a71">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>·=·<a·class="code·hl_typedef"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·<span·class="keyword">const</span>·*;</div>
 111 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01094.html#af70ec84cf927dceb10418da704722a71">const_pointer</a>;</div>
 112 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01094.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator&lt;const_iterator&gt;;</div>
109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>113 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 114 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">···70</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_function"·href="a01094.html#af4737b2be7d0cff87fbacb3fc00e1cea">binarystring</a>(</div>
 115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<a·class="code·hl_class"·href="a01094.html">binarystring</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keywordflow">default</span>;</div>
110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··[[deprecated(</div> 
111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="stringliteral">&quot;Do·not·construct·fields·yourself.··Get·them·from·the·&quot;</span></div> 
112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">···50</a></span>····<span·class="stringliteral">&quot;row.&quot;</span>)]]·<a·class="code·hl_function"·href="a01314.html#aceb8e342f34a054d2b2310c59cbf0e52">field</a>()·noexcept·=·default;</div> 
113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
114 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>116 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
115 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<a·class="code·hl_class"·href="a01314.html">field</a>·const·&amp;)·const·noexcept;</div> 
116 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div>
 119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_class"·href="a01314.html">field</a>·<span·class="keyword">const</span>·&amp;);</div>
 120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div>
 123 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string_view);</div>
117 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>124 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_class"·href="a01094.html">binarystring</a>(</div>
 126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*,·std::size_t);</div>
 127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
118 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}">128 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}">
119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01314.html#a768ec9ffee118b5eb5a4c371afbacc5a">···78</a></span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">bool</span>·operator!=(<a·class="code·hl_class"·href="a01314.html">field</a>[·...·truncated·by·diffoscope;·len:·31,·SHA:·a9ed2bf8af09936b637d916f61064cd9117bd343607e71cca5ab4c55e0e310b1·...·]</div>129 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01094.html#a743109bd64eea3e152dd29322c167bdc">···93</a></span>··[[deprecated(<span·class="stringliteral">&quot;Use·std::byte·for·binary·data.&quot;</span>)]]·<a·class="code·hl_function"·href[·...·truncated·by·diffoscope;·len:·66,·SHA:·c06f09edd224373ecc49bd7b141376c63eedbaa000ffae65c5929591b8eee4f6·...·]</div>
 130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····std::shared_ptr&lt;value_type&gt;·ptr,·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·size)·:</div>
 131 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········m_buf{std::move(ptr)},·m_size{size}</div>
120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{</div>132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{}</div>
121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">return</span>·not·operator==(rhs);</div> 
122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> 
123 </div>133 </div>
124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··[[nodiscard]]·PQXX_PURE·<span·class="keywordtype">char</span>·<span·class="keyword">const</span>·*name()·const·&amp;;</div> 
126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 135 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">···99</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}</div>
 136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">··101</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a85764c8fab179e2ec288c86ef1dd5adb">size_type</a>·<a·class="code·hl_function"·href="a01094.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}</div>
 137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">··102</a></span>··[[nodiscard]]·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01094.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()·==·0;·}</div>
127 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··[[nodiscard]]·oid·PQXX_PURE·type()·const;</div> 
128 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
129 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··[[nodiscard]]·PQXX_PURE·oid·table()·const;</div> 
130 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
131 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01314.html#a8e90cf78347c40fb5a975734e8557675">···98</a></span>··PQXX_PURE·constexpr·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·num()·const·noexcept·{·<span·class="keywordflow">return</span>·col();·}</div> 
132 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
133 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··[[nodiscard]]·PQXX_PURE·<a·class="code·hl_typedef"·href="a00250.html#a2dedde27863671a16a59f2625bf03d03">row_size_type</a>·table_column()·<span·class="keyword">const</span>;</div> 
134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">··104</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}</div>
 140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">··105</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div>
 141 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">··106</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()·+·m_size;·}</div>
 142 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">··107</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01094.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div>
135 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>143 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 144 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">··109</a></span>··[[nodiscard]]·<a·class="code·hl_typedef"·href="a01094.html#a6afb9656a4d771b937d8b39b531316b2">const_reference</a>·<a·class="code·hl_function"·href="a01094.html#a85eab67b3f966985384b2499e3ff4e5b">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·*begin();·}</div>
136 <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}">145 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}">
Max diff block lines reached; 106136/145279 bytes (73.06%) of diff not shown.
39.2 KB
html2text {}
    
Offset 1, 607 lines modifiedOffset 1, 352 lines modified
1 libpqxx 7.8.11 libpqxx 7.8.1
2 field.hxx 
3 1/*·Definitions·for·the·pqxx::field·class.2 binarystring.hxx
 3 1/*·Deprecated·representation·for·raw,·binary·data.
4 2·*4 2·*
5 3·*·pqxx::field·refers·to·a·field·in·a·query·result.5 3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/binarystring·instead.
6 4·*6 4·*
7 5·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/field·instead.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·*·See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called9 7·*·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·this10 8·*·COPYING·with·this·source·code,·please·notify·the·distributor·of·this
13 11·*·mistake,·or·contact·the·author.11 9·*·mistake,·or·contact·the·author.
14 12·*/12 10·*/
15 13#ifndef·PQXX_H_FIELD 
16 14#define·PQXX_H_FIELD 
17 1513 11#ifndef·PQXX_H_BINARYSTRING
 14 12#define·PQXX_H_BINARYSTRING
 15 13
18 16#if·!defined(PQXX_HEADER_PRE)16 14#if·!defined(PQXX_HEADER_PRE)
19 17#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."17 15#·error·"Include·libpqxx·headers·as·<pqxx/header>,·not·<pqxx/header.hxx>."
20 18#endif18 16#endif
21 19 
22 20#include·<optional>19 17
 20 18#include·<memory>
 21 19#include·<string>
 22 20#include·<string_view>
23 2123 21
24 22#include·"pqxx/array.hxx" 
25 23#include·"pqxx/composite.hxx" 
26 24#include·"pqxx/result.hxx"24 22#include·"pqxx/result.hxx"
27 25#include·"pqxx/strconv.hxx"25 23#include·"pqxx/strconv.hxx"
 26 24
28 26#include·"pqxx/types.hxx" 
29 27 
30 28namespace·_\x8p_\x8q_\x8x_\x8x27 25namespace·_\x8p_\x8q_\x8x_\x8x
 28 26{
 29 27class·binarystring;
 30 28template<>·struct·string_traits<binarystring>;
31 29{31 29
32 31 
33 _\x83_\x84class·PQXX_LIBEXPORT·_\x8f_\x8i_\x8e_\x8l_\x8d 
34 35{32 30
 33 32
 34 _\x85_\x88class·PQXX_LIBEXPORT·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g
 35 59{
35 36public: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
36 _\x83_\x87·using·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·=·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; 
37 38 
38 40 
39 44·[[deprecated( 
40 45·"Do·not·construct·fields·yourself.·Get·them·from·the·row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d(_\x8r_\x8o_\x8w 
41 const·&r,·_\x8r_\x8o_\x8w_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·c)·noexcept; 
42 46 
43 48·[[deprecated( 
44 49·"Do·not·construct·fields·yourself.·Get·them·from·the·" 
45 _\x85_\x80·"row.")]]·_\x8f_\x8i_\x8e_\x8l_\x8d()·noexcept·=·default; 
46 51 
47 57 
48 73·[[nodiscard]]·PQXX_PURE·bool·operator==(_\x8f_\x8i_\x8e_\x8l_\x8d·const·&)·const·noexcept; 
49 7449 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·_.r_.o_.w_.__.s_.i_.z_.e_.__.t_.y_.p_.e·table_column()·const;50 78·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_.b_.i_.n_.a_.r_.y_.s_.t_.r_.i_.n_.g(
 51 79·_\x8f_\x8i_\x8e_\x8l_\x8d·const·&);
 52 80
 53 82
 54 85·[[deprecated("Use·std::byte·for·binary·data.")]]·explicit·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(
 55 86·std::string_view);
 56 87
 57 89·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(
 58 90·void·const·*,·std::size_t);
 59 91
 60 _\x89_\x83·[[deprecated("Use·std::byte·for·binary·data.")]]·_\x8b_\x8i_\x8n_\x8a_\x8r_\x8y_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g(
 61 94·std::shared_ptr<value_type>·ptr,·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·size)·:
 62 95·m_buf{std::move(ptr)},·m_size{size}
 63 96·{}
 64 97
 65 _\x89_\x89·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e()·const·noexcept·{·return·m_size;·}
 66 _\x81_\x80_\x81·[[nodiscard]]·_\x8s_\x8i_\x8z_\x8e_\x8__\x8t_\x8y_\x8p_\x8e·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h()·const·noexcept·{·return·size();·}
 67 _\x81_\x80_\x82·[[nodiscard]]·bool·_\x8e_\x8m_\x8p_\x8t_\x8y()·const·noexcept·{·return·size()·==·0;·}
65 10368 103
66 109 
67 _\x81_\x81_.3·[[nodiscard]]·PQXX_PURE·std::string_view·_.v_.i_.e_.w()·const·&69 _\x81_\x80_.4·[[nodiscard]]·_.c_.o_.n_.s_.t_.__.i_.t_.e_.r_.a_.t_.o_.r·_.b_.e_.g_.i_.n()·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
68 114·{77 111·{
69 115·return·std::string_view(c_str(),·size());78 112·return·*(data()·+·m_size·-·1);
70 116·}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
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 
Max diff block lines reached; 32243/40096 bytes (80.41%) of diff not shown.
3.2 KB
./usr/share/doc/libpqxx-doc/html/a01086.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::array&lt;·ELEMENT,·DIMENSIONS,·SEPARATOR·&gt;·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::array&lt;·ELEMENT,·DIMENSIONS,·SEPARATOR·&gt;·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·&lt;<a·class="el"·href="a00116_source.html">array.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00062_source.html">array.hxx</a>&gt;</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">&#160;</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·&amp;conn)</td></tr>74 <tr·class="memitem:abf1925ec5be448b26147a100660d936c"·id="r_abf1925ec5be448b26147a100660d936c"><td·class="memItemLeft"·align="right"·valign="top">&#160;</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·&amp;conn)</td></tr>
75 <tr·class="memdesc:abf1925ec5be448b26147a100660d936c"><td·class="mdescLeft">&#160;</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">&#160;</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">&#160;</td></tr>76 <tr·class="separator:abf1925ec5be448b26147a100660d936c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a76252c66ef91327bc8c5ae296cb9aacb"·id="r_a76252c66ef91327bc8c5ae296cb9aacb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·std::size_t&#160;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01086.html#a76252c66ef91327bc8c5ae296cb9aacb">dimensions</a>·()·noexcept</td></tr>
Offset 510, 15 lines modifiedOffset 510, 15 lines modified
510 <p>In·practice·however,·I·don't·think·<code><a·class="el"·href="a01086.html#a707b514df7835fa198a29ae68897efd8"·title="Number·of·elements·in·the·array·(as·a·signed·number).">ssize()</a></code>·could·ever·overflow.·You'd·need·an·array·where·each·element·takes·up·just·one·byte,·such·as·Booleans,·filling·up·more·than·half·your·address·space.·But·the·input·string·for·that·array·would·need·at·least·two·bytes·per·value:·one·for·the·value,·one·for·the·separating·comma·between·elements.·So·even·then·you·wouldn't·have·enough·address·space·to·create·the·array,·even·if·your·system·allowed·you·to·use·your·full·address·space.·</p>510 <p>In·practice·however,·I·don't·think·<code><a·class="el"·href="a01086.html#a707b514df7835fa198a29ae68897efd8"·title="Number·of·elements·in·the·array·(as·a·signed·number).">ssize()</a></code>·could·ever·overflow.·You'd·need·an·array·where·each·element·takes·up·just·one·byte,·such·as·Booleans,·filling·up·more·than·half·your·address·space.·But·the·input·string·for·that·array·would·need·at·least·two·bytes·per·value:·one·for·the·value,·one·for·the·separating·comma·between·elements.·So·even·then·you·wouldn't·have·enough·address·space·to·create·the·array,·even·if·your·system·allowed·you·to·use·your·full·address·space.·</p>
  
511 <p·class="reference">References·<a·class="el"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">pqxx::array&lt;·ELEMENT,·DIMENSIONS,·SEPARATOR·&gt;::size()</a>.</p>511 <p·class="reference">References·<a·class="el"·href="a01086.html#a592afe2ec16fbb793501e84d805c87eb">pqxx::array&lt;·ELEMENT,·DIMENSIONS,·SEPARATOR·&gt;::size()</a>.</p>
  
512 </div>512 </div>
513 </div>513 </div>
514 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>514 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
515 <li><a·class="el"·href="a00116_source.html">array.hxx</a></li>515 <li><a·class="el"·href="a00062_source.html">array.hxx</a></li>
516 </ul>516 </ul>
517 </div><!--·contents·-->517 </div><!--·contents·-->
518 </div><!--·doc-content·-->518 </div><!--·doc-content·-->
519 <!--·start·footer·part·-->519 <!--·start·footer·part·-->
520 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->520 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
521 ··<ul>521 ··<ul>
522 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01086.html">array</a></li>522 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01086.html">array</a></li>
2.27 KB
./usr/share/doc/libpqxx-doc/html/a01090.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00116_source.html">array.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00062_source.html">array.hxx</a>&gt;</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·&#160;</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·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">juncture</a>·{·<br·/>
76 &#160;&#160;<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea776234b9f0a5c0e802f2790824042092">row_start</a>76 &#160;&#160;<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea776234b9f0a5c0e802f2790824042092">row_start</a>
77 ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189eab11c3eff6dd36f1f7136020d32b38051">row_end</a>77 ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189eab11c3eff6dd36f1f7136020d32b38051">row_end</a>
78 ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea9e374dadbd88854fd5b2631a6b83a295">null_value</a>78 ,·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea9e374dadbd88854fd5b2631a6b83a295">null_value</a>
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
200 <p>Parse·the·next·step·in·the·array.·</p>200 <p>Parse·the·next·step·in·the·array.·</p>
201 <p>Returns·what·it·found.·If·the·juncture·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea863a85b49df560a48bb166fcbf59f8b4">juncture::string_value</a>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p>201 <p>Returns·what·it·found.·If·the·juncture·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea863a85b49df560a48bb166fcbf59f8b4">juncture::string_value</a>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p>
202 <p>Call·this·until·the·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">array_parser::juncture</a>·it·returns·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea6b2ded51d81a4403d8a4bd25fa1e57ee">juncture::done</a>.·</p>202 <p>Call·this·until·the·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189e">array_parser::juncture</a>·it·returns·is·<a·class="el"·href="a01090.html#a039577d83d313a6daf35fd7c273e189ea6b2ded51d81a4403d8a4bd25fa1e57ee">juncture::done</a>.·</p>
  
203 </div>203 </div>
204 </div>204 </div>
205 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>205 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
206 <li><a·class="el"·href="a00116_source.html">array.hxx</a></li>206 <li><a·class="el"·href="a00062_source.html">array.hxx</a></li>
207 <li><b>array.cxx</b></li>207 <li><b>array.cxx</b></li>
208 </ul>208 </ul>
209 </div><!--·contents·-->209 </div><!--·contents·-->
210 </div><!--·doc-content·-->210 </div><!--·doc-content·-->
211 <!--·start·footer·part·-->211 <!--·start·footer·part·-->
212 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->212 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
213 ··<ul>213 ··<ul>
2.47 KB
./usr/share/doc/libpqxx-doc/html/a01094.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00110_source.html">binarystring.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">binarystring.hxx</a>&gt;</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&#160;</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&#160;</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">&#160;</td></tr>76 <tr·class="separator:ac8ad29d6a0835c22348e446a6253461f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a6437b862c31586e091d52bac465d1d6c"·id="r_a6437b862c31586e091d52bac465d1d6c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;·<a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·&gt;<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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01094.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;·<a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·&gt;<a·class="el"·href="a01094.html#ac8ad29d6a0835c22348e446a6253461f">::char_type</a></td></tr>
78 <tr·class="separator:a6437b862c31586e091d52bac465d1d6c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:a6437b862c31586e091d52bac465d1d6c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 1032, 15 lines modifiedOffset 1032, 15 lines modified
1032 <p>Read·contents·as·a·std::string_view.·</p>1032 <p>Read·contents·as·a·std::string_view.·</p>
  
1033 <p·class="reference">Referenced·by·<a·class="el"·href="a01102.html#a635a7116176618c4cd2cdb23422c2ae9">pqxx::string_traits&lt;·binarystring·&gt;::into_buf()</a>.</p>1033 <p·class="reference">Referenced·by·<a·class="el"·href="a01102.html#a635a7116176618c4cd2cdb23422c2ae9">pqxx::string_traits&lt;·binarystring·&gt;::into_buf()</a>.</p>
  
1034 </div>1034 </div>
1035 </div>1035 </div>
1036 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1036 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1037 <li><a·class="el"·href="a00110_source.html">binarystring.hxx</a></li>1037 <li><a·class="el"·href="a00119_source.html">binarystring.hxx</a></li>
1038 <li><b>binarystring.cxx</b></li>1038 <li><b>binarystring.cxx</b></li>
1039 </ul>1039 </ul>
1040 </div><!--·contents·-->1040 </div><!--·contents·-->
1041 </div><!--·doc-content·-->1041 </div><!--·doc-content·-->
1042 <!--·start·footer·part·-->1042 <!--·start·footer·part·-->
1043 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1043 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1044 ··<ul>1044 ··<ul>
2.69 KB
./usr/share/doc/libpqxx-doc/html/a01098.html
    
Offset 61, 15 lines modifiedOffset 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&lt;·binarystring·&gt;·Struct·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·binarystring·&gt;·Struct·Reference</div></div>
65 </div><!--header-->65 </div><!--header-->
66 <div·class="contents">66 <div·class="contents">
  
67 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">binarystring.hxx</a>&gt;</code></p>67 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">binarystring.hxx</a>&gt;</code></p>
68 <div·class="dynheader">68 <div·class="dynheader">
69 Inheritance·diagram·for·pqxx::nullness&lt;·binarystring·&gt;:</div>69 Inheritance·diagram·for·pqxx::nullness&lt;·binarystring·&gt;:</div>
70 <div·class="dyncontent">70 <div·class="dyncontent">
71 <div·class="center"><img·src="a01097.png"·border="0"·usemap="#apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·alt="Inheritance·graph"/></div>71 <div·class="center"><img·src="a01097.png"·border="0"·usemap="#apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·alt="Inheritance·graph"/></div>
72 <map·name="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·id="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map">72 <map·name="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map"·id="apqxx_1_1nullness_3_01binarystring_01_4_inherit__map">
73 <area·shape="rect"·title="·"·alt=""·coords="5,168,229,193"/>73 <area·shape="rect"·title="·"·alt=""·coords="5,168,229,193"/>
74 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="9,93,226,119"/>74 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="9,93,226,119"/>
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <tr·class="memdesc:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Does·<code>TYPE</code>·have·a·"built-in·null·value"?··<br·/></td></tr>90 <tr·class="memdesc:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Does·<code>TYPE</code>·have·a·"built-in·null·value"?··<br·/></td></tr>
91 <tr·class="separator:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a8f3b58a4b6b3d4161e63e53431a7d2d1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"·id="r_a869b17b2eee5f2495386ce445fa4b2f1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a></td></tr>92 <tr·class="memitem:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"·id="r_a869b17b2eee5f2495386ce445fa4b2f1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01434.html#a869b17b2eee5f2495386ce445fa4b2f1">always_null</a></td></tr>
93 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>93 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>
94 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table>95 </table>
96 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>96 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
97 <li><a·class="el"·href="a00110_source.html">binarystring.hxx</a></li>97 <li><a·class="el"·href="a00119_source.html">binarystring.hxx</a></li>
98 </ul>98 </ul>
99 </div><!--·contents·-->99 </div><!--·contents·-->
100 </div><!--·doc-content·-->100 </div><!--·doc-content·-->
101 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
102 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->102 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
103 ··<ul>103 ··<ul>
104 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01098.html">nullness&lt;·binarystring·&gt;</a></li>104 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01098.html">nullness&lt;·binarystring·&gt;</a></li>
2.42 KB
./usr/share/doc/libpqxx-doc/html/a01102.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·binarystring·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·binarystring·&gt;·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·&lt;<a·class="el"·href="a00110_source.html">binarystring.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">binarystring.hxx</a>&gt;</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&#160;</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·&amp;value)·noexcept</td></tr>74 <tr·class="memitem:a6a1b331fc3fd588709d8ea7d9a83b8a8"·id="r_a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memItemLeft"·align="right"·valign="top">static·std::size_t&#160;</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·&amp;value)·noexcept</td></tr>
75 <tr·class="separator:a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a6a1b331fc3fd588709d8ea7d9a83b8a8"><td·class="memSeparator"·colspan="2">&#160;</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>&#160;</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·&amp;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>&#160;</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·&amp;value)</td></tr>
77 <tr·class="separator:aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:aa8c7d94c6adaf1519623a2d69ea47469"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 226, 15 lines modifiedOffset 226, 15 lines modified
226 ··</tr>226 ··</tr>
227 </table>227 </table>
228 </div><div·class="memdoc">228 </div><div·class="memdoc">
  
229 </div>229 </div>
230 </div>230 </div>
231 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>231 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
232 <li><a·class="el"·href="a00110_source.html">binarystring.hxx</a></li>232 <li><a·class="el"·href="a00119_source.html">binarystring.hxx</a></li>
233 </ul>233 </ul>
234 </div><!--·contents·-->234 </div><!--·contents·-->
235 </div><!--·doc-content·-->235 </div><!--·doc-content·-->
236 <!--·start·footer·part·-->236 <!--·start·footer·part·-->
237 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->237 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
238 ··<ul>238 ··<ul>
239 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01102.html">string_traits&lt;·binarystring·&gt;</a></li>239 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01102.html">string_traits&lt;·binarystring·&gt;</a></li>
4.74 KB
./usr/share/doc/libpqxx-doc/html/a01110.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00074_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">connection.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>75 <tr·class="separator:a3e9460d4cad761e5ae2ae95aab4f777f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a24e6d240181c50ca81a7bfe816185a60"·id="r_a24e6d240181c50ca81a7bfe816185a60"><td·class="memItemLeft"·align="right"·valign="top">&#160;</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">&#160;</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">&#160;</td><td·class="mdescRight">Connect·to·a·database,·using·<code>options</code>·string.··<br·/></td></tr>77 <tr·class="memdesc:a24e6d240181c50ca81a7bfe816185a60"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Connect·to·a·database,·using·<code>options</code>·string.··<br·/></td></tr>
Offset 334, 15 lines modifiedOffset 334, 15 lines modified
334 <div·class="textblock"><p>Connection·to·a·database.·</p>334 <div·class="textblock"><p>Connection·to·a·database.·</p>
335 <p>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·As·per·RAII·principles,·the·connection·opens·during·construction,·and·closes·upon·destruction.·If·the·connection·attempt·fails,·you·will·not·get·a·<a·class="el"·href="a01110.html">connection</a>·object;·the·constructor·will·fail·with·a·<a·class="el"·href="a01150.html">pqxx::broken_connection</a>·exception.</p>335 <p>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·As·per·RAII·principles,·the·connection·opens·during·construction,·and·closes·upon·destruction.·If·the·connection·attempt·fails,·you·will·not·get·a·<a·class="el"·href="a01110.html">connection</a>·object;·the·constructor·will·fail·with·a·<a·class="el"·href="a01150.html">pqxx::broken_connection</a>·exception.</p>
336 <p>When·creating·a·connection,·you·can·pass·a·connection·URI·or·a·postgres·connection·string,·to·specify·the·database·server's·address,·a·login·username,·and·so·on.·If·you·don't,·the·connection·will·try·to·obtain·them·from·certain·environment·variables.·If·those·are·not·set·either,·the·default·is·to·try·and·connect·to·the·local·system's·port·5432.</p>336 <p>When·creating·a·connection,·you·can·pass·a·connection·URI·or·a·postgres·connection·string,·to·specify·the·database·server's·address,·a·login·username,·and·so·on.·If·you·don't,·the·connection·will·try·to·obtain·them·from·certain·environment·variables.·If·those·are·not·set·either,·the·default·is·to·try·and·connect·to·the·local·system's·port·5432.</p>
337 <p>Find·more·about·connection·strings·here:</p>337 <p>Find·more·about·connection·strings·here:</p>
338 <p><a·href="https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING">https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING</a></p>338 <p><a·href="https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING">https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING</a></p>
339 <p>The·variables·are·documented·here:</p>339 <p>The·variables·are·documented·here:</p>
340 <p><a·href="https://www.postgresql.org/docs/current/libpq-envars.html">https://www.postgresql.org/docs/current/libpq-envars.html</a></p>340 <p><a·href="https://www.postgresql.org/docs/current/libpq-envars.html">https://www.postgresql.org/docs/current/libpq-envars.html</a></p>
341 <p>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00005_source.html">pqxx/transaction_base.hxx</a>)·and·perhaps·also·the·transactor·framework·(see·<a·class="el"·href="a00056_source.html">pqxx/transactor.hxx</a>).</p>341 <p>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00089_source.html">pqxx/transaction_base.hxx</a>)·and·perhaps·also·the·transactor·framework·(see·<a·class="el"·href="a00092_source.html">pqxx/transactor.hxx</a>).</p>
342 <p>When·a·connection·breaks,·or·fails·to·establish·itself·in·the·first·place,·you·will·typically·get·a·<a·class="el"·href="a01150.html">broken_connection</a>·exception.·This·can·happen·at·almost·any·point.</p>342 <p>When·a·connection·breaks,·or·fails·to·establish·itself·in·the·first·place,·you·will·typically·get·a·<a·class="el"·href="a01150.html">broken_connection</a>·exception.·This·can·happen·at·almost·any·point.</p>
343 <dl·class="section·warning"><dt>Warning</dt><dd>On·Unix-like·systems,·including·GNU·and·BSD·systems,·your·program·may·receive·the·SIGPIPE·signal·when·the·connection·to·the·backend·breaks.·By·default·this·signal·will·abort·your·program.·Use·"signal(SIGPIPE,·SIG_IGN)"·if·you·want·your·program·to·continue·running·after·a·connection·fails.·</dd></dl>343 <dl·class="section·warning"><dt>Warning</dt><dd>On·Unix-like·systems,·including·GNU·and·BSD·systems,·your·program·may·receive·the·SIGPIPE·signal·when·the·connection·to·the·backend·breaks.·By·default·this·signal·will·abort·your·program.·Use·"signal(SIGPIPE,·SIG_IGN)"·if·you·want·your·program·to·continue·running·after·a·connection·fails.·</dd></dl>
344 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>344 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
345 <a·id="a3e9460d4cad761e5ae2ae95aab4f777f"·name="a3e9460d4cad761e5ae2ae95aab4f777f"></a>345 <a·id="a3e9460d4cad761e5ae2ae95aab4f777f"·name="a3e9460d4cad761e5ae2ae95aab4f777f"></a>
346 <h2·class="memtitle"><span·class="permalink"><a·href="#a3e9460d4cad761e5ae2ae95aab4f777f">&#9670;&#160;</a></span>connection()·<span·class="overload">[1/5]</span></h2>346 <h2·class="memtitle"><span·class="permalink"><a·href="#a3e9460d4cad761e5ae2ae95aab4f777f">&#9670;&#160;</a></span>connection()·<span·class="overload">[1/5]</span></h2>
  
347 <div·class="memitem">347 <div·class="memitem">
Offset 2268, 15 lines modifiedOffset 2268, 15 lines modified
2268 ··</tr>2268 ··</tr>
2269 </table>2269 </table>
2270 </div><div·class="memdoc">2270 </div><div·class="memdoc">
  
2271 </div>2271 </div>
2272 </div>2272 </div>
2273 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2273 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2274 <li><a·class="el"·href="a00074_source.html">connection.hxx</a></li>2274 <li><a·class="el"·href="a00059_source.html">connection.hxx</a></li>
2275 <li><b>connection.cxx</b></li>2275 <li><b>connection.cxx</b></li>
2276 </ul>2276 </ul>
2277 </div><!--·contents·-->2277 </div><!--·contents·-->
2278 </div><!--·doc-content·-->2278 </div><!--·doc-content·-->
2279 <!--·start·footer·part·-->2279 <!--·start·footer·part·-->
2280 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->2280 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
2281 ··<ul>2281 ··<ul>
2.35 KB
./usr/share/doc/libpqxx-doc/html/a01114.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00074_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">connection.hxx</a>&gt;</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">&#160;</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=&quot;&quot;_zv)</td></tr>74 <tr·class="memitem:acf5c44883289c96122a64aeaa5371aa5"·id="r_acf5c44883289c96122a64aeaa5371aa5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</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=&quot;&quot;_zv)</td></tr>
75 <tr·class="memdesc:acf5c44883289c96122a64aeaa5371aa5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Start·connecting.··<br·/></td></tr>75 <tr·class="memdesc:acf5c44883289c96122a64aeaa5371aa5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Start·connecting.··<br·/></td></tr>
76 <tr·class="separator:acf5c44883289c96122a64aeaa5371aa5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:acf5c44883289c96122a64aeaa5371aa5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a4a46aeddf8a1a3d7923ffeecd9a7b22f"·id="r_a4a46aeddf8a1a3d7923ffeecd9a7b22f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#a4a46aeddf8a1a3d7923ffeecd9a7b22f">connecting</a>·(<a·class="el"·href="a01114.html">connecting</a>·const·&amp;)=delete</td></tr>77 <tr·class="memitem:a4a46aeddf8a1a3d7923ffeecd9a7b22f"·id="r_a4a46aeddf8a1a3d7923ffeecd9a7b22f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01114.html#a4a46aeddf8a1a3d7923ffeecd9a7b22f">connecting</a>·(<a·class="el"·href="a01114.html">connecting</a>·const·&amp;)=delete</td></tr>
Offset 396, 15 lines modifiedOffset 396, 15 lines modified
396 </div><div·class="memdoc">396 </div><div·class="memdoc">
  
397 <p>Should·we·currently·wait·to·be·able·to·<em>write</em>·to·the·socket?·</p>397 <p>Should·we·currently·wait·to·be·able·to·<em>write</em>·to·the·socket?·</p>
  
398 </div>398 </div>
399 </div>399 </div>
400 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>400 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
401 <li><a·class="el"·href="a00074_source.html">connection.hxx</a></li>401 <li><a·class="el"·href="a00059_source.html">connection.hxx</a></li>
402 </ul>402 </ul>
403 </div><!--·contents·-->403 </div><!--·contents·-->
404 </div><!--·doc-content·-->404 </div><!--·doc-content·-->
405 <!--·start·footer·part·-->405 <!--·start·footer·part·-->
406 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->406 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
407 ··<ul>407 ··<ul>
408 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01114.html">connecting</a></li>408 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01114.html">connecting</a></li>
1.86 KB
./usr/share/doc/libpqxx-doc/html/a01134.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00243.html">Transaction·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Abstract·transaction·base·class:·bracket·transactions·on·the·database.··68 <p>Abstract·transaction·base·class:·bracket·transactions·on·the·database.··
69 ·<a·href="a01134.html#details">More...</a></p>69 ·<a·href="a01134.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dbtransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dbtransaction.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::dbtransaction:</div>72 Inheritance·diagram·for·pqxx::dbtransaction:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01133.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01133.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map">75 <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map">
76 <area·shape="rect"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="227,77,377,102"/>76 <area·shape="rect"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="227,77,377,102"/>
77 <area·shape="rect"·href="a01406.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="427,5,582,45"/>77 <area·shape="rect"·href="a01406.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="427,5,582,45"/>
Offset 421, 15 lines modifiedOffset 421, 15 lines modified
421 </div><div·class="memdoc">421 </div><div·class="memdoc">
  
422 <p>Begin·transaction.·</p>422 <p>Begin·transaction.·</p>
  
423 </div>423 </div>
424 </div>424 </div>
425 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>425 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
426 <li><a·class="el"·href="a00098_source.html">dbtransaction.hxx</a></li>426 <li><a·class="el"·href="a00065_source.html">dbtransaction.hxx</a></li>
427 </ul>427 </ul>
428 </div><!--·contents·-->428 </div><!--·contents·-->
429 </div><!--·doc-content·-->429 </div><!--·doc-content·-->
430 <!--·start·footer·part·-->430 <!--·start·footer·part·-->
431 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->431 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
432 ··<ul>432 ··<ul>
433 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01134.html">dbtransaction</a></li>433 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01134.html">dbtransaction</a></li>
1.67 KB
./usr/share/doc/libpqxx-doc/html/a01138.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00095_source.html">errorhandler.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">errorhandler.hxx</a>&gt;</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&#45;handler·callbacks."·alt=""·coords="25,5,168,31"/>77 <area·shape="rect"·title="Base·class·for·error&#45;handler·callbacks."·alt=""·coords="25,5,168,31"/>
78 <area·shape="rect"·href="a01142.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/>78 <area·shape="rect"·href="a01142.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,79,188,104"/>
Offset 290, 15 lines modifiedOffset 290, 15 lines modified
290 ··</tr>290 ··</tr>
291 </table>291 </table>
292 </div><div·class="memdoc">292 </div><div·class="memdoc">
  
293 </div>293 </div>
294 </div>294 </div>
295 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>295 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
296 <li><a·class="el"·href="a00095_source.html">errorhandler.hxx</a></li>296 <li><a·class="el"·href="a00038_source.html">errorhandler.hxx</a></li>
297 <li><b>errorhandler.cxx</b></li>297 <li><b>errorhandler.cxx</b></li>
298 </ul>298 </ul>
299 </div><!--·contents·-->299 </div><!--·contents·-->
300 </div><!--·doc-content·-->300 </div><!--·doc-content·-->
301 <!--·start·footer·part·-->301 <!--·start·footer·part·-->
302 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->302 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
303 ··<ul>303 ··<ul>
1.9 KB
./usr/share/doc/libpqxx-doc/html/a01142.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00095_source.html">errorhandler.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">errorhandler.hxx</a>&gt;</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&#45;handler·callbacks."·alt=""·coords="25,5,168,31"/>77 <area·shape="rect"·href="a01138.html"·title="Base·class·for·error&#45;handler·callbacks."·alt=""·coords="25,5,168,31"/>
Offset 152, 15 lines modifiedOffset 152, 15 lines modified
152 <p>Revert·to·previous·handling·of·error·notices.·</p>152 <p>Revert·to·previous·handling·of·error·notices.·</p>
  
153 <p>Implements·<a·class="el"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler</a>.</p>153 <p>Implements·<a·class="el"·href="a01138.html#a8404c336eaefab488ab326cbcb704993">pqxx::errorhandler</a>.</p>
  
154 </div>154 </div>
155 </div>155 </div>
156 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>156 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
157 <li><a·class="el"·href="a00095_source.html">errorhandler.hxx</a></li>157 <li><a·class="el"·href="a00038_source.html">errorhandler.hxx</a></li>
158 </ul>158 </ul>
159 </div><!--·contents·-->159 </div><!--·contents·-->
160 </div><!--·doc-content·-->160 </div><!--·doc-content·-->
161 <!--·start·footer·part·-->161 <!--·start·footer·part·-->
162 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->162 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
163 ··<ul>163 ··<ul>
164 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01142.html">quiet_errorhandler</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01142.html">quiet_errorhandler</a></li>
1.92 KB
./usr/share/doc/libpqxx-doc/html/a01146.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error.··68 <p>Run-time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error.··
69 ·<a·href="a01146.html#details">More...</a></p>69 ·<a·href="a01146.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::failure:</div>72 Inheritance·diagram·for·pqxx::failure:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01145.png"·border="0"·usemap="#apqxx_1_1failure_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01145.png"·border="0"·usemap="#apqxx_1_1failure_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1failure_inherit__map"·id="apqxx_1_1failure_inherit__map">75 <map·name="apqxx_1_1failure_inherit__map"·id="apqxx_1_1failure_inherit__map">
76 <area·shape="rect"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="355,344,459,369"/>76 <area·shape="rect"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="355,344,459,369"/>
77 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="507,55,691,80"/>77 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="507,55,691,80"/>
Offset 183, 15 lines modifiedOffset 183, 15 lines modified
183 <p>Implementation·of·libpqxx·exception·classes.</p>183 <p>Implementation·of·libpqxx·exception·classes.</p>
184 <p>Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</p>184 <p>Copyright·(c)·2000-2023,·Jeroen·T.·Vermeulen.</p>
185 <p>See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called·COPYING·with·this·source·code,·please·notify·the·distributor·of·this·mistake,·or·contact·the·author.·</p>185 <p>See·COPYING·for·copyright·license.·If·you·did·not·receive·a·file·called·COPYING·with·this·source·code,·please·notify·the·distributor·of·this·mistake,·or·contact·the·author.·</p>
  
186 </div>186 </div>
187 </div>187 </div>
188 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>188 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
189 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>189 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
190 <li><b>except.cxx</b></li>190 <li><b>except.cxx</b></li>
191 </ul>191 </ul>
192 </div><!--·contents·-->192 </div><!--·contents·-->
193 </div><!--·doc-content·-->193 </div><!--·doc-content·-->
194 <!--·start·footer·part·-->194 <!--·start·footer·part·-->
195 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->195 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
196 ··<ul>196 ··<ul>
1.69 KB
./usr/share/doc/libpqxx-doc/html/a01150.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Exception·class·for·lost·or·failed·backend·connection.··68 <p>Exception·class·for·lost·or·failed·backend·connection.··
69 ·<a·href="a01150.html#details">More...</a></p>69 ·<a·href="a01150.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::broken_connection:</div>72 Inheritance·diagram·for·pqxx::broken_connection:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01149.png"·border="0"·usemap="#apqxx_1_1broken__connection_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01149.png"·border="0"·usemap="#apqxx_1_1broken__connection_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1broken__connection_inherit__map"·id="apqxx_1_1broken__connection_inherit__map">75 <map·name="apqxx_1_1broken__connection_inherit__map"·id="apqxx_1_1broken__connection_inherit__map">
76 <area·shape="rect"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="112,225,296,251"/>76 <area·shape="rect"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="112,225,296,251"/>
77 <area·shape="rect"·href="a01154.html"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="5,299,184,324"/>77 <area·shape="rect"·href="a01154.html"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="5,299,184,324"/>
Offset 151, 15 lines modifiedOffset 151, 15 lines modified
151 ··</tr>151 ··</tr>
152 </table>152 </table>
153 </div><div·class="memdoc">153 </div><div·class="memdoc">
  
154 </div>154 </div>
155 </div>155 </div>
156 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>156 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
157 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
158 <li><b>except.cxx</b></li>158 <li><b>except.cxx</b></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 </div><!--·doc-content·-->161 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>164 ··<ul>
1.69 KB
./usr/share/doc/libpqxx-doc/html/a01154.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::protocol_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::protocol_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Exception·class·for·micommunication·with·the·server.··68 <p>Exception·class·for·micommunication·with·the·server.··
69 ·<a·href="a01154.html#details">More...</a></p>69 ·<a·href="a01154.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::protocol_violation:</div>72 Inheritance·diagram·for·pqxx::protocol_violation:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01153.png"·border="0"·usemap="#apqxx_1_1protocol__violation_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01153.png"·border="0"·usemap="#apqxx_1_1protocol__violation_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1protocol__violation_inherit__map"·id="apqxx_1_1protocol__violation_inherit__map">75 <map·name="apqxx_1_1protocol__violation_inherit__map"·id="apqxx_1_1protocol__violation_inherit__map">
76 <area·shape="rect"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="8,299,187,324"/>76 <area·shape="rect"·title="Exception·class·for·micommunication·with·the·server."·alt=""·coords="8,299,187,324"/>
77 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="5,225,189,251"/>77 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="5,225,189,251"/>
Offset 128, 15 lines modifiedOffset 128, 15 lines modified
128 ··</tr>128 ··</tr>
129 </table>129 </table>
130 </div><div·class="memdoc">130 </div><div·class="memdoc">
  
131 </div>131 </div>
132 </div>132 </div>
133 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>133 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
134 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>134 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
135 <li><b>except.cxx</b></li>135 <li><b>except.cxx</b></li>
136 </ul>136 </ul>
137 </div><!--·contents·-->137 </div><!--·contents·-->
138 </div><!--·doc-content·-->138 </div><!--·doc-content·-->
139 <!--·start·footer·part·-->139 <!--·start·footer·part·-->
140 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->140 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
141 ··<ul>141 ··<ul>
1.76 KB
./usr/share/doc/libpqxx-doc/html/a01158.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::variable_set_to_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::variable_set_to_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed.··68 <p>The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed.··
69 ·<a·href="a01158.html#details">More...</a></p>69 ·<a·href="a01158.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::variable_set_to_null:</div>72 Inheritance·diagram·for·pqxx::variable_set_to_null:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01157.png"·border="0"·usemap="#apqxx_1_1variable__set__to__null_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01157.png"·border="0"·usemap="#apqxx_1_1variable__set__to__null_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1variable__set__to__null_inherit__map"·id="apqxx_1_1variable__set__to__null_inherit__map">75 <map·name="apqxx_1_1variable__set__to__null_inherit__map"·id="apqxx_1_1variable__set__to__null_inherit__map">
76 <area·shape="rect"·title="The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed."·alt=""·coords="5,225,148,265"/>76 <area·shape="rect"·title="The·caller·attempted·to·set·a·variable·to·null,·which·is·not·allowed."·alt=""·coords="5,225,148,265"/>
77 <area·shape="rect"·href="a01146.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="25,152,129,177"/>77 <area·shape="rect"·href="a01146.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="25,152,129,177"/>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ··</tr>119 ··</tr>
120 </table>120 </table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
125 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>125 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
126 <li><b>except.cxx</b></li>126 <li><b>except.cxx</b></li>
127 </ul>127 </ul>
128 </div><!--·contents·-->128 </div><!--·contents·-->
129 </div><!--·doc-content·-->129 </div><!--·doc-content·-->
130 <!--·start·footer·part·-->130 <!--·start·footer·part·-->
131 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->131 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
132 ··<ul>132 ··<ul>
2.16 KB
./usr/share/doc/libpqxx-doc/html/a01162.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::sql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::sql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Exception·class·for·failed·queries.··68 <p>Exception·class·for·failed·queries.··
69 ·<a·href="a01162.html#details">More...</a></p>69 ·<a·href="a01162.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::sql_error:</div>72 Inheritance·diagram·for·pqxx::sql_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01161.png"·border="0"·usemap="#apqxx_1_1sql__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01161.png"·border="0"·usemap="#apqxx_1_1sql__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1sql__error_inherit__map"·id="apqxx_1_1sql__error_inherit__map">75 <map·name="apqxx_1_1sql__error_inherit__map"·id="apqxx_1_1sql__error_inherit__map">
76 <area·shape="rect"·title="Exception·class·for·failed·queries."·alt=""·coords="507,297,625,323"/>76 <area·shape="rect"·title="Exception·class·for·failed·queries."·alt=""·coords="507,297,625,323"/>
77 <area·shape="rect"·href="a01222.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="717,5,880,31"/>77 <area·shape="rect"·href="a01222.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="717,5,880,31"/>
Offset 280, 15 lines modifiedOffset 280, 15 lines modified
280 <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p>280 <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p>
  
281 <p·class="reference">Referenced·by·<a·class="el"·href="a01182.html#a764bd3129b2991d07b1ecdee9715adbc">pqxx::deadlock_detected::deadlock_detected()</a>,·<a·class="el"·href="a01174.html#adc34b9f293bae689692c333cc7bec4a7">pqxx::serialization_failure::serialization_failure()</a>,·<a·class="el"·href="a01178.html#a6ffc807acecc3add50e135bf15b1ed39">pqxx::statement_completion_unknown::statement_completion_unknown()</a>,·and·<a·class="el"·href="a01170.html#aed1aaa6bd776081a5a0da28b2c599e64">pqxx::transaction_rollback::transaction_rollback()</a>.</p>281 <p·class="reference">Referenced·by·<a·class="el"·href="a01182.html#a764bd3129b2991d07b1ecdee9715adbc">pqxx::deadlock_detected::deadlock_detected()</a>,·<a·class="el"·href="a01174.html#adc34b9f293bae689692c333cc7bec4a7">pqxx::serialization_failure::serialization_failure()</a>,·<a·class="el"·href="a01178.html#a6ffc807acecc3add50e135bf15b1ed39">pqxx::statement_completion_unknown::statement_completion_unknown()</a>,·and·<a·class="el"·href="a01170.html#aed1aaa6bd776081a5a0da28b2c599e64">pqxx::transaction_rollback::transaction_rollback()</a>.</p>
  
282 </div>282 </div>
283 </div>283 </div>
284 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>284 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
285 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>285 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
286 <li><b>except.cxx</b></li>286 <li><b>except.cxx</b></li>
287 </ul>287 </ul>
288 </div><!--·contents·-->288 </div><!--·contents·-->
289 </div><!--·doc-content·-->289 </div><!--·doc-content·-->
290 <!--·start·footer·part·-->290 <!--·start·footer·part·-->
291 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->291 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
292 ··<ul>292 ··<ul>
1.74 KB
./usr/share/doc/libpqxx-doc/html/a01166.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>"Help,·I·don't·know·whether·transaction·was·committed·successfully!"··68 <p>"Help,·I·don't·know·whether·transaction·was·committed·successfully!"··
69 ·<a·href="a01166.html#details">More...</a></p>69 ·<a·href="a01166.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::in_doubt_error:</div>72 Inheritance·diagram·for·pqxx::in_doubt_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01165.png"·border="0"·usemap="#apqxx_1_1in__doubt__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01165.png"·border="0"·usemap="#apqxx_1_1in__doubt__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1in__doubt__error_inherit__map"·id="apqxx_1_1in__doubt__error_inherit__map">75 <map·name="apqxx_1_1in__doubt__error_inherit__map"·id="apqxx_1_1in__doubt__error_inherit__map">
76 <area·shape="rect"·title="&quot;Help,·I·don&#39;t·know·whether·transaction·was·committed·successfully!&quot;"·alt=""·coords="5,225,161,251"/>76 <area·shape="rect"·title="&quot;Help,·I·don&#39;t·know·whether·transaction·was·committed·successfully!&quot;"·alt=""·coords="5,225,161,251"/>
77 <area·shape="rect"·href="a01146.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="31,152,135,177"/>77 <area·shape="rect"·href="a01146.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="31,152,135,177"/>
Offset 120, 15 lines modifiedOffset 120, 15 lines modified
120 ··</tr>120 ··</tr>
121 </table>121 </table>
122 </div><div·class="memdoc">122 </div><div·class="memdoc">
  
123 </div>123 </div>
124 </div>124 </div>
125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
126 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
127 <li><b>except.cxx</b></li>127 <li><b>except.cxx</b></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 </div><!--·doc-content·-->130 </div><!--·doc-content·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
133 ··<ul>133 ··<ul>
1.86 KB
./usr/share/doc/libpqxx-doc/html/a01170.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.··68 <p>The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction.··
69 ·<a·href="a01170.html#details">More...</a></p>69 ·<a·href="a01170.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::transaction_rollback:</div>72 Inheritance·diagram·for·pqxx::transaction_rollback:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01169.png"·border="0"·usemap="#apqxx_1_1transaction__rollback_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01169.png"·border="0"·usemap="#apqxx_1_1transaction__rollback_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1transaction__rollback_inherit__map"·id="apqxx_1_1transaction__rollback_inherit__map">75 <map·name="apqxx_1_1transaction__rollback_inherit__map"·id="apqxx_1_1transaction__rollback_inherit__map">
76 <area·shape="rect"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="673,63,868,88"/>76 <area·shape="rect"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="673,63,868,88"/>
77 <area·shape="rect"·href="a01182.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="928,5,1113,31"/>77 <area·shape="rect"·href="a01182.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="928,5,1113,31"/>
Offset 156, 15 lines modifiedOffset 156, 15 lines modified
156 </div><div·class="memdoc">156 </div><div·class="memdoc">
  
157 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>157 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
161 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>161 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
162 <li><b>except.cxx</b></li>162 <li><b>except.cxx</b></li>
163 </ul>163 </ul>
164 </div><!--·contents·-->164 </div><!--·contents·-->
165 </div><!--·doc-content·-->165 </div><!--·doc-content·-->
166 <!--·start·footer·part·-->166 <!--·start·footer·part·-->
167 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->167 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
168 ··<ul>168 ··<ul>
1.83 KB
./usr/share/doc/libpqxx-doc/html/a01174.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Transaction·failed·to·serialize.·Please·retry·it.··68 <p>Transaction·failed·to·serialize.·Please·retry·it.··
69 ·<a·href="a01174.html#details">More...</a></p>69 ·<a·href="a01174.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::serialization_failure:</div>72 Inheritance·diagram·for·pqxx::serialization_failure:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01173.png"·border="0"·usemap="#apqxx_1_1serialization__failure_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01173.png"·border="0"·usemap="#apqxx_1_1serialization__failure_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1serialization__failure_inherit__map"·id="apqxx_1_1serialization__failure_inherit__map">75 <map·name="apqxx_1_1serialization__failure_inherit__map"·id="apqxx_1_1serialization__failure_inherit__map">
76 <area·shape="rect"·title="Transaction·failed·to·serialize.·Please·retry·it."·alt=""·coords="31,372,174,412"/>76 <area·shape="rect"·title="Transaction·failed·to·serialize.·Please·retry·it."·alt=""·coords="31,372,174,412"/>
77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/>77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/>
Offset 157, 15 lines modifiedOffset 157, 15 lines modified
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>158 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>
  
159 </div>159 </div>
160 </div>160 </div>
161 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>161 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
162 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>162 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
163 <li><b>except.cxx</b></li>163 <li><b>except.cxx</b></li>
164 </ul>164 </ul>
165 </div><!--·contents·-->165 </div><!--·contents·-->
166 </div><!--·doc-content·-->166 </div><!--·doc-content·-->
167 <!--·start·footer·part·-->167 <!--·start·footer·part·-->
168 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->168 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
169 ··<ul>169 ··<ul>
1.88 KB
./usr/share/doc/libpqxx-doc/html/a01178.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>We·can't·tell·whether·our·last·statement·succeeded.··68 <p>We·can't·tell·whether·our·last·statement·succeeded.··
69 ·<a·href="a01178.html#details">More...</a></p>69 ·<a·href="a01178.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::statement_completion_unknown:</div>72 Inheritance·diagram·for·pqxx::statement_completion_unknown:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01177.png"·border="0"·usemap="#apqxx_1_1statement__completion__unknown_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01177.png"·border="0"·usemap="#apqxx_1_1statement__completion__unknown_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1statement__completion__unknown_inherit__map"·id="apqxx_1_1statement__completion__unknown_inherit__map">75 <map·name="apqxx_1_1statement__completion__unknown_inherit__map"·id="apqxx_1_1statement__completion__unknown_inherit__map">
76 <area·shape="rect"·title="We·can&#39;t·tell·whether·our·last·statement·succeeded."·alt=""·coords="5,372,215,412"/>76 <area·shape="rect"·title="We·can&#39;t·tell·whether·our·last·statement·succeeded."·alt=""·coords="5,372,215,412"/>
77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="13,299,207,324"/>77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="13,299,207,324"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>156 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>
  
157 </div>157 </div>
158 </div>158 </div>
159 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>159 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
160 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>160 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
161 <li><b>except.cxx</b></li>161 <li><b>except.cxx</b></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
1.84 KB
./usr/share/doc/libpqxx-doc/html/a01182.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help.··68 <p>The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help.··
69 ·<a·href="a01182.html#details">More...</a></p>69 ·<a·href="a01182.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::deadlock_detected:</div>72 Inheritance·diagram·for·pqxx::deadlock_detected:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01181.png"·border="0"·usemap="#apqxx_1_1deadlock__detected_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01181.png"·border="0"·usemap="#apqxx_1_1deadlock__detected_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1deadlock__detected_inherit__map"·id="apqxx_1_1deadlock__detected_inherit__map">75 <map·name="apqxx_1_1deadlock__detected_inherit__map"·id="apqxx_1_1deadlock__detected_inherit__map">
76 <area·shape="rect"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="10,372,195,397"/>76 <area·shape="rect"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="10,372,195,397"/>
77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/>77 <area·shape="rect"·href="a01170.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="5,299,200,324"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>156 <p·class="reference">References·<a·class="el"·href="a01162.html#a31ffc7a42e9a388eb2b7cb46647e4282">pqxx::sql_error::sqlstate()</a>.</p>
  
157 </div>157 </div>
158 </div>158 </div>
159 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>159 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
160 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>160 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
161 <li><b>except.cxx</b></li>161 <li><b>except.cxx</b></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
1.57 KB
./usr/share/doc/libpqxx-doc/html/a01186.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Internal·error·in·libpqxx·library.··68 <p>Internal·error·in·libpqxx·library.··
69 ·<a·href="a01186.html#details">More...</a></p>69 ·<a·href="a01186.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal_error:</div>72 Inheritance·diagram·for·pqxx::internal_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01185.png"·border="0"·usemap="#apqxx_1_1internal__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01185.png"·border="0"·usemap="#apqxx_1_1internal__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal__error_inherit__map"·id="apqxx_1_1internal__error_inherit__map">75 <map·name="apqxx_1_1internal__error_inherit__map"·id="apqxx_1_1internal__error_inherit__map">
76 <area·shape="rect"·title="Internal·error·in·libpqxx·library."·alt=""·coords="5,152,156,177"/>76 <area·shape="rect"·title="Internal·error·in·libpqxx·library."·alt=""·coords="5,152,156,177"/>
77 <area·shape="rect"·title="·"·alt=""·coords="21,79,140,104"/>77 <area·shape="rect"·title="·"·alt=""·coords="21,79,140,104"/>
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ··</tr>114 ··</tr>
115 </table>115 </table>
116 </div><div·class="memdoc">116 </div><div·class="memdoc">
  
117 </div>117 </div>
118 </div>118 </div>
119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
120 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>120 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
121 <li><b>except.cxx</b></li>121 <li><b>except.cxx</b></li>
122 </ul>122 </ul>
123 </div><!--·contents·-->123 </div><!--·contents·-->
124 </div><!--·doc-content·-->124 </div><!--·doc-content·-->
125 <!--·start·footer·part·-->125 <!--·start·footer·part·-->
126 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->126 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
127 ··<ul>127 ··<ul>
1.61 KB
./usr/share/doc/libpqxx-doc/html/a01190.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error.··68 <p>Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error.··
69 ·<a·href="a01190.html#details">More...</a></p>69 ·<a·href="a01190.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::usage_error:</div>72 Inheritance·diagram·for·pqxx::usage_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01189.png"·border="0"·usemap="#apqxx_1_1usage__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01189.png"·border="0"·usemap="#apqxx_1_1usage__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1usage__error_inherit__map"·id="apqxx_1_1usage__error_inherit__map">75 <map·name="apqxx_1_1usage__error_inherit__map"·id="apqxx_1_1usage__error_inherit__map">
76 <area·shape="rect"·title="Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error."·alt=""·coords="5,152,144,177"/>76 <area·shape="rect"·title="Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error."·alt=""·coords="5,152,144,177"/>
77 <area·shape="rect"·title="·"·alt=""·coords="15,79,134,104"/>77 <area·shape="rect"·title="·"·alt=""·coords="15,79,134,104"/>
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ··</tr>114 ··</tr>
115 </table>115 </table>
116 </div><div·class="memdoc">116 </div><div·class="memdoc">
  
117 </div>117 </div>
118 </div>118 </div>
119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
120 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>120 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
121 <li><b>except.cxx</b></li>121 <li><b>except.cxx</b></li>
122 </ul>122 </ul>
123 </div><!--·contents·-->123 </div><!--·contents·-->
124 </div><!--·doc-content·-->124 </div><!--·doc-content·-->
125 <!--·start·footer·part·-->125 <!--·start·footer·part·-->
126 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->126 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
127 ··<ul>127 ··<ul>
1.64 KB
./usr/share/doc/libpqxx-doc/html/a01194.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument.··68 <p>Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument.··
69 ·<a·href="a01194.html#details">More...</a></p>69 ·<a·href="a01194.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::argument_error:</div>72 Inheritance·diagram·for·pqxx::argument_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01193.png"·border="0"·usemap="#apqxx_1_1argument__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01193.png"·border="0"·usemap="#apqxx_1_1argument__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1argument__error_inherit__map"·id="apqxx_1_1argument__error_inherit__map">75 <map·name="apqxx_1_1argument__error_inherit__map"·id="apqxx_1_1argument__error_inherit__map">
76 <area·shape="rect"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="6,225,169,251"/>76 <area·shape="rect"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="6,225,169,251"/>
77 <area·shape="rect"·title="·"·alt=""·coords="5,152,169,177"/>77 <area·shape="rect"·title="·"·alt=""·coords="5,152,169,177"/>
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 ··</tr>116 ··</tr>
117 </table>117 </table>
118 </div><div·class="memdoc">118 </div><div·class="memdoc">
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>121 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
122 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>122 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
123 <li><b>except.cxx</b></li>123 <li><b>except.cxx</b></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 </div><!--·doc-content·-->126 </div><!--·doc-content·-->
127 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
128 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->128 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
129 ··<ul>129 ··<ul>
1.72 KB
./usr/share/doc/libpqxx-doc/html/a01198.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int.··68 <p>Value·conversion·failed,·e.g.·when·converting·"Hello"·to·int.··
69 ·<a·href="a01198.html#details">More...</a></p>69 ·<a·href="a01198.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::conversion_error:</div>72 Inheritance·diagram·for·pqxx::conversion_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01197.png"·border="0"·usemap="#apqxx_1_1conversion__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01197.png"·border="0"·usemap="#apqxx_1_1conversion__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1conversion__error_inherit__map"·id="apqxx_1_1conversion__error_inherit__map">75 <map·name="apqxx_1_1conversion__error_inherit__map"·id="apqxx_1_1conversion__error_inherit__map">
76 <area·shape="rect"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="117,225,287,251"/>76 <area·shape="rect"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="117,225,287,251"/>
77 <area·shape="rect"·href="a01206.html"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/>77 <area·shape="rect"·href="a01206.html"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/>
Offset 120, 15 lines modifiedOffset 120, 15 lines modified
120 ··</tr>120 ··</tr>
121 </table>121 </table>
122 </div><div·class="memdoc">122 </div><div·class="memdoc">
  
123 </div>123 </div>
124 </div>124 </div>
125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
126 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
127 <li><b>except.cxx</b></li>127 <li><b>except.cxx</b></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 </div><!--·doc-content·-->130 </div><!--·doc-content·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
133 ··<ul>133 ··<ul>
1.72 KB
./usr/share/doc/libpqxx-doc/html/a01202.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_null·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Could·not·convert·null·value:·target·type·does·not·support·null.··68 <p>Could·not·convert·null·value:·target·type·does·not·support·null.··
69 ·<a·href="a01202.html#details">More...</a></p>69 ·<a·href="a01202.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::unexpected_null:</div>72 Inheritance·diagram·for·pqxx::unexpected_null:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01201.png"·border="0"·usemap="#apqxx_1_1unexpected__null_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01201.png"·border="0"·usemap="#apqxx_1_1unexpected__null_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1unexpected__null_inherit__map"·id="apqxx_1_1unexpected__null_inherit__map">75 <map·name="apqxx_1_1unexpected__null_inherit__map"·id="apqxx_1_1unexpected__null_inherit__map">
76 <area·shape="rect"·title="Could·not·convert·null·value:·target·type·does·not·support·null."·alt=""·coords="6,299,175,324"/>76 <area·shape="rect"·title="Could·not·convert·null·value:·target·type·does·not·support·null."·alt=""·coords="6,299,175,324"/>
77 <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="5,225,176,251"/>77 <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="5,225,176,251"/>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 ··</tr>121 ··</tr>
122 </table>122 </table>
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 </div>124 </div>
125 </div>125 </div>
126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
127 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
128 <li><b>except.cxx</b></li>128 <li><b>except.cxx</b></li>
129 </ul>129 </ul>
130 </div><!--·contents·-->130 </div><!--·contents·-->
131 </div><!--·doc-content·-->131 </div><!--·doc-content·-->
132 <!--·start·footer·part·-->132 <!--·start·footer·part·-->
133 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->133 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
134 ··<ul>134 ··<ul>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01206.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_overrun·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_overrun·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Could·not·convert·value·to·string:·not·enough·buffer·space.··68 <p>Could·not·convert·value·to·string:·not·enough·buffer·space.··
69 ·<a·href="a01206.html#details">More...</a></p>69 ·<a·href="a01206.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::conversion_overrun:</div>72 Inheritance·diagram·for·pqxx::conversion_overrun:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01205.png"·border="0"·usemap="#apqxx_1_1conversion__overrun_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01205.png"·border="0"·usemap="#apqxx_1_1conversion__overrun_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1conversion__overrun_inherit__map"·id="apqxx_1_1conversion__overrun_inherit__map">75 <map·name="apqxx_1_1conversion__overrun_inherit__map"·id="apqxx_1_1conversion__overrun_inherit__map">
76 <area·shape="rect"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/>76 <area·shape="rect"·title="Could·not·convert·value·to·string:·not·enough·buffer·space."·alt=""·coords="5,299,196,324"/>
77 <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="15,225,186,251"/>77 <area·shape="rect"·href="a01198.html"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="15,225,186,251"/>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 ··</tr>121 ··</tr>
122 </table>122 </table>
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 </div>124 </div>
125 </div>125 </div>
126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
127 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
128 <li><b>except.cxx</b></li>128 <li><b>except.cxx</b></li>
129 </ul>129 </ul>
130 </div><!--·contents·-->130 </div><!--·contents·-->
131 </div><!--·doc-content·-->131 </div><!--·doc-content·-->
132 <!--·start·footer·part·-->132 <!--·start·footer·part·-->
133 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->133 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
134 ··<ul>134 ··<ul>
1.66 KB
./usr/share/doc/libpqxx-doc/html/a01210.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::range_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::range_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Something·is·out·of·range,·similar·to·std::out_of_range.··68 <p>Something·is·out·of·range,·similar·to·std::out_of_range.··
69 ·<a·href="a01210.html#details">More...</a></p>69 ·<a·href="a01210.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::range_error:</div>72 Inheritance·diagram·for·pqxx::range_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01209.png"·border="0"·usemap="#apqxx_1_1range__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01209.png"·border="0"·usemap="#apqxx_1_1range__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1range__error_inherit__map"·id="apqxx_1_1range__error_inherit__map">75 <map·name="apqxx_1_1range__error_inherit__map"·id="apqxx_1_1range__error_inherit__map">
76 <area·shape="rect"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/>76 <area·shape="rect"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/>
77 <area·shape="rect"·href="a01214.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/>77 <area·shape="rect"·href="a01214.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 ··</tr>118 ··</tr>
119 </table>119 </table>
120 </div><div·class="memdoc">120 </div><div·class="memdoc">
  
121 </div>121 </div>
122 </div>122 </div>
123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
124 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>124 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
125 <li><b>except.cxx</b></li>125 <li><b>except.cxx</b></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 </div><!--·doc-content·-->128 </div><!--·doc-content·-->
129 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
130 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->130 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
131 ··<ul>131 ··<ul>
1.78 KB
./usr/share/doc/libpqxx-doc/html/a01214.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Query·returned·an·unexpected·number·of·rows.··68 <p>Query·returned·an·unexpected·number·of·rows.··
69 ·<a·href="a01214.html#details">More...</a></p>69 ·<a·href="a01214.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::unexpected_rows:</div>72 Inheritance·diagram·for·pqxx::unexpected_rows:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01213.png"·border="0"·usemap="#apqxx_1_1unexpected__rows_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01213.png"·border="0"·usemap="#apqxx_1_1unexpected__rows_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1unexpected__rows_inherit__map"·id="apqxx_1_1unexpected__rows_inherit__map">75 <map·name="apqxx_1_1unexpected__rows_inherit__map"·id="apqxx_1_1unexpected__rows_inherit__map">
76 <area·shape="rect"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/>76 <area·shape="rect"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="5,299,181,324"/>
77 <area·shape="rect"·href="a01210.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/>77 <area·shape="rect"·href="a01210.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="25,225,162,251"/>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 ··</tr>121 ··</tr>
122 </table>122 </table>
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 </div>124 </div>
125 </div>125 </div>
126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
127 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 </div><!--·doc-content·-->130 </div><!--·doc-content·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
133 ··<ul>133 ··<ul>
134 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01214.html">unexpected_rows</a></li>134 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01214.html">unexpected_rows</a></li>
1.81 KB
./usr/share/doc/libpqxx-doc/html/a01218.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Database·feature·not·supported·in·current·setup.··68 <p>Database·feature·not·supported·in·current·setup.··
69 ·<a·href="a01218.html#details">More...</a></p>69 ·<a·href="a01218.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::feature_not_supported:</div>72 Inheritance·diagram·for·pqxx::feature_not_supported:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01217.png"·border="0"·usemap="#apqxx_1_1feature__not__supported_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01217.png"·border="0"·usemap="#apqxx_1_1feature__not__supported_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1feature__not__supported_inherit__map"·id="apqxx_1_1feature__not__supported_inherit__map">75 <map·name="apqxx_1_1feature__not__supported_inherit__map"·id="apqxx_1_1feature__not__supported_inherit__map">
76 <area·shape="rect"·title="Database·feature·not·supported·in·current·setup."·alt=""·coords="5,299,215,324"/>76 <area·shape="rect"·title="Database·feature·not·supported·in·current·setup."·alt=""·coords="5,299,215,324"/>
77 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="51,225,169,251"/>77 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="51,225,169,251"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01218.html">feature_not_supported</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01218.html">feature_not_supported</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/a01222.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Error·in·data·provided·to·SQL·statement.··68 <p>Error·in·data·provided·to·SQL·statement.··
69 ·<a·href="a01222.html#details">More...</a></p>69 ·<a·href="a01222.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::data_exception:</div>72 Inheritance·diagram·for·pqxx::data_exception:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01221.png"·border="0"·usemap="#apqxx_1_1data__exception_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01221.png"·border="0"·usemap="#apqxx_1_1data__exception_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1data__exception_inherit__map"·id="apqxx_1_1data__exception_inherit__map">75 <map·name="apqxx_1_1data__exception_inherit__map"·id="apqxx_1_1data__exception_inherit__map">
76 <area·shape="rect"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="5,299,168,324"/>76 <area·shape="rect"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="5,299,168,324"/>
77 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="27,225,146,251"/>77 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="27,225,146,251"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01222.html">data_exception</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01222.html">data_exception</a></li>
1.82 KB
./usr/share/doc/libpqxx-doc/html/a01226.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01223.html">List·of·all·members</a>··</div>64 <a·href="a01223.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::integrity_constraint_violation:</div>70 Inheritance·diagram·for·pqxx::integrity_constraint_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01225.png"·border="0"·usemap="#apqxx_1_1integrity__constraint__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01225.png"·border="0"·usemap="#apqxx_1_1integrity__constraint__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1integrity__constraint__violation_inherit__map"·id="apqxx_1_1integrity__constraint__violation_inherit__map">73 <map·name="apqxx_1_1integrity__constraint__violation_inherit__map"·id="apqxx_1_1integrity__constraint__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="673,97,863,137"/>74 <area·shape="rect"·title="·"·alt=""·coords="673,97,863,137"/>
75 <area·shape="rect"·href="a01246.html"·title="·"·alt=""·coords="930,5,1094,31"/>75 <area·shape="rect"·href="a01246.html"·title="·"·alt=""·coords="930,5,1094,31"/>
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 ··</tr>153 ··</tr>
154 </table>154 </table>
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 </div>156 </div>
157 </div>157 </div>
158 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>158 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
159 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>159 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
160 </ul>160 </ul>
161 </div><!--·contents·-->161 </div><!--·contents·-->
162 </div><!--·doc-content·-->162 </div><!--·doc-content·-->
163 <!--·start·footer·part·-->163 <!--·start·footer·part·-->
164 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->164 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
165 ··<ul>165 ··<ul>
166 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01226.html">integrity_constraint_violation</a></li>166 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01226.html">integrity_constraint_violation</a></li>
1.74 KB
./usr/share/doc/libpqxx-doc/html/a01230.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01227.html">List·of·all·members</a>··</div>64 <a·href="a01227.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::restrict_violation:</div>70 Inheritance·diagram·for·pqxx::restrict_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01229.png"·border="0"·usemap="#apqxx_1_1restrict__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01229.png"·border="0"·usemap="#apqxx_1_1restrict__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1restrict__violation_inherit__map"·id="apqxx_1_1restrict__violation_inherit__map">73 <map·name="apqxx_1_1restrict__violation_inherit__map"·id="apqxx_1_1restrict__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="14,387,186,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="14,387,186,412"/>
75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01230.html">restrict_violation</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01230.html">restrict_violation</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/a01234.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01231.html">List·of·all·members</a>··</div>64 <a·href="a01231.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::not_null_violation:</div>70 Inheritance·diagram·for·pqxx::not_null_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01233.png"·border="0"·usemap="#apqxx_1_1not__null__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01233.png"·border="0"·usemap="#apqxx_1_1not__null__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1not__null__violation_inherit__map"·id="apqxx_1_1not__null__violation_inherit__map">73 <map·name="apqxx_1_1not__null__violation_inherit__map"·id="apqxx_1_1not__null__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="11,387,189,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="11,387,189,412"/>
75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01234.html">not_null_violation</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01234.html">not_null_violation</a></li>
1.76 KB
./usr/share/doc/libpqxx-doc/html/a01238.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01235.html">List·of·all·members</a>··</div>64 <a·href="a01235.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::foreign_key_violation:</div>70 Inheritance·diagram·for·pqxx::foreign_key_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01237.png"·border="0"·usemap="#apqxx_1_1foreign__key__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01237.png"·border="0"·usemap="#apqxx_1_1foreign__key__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1foreign__key__violation_inherit__map"·id="apqxx_1_1foreign__key__violation_inherit__map">73 <map·name="apqxx_1_1foreign__key__violation_inherit__map"·id="apqxx_1_1foreign__key__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,387,208,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,387,208,412"/>
75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="12,299,201,339"/>75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="12,299,201,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01238.html">foreign_key_violation</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01238.html">foreign_key_violation</a></li>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01242.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01239.html">List·of·all·members</a>··</div>64 <a·href="a01239.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::unique_violation:</div>70 Inheritance·diagram·for·pqxx::unique_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01241.png"·border="0"·usemap="#apqxx_1_1unique__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01241.png"·border="0"·usemap="#apqxx_1_1unique__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1unique__violation_inherit__map"·id="apqxx_1_1unique__violation_inherit__map">73 <map·name="apqxx_1_1unique__violation_inherit__map"·id="apqxx_1_1unique__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="15,387,185,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="15,387,185,412"/>
75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01242.html">unique_violation</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01242.html">unique_violation</a></li>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01246.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01243.html">List·of·all·members</a>··</div>64 <a·href="a01243.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::check_violation:</div>70 Inheritance·diagram·for·pqxx::check_violation:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01245.png"·border="0"·usemap="#apqxx_1_1check__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01245.png"·border="0"·usemap="#apqxx_1_1check__violation_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1check__violation_inherit__map"·id="apqxx_1_1check__violation_inherit__map">73 <map·name="apqxx_1_1check__violation_inherit__map"·id="apqxx_1_1check__violation_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="18,387,182,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="18,387,182,412"/>
75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>75 <area·shape="rect"·href="a01226.html"·title="·"·alt=""·coords="5,299,195,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01246.html">check_violation</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01246.html">check_violation</a></li>
1.79 KB
./usr/share/doc/libpqxx-doc/html/a01250.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01247.html">List·of·all·members</a>··</div>64 <a·href="a01247.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::invalid_cursor_state:</div>70 Inheritance·diagram·for·pqxx::invalid_cursor_state:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01249.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__state_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01249.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__state_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1invalid__cursor__state_inherit__map"·id="apqxx_1_1invalid__cursor__state_inherit__map">73 <map·name="apqxx_1_1invalid__cursor__state_inherit__map"·id="apqxx_1_1invalid__cursor__state_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,299,159,339"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,299,159,339"/>
75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="23,225,141,251"/>75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="23,225,141,251"/>
Offset 143, 15 lines modifiedOffset 143, 15 lines modified
143 ··</tr>143 ··</tr>
144 </table>144 </table>
145 </div><div·class="memdoc">145 </div><div·class="memdoc">
  
146 </div>146 </div>
147 </div>147 </div>
148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
149 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>149 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
150 </ul>150 </ul>
151 </div><!--·contents·-->151 </div><!--·contents·-->
152 </div><!--·doc-content·-->152 </div><!--·doc-content·-->
153 <!--·start·footer·part·-->153 <!--·start·footer·part·-->
154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
155 ··<ul>155 ··<ul>
156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01250.html">invalid_cursor_state</a></li>156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01250.html">invalid_cursor_state</a></li>
1.83 KB
./usr/share/doc/libpqxx-doc/html/a01254.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01251.html">List·of·all·members</a>··</div>64 <a·href="a01251.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::invalid_sql_statement_name:</div>70 Inheritance·diagram·for·pqxx::invalid_sql_statement_name:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01253.png"·border="0"·usemap="#apqxx_1_1invalid__sql__statement__name_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01253.png"·border="0"·usemap="#apqxx_1_1invalid__sql__statement__name_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1invalid__sql__statement__name_inherit__map"·id="apqxx_1_1invalid__sql__statement__name_inherit__map">73 <map·name="apqxx_1_1invalid__sql__statement__name_inherit__map"·id="apqxx_1_1invalid__sql__statement__name_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,299,256,324"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,299,256,324"/>
75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="71,225,190,251"/>75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="71,225,190,251"/>
Offset 143, 15 lines modifiedOffset 143, 15 lines modified
143 ··</tr>143 ··</tr>
144 </table>144 </table>
145 </div><div·class="memdoc">145 </div><div·class="memdoc">
  
146 </div>146 </div>
147 </div>147 </div>
148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
149 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>149 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
150 </ul>150 </ul>
151 </div><!--·contents·-->151 </div><!--·contents·-->
152 </div><!--·doc-content·-->152 </div><!--·doc-content·-->
153 <!--·start·footer·part·-->153 <!--·start·footer·part·-->
154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
155 ··<ul>155 ··<ul>
156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01254.html">invalid_sql_statement_name</a></li>156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01254.html">invalid_sql_statement_name</a></li>
1.79 KB
./usr/share/doc/libpqxx-doc/html/a01258.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01255.html">List·of·all·members</a>··</div>64 <a·href="a01255.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::invalid_cursor_name:</div>70 Inheritance·diagram·for·pqxx::invalid_cursor_name:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01257.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__name_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01257.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__name_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1invalid__cursor__name_inherit__map"·id="apqxx_1_1invalid__cursor__name_inherit__map">73 <map·name="apqxx_1_1invalid__cursor__name_inherit__map"·id="apqxx_1_1invalid__cursor__name_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,299,203,324"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,299,203,324"/>
75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="45,225,163,251"/>75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="45,225,163,251"/>
Offset 143, 15 lines modifiedOffset 143, 15 lines modified
143 ··</tr>143 ··</tr>
144 </table>144 </table>
145 </div><div·class="memdoc">145 </div><div·class="memdoc">
  
146 </div>146 </div>
147 </div>147 </div>
148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
149 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>149 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
150 </ul>150 </ul>
151 </div><!--·contents·-->151 </div><!--·contents·-->
152 </div><!--·doc-content·-->152 </div><!--·doc-content·-->
153 <!--·start·footer·part·-->153 <!--·start·footer·part·-->
154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
155 ··<ul>155 ··<ul>
156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01258.html">invalid_cursor_name</a></li>156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01258.html">invalid_cursor_name</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/a01262.html
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="#pub-attribs">Public·Attributes</a>·&#124;64 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
65 <a·href="a01259.html">List·of·all·members</a>··</div>65 <a·href="a01259.html">List·of·all·members</a>··</div>
66 ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::syntax_error:</div>71 Inheritance·diagram·for·pqxx::syntax_error:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01261.png"·border="0"·usemap="#apqxx_1_1syntax__error_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01261.png"·border="0"·usemap="#apqxx_1_1syntax__error_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1syntax__error_inherit__map"·id="apqxx_1_1syntax__error_inherit__map">74 <map·name="apqxx_1_1syntax__error_inherit__map"·id="apqxx_1_1syntax__error_inherit__map">
75 <area·shape="rect"·title="·"·alt=""·coords="232,299,376,324"/>75 <area·shape="rect"·title="·"·alt=""·coords="232,299,376,324"/>
76 <area·shape="rect"·href="a01266.html"·title="·"·alt=""·coords="5,372,187,397"/>76 <area·shape="rect"·href="a01266.html"·title="·"·alt=""·coords="5,372,187,397"/>
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
179 </div><div·class="memdoc">179 </div><div·class="memdoc">
  
180 <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p>180 <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p>
  
181 </div>181 </div>
182 </div>182 </div>
183 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>183 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
184 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>184 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
185 </ul>185 </ul>
186 </div><!--·contents·-->186 </div><!--·contents·-->
187 </div><!--·doc-content·-->187 </div><!--·doc-content·-->
188 <!--·start·footer·part·-->188 <!--·start·footer·part·-->
189 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->189 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
190 ··<ul>190 ··<ul>
191 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01262.html">syntax_error</a></li>191 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01262.html">syntax_error</a></li>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01266.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01263.html">List·of·all·members</a>··</div>64 <a·href="a01263.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::undefined_column:</div>70 Inheritance·diagram·for·pqxx::undefined_column:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01265.png"·border="0"·usemap="#apqxx_1_1undefined__column_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01265.png"·border="0"·usemap="#apqxx_1_1undefined__column_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1undefined__column_inherit__map"·id="apqxx_1_1undefined__column_inherit__map">73 <map·name="apqxx_1_1undefined__column_inherit__map"·id="apqxx_1_1undefined__column_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,372,187,397"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,372,187,397"/>
75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="24,299,168,324"/>75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="24,299,168,324"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ··</tr>155 ··</tr>
156 </table>156 </table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>161 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01266.html">undefined_column</a></li>168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01266.html">undefined_column</a></li>
1.74 KB
./usr/share/doc/libpqxx-doc/html/a01270.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01267.html">List·of·all·members</a>··</div>64 <a·href="a01267.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::undefined_function:</div>70 Inheritance·diagram·for·pqxx::undefined_function:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01269.png"·border="0"·usemap="#apqxx_1_1undefined__function_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01269.png"·border="0"·usemap="#apqxx_1_1undefined__function_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1undefined__function_inherit__map"·id="apqxx_1_1undefined__function_inherit__map">73 <map·name="apqxx_1_1undefined__function_inherit__map"·id="apqxx_1_1undefined__function_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,372,192,397"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,372,192,397"/>
75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="27,299,171,324"/>75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="27,299,171,324"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ··</tr>155 ··</tr>
156 </table>156 </table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>161 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01270.html">undefined_function</a></li>168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01270.html">undefined_function</a></li>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01274.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01271.html">List·of·all·members</a>··</div>64 <a·href="a01271.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::undefined_table:</div>70 Inheritance·diagram·for·pqxx::undefined_table:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01273.png"·border="0"·usemap="#apqxx_1_1undefined__table_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01273.png"·border="0"·usemap="#apqxx_1_1undefined__table_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1undefined__table_inherit__map"·id="apqxx_1_1undefined__table_inherit__map">73 <map·name="apqxx_1_1undefined__table_inherit__map"·id="apqxx_1_1undefined__table_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,372,172,397"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,372,172,397"/>
75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="17,299,161,324"/>75 <area·shape="rect"·href="a01262.html"·title="·"·alt=""·coords="17,299,161,324"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ··</tr>155 ··</tr>
156 </table>156 </table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>161 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01274.html">undefined_table</a></li>168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01274.html">undefined_table</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/a01278.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01275.html">List·of·all·members</a>··</div>64 <a·href="a01275.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::insufficient_privilege:</div>70 Inheritance·diagram·for·pqxx::insufficient_privilege:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01277.png"·border="0"·usemap="#apqxx_1_1insufficient__privilege_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01277.png"·border="0"·usemap="#apqxx_1_1insufficient__privilege_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1insufficient__privilege_inherit__map"·id="apqxx_1_1insufficient__privilege_inherit__map">73 <map·name="apqxx_1_1insufficient__privilege_inherit__map"·id="apqxx_1_1insufficient__privilege_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="7,299,142,339"/>74 <area·shape="rect"·title="·"·alt=""·coords="7,299,142,339"/>
75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="15,225,134,251"/>75 <area·shape="rect"·href="a01162.html"·title="Exception·class·for·failed·queries."·alt=""·coords="15,225,134,251"/>
Offset 143, 15 lines modifiedOffset 143, 15 lines modified
143 ··</tr>143 ··</tr>
144 </table>144 </table>
145 </div><div·class="memdoc">145 </div><div·class="memdoc">
  
146 </div>146 </div>
147 </div>147 </div>
148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>148 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
149 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>149 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
150 </ul>150 </ul>
151 </div><!--·contents·-->151 </div><!--·contents·-->
152 </div><!--·doc-content·-->152 </div><!--·doc-content·-->
153 <!--·start·footer·part·-->153 <!--·start·footer·part·-->
154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->154 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
155 ··<ul>155 ··<ul>
156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01278.html">insufficient_privilege</a></li>156 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01278.html">insufficient_privilege</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/a01282.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Resource·shortage·on·the·server.··68 <p>Resource·shortage·on·the·server.··
69 ·<a·href="a01282.html#details">More...</a></p>69 ·<a·href="a01282.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::insufficient_resources:</div>72 Inheritance·diagram·for·pqxx::insufficient_resources:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01281.png"·border="0"·usemap="#apqxx_1_1insufficient__resources_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01281.png"·border="0"·usemap="#apqxx_1_1insufficient__resources_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1insufficient__resources_inherit__map"·id="apqxx_1_1insufficient__resources_inherit__map">75 <map·name="apqxx_1_1insufficient__resources_inherit__map"·id="apqxx_1_1insufficient__resources_inherit__map">
76 <area·shape="rect"·title="Resource·shortage·on·the·server."·alt=""·coords="79,299,214,339"/>76 <area·shape="rect"·title="Resource·shortage·on·the·server."·alt=""·coords="79,299,214,339"/>
77 <area·shape="rect"·href="a01286.html"·title="·"·alt=""·coords="5,387,123,412"/>77 <area·shape="rect"·href="a01286.html"·title="·"·alt=""·coords="5,387,123,412"/>
Offset 152, 15 lines modifiedOffset 152, 15 lines modified
152 ··</tr>152 ··</tr>
153 </table>153 </table>
154 </div><div·class="memdoc">154 </div><div·class="memdoc">
  
155 </div>155 </div>
156 </div>156 </div>
157 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>157 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 </div><!--·doc-content·-->161 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>164 ··<ul>
165 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01282.html">insufficient_resources</a></li>165 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01282.html">insufficient_resources</a></li>
1.72 KB
./usr/share/doc/libpqxx-doc/html/a01286.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01283.html">List·of·all·members</a>··</div>64 <a·href="a01283.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::disk_full:</div>70 Inheritance·diagram·for·pqxx::disk_full:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01285.png"·border="0"·usemap="#apqxx_1_1disk__full_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01285.png"·border="0"·usemap="#apqxx_1_1disk__full_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1disk__full_inherit__map"·id="apqxx_1_1disk__full_inherit__map">73 <map·name="apqxx_1_1disk__full_inherit__map"·id="apqxx_1_1disk__full_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="16,387,133,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="16,387,133,412"/>
75 <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="7,299,142,339"/>75 <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="7,299,142,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01286.html">disk_full</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01286.html">disk_full</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/a01290.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01287.html">List·of·all·members</a>··</div>64 <a·href="a01287.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::out_of_memory:</div>70 Inheritance·diagram·for·pqxx::out_of_memory:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01289.png"·border="0"·usemap="#apqxx_1_1out__of__memory_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01289.png"·border="0"·usemap="#apqxx_1_1out__of__memory_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1out__of__memory_inherit__map"·id="apqxx_1_1out__of__memory_inherit__map">73 <map·name="apqxx_1_1out__of__memory_inherit__map"·id="apqxx_1_1out__of__memory_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,387,171,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,387,171,412"/>
75 <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="21,299,155,339"/>75 <area·shape="rect"·href="a01282.html"·title="Resource·shortage·on·the·server."·alt=""·coords="21,299,155,339"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01290.html">out_of_memory</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01290.html">out_of_memory</a></li>
1.81 KB
./usr/share/doc/libpqxx-doc/html/a01294.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01291.html">List·of·all·members</a>··</div>64 <a·href="a01291.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::too_many_connections:</div>70 Inheritance·diagram·for·pqxx::too_many_connections:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01293.png"·border="0"·usemap="#apqxx_1_1too__many__connections_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01293.png"·border="0"·usemap="#apqxx_1_1too__many__connections_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1too__many__connections_inherit__map"·id="apqxx_1_1too__many__connections_inherit__map">73 <map·name="apqxx_1_1too__many__connections_inherit__map"·id="apqxx_1_1too__many__connections_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,299,217,324"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,299,217,324"/>
75 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="19,225,203,251"/>75 <area·shape="rect"·href="a01150.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="19,225,203,251"/>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 ··</tr>121 ··</tr>
122 </table>122 </table>
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 </div>124 </div>
125 </div>125 </div>
126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
127 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 </div><!--·doc-content·-->130 </div><!--·doc-content·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->132 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
133 ··<ul>133 ··<ul>
134 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01294.html">too_many_connections</a></li>134 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01294.html">too_many_connections</a></li>
1.66 KB
./usr/share/doc/libpqxx-doc/html/a01298.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>PL/pgSQL·error.··68 <p>PL/pgSQL·error.··
69 ·<a·href="a01298.html#details">More...</a></p>69 ·<a·href="a01298.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::plpgsql_error:</div>72 Inheritance·diagram·for·pqxx::plpgsql_error:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01297.png"·border="0"·usemap="#apqxx_1_1plpgsql__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01297.png"·border="0"·usemap="#apqxx_1_1plpgsql__error_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1plpgsql__error_inherit__map"·id="apqxx_1_1plpgsql__error_inherit__map">75 <map·name="apqxx_1_1plpgsql__error_inherit__map"·id="apqxx_1_1plpgsql__error_inherit__map">
76 <area·shape="rect"·title="PL/pgSQL·error."·alt=""·coords="199,299,345,324"/>76 <area·shape="rect"·title="PL/pgSQL·error."·alt=""·coords="199,299,345,324"/>
77 <area·shape="rect"·href="a01306.html"·title="·"·alt=""·coords="5,372,173,412"/>77 <area·shape="rect"·href="a01306.html"·title="·"·alt=""·coords="5,372,173,412"/>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ··</tr>155 ··</tr>
156 </table>156 </table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>161 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 </div><!--·doc-content·-->164 </div><!--·doc-content·-->
165 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->166 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
167 ··<ul>167 ··<ul>
168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01298.html">plpgsql_error</a></li>168 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01298.html">plpgsql_error</a></li>
1.72 KB
./usr/share/doc/libpqxx-doc/html/a01302.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Exception·raised·in·PL/pgSQL·procedure.··68 <p>Exception·raised·in·PL/pgSQL·procedure.··
69 ·<a·href="a01302.html#details">More...</a></p>69 ·<a·href="a01302.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::plpgsql_raise:</div>72 Inheritance·diagram·for·pqxx::plpgsql_raise:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01301.png"·border="0"·usemap="#apqxx_1_1plpgsql__raise_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01301.png"·border="0"·usemap="#apqxx_1_1plpgsql__raise_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1plpgsql__raise_inherit__map"·id="apqxx_1_1plpgsql__raise_inherit__map">75 <map·name="apqxx_1_1plpgsql__raise_inherit__map"·id="apqxx_1_1plpgsql__raise_inherit__map">
76 <area·shape="rect"·title="Exception·raised·in·PL/pgSQL·procedure."·alt=""·coords="5,372,153,397"/>76 <area·shape="rect"·title="Exception·raised·in·PL/pgSQL·procedure."·alt=""·coords="5,372,153,397"/>
77 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="6,299,153,324"/>77 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="6,299,153,324"/>
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 ··</tr>153 ··</tr>
154 </table>154 </table>
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 </div>156 </div>
157 </div>157 </div>
158 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>158 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
159 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>159 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
160 </ul>160 </ul>
161 </div><!--·contents·-->161 </div><!--·contents·-->
162 </div><!--·doc-content·-->162 </div><!--·doc-content·-->
163 <!--·start·footer·part·-->163 <!--·start·footer·part·-->
164 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->164 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
165 ··<ul>165 ··<ul>
166 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01302.html">plpgsql_raise</a></li>166 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01302.html">plpgsql_raise</a></li>
1.78 KB
./usr/share/doc/libpqxx-doc/html/a01306.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01303.html">List·of·all·members</a>··</div>64 <a·href="a01303.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::plpgsql_no_data_found:</div>70 Inheritance·diagram·for·pqxx::plpgsql_no_data_found:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01305.png"·border="0"·usemap="#apqxx_1_1plpgsql__no__data__found_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01305.png"·border="0"·usemap="#apqxx_1_1plpgsql__no__data__found_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1plpgsql__no__data__found_inherit__map"·id="apqxx_1_1plpgsql__no__data__found_inherit__map">73 <map·name="apqxx_1_1plpgsql__no__data__found_inherit__map"·id="apqxx_1_1plpgsql__no__data__found_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,372,173,412"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,372,173,412"/>
75 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="16,299,163,324"/>75 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="16,299,163,324"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01306.html">plpgsql_no_data_found</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01306.html">plpgsql_no_data_found</a></li>
1.78 KB
./usr/share/doc/libpqxx-doc/html/a01310.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="a01307.html">List·of·all·members</a>··</div>64 <a·href="a01307.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00247.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">except.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::plpgsql_too_many_rows:</div>70 Inheritance·diagram·for·pqxx::plpgsql_too_many_rows:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01309.png"·border="0"·usemap="#apqxx_1_1plpgsql__too__many__rows_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01309.png"·border="0"·usemap="#apqxx_1_1plpgsql__too__many__rows_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1plpgsql__too__many__rows_inherit__map"·id="apqxx_1_1plpgsql__too__many__rows_inherit__map">73 <map·name="apqxx_1_1plpgsql__too__many__rows_inherit__map"·id="apqxx_1_1plpgsql__too__many__rows_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="5,372,224,397"/>74 <area·shape="rect"·title="·"·alt=""·coords="5,372,224,397"/>
75 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="41,299,188,324"/>75 <area·shape="rect"·href="a01298.html"·title="PL/pgSQL·error."·alt=""·coords="41,299,188,324"/>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</tr>148 ··</tr>
149 </table>149 </table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00035_source.html">except.hxx</a></li>154 <li><a·class="el"·href="a00104_source.html">except.hxx</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 </div><!--·doc-content·-->157 </div><!--·doc-content·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->159 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
160 ··<ul>160 ··<ul>
161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01310.html">plpgsql_too_many_rows</a></li>161 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01310.html">plpgsql_too_many_rows</a></li>
1.65 KB
./usr/share/doc/libpqxx-doc/html/a01314.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00119_source.html">field.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00005_source.html">field.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::field:</div>73 Inheritance·diagram·for·pqxx::field:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01313.png"·border="0"·usemap="#apqxx_1_1field_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01313.png"·border="0"·usemap="#apqxx_1_1field_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1field_inherit__map"·id="apqxx_1_1field_inherit__map">76 <map·name="apqxx_1_1field_inherit__map"·id="apqxx_1_1field_inherit__map">
77 <area·shape="rect"·title="Reference·to·a·field·in·a·result·set."·alt=""·coords="51,5,142,31"/>77 <area·shape="rect"·title="Reference·to·a·field·in·a·result·set."·alt=""·coords="51,5,142,31"/>
78 <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>78 <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>
Offset 1089, 15 lines modifiedOffset 1089, 15 lines modified
1089 </table>1089 </table>
1090 </div><div·class="memdoc">1090 </div><div·class="memdoc">
1091 <p>You'd·expect·this·to·be·unsigned,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p>1091 <p>You'd·expect·this·to·be·unsigned,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p>
  
1092 </div>1092 </div>
1093 </div>1093 </div>
1094 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1094 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1095 <li><a·class="el"·href="a00119_source.html">field.hxx</a></li>1095 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
1096 <li><b>field.cxx</b></li>1096 <li><b>field.cxx</b></li>
1097 </ul>1097 </ul>
1098 </div><!--·contents·-->1098 </div><!--·contents·-->
1099 </div><!--·doc-content·-->1099 </div><!--·doc-content·-->
1100 <!--·start·footer·part·-->1100 <!--·start·footer·part·-->
1101 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1101 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1102 ··<ul>1102 ··<ul>
1.8 KB
./usr/share/doc/libpqxx-doc/html/a01318.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
65 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;65 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
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&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::field_streambuf&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">field.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00005_source.html">field.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::field_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>72 Inheritance·diagram·for·pqxx::field_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01317.png"·border="0"·usemap="#apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01317.png"·border="0"·usemap="#apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map">75 <map·name="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1field__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map">
76 <area·shape="rect"·title="·"·alt=""·coords="9,109,173,149"/>76 <area·shape="rect"·title="·"·alt=""·coords="9,109,173,149"/>
77 <area·shape="rect"·href="a01318.html"·title="·"·alt=""·coords="5,227,176,281"/>77 <area·shape="rect"·href="a01318.html"·title="·"·alt=""·coords="5,227,176,281"/>
Offset 421, 15 lines modifiedOffset 421, 15 lines modified
421 ··</tr>421 ··</tr>
422 </table>422 </table>
423 </div><div·class="memdoc">423 </div><div·class="memdoc">
  
424 </div>424 </div>
425 </div>425 </div>
426 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>426 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
427 <li><a·class="el"·href="a00119_source.html">field.hxx</a></li>427 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
428 </ul>428 </ul>
429 </div><!--·contents·-->429 </div><!--·contents·-->
430 </div><!--·doc-content·-->430 </div><!--·doc-content·-->
431 <!--·start·footer·part·-->431 <!--·start·footer·part·-->
432 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->432 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
433 ··<ul>433 ··<ul>
434 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01318.html">field_streambuf</a></li>434 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01318.html">field_streambuf</a></li>
1.79 KB
./usr/share/doc/libpqxx-doc/html/a01322.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::basic_fieldstream&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::basic_fieldstream&lt;·CHAR,·TRAITS·&gt;·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·&lt;<a·class="el"·href="a00119_source.html">field.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00005_source.html">field.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::basic_fieldstream&lt;·CHAR,·TRAITS·&gt;:</div>73 Inheritance·diagram·for·pqxx::basic_fieldstream&lt;·CHAR,·TRAITS·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01321.png"·border="0"·usemap="#apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01321.png"·border="0"·usemap="#apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map">76 <map·name="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__fieldstream_3_01CHAR_00_01TRAITS_01_4_inherit__map">
77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·result·field."·alt=""·coords="5,240,183,280"/>77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·result·field."·alt=""·coords="5,240,183,280"/>
78 <area·shape="rect"·title="·"·alt=""·coords="23,152,165,192"/>78 <area·shape="rect"·title="·"·alt=""·coords="23,152,165,192"/>
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 ········</tr>209 ········</tr>
210 ······</table>210 ······</table>
211 </div><div·class="memdoc">211 </div><div·class="memdoc">
  
212 </div>212 </div>
213 </div>213 </div>
214 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>214 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
215 <li><a·class="el"·href="a00119_source.html">field.hxx</a></li>215 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
216 </ul>216 </ul>
217 </div><!--·contents·-->217 </div><!--·contents·-->
218 </div><!--·doc-content·-->218 </div><!--·doc-content·-->
219 <!--·start·footer·part·-->219 <!--·start·footer·part·-->
220 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->220 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
221 ··<ul>221 ··<ul>
222 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01322.html">basic_fieldstream</a></li>222 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01322.html">basic_fieldstream</a></li>
1.86 KB
./usr/share/doc/libpqxx-doc/html/a01326.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</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&#39;s·contents."·alt=""·coords="5,79,184,104"/>78 <area·shape="rect"·href="a01330.html"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,79,184,104"/>
Offset 618, 15 lines modifiedOffset 618, 15 lines modified
618 <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>,·and·<a·class="el"·href="a00250.html#aea8d8e21558dad5b03ac2f73910c93e1">pqxx::oid_none</a>.</p>618 <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>,·and·<a·class="el"·href="a00250.html#aea8d8e21558dad5b03ac2f73910c93e1">pqxx::oid_none</a>.</p>
  
619 <p·class="reference">Referenced·by·<a·class="el"·href="a01330.html#acdbc859cf3afd0ddcc4aa555ef36c35a">pqxx::largeobjectaccess::to_file()</a>.</p>619 <p·class="reference">Referenced·by·<a·class="el"·href="a01330.html#acdbc859cf3afd0ddcc4aa555ef36c35a">pqxx::largeobjectaccess::to_file()</a>.</p>
  
620 </div>620 </div>
621 </div>621 </div>
622 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>622 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
623 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>623 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
624 <li><b>largeobject.cxx</b></li>624 <li><b>largeobject.cxx</b></li>
625 </ul>625 </ul>
626 </div><!--·contents·-->626 </div><!--·contents·-->
627 </div><!--·doc-content·-->627 </div><!--·doc-content·-->
628 <!--·start·footer·part·-->628 <!--·start·footer·part·-->
629 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->629 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
630 ··<ul>630 ··<ul>
1.67 KB
./usr/share/doc/libpqxx-doc/html/a01330.html
    
Offset 67, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</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&#39;s·contents."·alt=""·coords="5,79,184,104"/>78 <area·shape="rect"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,79,184,104"/>
79 <area·shape="rect"·href="a01326.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/>79 <area·shape="rect"·href="a01326.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,31"/>
Offset 1183, 15 lines modifiedOffset 1183, 15 lines modified
1183 <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div>1183 <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div>
1184 </div><!--·fragment·-->1184 </div><!--·fragment·-->
1185 <p>Default·open·mode:·in,·out,·binary.·</p>1185 <p>Default·open·mode:·in,·out,·binary.·</p>
  
1186 </div>1186 </div>
1187 </div>1187 </div>
1188 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1188 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1189 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>1189 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
1190 <li><b>largeobject.cxx</b></li>1190 <li><b>largeobject.cxx</b></li>
1191 </ul>1191 </ul>
1192 </div><!--·contents·-->1192 </div><!--·contents·-->
1193 </div><!--·doc-content·-->1193 </div><!--·doc-content·-->
1194 <!--·start·footer·part·-->1194 <!--·start·footer·part·-->
1195 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1195 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1196 ··<ul>1196 ··<ul>
1.95 KB
./usr/share/doc/libpqxx-doc/html/a01334.html
    
Offset 68, 15 lines modifiedOffset 68, 15 lines modified
68 ··<div·class="headertitle"><div·class="title">pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;·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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>73 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</code></p>
74 <div·class="dynheader">74 <div·class="dynheader">
75 Inheritance·diagram·for·pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>75 Inheritance·diagram·for·pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>
76 <div·class="dyncontent">76 <div·class="dyncontent">
77 <div·class="center"><img·src="a01333.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>77 <div·class="center"><img·src="a01333.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
78 <map·name="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map">78 <map·name="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map">
79 <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,109,215,149"/>79 <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,109,215,149"/>
80 <area·shape="rect"·href="a01334.html"·title="·"·alt=""·coords="5,227,215,281"/>80 <area·shape="rect"·href="a01334.html"·title="·"·alt=""·coords="5,227,215,281"/>
Offset 613, 15 lines modifiedOffset 613, 15 lines modified
613 <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div>613 <div·class="line">····std::ios::in·|·std::ios::out·|·std::ios::binary}</div>
614 </div><!--·fragment·-->614 </div><!--·fragment·-->
615 <p>Default·open·mode:·in,·out,·binary.·</p>615 <p>Default·open·mode:·in,·out,·binary.·</p>
  
616 </div>616 </div>
617 </div>617 </div>
618 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>618 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
619 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>619 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
620 </ul>620 </ul>
621 </div><!--·contents·-->621 </div><!--·contents·-->
622 </div><!--·doc-content·-->622 </div><!--·doc-content·-->
623 <!--·start·footer·part·-->623 <!--·start·footer·part·-->
624 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->624 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
625 ··<ul>625 ··<ul>
626 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01334.html">largeobject_streambuf</a></li>626 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01334.html">largeobject_streambuf</a></li>
1.91 KB
./usr/share/doc/libpqxx-doc/html/a01338.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::basic_ilostream&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::basic_ilostream&lt;·CHAR,·TRAITS·&gt;·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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::basic_ilostream&lt;·CHAR,·TRAITS·&gt;:</div>73 Inheritance·diagram·for·pqxx::basic_ilostream&lt;·CHAR,·TRAITS·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01337.png"·border="0"·usemap="#apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01337.png"·border="0"·usemap="#apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">76 <map·name="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__ilostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">
77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·large·object."·alt=""·coords="8,240,173,280"/>77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·large·object."·alt=""·coords="8,240,173,280"/>
78 <area·shape="rect"·title="·"·alt=""·coords="20,152,161,192"/>78 <area·shape="rect"·title="·"·alt=""·coords="20,152,161,192"/>
Offset 289, 15 lines modifiedOffset 289, 15 lines modified
289 </dl>289 </dl>
  
290 <p·class="reference">References·<a·class="el"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea9d7183f16acce70658f686ae7f1a4d20">pqxx::binary</a>.</p>290 <p·class="reference">References·<a·class="el"·href="a00250.html#afac7ada3a82bcd0e70131f9aede360cea9d7183f16acce70658f686ae7f1a4d20">pqxx::binary</a>.</p>
  
291 </div>291 </div>
292 </div>292 </div>
293 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>293 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
294 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>294 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
295 </ul>295 </ul>
296 </div><!--·contents·-->296 </div><!--·contents·-->
297 </div><!--·doc-content·-->297 </div><!--·doc-content·-->
298 <!--·start·footer·part·-->298 <!--·start·footer·part·-->
299 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->299 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
300 ··<ul>300 ··<ul>
301 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01338.html">basic_ilostream</a></li>301 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01338.html">basic_ilostream</a></li>
1.81 KB
./usr/share/doc/libpqxx-doc/html/a01342.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::basic_olostream&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::basic_olostream&lt;·CHAR,·TRAITS·&gt;·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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::basic_olostream&lt;·CHAR,·TRAITS·&gt;:</div>73 Inheritance·diagram·for·pqxx::basic_olostream&lt;·CHAR,·TRAITS·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01341.png"·border="0"·usemap="#apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01341.png"·border="0"·usemap="#apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">76 <map·name="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__olostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">
77 <area·shape="rect"·title="Output·stream·that·writes·data·back·to·a·large·object."·alt=""·coords="6,240,175,280"/>77 <area·shape="rect"·title="Output·stream·that·writes·data·back·to·a·large·object."·alt=""·coords="6,240,175,280"/>
78 <area·shape="rect"·title="·"·alt=""·coords="18,152,163,192"/>78 <area·shape="rect"·title="·"·alt=""·coords="18,152,163,192"/>
Offset 310, 15 lines modifiedOffset 310, 15 lines modified
310 ········</tr>310 ········</tr>
311 ······</table>311 ······</table>
312 </div><div·class="memdoc">312 </div><div·class="memdoc">
  
313 </div>313 </div>
314 </div>314 </div>
315 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>315 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
316 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>316 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
317 </ul>317 </ul>
318 </div><!--·contents·-->318 </div><!--·contents·-->
319 </div><!--·doc-content·-->319 </div><!--·doc-content·-->
320 <!--·start·footer·part·-->320 <!--·start·footer·part·-->
321 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->321 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
322 ··<ul>322 ··<ul>
323 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01342.html">basic_olostream</a></li>323 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01342.html">basic_olostream</a></li>
1.78 KB
./usr/share/doc/libpqxx-doc/html/a01346.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::basic_lostream&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::basic_lostream&lt;·CHAR,·TRAITS·&gt;·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·&lt;<a·class="el"·href="a00086_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">largeobject.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::basic_lostream&lt;·CHAR,·TRAITS·&gt;:</div>73 Inheritance·diagram·for·pqxx::basic_lostream&lt;·CHAR,·TRAITS·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01345.png"·border="0"·usemap="#apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01345.png"·border="0"·usemap="#apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">76 <map·name="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map"·id="apqxx_1_1basic__lostream_3_01CHAR_00_01TRAITS_01_4_inherit__map">
77 <area·shape="rect"·title="Stream·that·reads·and·writes·a·large·object."·alt=""·coords="79,328,241,368"/>77 <area·shape="rect"·title="Stream·that·reads·and·writes·a·large·object."·alt=""·coords="79,328,241,368"/>
78 <area·shape="rect"·title="·"·alt=""·coords="85,240,235,280"/>78 <area·shape="rect"·title="·"·alt=""·coords="85,240,235,280"/>
Offset 315, 15 lines modifiedOffset 315, 15 lines modified
315 ········</tr>315 ········</tr>
316 ······</table>316 ······</table>
317 </div><div·class="memdoc">317 </div><div·class="memdoc">
  
318 </div>318 </div>
319 </div>319 </div>
320 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>320 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
321 <li><a·class="el"·href="a00086_source.html">largeobject.hxx</a></li>321 <li><a·class="el"·href="a00071_source.html">largeobject.hxx</a></li>
322 </ul>322 </ul>
323 </div><!--·contents·-->323 </div><!--·contents·-->
324 </div><!--·doc-content·-->324 </div><!--·doc-content·-->
325 <!--·start·footer·part·-->325 <!--·start·footer·part·-->
326 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->326 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
327 ··<ul>327 ··<ul>
328 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01346.html">basic_lostream</a></li>328 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01346.html">basic_lostream</a></li>
1.93 KB
./usr/share/doc/libpqxx-doc/html/a01350.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00104_source.html">nontransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">nontransaction.hxx</a>&gt;</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·&quot;transaction&quot;·class·offering·no·transactional·integrity."·alt=""·coords="13,79,171,104"/>76 <area·shape="rect"·title="Simple·&quot;transaction&quot;·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·&quot;transaction&quot;·classes."·alt=""·coords="5,5,179,31"/>77 <area·shape="rect"·href="a01490.html"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes."·alt=""·coords="5,5,179,31"/>
Offset 360, 15 lines modifiedOffset 360, 15 lines modified
360 ··</tr>360 ··</tr>
361 </table>361 </table>
362 </div><div·class="memdoc">362 </div><div·class="memdoc">
  
363 </div>363 </div>
364 </div>364 </div>
365 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>365 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
366 <li><a·class="el"·href="a00104_source.html">nontransaction.hxx</a></li>366 <li><a·class="el"·href="a00023_source.html">nontransaction.hxx</a></li>
367 </ul>367 </ul>
368 </div><!--·contents·-->368 </div><!--·contents·-->
369 </div><!--·doc-content·-->369 </div><!--·doc-content·-->
370 <!--·start·footer·part·-->370 <!--·start·footer·part·-->
371 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->371 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
372 ··<ul>372 ··<ul>
373 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01350.html">nontransaction</a></li>373 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01350.html">nontransaction</a></li>
2.49 KB
./usr/share/doc/libpqxx-doc/html/a01354.html
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;63 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
64 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;64 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
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·&lt;<a·class="el"·href="a00089_source.html">notification.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">notification.hxx</a>&gt;</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">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#ab28ec64678ada8dcc4868317b895e3c0">notification_receiver</a>·(<a·class="el"·href="a01110.html">connection</a>·&amp;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">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01354.html#ab28ec64678ada8dcc4868317b895e3c0">notification_receiver</a>·(<a·class="el"·href="a01110.html">connection</a>·&amp;c,·std::string_view·<a·class="el"·href="a01354.html#a57732bae437844782bdfe6314f829d9a">channel</a>)</td></tr>
74 <tr·class="memdesc:ab28ec64678ada8dcc4868317b895e3c0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<br·/></td></tr>74 <tr·class="memdesc:ab28ec64678ada8dcc4868317b895e3c0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<br·/></td></tr>
75 <tr·class="separator:ab28ec64678ada8dcc4868317b895e3c0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:ab28ec64678ada8dcc4868317b895e3c0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a44ffe1ed8ec8020f4106ef8427e09d17"·id="r_a44ffe1ed8ec8020f4106ef8427e09d17"><td·class="memItemLeft"·align="right"·valign="top">&#160;</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·&amp;)=delete</td></tr>76 <tr·class="memitem:a44ffe1ed8ec8020f4106ef8427e09d17"·id="r_a44ffe1ed8ec8020f4106ef8427e09d17"><td·class="memItemLeft"·align="right"·valign="top">&#160;</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·&amp;)=delete</td></tr>
Offset 307, 15 lines modifiedOffset 307, 15 lines modified
307 </div><div·class="memdoc">307 </div><div·class="memdoc">
  
308 <p>Register·the·receiver·with·a·connection.·</p>308 <p>Register·the·receiver·with·a·connection.·</p>
  
309 </div>309 </div>
310 </div>310 </div>
311 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>311 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
312 <li><a·class="el"·href="a00089_source.html">notification.hxx</a></li>312 <li><a·class="el"·href="a00113_source.html">notification.hxx</a></li>
313 <li><b>notification.cxx</b></li>313 <li><b>notification.cxx</b></li>
314 </ul>314 </ul>
315 </div><!--·contents·-->315 </div><!--·contents·-->
316 </div><!--·doc-content·-->316 </div><!--·doc-content·-->
317 <!--·start·footer·part·-->317 <!--·start·footer·part·-->
318 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->318 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
319 ··<ul>319 ··<ul>
2.43 KB
./usr/share/doc/libpqxx-doc/html/a01358.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::placeholders&lt;·COUNTER·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::placeholders&lt;·COUNTER·&gt;·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·&lt;<a·class="el"·href="a00101_source.html">params.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">params.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>76 <tr·class="separator:a635410e05190a78cd77c7d320853f64f"><td·class="memSeparator"·colspan="2">&#160;</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>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">view</a>·()·const·&amp;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>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01358.html#a92d006575732b3ead81cbaf4892197ae">view</a>·()·const·&amp;noexcept</td></tr>
78 <tr·class="memdesc:a92d006575732b3ead81cbaf4892197ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·an·ephemeral·version·of·the·current·placeholder·text.··<br·/></td></tr>78 <tr·class="memdesc:a92d006575732b3ead81cbaf4892197ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·an·ephemeral·version·of·the·current·placeholder·text.··<br·/></td></tr>
Offset 253, 15 lines modifiedOffset 253, 15 lines modified
253 <p>Maximum·number·of·parameters·we·support.·</p>253 <p>Maximum·number·of·parameters·we·support.·</p>
  
254 <p·class="reference">Referenced·by·<a·class="el"·href="a01358.html#aef09cd2fcb858917f33752a85e063bde">pqxx::placeholders&lt;·COUNTER·&gt;::next()</a>.</p>254 <p·class="reference">Referenced·by·<a·class="el"·href="a01358.html#aef09cd2fcb858917f33752a85e063bde">pqxx::placeholders&lt;·COUNTER·&gt;::next()</a>.</p>
  
255 </div>255 </div>
256 </div>256 </div>
257 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>257 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
258 <li><a·class="el"·href="a00101_source.html">params.hxx</a></li>258 <li><a·class="el"·href="a00035_source.html">params.hxx</a></li>
259 </ul>259 </ul>
260 </div><!--·contents·-->260 </div><!--·contents·-->
261 </div><!--·doc-content·-->261 </div><!--·doc-content·-->
262 <!--·start·footer·part·-->262 <!--·start·footer·part·-->
263 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->263 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
264 ··<ul>264 ··<ul>
265 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01358.html">placeholders</a></li>265 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01358.html">placeholders</a></li>
2.68 KB
./usr/share/doc/libpqxx-doc/html/a01362.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00101_source.html">params.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">params.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>75 <tr·class="separator:aaadf62c64b3e85ad7e86eba4d779e93c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"·id="r_ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr>76 <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"·id="r_ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr>
77 <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01362.html#ad15fdabb428bc93cdb0a6c4354a9069c">params</a>·(Args·&amp;&amp;...args)</td></tr>77 <tr·class="memitem:ad15fdabb428bc93cdb0a6c4354a9069c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01362.html#ad15fdabb428bc93cdb0a6c4354a9069c">params</a>·(Args·&amp;&amp;...args)</td></tr>
Offset 551, 15 lines modifiedOffset 551, 15 lines modified
551 <p>Unlike·<code><a·class="el"·href="a01362.html#a1a3ca8939fbeec4db4f7d69c8014a937"·title="Get·the·number·of·parameters·currently·in·this·params.">size()</a></code>,·this·is·not·yet·<code>noexcept</code>.·That's·because·C++17's·<code>std::vector</code>·does·not·have·a·<code><a·class="el"·href="a01362.html#ab23b2a3b2a58bfd03fca36022ebce8b4"·title="Get·the·number·of·parameters·(signed).">ssize()</a></code>·member·function.·These·member·functions·are·<code>noexcept</code>,·but·<code>std::size()</code>·and·<code>std::ssize()</code>·are·not.·</p>551 <p>Unlike·<code><a·class="el"·href="a01362.html#a1a3ca8939fbeec4db4f7d69c8014a937"·title="Get·the·number·of·parameters·currently·in·this·params.">size()</a></code>,·this·is·not·yet·<code>noexcept</code>.·That's·because·C++17's·<code>std::vector</code>·does·not·have·a·<code><a·class="el"·href="a01362.html#ab23b2a3b2a58bfd03fca36022ebce8b4"·title="Get·the·number·of·parameters·(signed).">ssize()</a></code>·member·function.·These·member·functions·are·<code>noexcept</code>,·but·<code>std::size()</code>·and·<code>std::ssize()</code>·are·not.·</p>
  
552 <p·class="reference">References·<a·class="el"·href="a00251.html#af21d8461eaf6d185ed98ab88b2edac6e">pqxx::internal::ssize()</a>.</p>552 <p·class="reference">References·<a·class="el"·href="a00251.html#af21d8461eaf6d185ed98ab88b2edac6e">pqxx::internal::ssize()</a>.</p>
  
553 </div>553 </div>
554 </div>554 </div>
555 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>555 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
556 <li><a·class="el"·href="a00101_source.html">params.hxx</a></li>556 <li><a·class="el"·href="a00035_source.html">params.hxx</a></li>
557 <li><b>params.cxx</b></li>557 <li><b>params.cxx</b></li>
558 </ul>558 </ul>
559 </div><!--·contents·-->559 </div><!--·contents·-->
560 </div><!--·doc-content·-->560 </div><!--·doc-content·-->
561 <!--·start·footer·part·-->561 <!--·start·footer·part·-->
562 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->562 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
563 ··<ul>563 ··<ul>
1.97 KB
./usr/share/doc/libpqxx-doc/html/a01366.html
    
Offset 67, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00053_source.html">pipeline.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00044_source.html">pipeline.hxx</a>&gt;</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&#39;s·attention."·alt=""·coords="5,5,183,31"/>79 <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction&#39;s·attention."·alt=""·coords="5,5,183,31"/>
Offset 605, 15 lines modifiedOffset 605, 15 lines modified
  
605 <p>Retrieve·result·for·given·query.·</p>605 <p>Retrieve·result·for·given·query.·</p>
606 <p>If·the·query·failed·for·whatever·reason,·this·will·throw·an·exception.·The·function·will·block·if·the·query·has·not·finished·yet.·</p><dl·class="section·warning"><dt>Warning</dt><dd>If·results·are·retrieved·out-of-order,·i.e.·in·a·different·order·than·the·one·in·which·their·queries·were·inserted,·errors·may·"propagate"·to·subsequent·queries.·</dd></dl>606 <p>If·the·query·failed·for·whatever·reason,·this·will·throw·an·exception.·The·function·will·block·if·the·query·has·not·finished·yet.·</p><dl·class="section·warning"><dt>Warning</dt><dd>If·results·are·retrieved·out-of-order,·i.e.·in·a·different·order·than·the·one·in·which·their·queries·were·inserted,·errors·may·"propagate"·to·subsequent·queries.·</dd></dl>
  
607 </div>607 </div>
608 </div>608 </div>
609 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>609 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
610 <li><a·class="el"·href="a00053_source.html">pipeline.hxx</a></li>610 <li><a·class="el"·href="a00044_source.html">pipeline.hxx</a></li>
611 <li><b>pipeline.cxx</b></li>611 <li><b>pipeline.cxx</b></li>
612 </ul>612 </ul>
613 </div><!--·contents·-->613 </div><!--·contents·-->
614 </div><!--·doc-content·-->614 </div><!--·doc-content·-->
615 <!--·start·footer·part·-->615 <!--·start·footer·part·-->
616 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->616 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
617 ··<ul>617 ··<ul>
2.1 KB
./usr/share/doc/libpqxx-doc/html/a01374.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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&lt;typename·TYPE·&gt;·</td></tr>74 <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"·id="r_a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplParams"·colspan="2">template&lt;typename·TYPE·&gt;·</td></tr>
75 <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>·(TYPE·const·&amp;)·const·noexcept</td></tr>75 <tr·class="memitem:a0fd3b5a46350462604443d359ed54c4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01374.html#a0fd3b5a46350462604443d359ed54c4b">extends_down_to</a>·(TYPE·const·&amp;)·const·noexcept</td></tr>
76 <tr·class="separator:a0fd3b5a46350462604443d359ed54c4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a0fd3b5a46350462604443d359ed54c4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"·id="r_ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"><td·class="memTemplParams"·colspan="2">template&lt;typename·TYPE·&gt;·</td></tr>77 <tr·class="memitem:ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"·id="r_ad1afc63e6dfd4d5e99a3d7fbe0e6a98e"><td·class="memTemplParams"·colspan="2">template&lt;typename·TYPE·&gt;·</td></tr>
Offset 138, 15 lines modifiedOffset 138, 15 lines modified
138 ··</tr>138 ··</tr>
139 </table>139 </table>
140 </div><div·class="memdoc">140 </div><div·class="memdoc">
  
141 </div>141 </div>
142 </div>142 </div>
143 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>143 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
144 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>144 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
145 </ul>145 </ul>
146 </div><!--·contents·-->146 </div><!--·contents·-->
147 </div><!--·doc-content·-->147 </div><!--·doc-content·-->
148 <!--·start·footer·part·-->148 <!--·start·footer·part·-->
149 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->149 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
150 ··<ul>150 ··<ul>
151 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01374.html">no_bound</a></li>151 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01374.html">no_bound</a></li>
2.21 KB
./usr/share/doc/libpqxx-doc/html/a01378.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::inclusive_bound&lt;·TYPE·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::inclusive_bound&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>75 <tr·class="separator:a669c68b6ac0918f80a69b95736832c84"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a0deabf26ce40e908889beb4c5b87856d"·id="r_a0deabf26ce40e908889beb4c5b87856d"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>·(TYPE·const·&amp;value)</td></tr>76 <tr·class="memitem:a0deabf26ce40e908889beb4c5b87856d"·id="r_a0deabf26ce40e908889beb4c5b87856d"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html#a0deabf26ce40e908889beb4c5b87856d">inclusive_bound</a>·(TYPE·const·&amp;value)</td></tr>
77 <tr·class="separator:a0deabf26ce40e908889beb4c5b87856d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a0deabf26ce40e908889beb4c5b87856d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 231, 15 lines modifiedOffset 231, 15 lines modified
231 ··</tr>231 ··</tr>
232 </table>232 </table>
233 </div><div·class="memdoc">233 </div><div·class="memdoc">
  
234 </div>234 </div>
235 </div>235 </div>
236 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>236 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
237 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>237 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
238 </ul>238 </ul>
239 </div><!--·contents·-->239 </div><!--·contents·-->
240 </div><!--·doc-content·-->240 </div><!--·doc-content·-->
241 <!--·start·footer·part·-->241 <!--·start·footer·part·-->
242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
243 ··<ul>243 ··<ul>
244 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01378.html">inclusive_bound</a></li>244 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01378.html">inclusive_bound</a></li>
2.21 KB
./usr/share/doc/libpqxx-doc/html/a01382.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::exclusive_bound&lt;·TYPE·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::exclusive_bound&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>75 <tr·class="separator:a28470b926f2137faf0dcc00d8d6480da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a4317352a83044b270d78bfae876b6f95"·id="r_a4317352a83044b270d78bfae876b6f95"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>·(TYPE·const·&amp;value)</td></tr>76 <tr·class="memitem:a4317352a83044b270d78bfae876b6f95"·id="r_a4317352a83044b270d78bfae876b6f95"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01382.html#a4317352a83044b270d78bfae876b6f95">exclusive_bound</a>·(TYPE·const·&amp;value)</td></tr>
77 <tr·class="separator:a4317352a83044b270d78bfae876b6f95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a4317352a83044b270d78bfae876b6f95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 231, 15 lines modifiedOffset 231, 15 lines modified
231 ··</tr>231 ··</tr>
232 </table>232 </table>
233 </div><div·class="memdoc">233 </div><div·class="memdoc">
  
234 </div>234 </div>
235 </div>235 </div>
236 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>236 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
237 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>237 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
238 </ul>238 </ul>
239 </div><!--·contents·-->239 </div><!--·contents·-->
240 </div><!--·doc-content·-->240 </div><!--·doc-content·-->
241 <!--·start·footer·part·-->241 <!--·start·footer·part·-->
242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
243 ··<ul>243 ··<ul>
244 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01382.html">exclusive_bound</a></li>244 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01382.html">exclusive_bound</a></li>
2.69 KB
./usr/share/doc/libpqxx-doc/html/a01386.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::range_bound&lt;·TYPE·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::range_bound&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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">&#160;</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">&#160;</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">&#160;</td></tr>75 <tr·class="separator:a837de69478ce48ab0abf10d7f15e8904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a84748fb8eca7213ba96d7fbebebad15d"·id="r_a84748fb8eca7213ba96d7fbebebad15d"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</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&#160;</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">&#160;</td></tr>77 <tr·class="separator:a84748fb8eca7213ba96d7fbebebad15d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 582, 15 lines modifiedOffset 582, 15 lines modified
582 <p>Return·bound·value,·or·<code>nullptr</code>·if·it's·not·limited.·</p>582 <p>Return·bound·value,·or·<code>nullptr</code>·if·it's·not·limited.·</p>
  
583 <p·class="reference">Referenced·by·<a·class="el"·href="a01386.html#a806f0f1a87561914eaf445e5159d891a">pqxx::range_bound&lt;·TYPE·&gt;::extends_down_to()</a>,·<a·class="el"·href="a01386.html#a0854916d7bbd20f2018a6a88f6852a91">pqxx::range_bound&lt;·TYPE·&gt;::extends_up_to()</a>,·<a·class="el"·href="a01386.html#ab54ca1e14829e58205d4863d8b4dc366">pqxx::range_bound&lt;·TYPE·&gt;::operator==()</a>,·and·<a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">pqxx::range&lt;·TYPE·&gt;::range()</a>.</p>583 <p·class="reference">Referenced·by·<a·class="el"·href="a01386.html#a806f0f1a87561914eaf445e5159d891a">pqxx::range_bound&lt;·TYPE·&gt;::extends_down_to()</a>,·<a·class="el"·href="a01386.html#a0854916d7bbd20f2018a6a88f6852a91">pqxx::range_bound&lt;·TYPE·&gt;::extends_up_to()</a>,·<a·class="el"·href="a01386.html#ab54ca1e14829e58205d4863d8b4dc366">pqxx::range_bound&lt;·TYPE·&gt;::operator==()</a>,·and·<a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">pqxx::range&lt;·TYPE·&gt;::range()</a>.</p>
  
584 </div>584 </div>
585 </div>585 </div>
586 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>586 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
587 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>587 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
588 </ul>588 </ul>
589 </div><!--·contents·-->589 </div><!--·contents·-->
590 </div><!--·doc-content·-->590 </div><!--·doc-content·-->
591 <!--·start·footer·part·-->591 <!--·start·footer·part·-->
592 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->592 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
593 ··<ul>593 ··<ul>
594 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01386.html">range_bound</a></li>594 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01386.html">range_bound</a></li>
2.63 KB
./usr/share/doc/libpqxx-doc/html/a01390.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::range&lt;·TYPE·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::range&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">range</a>·(<a·class="el"·href="a01386.html">range_bound</a>&lt;·TYPE·&gt;·lower,·<a·class="el"·href="a01386.html">range_bound</a>&lt;·TYPE·&gt;·upper)</td></tr>74 <tr·class="memitem:a61aebbd9da9a64135c92d8464e41e09c"·id="r_a61aebbd9da9a64135c92d8464e41e09c"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01390.html#a61aebbd9da9a64135c92d8464e41e09c">range</a>·(<a·class="el"·href="a01386.html">range_bound</a>&lt;·TYPE·&gt;·lower,·<a·class="el"·href="a01386.html">range_bound</a>&lt;·TYPE·&gt;·upper)</td></tr>
75 <tr·class="memdesc:a61aebbd9da9a64135c92d8464e41e09c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·range.··<br·/></td></tr>75 <tr·class="memdesc:a61aebbd9da9a64135c92d8464e41e09c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·range.··<br·/></td></tr>
76 <tr·class="separator:a61aebbd9da9a64135c92d8464e41e09c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a61aebbd9da9a64135c92d8464e41e09c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:af8bf753edbe8b8473a861ffa02af4b9b"·id="r_af8bf753edbe8b8473a861ffa02af4b9b"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</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>&lt;·TYPE·&gt;{TYPE{}}))</td></tr>77 <tr·class="memitem:af8bf753edbe8b8473a861ffa02af4b9b"·id="r_af8bf753edbe8b8473a861ffa02af4b9b"><td·class="memItemLeft"·align="right"·valign="top">constexpr&#160;</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>&lt;·TYPE·&gt;{TYPE{}}))</td></tr>
Offset 568, 15 lines modifiedOffset 568, 15 lines modified
568 </div><div·class="memdoc">568 </div><div·class="memdoc">
  
569 <p·class="reference">Referenced·by·<a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">pqxx::string_traits&lt;·range&lt;·TYPE·&gt;·&gt;::into_buf()</a>,·and·<a·class="el"·href="a01390.html#a2e0b08f5564191f8c0bdc9fbdb273d62">pqxx::range&lt;·TYPE·&gt;::operator&amp;()</a>.</p>569 <p·class="reference">Referenced·by·<a·class="el"·href="a01394.html#ad28290721e79b0222351f1fc7b9981db">pqxx::string_traits&lt;·range&lt;·TYPE·&gt;·&gt;::into_buf()</a>,·and·<a·class="el"·href="a01390.html#a2e0b08f5564191f8c0bdc9fbdb273d62">pqxx::range&lt;·TYPE·&gt;::operator&amp;()</a>.</p>
  
570 </div>570 </div>
571 </div>571 </div>
572 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>572 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
573 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>573 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
574 </ul>574 </ul>
575 </div><!--·contents·-->575 </div><!--·contents·-->
576 </div><!--·doc-content·-->576 </div><!--·doc-content·-->
577 <!--·start·footer·part·-->577 <!--·start·footer·part·-->
578 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->578 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
579 ··<ul>579 ··<ul>
580 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01390.html">range</a></li>580 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01390.html">range</a></li>
2.45 KB
./usr/share/doc/libpqxx-doc/html/a01394.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·range&lt;·TYPE·&gt;·&gt;·Struct·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·range&lt;·TYPE·&gt;·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</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>&#160;</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>&lt;·TYPE·&gt;·const·&amp;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>&#160;</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>&lt;·TYPE·&gt;·const·&amp;value)</td></tr>
75 <tr·class="separator:ad43d82b8daab137868cc74223c2fccb7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:ad43d82b8daab137868cc74223c2fccb7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:ad28290721e79b0222351f1fc7b9981db"·id="r_ad28290721e79b0222351f1fc7b9981db"><td·class="memItemLeft"·align="right"·valign="top">static·char·*&#160;</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>&lt;·TYPE·&gt;·const·&amp;value)</td></tr>76 <tr·class="memitem:ad28290721e79b0222351f1fc7b9981db"·id="r_ad28290721e79b0222351f1fc7b9981db"><td·class="memItemLeft"·align="right"·valign="top">static·char·*&#160;</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>&lt;·TYPE·&gt;·const·&amp;value)</td></tr>
77 <tr·class="separator:ad28290721e79b0222351f1fc7b9981db"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:ad28290721e79b0222351f1fc7b9981db"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 232, 15 lines modifiedOffset 232, 15 lines modified
232 ··</tr>232 ··</tr>
233 </table>233 </table>
234 </div><div·class="memdoc">234 </div><div·class="memdoc">
  
235 </div>235 </div>
236 </div>236 </div>
237 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>237 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
238 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>238 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
239 </ul>239 </ul>
240 </div><!--·contents·-->240 </div><!--·contents·-->
241 </div><!--·doc-content·-->241 </div><!--·doc-content·-->
242 <!--·start·footer·part·-->242 <!--·start·footer·part·-->
243 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->243 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
244 ··<ul>244 ··<ul>
245 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01394.html">string_traits&lt;·range&lt;·TYPE·&gt;·&gt;</a></li>245 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01394.html">string_traits&lt;·range&lt;·TYPE·&gt;·&gt;</a></li>
2.36 KB
./usr/share/doc/libpqxx-doc/html/a01398.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;·Struct·Template·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;·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·&lt;<a·class="el"·href="a00026_source.html">range.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">range.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;:</div>71 Inheritance·diagram·for·pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01397.png"·border="0"·usemap="#apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01397.png"·border="0"·usemap="#apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map">74 <map·name="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01range_3_01TYPE_01_4_01_4_inherit__map">
75 <area·shape="rect"·title="A·range·type·does·not·have·an·innate·null·value."·alt=""·coords="7,183,175,223"/>75 <area·shape="rect"·title="A·range·type·does·not·have·an·innate·null·value."·alt=""·coords="7,183,175,223"/>
76 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="10,93,171,133"/>76 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="10,93,171,133"/>
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>96 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>
97 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>98 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TYPE&gt;<br·/>100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TYPE&gt;<br·/>
101 struct·pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;</div><p>A·range·type·does·not·have·an·innate·null·value.·</p>101 struct·pqxx::nullness&lt;·range&lt;·TYPE·&gt;·&gt;</div><p>A·range·type·does·not·have·an·innate·null·value.·</p>
102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
103 <li><a·class="el"·href="a00026_source.html">range.hxx</a></li>103 <li><a·class="el"·href="a00029_source.html">range.hxx</a></li>
104 </ul>104 </ul>
105 </div><!--·contents·-->105 </div><!--·contents·-->
106 </div><!--·doc-content·-->106 </div><!--·doc-content·-->
107 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
109 ··<ul>109 ··<ul>
110 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01398.html">nullness&lt;·range&lt;·TYPE·&gt;·&gt;</a></li>110 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01398.html">nullness&lt;·range&lt;·TYPE·&gt;·&gt;</a></li>
2.16 KB
./usr/share/doc/libpqxx-doc/html/a01402.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00065_source.html">result.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00002_source.html">result.hxx</a>&gt;</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&#160;</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&#160;</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">&#160;</td></tr>76 <tr·class="separator:a45143316d9e7b9a658850326732d2786"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a94557b57aa090a8dd2c27bfa923934fd"·id="r_a94557b57aa090a8dd2c27bfa923934fd"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</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&#160;</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">&#160;</td></tr>78 <tr·class="separator:a94557b57aa090a8dd2c27bfa923934fd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 1417, 15 lines modifiedOffset 1417, 15 lines modified
1417 ··</tr>1417 ··</tr>
1418 </table>1418 </table>
1419 </div><div·class="memdoc">1419 </div><div·class="memdoc">
  
1420 </div>1420 </div>
1421 </div>1421 </div>
1422 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1422 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1423 <li><a·class="el"·href="a00065_source.html">result.hxx</a></li>1423 <li><a·class="el"·href="a00002_source.html">result.hxx</a></li>
1424 <li><b>result.cxx</b></li>1424 <li><b>result.cxx</b></li>
1425 </ul>1425 </ul>
1426 </div><!--·contents·-->1426 </div><!--·contents·-->
1427 </div><!--·doc-content·-->1427 </div><!--·doc-content·-->
1428 <!--·start·footer·part·-->1428 <!--·start·footer·part·-->
1429 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1429 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1430 ··<ul>1430 ··<ul>
1.84 KB
./usr/share/doc/libpqxx-doc/html/a01406.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00023_source.html">robusttransaction.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00077_source.html">robusttransaction.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div>73 Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01405.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01405.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map">76 <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map">
77 <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="15,152,169,192"/>77 <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="15,152,169,192"/>
78 <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/>78 <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/>
Offset 410, 15 lines modifiedOffset 410, 15 lines modified
410 ··</tr>410 ··</tr>
411 </table>411 </table>
412 </div><div·class="memdoc">412 </div><div·class="memdoc">
  
413 </div>413 </div>
414 </div>414 </div>
415 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>415 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
416 <li><a·class="el"·href="a00023_source.html">robusttransaction.hxx</a></li>416 <li><a·class="el"·href="a00077_source.html">robusttransaction.hxx</a></li>
417 <li><b>robusttransaction.cxx</b></li>417 <li><b>robusttransaction.cxx</b></li>
418 </ul>418 </ul>
419 </div><!--·contents·-->419 </div><!--·contents·-->
420 </div><!--·doc-content·-->420 </div><!--·doc-content·-->
421 <!--·start·footer·part·-->421 <!--·start·footer·part·-->
422 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->422 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
423 ··<ul>423 ··<ul>
931 B
./usr/share/doc/libpqxx-doc/html/a01414.html
    
Offset 59, 15 lines modifiedOffset 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&lt;·T·&gt;·Class·Template·Reference</div></div>62 ··<div·class="headertitle"><div·class="title">pqxx::internal::result_iter&lt;·T·&gt;·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="a00008_source.html">row.hxx</a></li>66 <li><a·class="el"·href="a00098_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>
2.14 KB
./usr/share/doc/libpqxx-doc/html/a01418.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00008_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">row.hxx</a>&gt;</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&#160;</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&#160;</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">&#160;</td></tr>76 <tr·class="separator:a245d26c7874b11abddb60bdb24f5ac74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a480e38e15f978e453bbd3b09be65c836"·id="r_a480e38e15f978e453bbd3b09be65c836"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</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&#160;</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">&#160;</td></tr>78 <tr·class="separator:a480e38e15f978e453bbd3b09be65c836"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 1549, 15 lines modifiedOffset 1549, 15 lines modified
1549 </div><div·class="memdoc">1549 </div><div·class="memdoc">
  
1550 <p>Result·set·of·which·this·is·one·row.·</p>1550 <p>Result·set·of·which·this·is·one·row.·</p>
  
1551 </div>1551 </div>
1552 </div>1552 </div>
1553 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1553 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1554 <li><a·class="el"·href="a00008_source.html">row.hxx</a></li>1554 <li><a·class="el"·href="a00098_source.html">row.hxx</a></li>
1555 <li><b>row.cxx</b></li>1555 <li><b>row.cxx</b></li>
1556 </ul>1556 </ul>
1557 </div><!--·contents·-->1557 </div><!--·contents·-->
1558 </div><!--·doc-content·-->1558 </div><!--·doc-content·-->
1559 <!--·start·footer·part·-->1559 <!--·start·footer·part·-->
1560 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1560 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1561 ··<ul>1561 ··<ul>
1.69 KB
./usr/share/doc/libpqxx-doc/html/a01422.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00008_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">row.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::const_row_iterator:</div>73 Inheritance·diagram·for·pqxx::const_row_iterator:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01421.png"·border="0"·usemap="#apqxx_1_1const__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01421.png"·border="0"·usemap="#apqxx_1_1const__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1const__row__iterator_inherit__map"·id="apqxx_1_1const__row__iterator_inherit__map">76 <map·name="apqxx_1_1const__row__iterator_inherit__map"·id="apqxx_1_1const__row__iterator_inherit__map">
77 <area·shape="rect"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>77 <area·shape="rect"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>
78 <area·shape="rect"·href="a01426.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/>78 <area·shape="rect"·href="a01426.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/>
Offset 1014, 15 lines modifiedOffset 1014, 15 lines modified
1014 ··</tr>1014 ··</tr>
1015 </table>1015 </table>
1016 </div><div·class="memdoc">1016 </div><div·class="memdoc">
  
1017 </div>1017 </div>
1018 </div>1018 </div>
1019 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1019 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1020 <li><a·class="el"·href="a00008_source.html">row.hxx</a></li>1020 <li><a·class="el"·href="a00098_source.html">row.hxx</a></li>
1021 <li><b>row.cxx</b></li>1021 <li><b>row.cxx</b></li>
1022 </ul>1022 </ul>
1023 </div><!--·contents·-->1023 </div><!--·contents·-->
1024 </div><!--·doc-content·-->1024 </div><!--·doc-content·-->
1025 <!--·start·footer·part·-->1025 <!--·start·footer·part·-->
1026 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1026 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1027 ··<ul>1027 ··<ul>
1.74 KB
./usr/share/doc/libpqxx-doc/html/a01426.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00008_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">row.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::const_reverse_row_iterator:</div>73 Inheritance·diagram·for·pqxx::const_reverse_row_iterator:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01425.png"·border="0"·usemap="#apqxx_1_1const__reverse__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01425.png"·border="0"·usemap="#apqxx_1_1const__reverse__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1const__reverse__row__iterator_inherit__map"·id="apqxx_1_1const__reverse__row__iterator_inherit__map">76 <map·name="apqxx_1_1const__reverse__row__iterator_inherit__map"·id="apqxx_1_1const__reverse__row__iterator_inherit__map">
77 <area·shape="rect"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/>77 <area·shape="rect"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,152,173,192"/>
78 <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>78 <area·shape="rect"·href="a01422.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,79,188,104"/>
Offset 867, 15 lines modifiedOffset 867, 15 lines modified
867 ··</tr>867 ··</tr>
868 </table>868 </table>
869 </div><div·class="memdoc">869 </div><div·class="memdoc">
  
870 </div>870 </div>
871 </div>871 </div>
872 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>872 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
873 <li><a·class="el"·href="a00008_source.html">row.hxx</a></li>873 <li><a·class="el"·href="a00098_source.html">row.hxx</a></li>
874 <li><b>row.cxx</b></li>874 <li><b>row.cxx</b></li>
875 </ul>875 </ul>
876 </div><!--·contents·-->876 </div><!--·contents·-->
877 </div><!--·doc-content·-->877 </div><!--·doc-content·-->
878 <!--·start·footer·part·-->878 <!--·start·footer·part·-->
879 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->879 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
880 ··<ul>880 ··<ul>
2.25 KB
./usr/share/doc/libpqxx-doc/html/a01430.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·TYPE,·ENABLE·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·TYPE,·ENABLE·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>·(TYPE·const·&amp;value)</td></tr>75 <tr·class="memitem:a309fcad467f815a9fbccbea0c2a6608a"·id="r_a309fcad467f815a9fbccbea0c2a6608a"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a309fcad467f815a9fbccbea0c2a6608a">is_null</a>·(TYPE·const·&amp;value)</td></tr>
76 <tr·class="memdesc:a309fcad467f815a9fbccbea0c2a6608a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·<code>value</code>·a·null?··<br·/></td></tr>76 <tr·class="memdesc:a309fcad467f815a9fbccbea0c2a6608a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·<code>value</code>·a·null?··<br·/></td></tr>
77 <tr·class="separator:a309fcad467f815a9fbccbea0c2a6608a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a309fcad467f815a9fbccbea0c2a6608a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
78 <tr·class="memitem:a475f5e490aabd4934aa63a621ecfd0ab"·id="r_a475f5e490aabd4934aa63a621ecfd0ab"><td·class="memItemLeft"·align="right"·valign="top">static·TYPE&#160;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01430.html#a475f5e490aabd4934aa63a621ecfd0ab">null</a>·()</td></tr>
Offset 208, 15 lines modifiedOffset 208, 15 lines modified
208 </div><div·class="memdoc">208 </div><div·class="memdoc">
  
209 <p>Does·this·type·have·a·null·value?·</p>209 <p>Does·this·type·have·a·null·value?·</p>
  
210 </div>210 </div>
211 </div>211 </div>
212 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>212 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
213 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>213 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
214 </ul>214 </ul>
215 </div><!--·contents·-->215 </div><!--·contents·-->
216 </div><!--·doc-content·-->216 </div><!--·doc-content·-->
217 <!--·start·footer·part·-->217 <!--·start·footer·part·-->
218 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->218 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
219 ··<ul>219 ··<ul>
220 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01430.html">nullness</a></li>220 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01430.html">nullness</a></li>
2.21 KB
./usr/share/doc/libpqxx-doc/html/a01434.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::no_null&lt;·TYPE·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::no_null&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::no_null&lt;·TYPE·&gt;:</div>73 Inheritance·diagram·for·pqxx::no_null&lt;·TYPE·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01433.png"·border="0"·usemap="#apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01433.png"·border="0"·usemap="#apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map">76 <map·name="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1no__null_3_01TYPE_01_4_inherit__map">
77 <area·shape="rect"·title="Nullness·traits·describing·a·type·which·does·not·have·a·null·value."·alt=""·coords="5,84,176,109"/>77 <area·shape="rect"·title="Nullness·traits·describing·a·type·which·does·not·have·a·null·value."·alt=""·coords="5,84,176,109"/>
78 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="377,24,555,49"/>78 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="377,24,555,49"/>
Offset 196, 15 lines modifiedOffset 196, 15 lines modified
196 <p>For·example,·a·pointer·can·equal·<code>nullptr</code>,·which·makes·a·very·natural·representation·of·an·SQL·null·value.·For·such·types,·the·code·sometimes·needs·to·make·special·allowances.</p>196 <p>For·example,·a·pointer·can·equal·<code>nullptr</code>,·which·makes·a·very·natural·representation·of·an·SQL·null·value.·For·such·types,·the·code·sometimes·needs·to·make·special·allowances.</p>
197 <p>for·most·types,·such·as·<code>int</code>·or·<code>std::string</code>,·there·is·no·built-in·null.·If·you·want·to·represent·an·SQL·null·value·for·such·a·type,·you·would·have·to·wrap·it·in·something·that·does·have·a·null·value.·For·example,·you·could·use·<code>std::optional&lt;int&gt;</code>·for·"either·an·@c·int·or·a197 <p>for·most·types,·such·as·<code>int</code>·or·<code>std::string</code>,·there·is·no·built-in·null.·If·you·want·to·represent·an·SQL·null·value·for·such·a·type,·you·would·have·to·wrap·it·in·something·that·does·have·a·null·value.·For·example,·you·could·use·<code>std::optional&lt;int&gt;</code>·for·"either·an·@c·int·or·a
198 null·value."·</p>198 null·value."·</p>
  
199 </div>199 </div>
200 </div>200 </div>
201 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>201 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
202 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>202 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
203 </ul>203 </ul>
204 </div><!--·contents·-->204 </div><!--·contents·-->
205 </div><!--·doc-content·-->205 </div><!--·doc-content·-->
206 <!--·start·footer·part·-->206 <!--·start·footer·part·-->
207 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->207 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
208 ··<ul>208 ··<ul>
209 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01434.html">no_null</a></li>209 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01434.html">no_null</a></li>
2.44 KB
./usr/share/doc/libpqxx-doc/html/a01438.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·TYPE·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</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>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">to_buf</a>·(char·*begin,·char·*end,·TYPE·const·&amp;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>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#a81b2526f70d7191c37e36fb78530b977">to_buf</a>·(char·*begin,·char·*end,·TYPE·const·&amp;value)</td></tr>
76 <tr·class="memdesc:a81b2526f70d7191c37e36fb78530b977"><td·class="mdescLeft">&#160;</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">&#160;</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">&#160;</td></tr>77 <tr·class="separator:a81b2526f70d7191c37e36fb78530b977"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
78 <tr·class="memitem:ad0fa1a3d75ba56a58c39822d25c14a0c"·id="r_ad0fa1a3d75ba56a58c39822d25c14a0c"><td·class="memItemLeft"·align="right"·valign="top">static·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#ad0fa1a3d75ba56a58c39822d25c14a0c">into_buf</a>·(char·*begin,·char·*end,·TYPE·const·&amp;value)</td></tr>78 <tr·class="memitem:ad0fa1a3d75ba56a58c39822d25c14a0c"·id="r_ad0fa1a3d75ba56a58c39822d25c14a0c"><td·class="memItemLeft"·align="right"·valign="top">static·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01438.html#ad0fa1a3d75ba56a58c39822d25c14a0c">into_buf</a>·(char·*begin,·char·*end,·TYPE·const·&amp;value)</td></tr>
Offset 330, 15 lines modifiedOffset 330, 15 lines modified
  
330 <p>Is·conversion·from·<code>TYPE</code>·to·strings·supported?·</p>330 <p>Is·conversion·from·<code>TYPE</code>·to·strings·supported?·</p>
331 <p>When·defining·your·own·conversions,·specialise·this·as·<code>true</code>·to·indicate·that·your·string·traits·support·the·conversions·to·strings.·</p>331 <p>When·defining·your·own·conversions,·specialise·this·as·<code>true</code>·to·indicate·that·your·string·traits·support·the·conversions·to·strings.·</p>
  
332 </div>332 </div>
333 </div>333 </div>
334 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>334 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
335 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>335 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
336 <li><b>strconv.cxx</b></li>336 <li><b>strconv.cxx</b></li>
337 </ul>337 </ul>
338 </div><!--·contents·-->338 </div><!--·contents·-->
339 </div><!--·doc-content·-->339 </div><!--·doc-content·-->
340 <!--·start·footer·part·-->340 <!--·start·footer·part·-->
341 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->341 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
342 ··<ul>342 ··<ul>
1.76 KB
./usr/share/doc/libpqxx-doc/html/a01442.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::forbidden_conversion&lt;·TYPE·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::forbidden_conversion&lt;·TYPE·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::forbidden_conversion&lt;·TYPE·&gt;:</div>73 Inheritance·diagram·for·pqxx::forbidden_conversion&lt;·TYPE·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01441.png"·border="0"·usemap="#apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01441.png"·border="0"·usemap="#apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map">76 <map·name="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map"·id="apqxx_1_1forbidden__conversion_3_01TYPE_01_4_inherit__map">
77 <area·shape="rect"·title="String·traits·for·a·forbidden·type·conversion."·alt=""·coords="5,101,208,141"/>77 <area·shape="rect"·title="String·traits·for·a·forbidden·type·conversion."·alt=""·coords="5,101,208,141"/>
78 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="381,5,584,45"/>78 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="381,5,584,45"/>
Offset 309, 15 lines modifiedOffset 309, 15 lines modified
309 ··</tr>309 ··</tr>
310 </table>310 </table>
311 </div><div·class="memdoc">311 </div><div·class="memdoc">
  
312 </div>312 </div>
313 </div>313 </div>
314 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>314 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
315 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>315 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
316 </ul>316 </ul>
317 </div><!--·contents·-->317 </div><!--·contents·-->
318 </div><!--·doc-content·-->318 </div><!--·doc-content·-->
319 <!--·start·footer·part·-->319 <!--·start·footer·part·-->
320 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->320 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
321 ··<ul>321 ··<ul>
322 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01442.html">forbidden_conversion</a></li>322 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01442.html">forbidden_conversion</a></li>
2.63 KB
./usr/share/doc/libpqxx-doc/html/a01446.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char·&gt;·Struct·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::string_traits&lt;·char·&gt;:</div>71 Inheritance·diagram·for·pqxx::string_traits&lt;·char·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01445.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01445.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1string__traits_3_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01char_01_4_inherit__map">74 <map·name="apqxx_1_1string__traits_3_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01char_01_4_inherit__map">
75 <area·shape="rect"·title="You·cannot·convert·a·char·to/from·SQL."·alt=""·coords="37,197,177,237"/>75 <area·shape="rect"·title="You·cannot·convert·a·char·to/from·SQL."·alt=""·coords="37,197,177,237"/>
76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock"><p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·</p>103 <div·class="textblock"><p>You·cannot·convert·a·<code>char</code>·to/from·SQL.·</p>
104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·If·so,·did·you·mean·it·to·be·signed·or·unsigned?·(The·C++·Standard·allows·the·system·to·implement·<code>char</code>·as·either·a·signed·type·or·an·unsigned·type.)·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·If·so,·did·you·mean·it·to·be·signed·or·unsigned?·(The·C++·Standard·allows·the·system·to·implement·<code>char</code>·as·either·a·signed·type·or·an·unsigned·type.)·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>
105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p>105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p>
106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>
107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>
108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>109 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
113 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
115 ··<ul>115 ··<ul>
116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01446.html">string_traits&lt;·char·&gt;</a></li>116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01446.html">string_traits&lt;·char·&gt;</a></li>
2.56 KB
./usr/share/doc/libpqxx-doc/html/a01450.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·unsigned·char·&gt;·Struct·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·unsigned·char·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::string_traits&lt;·unsigned·char·&gt;:</div>71 Inheritance·diagram·for·pqxx::string_traits&lt;·unsigned·char·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01449.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01449.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map">74 <map·name="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01unsigned_01char_01_4_inherit__map">
75 <area·shape="rect"·title="You·cannot·convert·an·unsigned·char·to/from·SQL."·alt=""·coords="35,197,178,237"/>75 <area·shape="rect"·title="You·cannot·convert·an·unsigned·char·to/from·SQL."·alt=""·coords="35,197,178,237"/>
76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock"><p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·</p>103 <div·class="textblock"><p>You·cannot·convert·an·<code>unsigned·char</code>·to/from·SQL.·</p>
104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·<code>char</code>·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·using·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>
105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p>105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·or·<code>unsigned·int</code>·etc.</p>
106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>
107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>
108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>109 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
113 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
115 ··<ul>115 ··<ul>
116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01450.html">string_traits&lt;·unsigned·char·&gt;</a></li>116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01450.html">string_traits&lt;·unsigned·char·&gt;</a></li>
2.49 KB
./usr/share/doc/libpqxx-doc/html/a01454.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·signed·char·&gt;·Struct·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·signed·char·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::string_traits&lt;·signed·char·&gt;:</div>71 Inheritance·diagram·for·pqxx::string_traits&lt;·signed·char·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01453.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01453.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map">74 <map·name="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01signed_01char_01_4_inherit__map">
75 <area·shape="rect"·title="You·cannot·convert·a·signed·char·to/from·SQL."·alt=""·coords="37,197,177,237"/>75 <area·shape="rect"·title="You·cannot·convert·a·signed·char·to/from·SQL."·alt=""·coords="37,197,177,237"/>
76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock"><p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·</p>103 <div·class="textblock"><p>You·cannot·convert·a·<code>signed·char</code>·to/from·SQL.·</p>
104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·in·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>104 <p>Converting·this·type·may·seem·simple·enough,·but·it's·ambiguous:·Did·you·mean·the·value·as·a·small·integer?·Or·were·you·thinking·of·a·single-character·string·(and·if·so,·in·what·encoding)?·Or·perhaps·it's·just·a·raw·byte·value?</p>
105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·etc.</p>105 <p>If·you·meant·it·as·an·integer,·use·an·appropriate·integral·type·such·as·<code>int</code>·or·<code>short</code>·etc.</p>
106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>106 <p>If·you·wanted·a·single-character·string,·use·<code>std::string_view</code>·(or·a·similar·type·such·as·<code>std::string</code>).</p>
107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>107 <p>Or·if·you·had·a·raw·byte·in·mind,·try·<code>std::basic_string_view&lt;std::byte&gt;</code>·instead.·</p>
108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>109 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
113 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
115 ··<ul>115 ··<ul>
116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01454.html">string_traits&lt;·signed·char·&gt;</a></li>116 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01454.html">string_traits&lt;·signed·char·&gt;</a></li>
2.29 KB
./usr/share/doc/libpqxx-doc/html/a01458.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::byte·&gt;·Struct·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::byte·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::string_traits&lt;·std::byte·&gt;:</div>71 Inheritance·diagram·for·pqxx::string_traits&lt;·std::byte·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01457.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01457.png"·border="0"·usemap="#apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map">74 <map·name="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map"·id="apqxx_1_1string__traits_3_01std_1_1byte_01_4_inherit__map">
75 <area·shape="rect"·title="You·cannot·convert·a·std::byte·to/from·SQL."·alt=""·coords="37,197,177,237"/>75 <area·shape="rect"·title="You·cannot·convert·a·std::byte·to/from·SQL."·alt=""·coords="37,197,177,237"/>
76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>76 <area·shape="rect"·href="a01442.html"·title="·"·alt=""·coords="5,108,208,148"/>
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 <tr·class="separator:a37c0ece1279b898256bb9b0e62826646·inherit·pub_static_attribs_a01442"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a37c0ece1279b898256bb9b0e62826646·inherit·pub_static_attribs_a01442"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>101 </table>
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock"><p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·</p>103 <div·class="textblock"><p>You·cannot·convert·a·<code>std::byte</code>·to/from·SQL.·</p>
104 <p>To·convert·a·raw·byte·value,·use·a·<code>std::basic_string_view&lt;std::byte&gt;</code>.</p>104 <p>To·convert·a·raw·byte·value,·use·a·<code>std::basic_string_view&lt;std::byte&gt;</code>.</p>
105 <p>For·example,·to·convert·a·byte·<code>b</code>·from·C++·to·SQL,·convert·the·value·<code>std::basic_string_view&lt;std::byte&gt;{&amp;b,·1}</code>·instead.·</p>105 <p>For·example,·to·convert·a·byte·<code>b</code>·from·C++·to·SQL,·convert·the·value·<code>std::basic_string_view&lt;std::byte&gt;{&amp;b,·1}</code>·instead.·</p>
106 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>106 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
107 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>107 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
108 </ul>108 </ul>
109 </div><!--·contents·-->109 </div><!--·contents·-->
110 </div><!--·doc-content·-->110 </div><!--·doc-content·-->
111 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
112 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->112 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
113 ··<ul>113 ··<ul>
114 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01458.html">string_traits&lt;·std::byte·&gt;</a></li>114 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01458.html">string_traits&lt;·std::byte·&gt;</a></li>
2.69 KB
./usr/share/doc/libpqxx-doc/html/a01462.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;·Struct·Template·Reference</div></div>64 ··<div·class="headertitle"><div·class="title">pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</code></p>
70 <div·class="dynheader">70 <div·class="dynheader">
71 Inheritance·diagram·for·pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;:</div>71 Inheritance·diagram·for·pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;:</div>
72 <div·class="dyncontent">72 <div·class="dyncontent">
73 <div·class="center"><img·src="a01461.png"·border="0"·usemap="#apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01461.png"·border="0"·usemap="#apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
74 <map·name="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map">74 <map·name="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map"·id="apqxx_1_1nullness_3_01ENUM_00_01std_1_1enable__if__t_3_01std_1_1is__enum__v_3_01ENUM_01_4_01_4_01_4_inherit__map">
75 <area·shape="rect"·title="Nullness:·Enums·do·not·have·an·inherent·null·value."·alt=""·coords="5,168,205,223"/>75 <area·shape="rect"·title="Nullness:·Enums·do·not·have·an·inherent·null·value."·alt=""·coords="5,168,205,223"/>
76 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="16,93,195,119"/>76 <area·shape="rect"·href="a01434.html"·title="·"·alt=""·coords="16,93,195,119"/>
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>96 <tr·class="memdesc:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·all·values·of·this·type·null?··<br·/></td></tr>
97 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a869b17b2eee5f2495386ce445fa4b2f1·inherit·pub_static_attribs_a01434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>98 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·ENUM&gt;<br·/>100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·ENUM&gt;<br·/>
101 struct·pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;</div><p>Nullness:·Enums·do·not·have·an·inherent·null·value.·</p>101 struct·pqxx::nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;</div><p>Nullness:·Enums·do·not·have·an·inherent·null·value.·</p>
102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
103 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>103 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
104 </ul>104 </ul>
105 </div><!--·contents·-->105 </div><!--·contents·-->
106 </div><!--·doc-content·-->106 </div><!--·doc-content·-->
107 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
109 ··<ul>109 ··<ul>
110 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01462.html">nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;</a></li>110 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01462.html">nullness&lt;·ENUM,·std::enable_if_t&lt;·std::is_enum_v&lt;·ENUM·&gt;·&gt;·&gt;</a></li>
2.36 KB
./usr/share/doc/libpqxx-doc/html/a01466.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::internal::enum_traits&lt;·ENUM·&gt;·Struct·Template·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::internal::enum_traits&lt;·ENUM·&gt;·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·&lt;<a·class="el"·href="a00017_source.html">strconv.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00080_source.html">strconv.hxx</a>&gt;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·=·std::underlying_type_t&lt;·ENUM·&gt;</td></tr>76 <tr·class="memitem:ac7d8b63cc17a504cb8d0ae52381f925a"·id="r_ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·=·std::underlying_type_t&lt;·ENUM·&gt;</td></tr>
77 <tr·class="separator:ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:ac7d8b63cc17a504cb8d0ae52381f925a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
78 <tr·class="memitem:a0738a13461cb8e13a61e3ef1123b3e7e"·id="r_a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</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>&lt;·<a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·&gt;</td></tr>78 <tr·class="memitem:a0738a13461cb8e13a61e3ef1123b3e7e"·id="r_a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</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>&lt;·<a·class="el"·href="a01466.html#ac7d8b63cc17a504cb8d0ae52381f925a">impl_type</a>·&gt;</td></tr>
79 <tr·class="separator:a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>79 <tr·class="separator:a0738a13461cb8e13a61e3ef1123b3e7e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 336, 15 lines modifiedOffset 336, 15 lines modified
336 ··</tr>336 ··</tr>
337 </table>337 </table>
338 </div><div·class="memdoc">338 </div><div·class="memdoc">
  
339 </div>339 </div>
340 </div>340 </div>
341 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>341 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
342 <li><a·class="el"·href="a00017_source.html">strconv.hxx</a></li>342 <li><a·class="el"·href="a00080_source.html">strconv.hxx</a></li>
343 </ul>343 </ul>
344 </div><!--·contents·-->344 </div><!--·contents·-->
345 </div><!--·doc-content·-->345 </div><!--·doc-content·-->
346 <!--·start·footer·part·-->346 <!--·start·footer·part·-->
347 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->347 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
348 ··<ul>348 ··<ul>
349 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01466.html">enum_traits</a></li>349 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00251.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01466.html">enum_traits</a></li>
1.79 KB
./usr/share/doc/libpqxx-doc/html/a01470.html
    
Offset 67, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00041_source.html">stream_from.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">stream_from.hxx</a>&gt;</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&#39;s·attention."·alt=""·coords="5,5,183,31"/>79 <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction&#39;s·attention."·alt=""·coords="5,5,183,31"/>
Offset 893, 15 lines modifiedOffset 893, 15 lines modified
893 <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>.</p>893 <p·class="reference">References·<a·class="el"·href="a01490.html#a246823d52c9943fd5b634ae5c47fe11a">pqxx::transaction_base::conn()</a>.</p>
  
894 <p·class="reference">Referenced·by·<a·class="el"·href="a01470.html#a3c4cd42c50e3e90282ea5570ddb19e70">stream_from()</a>.</p>894 <p·class="reference">Referenced·by·<a·class="el"·href="a01470.html#a3c4cd42c50e3e90282ea5570ddb19e70">stream_from()</a>.</p>
  
895 </div>895 </div>
896 </div>896 </div>
897 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>897 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
898 <li><a·class="el"·href="a00041_source.html">stream_from.hxx</a></li>898 <li><a·class="el"·href="a00017_source.html">stream_from.hxx</a></li>
899 <li><b>stream_from.cxx</b></li>899 <li><b>stream_from.cxx</b></li>
900 </ul>900 </ul>
901 </div><!--·contents·-->901 </div><!--·contents·-->
902 </div><!--·doc-content·-->902 </div><!--·doc-content·-->
903 <!--·start·footer·part·-->903 <!--·start·footer·part·-->
904 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->904 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
905 ··<ul>905 ··<ul>
1.68 KB
./usr/share/doc/libpqxx-doc/html/a01474.html
    
Offset 66, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00029_source.html">stream_to.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">stream_to.hxx</a>&gt;</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&#39;s·attention."·alt=""·coords="5,5,183,31"/>78 <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction&#39;s·attention."·alt=""·coords="5,5,183,31"/>
Offset 594, 15 lines modifiedOffset 594, 15 lines modified
  
594 <p>Insert·values·as·a·row.·</p>594 <p>Insert·values·as·a·row.·</p>
595 <p>This·is·the·recommended·way·of·inserting·data.·Pass·your·field·values,·of·any·convertible·type.·</p>595 <p>This·is·the·recommended·way·of·inserting·data.·Pass·your·field·values,·of·any·convertible·type.·</p>
  
596 </div>596 </div>
597 </div>597 </div>
598 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>598 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
599 <li><a·class="el"·href="a00029_source.html">stream_to.hxx</a></li>599 <li><a·class="el"·href="a00047_source.html">stream_to.hxx</a></li>
600 <li><b>stream_to.cxx</b></li>600 <li><b>stream_to.cxx</b></li>
601 </ul>601 </ul>
602 </div><!--·contents·-->602 </div><!--·contents·-->
603 </div><!--·doc-content·-->603 </div><!--·doc-content·-->
604 <!--·start·footer·part·-->604 <!--·start·footer·part·-->
605 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->605 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
606 ··<ul>606 ··<ul>
1.73 KB
./usr/share/doc/libpqxx-doc/html/a01478.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00002_source.html">subtransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">subtransaction.hxx</a>&gt;</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="&quot;Transaction&quot;·nested·within·another·transaction"·alt=""·coords="108,152,267,177"/>76 <area·shape="rect"·title="&quot;Transaction&quot;·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&#39;s·attention."·alt=""·coords="5,79,183,104"/>77 <area·shape="rect"·href="a01494.html"·title="Base·class·for·things·that·monopolise·a·transaction&#39;s·attention."·alt=""·coords="5,79,183,104"/>
Offset 482, 15 lines modifiedOffset 482, 15 lines modified
482 ··</tr>482 ··</tr>
483 </table>483 </table>
484 </div><div·class="memdoc">484 </div><div·class="memdoc">
  
485 </div>485 </div>
486 </div>486 </div>
487 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>487 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
488 <li><a·class="el"·href="a00002_source.html">subtransaction.hxx</a></li>488 <li><a·class="el"·href="a00020_source.html">subtransaction.hxx</a></li>
489 <li><b>subtransaction.cxx</b></li>489 <li><b>subtransaction.cxx</b></li>
490 </ul>490 </ul>
491 </div><!--·contents·-->491 </div><!--·contents·-->
492 </div><!--·doc-content·-->492 </div><!--·doc-content·-->
493 <!--·start·footer·part·-->493 <!--·start·footer·part·-->
494 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->494 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
495 ··<ul>495 ··<ul>
1.77 KB
./usr/share/doc/libpqxx-doc/html/a01482.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00068_source.html">transaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00095_source.html">transaction.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal::basic_transaction:</div>72 Inheritance·diagram·for·pqxx::internal::basic_transaction:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01481.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__transaction_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01481.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__transaction_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal_1_1basic__transaction_inherit__map"·id="apqxx_1_1internal_1_1basic__transaction_inherit__map">75 <map·name="apqxx_1_1internal_1_1basic__transaction_inherit__map"·id="apqxx_1_1internal_1_1basic__transaction_inherit__map">
76 <area·shape="rect"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="15,152,169,192"/>76 <area·shape="rect"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="15,152,169,192"/>
77 <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/>77 <area·shape="rect"·href="a01134.html"·title="Abstract·transaction·base·class:·bracket·transactions·on·the·database."·alt=""·coords="17,79,167,104"/>
Offset 463, 15 lines modifiedOffset 463, 15 lines modified
463 ··</tr>463 ··</tr>
464 </table>464 </table>
465 </div><div·class="memdoc">465 </div><div·class="memdoc">
  
466 </div>466 </div>
467 </div>467 </div>
468 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>468 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
469 <li><a·class="el"·href="a00068_source.html">transaction.hxx</a></li>469 <li><a·class="el"·href="a00095_source.html">transaction.hxx</a></li>
470 <li><b>transaction.cxx</b></li>470 <li><b>transaction.cxx</b></li>
471 </ul>471 </ul>
472 </div><!--·contents·-->472 </div><!--·contents·-->
473 </div><!--·doc-content·-->473 </div><!--·doc-content·-->
474 <!--·start·footer·part·-->474 <!--·start·footer·part·-->
475 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->475 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
476 ··<ul>476 ··<ul>
1.85 KB
./usr/share/doc/libpqxx-doc/html/a01490.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00005_source.html">transaction_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">transaction_base.hxx</a>&gt;</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·&quot;transaction&quot;·classes."·alt=""·coords="5,102,179,127"/>76 <area·shape="rect"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·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 2294, 15 lines modifiedOffset 2294, 15 lines modified
2294 ··</tr>2294 ··</tr>
2295 </table>2295 </table>
2296 </div><div·class="memdoc">2296 </div><div·class="memdoc">
  
2297 </div>2297 </div>
2298 </div>2298 </div>
2299 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2299 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2300 <li><a·class="el"·href="a00005_source.html">transaction_base.hxx</a></li>2300 <li><a·class="el"·href="a00089_source.html">transaction_base.hxx</a></li>
2301 <li><b>transaction_base.cxx</b></li>2301 <li><b>transaction_base.cxx</b></li>
2302 </ul>2302 </ul>
2303 </div><!--·contents·-->2303 </div><!--·contents·-->
2304 </div><!--·doc-content·-->2304 </div><!--·doc-content·-->
2305 <!--·start·footer·part·-->2305 <!--·start·footer·part·-->
2306 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->2306 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
2307 ··<ul>2307 ··<ul>
1.7 KB
./usr/share/doc/libpqxx-doc/html/a01494.html
    
Offset 67, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00092_source.html">transaction_focus.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00041_source.html">transaction_focus.hxx</a>&gt;</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&#39;s·attention."·alt=""·coords="209,5,386,31"/>78 <area·shape="rect"·title="Base·class·for·things·that·monopolise·a·transaction&#39;s·attention."·alt=""·coords="209,5,386,31"/>
79 <area·shape="rect"·href="a01366.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,79,120,104"/>79 <area·shape="rect"·href="a01366.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,79,120,104"/>
Offset 545, 15 lines modifiedOffset 545, 15 lines modified
545 ··</tr>545 ··</tr>
546 </table>546 </table>
547 </div><div·class="memdoc">547 </div><div·class="memdoc">
  
548 </div>548 </div>
549 </div>549 </div>
550 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>550 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
551 <li><a·class="el"·href="a00092_source.html">transaction_focus.hxx</a></li>551 <li><a·class="el"·href="a00041_source.html">transaction_focus.hxx</a></li>
552 <li><b>transaction_base.cxx</b></li>552 <li><b>transaction_base.cxx</b></li>
553 </ul>553 </ul>
554 </div><!--·contents·-->554 </div><!--·contents·-->
555 </div><!--·doc-content·-->555 </div><!--·doc-content·-->
556 <!--·start·footer·part·-->556 <!--·start·footer·part·-->
557 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->557 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
558 ··<ul>558 ··<ul>
2.32 KB
./usr/share/doc/libpqxx-doc/html/a01506.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00014_source.html">util.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">util.hxx</a>&gt;</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&#160;</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&#160;</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">&#160;</td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<br·/></td></tr>75 <tr·class="memdesc:a3fe3fa8e530712e5228d2b5379871540"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<br·/></td></tr>
76 <tr·class="separator:a3fe3fa8e530712e5228d2b5379871540"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a3fe3fa8e530712e5228d2b5379871540"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:abe3528c0d2e42d6e98d80f0b45d79002"·id="r_abe3528c0d2e42d6e98d80f0b45d79002"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</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&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html#abe3528c0d2e42d6e98d80f0b45d79002">safe_kerberos</a>·=·false</td></tr>
Offset 140, 15 lines modifiedOffset 140, 15 lines modified
140 <p>Is·the·underlying·libpq·build·thread-safe?·</p>140 <p>Is·the·underlying·libpq·build·thread-safe?·</p>
  
141 <p·class="reference">Referenced·by·<a·class="el"·href="a00250.html#a9b0f6310d503591513a899899d20526e">pqxx::describe_thread_safety()</a>.</p>141 <p·class="reference">Referenced·by·<a·class="el"·href="a00250.html#a9b0f6310d503591513a899899d20526e">pqxx::describe_thread_safety()</a>.</p>
  
142 </div>142 </div>
143 </div>143 </div>
144 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>144 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
145 <li><a·class="el"·href="a00014_source.html">util.hxx</a></li>145 <li><a·class="el"·href="a00074_source.html">util.hxx</a></li>
146 </ul>146 </ul>
147 </div><!--·contents·-->147 </div><!--·contents·-->
148 </div><!--·doc-content·-->148 </div><!--·doc-content·-->
149 <!--·start·footer·part·-->149 <!--·start·footer·part·-->
150 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->150 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
151 ··<ul>151 ··<ul>
152 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01506.html">thread_safety_model</a></li>152 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01506.html">thread_safety_model</a></li>
1.97 KB
./usr/share/doc/libpqxx-doc/html/a01510.html
    
Offset 65, 15 lines modifiedOffset 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·&lt;<a·class="el"·href="a00107_source.html">zview.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">zview.hxx</a>&gt;</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&#45;type·wrapper:·zero&#45;terminated·std::string_view."·alt=""·coords="39,167,139,192"/>76 <area·shape="rect"·title="Marker&#45;type·wrapper:·zero&#45;terminated·std::string_view."·alt=""·coords="39,167,139,192"/>
77 <area·shape="rect"·title="·"·alt=""·coords="26,93,151,119"/>77 <area·shape="rect"·title="·"·alt=""·coords="26,93,151,119"/>
Offset 399, 15 lines modifiedOffset 399, 15 lines modified
399 <p>Either·a·null·pointer,·or·a·zero-terminated·text·buffer.·</p>399 <p>Either·a·null·pointer,·or·a·zero-terminated·text·buffer.·</p>
  
400 <p·class="reference">Referenced·by·<a·class="el"·href="a01402.html#a82b0f360dc1be25306ee58b27856457f">pqxx::result::column_number()</a>,·<a·class="el"·href="a00250.html#a204a7f521845d2fa16035b60eab9ddbb">pqxx::encrypt_password()</a>,·and·<a·class="el"·href="a01110.html#a0724de6ed0e9b65267967adaa34c4f78">pqxx::connection::encrypt_password()</a>.</p>400 <p·class="reference">Referenced·by·<a·class="el"·href="a01402.html#a82b0f360dc1be25306ee58b27856457f">pqxx::result::column_number()</a>,·<a·class="el"·href="a00250.html#a204a7f521845d2fa16035b60eab9ddbb">pqxx::encrypt_password()</a>,·and·<a·class="el"·href="a01110.html#a0724de6ed0e9b65267967adaa34c4f78">pqxx::connection::encrypt_password()</a>.</p>
  
401 </div>401 </div>
402 </div>402 </div>
403 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>403 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
404 <li><a·class="el"·href="a00107_source.html">zview.hxx</a></li>404 <li><a·class="el"·href="a00083_source.html">zview.hxx</a></li>
405 </ul>405 </ul>
406 </div><!--·contents·-->406 </div><!--·contents·-->
407 </div><!--·doc-content·-->407 </div><!--·doc-content·-->
408 <!--·start·footer·part·-->408 <!--·start·footer·part·-->
409 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->409 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
410 ··<ul>410 ··<ul>
411 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01510.html">zview</a></li>411 ····<li·class="navelem"><a·class="el"·href="a00250.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01510.html">zview</a></li>
20.5 KB
./usr/share/doc/libpqxx-doc/html/dir_3d7cbfaf9a6edea0a348c9e21a88d076.html
    
Offset 76, 93 lines modifiedOffset 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>&#160;</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>&#160;</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">&#160;</td></tr>79 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="a00116_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>array.hxx</b></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>array.hxx</b></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>binarystring.hxx</b></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00119_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>binarystring.hxx</b></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00050_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>blob.hxx</b></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00050_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>blob.hxx</b></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00071_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>composite.hxx</b></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>composite.hxx</b></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00113_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-autotools.h</b></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00056_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-autotools.h</b></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00038_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-compiler.h</b></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00101_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-compiler.h</b></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00077_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-autotools.h</b></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-autotools.h</b></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00059_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-compiler.h</b></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00116_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-compiler.h</b></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00047_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config.h</b></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00008_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>config.h</b></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00074_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection.hxx</b></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00059_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection.hxx</b></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>cursor.hxx</b></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>cursor.hxx</b></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a>&#160;</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="a00065_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>dbtransaction.hxx</b></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>errorhandler.hxx</b></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00038_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>errorhandler.hxx</b></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00035_source.html"><span·class="icondoc"></span></a>&#160;</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="a00104_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>except.hxx</b></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00119_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>field.hxx</b></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00005_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>field.hxx</b></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00044_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>isolation.hxx</b></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>isolation.hxx</b></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00086_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>largeobject.hxx</b></td></tr>115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00071_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>largeobject.hxx</b></td></tr>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00104_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>nontransaction.hxx</b></td></tr>117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00023_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>nontransaction.hxx</b></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00089_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>notification.hxx</b></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00113_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>notification.hxx</b></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00101_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>params.hxx</b></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00035_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>params.hxx</b></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>pipeline.hxx</b></td></tr>123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00044_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>pipeline.hxx</b></td></tr>
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>prepared_statement.hxx</b></td></tr>125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>prepared_statement.hxx</b></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>range.hxx</b></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00029_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>range.hxx</b></td></tr>
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00065_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>result.hxx</b></td></tr>129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00002_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>result.hxx</b></td></tr>
130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00023_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>robusttransaction.hxx</b></td></tr>131 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00077_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>robusttransaction.hxx</b></td></tr>
132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00008_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>row.hxx</b></td></tr>133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>row.hxx</b></td></tr>
134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>separated_list.hxx</b></td></tr>135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00086_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>separated_list.hxx</b></td></tr>
136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>strconv.hxx</b></td></tr>137 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>strconv.hxx</b></td></tr>
138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00041_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_from.hxx</b></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_from.hxx</b></td></tr>
140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00029_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b></td></tr>141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00047_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b></td></tr>
142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00002_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>subtransaction.hxx</b></td></tr>143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00020_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>subtransaction.hxx</b></td></tr>
144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00083_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>time.hxx</b></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00107_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>time.hxx</b></td></tr>
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00068_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction.hxx</b></td></tr>147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction.hxx</b></td></tr>
148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
149 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00005_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b></td></tr>149 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00089_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b></td></tr>
150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00092_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_focus.hxx</b></td></tr>151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00041_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_focus.hxx</b></td></tr>
152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00056_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transactor.hxx</b></td></tr>153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00092_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>transactor.hxx</b></td></tr>
154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
155 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>types.hxx</b></td></tr>155 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>types.hxx</b></td></tr>
156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>util.hxx</b></td></tr>157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00074_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>util.hxx</b></td></tr>
158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00020_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>version.hxx</b></td></tr>159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00068_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>version.hxx</b></td></tr>
160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
161 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00107_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>zview.hxx</b></td></tr>161 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00083_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>zview.hxx</b></td></tr>
162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>
1.13 KB
./usr/share/doc/libpqxx-doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
    
Offset 61, 15 lines modifiedOffset 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="a00185_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>pqxx-source.hxx</b></td></tr>68 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00191_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><b>pqxx-source.hxx</b></td></tr>
69 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>69 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>
787 B
./usr/share/doc/libpqxx-doc/html/a00185_source.html vs.
./usr/share/doc/libpqxx-doc/html/a00191_source.html
Files 1% similar despite different names
    
Offset 55, 15 lines modifiedOffset 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&amp;dn=expat.txt·MIT·*/61 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
62 $(document).ready(function(){initNavTree('a00185_source.html','');·initResizable();·});62 $(document).ready(function(){initNavTree('a00191_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">
963 B
xz --list
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 ··Streams:···········11 ··Streams:···········1
2 ··Blocks:············12 ··Blocks:············1
3 ··Compressed·size:···1762.6·KiB·(1804928·B)3 ··Compressed·size:···1762.8·KiB·(1805124·B)
4 ··Uncompressed·size:·8750.0·KiB·(8960000·B)4 ··Uncompressed·size:·8750.0·KiB·(8960000·B)
5 ··Ratio:·············0.2015 ··Ratio:·············0.201
6 ··Check:·············CRC646 ··Check:·············CRC64
7 ··Stream·Padding:····0·B7 ··Stream·Padding:····0·B
8 ··Streams:8 ··Streams:
9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding
10 ·········1·········1···············0···············0·········1804928·········8960000··0.201··CRC64············010 ·········1·········1···············0···············0·········1805124·········8960000··0.201··CRC64············0
11 ··Blocks:11 ··Blocks:
12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check
13 ·········1·········1··············12···············0·········1804888·········8960000··0.201··CRC6413 ·········1·········1··············12···············0·········1805084·········8960000··0.201··CRC64