2.97 MB
/srv/reproducible-results/rbuild-debian/r-b-build.BXHsVJq8/b1/libpqxx_6.4.5-2_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.BXHsVJq8/b2/libpqxx_6.4.5-2_i386.changes
464 B
Files
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
  
1 ·7239bb41f4f19c95136f744d5489e632·2023456·debug·optional·libpqxx-6.4-dbgsym_6.4.5-2_i386.deb1 ·7239bb41f4f19c95136f744d5489e632·2023456·debug·optional·libpqxx-6.4-dbgsym_6.4.5-2_i386.deb
2 ·add0fd97c67aa4b348a05b08aae7d25a·167900·libs·optional·libpqxx-6.4_6.4.5-2_i386.deb2 ·add0fd97c67aa4b348a05b08aae7d25a·167900·libs·optional·libpqxx-6.4_6.4.5-2_i386.deb
3 ·d97f0d8107e4b33e35cb14b960fbfcc1·279432·libdevel·optional·libpqxx-dev_6.4.5-2_i386.deb3 ·d97f0d8107e4b33e35cb14b960fbfcc1·279432·libdevel·optional·libpqxx-dev_6.4.5-2_i386.deb
4 ·8788044f58368b05c2661d1c60aadc8e·1864372·doc·optional·libpqxx-doc_6.4.5-2_all.deb4 ·b6580e98388834778ed21b0b7770eae8·1863948·doc·optional·libpqxx-doc_6.4.5-2_all.deb
2.97 MB
libpqxx-doc_6.4.5-2_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2019-09-26·12:21:28.000000·debian-binary1 -rw-r--r--···0········0········0········4·2019-09-26·12:21:28.000000·debian-binary
2 -rw-r--r--···0········0········0····17820·2019-09-26·12:21:28.000000·control.tar.xz2 -rw-r--r--···0········0········0····17932·2019-09-26·12:21:28.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1846360·2019-09-26·12:21:28.000000·data.tar.xz3 -rw-r--r--···0········0········0··1845824·2019-09-26·12:21:28.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
2.97 MB
data.tar.xz
2.97 MB
data.tar
14.2 KB
file list
    
Offset 77, 57 lines modifiedOffset 77, 57 lines modified
77 -rw-r--r--···0·root·········(0)·root·········(0)·····2067·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test92.cxx77 -rw-r--r--···0·root·········(0)·root·········(0)·····2067·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test92.cxx
78 -rw-r--r--···0·root·········(0)·root·········(0)·····1962·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test93.cxx78 -rw-r--r--···0·root·········(0)·root·········(0)·····1962·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test93.cxx
79 -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test_helpers.hxx79 -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test_helpers.hxx
80 -rw-r--r--···0·root·········(0)·root·········(0)·····4738·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test_main.hxx80 -rw-r--r--···0·root·········(0)·root·········(0)·····4738·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/examples/test_main.hxx
81 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/81 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/
82 -rw-r--r--···0·root·········(0)·root·········(0)·······75·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/html/README.md82 -rw-r--r--···0·root·········(0)·root·········(0)·······75·2019-06-14·08:20:39.000000·./usr/share/doc/libpqxx-doc/html/README.md
83 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/83 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/
84 -rw-r--r--···0·root·········(0)·root·········(0)····33729·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00002_source.html84 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00002_source.html
 85 -rw-r--r--···0·root·········(0)·root·········(0)····64031·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00005_source.html
 86 -rw-r--r--···0·root·········(0)·root·········(0)····18616·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00008_source.html
85 -rw-r--r--···0·root·········(0)·root·········(0)····10935·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00005_source.html87 -rw-r--r--···0·root·········(0)·root·········(0)····10935·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00011_source.html
86 -rw-r--r--···0·root·········(0)·root·········(0)····16855·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00008_source.html 
87 -rw-r--r--···0·root·········(0)·root·········(0)····33579·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00011_source.html 
88 -rw-r--r--···0·root·········(0)·root·········(0)····49299·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00014_source.html88 -rw-r--r--···0·root·········(0)·root·········(0)····10272·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00014_source.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····6412·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00017_source.html89 -rw-r--r--···0·root·········(0)·root·········(0)····20385·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00017_source.html
90 -rw-r--r--···0·root·········(0)·root·········(0)····12139·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00020_source.html 
91 -rw-r--r--···0·root·········(0)·root·········(0)····84967·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00023_source.html 
92 -rw-r--r--···0·root·········(0)·root·········(0)····15403·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00026_source.html 
93 -rw-r--r--···0·root·········(0)·root·········(0)····13643·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00029_source.html 
94 -rw-r--r--···0·root·········(0)·root·········(0)·····4098·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00032_source.html 
95 -rw-r--r--···0·root·········(0)·root·········(0)····13284·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00035_source.html90 -rw-r--r--···0·root·········(0)·root·········(0)····13284·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00020_source.html
 91 -rw-r--r--···0·root·········(0)·root·········(0)·····3959·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00023_source.html
 92 -rw-r--r--···0·root·········(0)·root·········(0)····92975·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00026_source.html
 93 -rw-r--r--···0·root·········(0)·root·········(0)····89497·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00029_source.html
 94 -rw-r--r--···0·root·········(0)·root·········(0)·····6695·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00032_source.html
 95 -rw-r--r--···0·root·········(0)·root·········(0)····25872·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00035_source.html
96 -rw-r--r--···0·root·········(0)·root·········(0)·····4464·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00038_source.html96 -rw-r--r--···0·root·········(0)·root·········(0)····46628·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00038_source.html
 97 -rw-r--r--···0·root·········(0)·root·········(0)····31642·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00041_source.html
97 -rw-r--r--···0·root·········(0)·root·········(0)····63410·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00041_source.html98 -rw-r--r--···0·root·········(0)·root·········(0)····63410·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00044_source.html
98 -rw-r--r--···0·root·········(0)·root·········(0)····18616·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00044_source.html 
99 -rw-r--r--···0·root·········(0)·root·········(0)····46628·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00047_source.html99 -rw-r--r--···0·root·········(0)·root·········(0)····64763·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00047_source.html
 100 -rw-r--r--···0·root·········(0)·root·········(0)····26731·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00050_source.html
 101 -rw-r--r--···0·root·········(0)·root·········(0)····49299·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00053_source.html
100 -rw-r--r--···0·root·········(0)·root·········(0)····13533·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00050_source.html102 -rw-r--r--···0·root·········(0)·root·········(0)····15403·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00056_source.html
101 -rw-r--r--···0·root·········(0)·root·········(0)····24862·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00053_source.html 
102 -rw-r--r--···0·root·········(0)·root·········(0)····31642·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00056_source.html 
103 -rw-r--r--···0·root·········(0)·root·········(0)····20385·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00059_source.html103 -rw-r--r--···0·root·········(0)·root·········(0)····12139·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00059_source.html
104 -rw-r--r--···0·root·········(0)·root·········(0)····10851·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00062_source.html 
105 -rw-r--r--···0·root·········(0)·root·········(0)····76233·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00065_source.html 
106 -rw-r--r--···0·root·········(0)·root·········(0)····64031·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00068_source.html104 -rw-r--r--···0·root·········(0)·root·········(0)·····4464·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00062_source.html
 105 -rw-r--r--···0·root·········(0)·root·········(0)····84967·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00065_source.html
107 -rw-r--r--···0·root·········(0)·root·········(0)····17940·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00071_source.html106 -rw-r--r--···0·root·········(0)·root·········(0)····17797·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00068_source.html
108 -rw-r--r--···0·root·········(0)·root·········(0)····15413·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00074_source.html107 -rw-r--r--···0·root·········(0)·root·········(0)····15413·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00071_source.html
 108 -rw-r--r--···0·root·········(0)·root·········(0)····24862·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00074_source.html
109 -rw-r--r--···0·root·········(0)·root·········(0)····82623·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00077_source.html109 -rw-r--r--···0·root·········(0)·root·········(0)····82623·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00077_source.html
 110 -rw-r--r--···0·root·········(0)·root·········(0)····10851·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00080_source.html
 111 -rw-r--r--···0·root·········(0)·root·········(0)····13533·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00083_source.html
 112 -rw-r--r--···0·root·········(0)·root·········(0)····33729·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00086_source.html
 113 -rw-r--r--···0·root·········(0)·root·········(0)····16855·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00089_source.html
 114 -rw-r--r--···0·root·········(0)·root·········(0)····76233·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00092_source.html
 115 -rw-r--r--···0·root·········(0)·root·········(0)····13623·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00095_source.html
 116 -rw-r--r--···0·root·········(0)·root·········(0)····19295·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00098_source.html
 117 -rw-r--r--···0·root·········(0)·root·········(0)····45129·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00101_source.html
110 -rw-r--r--···0·root·········(0)·root·········(0)·····4522·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00080_source.html118 -rw-r--r--···0·root·········(0)·root·········(0)·····4522·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00104_source.html
111 -rw-r--r--···0·root·········(0)·root·········(0)····89497·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00083_source.html 
112 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00086_source.html119 -rw-r--r--···0·root·········(0)·root·········(0)····33579·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00107_source.html
113 -rw-r--r--···0·root·········(0)·root·········(0)····64763·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00089_source.html120 -rw-r--r--···0·root·········(0)·root·········(0)·····6412·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00110_source.html
114 -rw-r--r--···0·root·········(0)·root·········(0)·····6695·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00092_source.html 
115 -rw-r--r--···0·root·········(0)·root·········(0)····26731·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00095_source.html121 -rw-r--r--···0·root·········(0)·root·········(0)···102603·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00113_source.html
116 -rw-r--r--···0·root·········(0)·root·········(0)····17797·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00098_source.html122 -rw-r--r--···0·root·········(0)·root·········(0)····13643·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00116_source.html
117 -rw-r--r--···0·root·········(0)·root·········(0)····20541·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00101_source.html123 -rw-r--r--···0·root·········(0)·root·········(0)····20541·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00119_source.html
118 -rw-r--r--···0·root·········(0)·root·········(0)···102603·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00104_source.html 
119 -rw-r--r--···0·root·········(0)·root·········(0)····10272·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00107_source.html 
120 -rw-r--r--···0·root·········(0)·root·········(0)····25872·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00110_source.html 
121 -rw-r--r--···0·root·········(0)·root·········(0)····21972·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00113_source.html124 -rw-r--r--···0·root·········(0)·root·········(0)····21972·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00122_source.html
122 -rw-r--r--···0·root·········(0)·root·········(0)····92975·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00116_source.html 
123 -rw-r--r--···0·root·········(0)·root·········(0)····13623·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00119_source.html 
124 -rw-r--r--···0·root·········(0)·root·········(0)····45129·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00122_source.html125 -rw-r--r--···0·root·········(0)·root·········(0)·····4098·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00125_source.html
125 -rw-r--r--···0·root·········(0)·root·········(0)····19295·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00125_source.html126 -rw-r--r--···0·root·········(0)·root·········(0)····17940·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00128_source.html
126 -rw-r--r--···0·root·········(0)·root·········(0)·····3959·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00128_source.html 
127 -rw-r--r--···0·root·········(0)·root·········(0)·····7851·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00254.html127 -rw-r--r--···0·root·········(0)·root·········(0)·····7851·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00254.html
128 -rw-r--r--···0·root·········(0)·root·········(0)·····5174·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00255.html128 -rw-r--r--···0·root·········(0)·root·········(0)·····5174·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00255.html
129 -rw-r--r--···0·root·········(0)·root·········(0)·····2784·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00255.js129 -rw-r--r--···0·root·········(0)·root·········(0)·····2784·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00255.js
130 -rw-r--r--···0·root·········(0)·root·········(0)·····3863·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00256.html130 -rw-r--r--···0·root·········(0)·root·········(0)·····3863·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00256.html
131 -rw-r--r--···0·root·········(0)·root·········(0)·····6312·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00257.html131 -rw-r--r--···0·root·········(0)·root·········(0)·····6312·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00257.html
132 -rw-r--r--···0·root·········(0)·root·········(0)·····6598·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00257.js132 -rw-r--r--···0·root·········(0)·root·········(0)·····6598·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00257.js
133 -rw-r--r--···0·root·········(0)·root·········(0)·····4968·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00258.html133 -rw-r--r--···0·root·········(0)·root·········(0)·····4968·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00258.html
43.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal.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 55, 148 lines modifiedOffset 55, 54 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00002_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">binarystring.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">compiler-internal.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_COMPILER_INTERNAL</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</span></div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_COMPILER_INTERNAL</span></div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Workarounds·&amp;·definitions·needed·to·compile·libpqxx·into·a·library</span></div>
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/config-internal-compiler.h&quot;</span></div>
 72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifdef·_WIN32</span></div>
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifdef·PQXX_SHARED</span></div>
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#undef··PQXX_LIBEXPORT</span></div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
78 <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="a00265.html">pqxx</a></div> 
79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_LIBEXPORT··__declspec(dllexport)</span></div>
 78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·PQXX_PRIVATE····__declspec()</span></div>
 79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#endif··</span><span·class="comment">//·PQXX_SHARED</span></div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>
82 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01111.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01111.html">binarystring</a></div> 
83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#pragma·warning·(disable:·4251·4275·4273)</span></div>
 83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#pragma·warning·(disable:·4355)</span></div>
 84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#pragma·warning·(disable:·4996)·</span><span·class="comment">//·Deprecation·warning,·e.g.·about·strncpy().</span></div>
84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div>85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#endif</span></div>
85 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·<span·class="keywordtype">unsigned</span>·char;</div> 
86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;char_type&gt;::char_type;</div> 
87 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·=·size_t;</div> 
88 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div> 
89 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·&amp;;</div> 
90 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">const_pointer</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·*;</div> 
91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">const_pointer</a>;</div> 
92 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator&lt;const_iterator&gt;;</div> 
93 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
94 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01111.html#a979310f02c4f4e4504d040b059e54d2e">···65</a></span>··<a·class="code·hl_function"·href="a01111.html#a979310f02c4f4e4504d040b059e54d2e">binarystring</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;)·=<span·class="keywordflow">default</span>;</div> 
95 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
97 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;);·································<span·class="comment">//[t62]</span></div> 
98 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·std::string·&amp;);</div> 
100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*,·<span·class="keywordtype">size_t</span>);</div> 
102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01111.html#afa6be7a52ce16a143ce6ebf640ff3aea">···80</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·<a·class="code·hl_function"·href="a01111.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}····················<span·class="comment">//[t62]</span></div> 
104 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01111.html#abac0db9f28acffc553d18002b8df0e6b">···82</a></span><span·class="comment"></span>··<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·<a·class="code·hl_function"·href="a01111.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}··················<span·class="comment">//[t62]</span></div> 
105 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01111.html#a9106563a72aec3f4ef57b71a6f513fc9">···83</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01111.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()==0;·}·····················<span·class="comment">//[t62]</span></div> 
106 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
107 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6067c2115ac1e1fff25fe77d17307c58">···85</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}··············<span·class="comment">//[t62]</span></div> 
108 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01111.html#aee5e4953d3ee63d747be01bef2b74b13">···86</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div> 
109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01111.html#a51e17d592848ea9fdaa7f81d3007712e">···87</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()+m_size;·}·········<span·class="comment">//[t62]</span></div> 
110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01111.html#aa733d66120d53f3d614c361f29a2fcba">···88</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div> 
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01111.html#a85eab67b3f966985384b2499e3ff4e5b">···90</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#a85eab67b3f966985384b2499e3ff4e5b">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·*begin();·}···········<span·class="comment">//[t62]</span></div> 
113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01111.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">···91</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">back</a>()·const·noexcept·································<span·class="comment">//[t62]</span></div> 
114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········{·<span·class="keywordflow">return</span>·*(data()+m_size-1);·}</div> 
115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#elif·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_VISIBILITY)····</span><span·class="comment">//·!_WIN32</span></div>
116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01111.html#a23036afb38422a54c60acdea2652891f">···94</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a23036afb38422a54c60acdea2652891f">rbegin</a>()·const·································<span·class="comment">//[t62]</span></div> 
117 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{end()};·}</div> 
118 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01111.html#a809e9b45877602d87d923a91fbe9adc4">···96</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a809e9b45877602d87d923a91fbe9adc4">crbegin</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rbegin();·}</div> 
119 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01111.html#ab10688f2e2fd77c3ef1a122c8aad5198">···97</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#ab10688f2e2fd77c3ef1a122c8aad5198">rend</a>()·const···································<span·class="comment">//[t62]</span></div> 
120 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{begin()};·}</div> 
121 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01111.html#a1fda08303c1ae00bb224c1c75c55b43e">···99</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a1fda08303c1ae00bb224c1c75c55b43e">crend</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rend();·}</div> 
122 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
123 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01111.html#ad654e9c1cb3e377eeb0a315a3e40179c">··102</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·*<a·class="code·hl_function"·href="a01111.html#ad654e9c1cb3e377eeb0a315a3e40179c">data</a>()·const·noexcept·{<span·class="keywordflow">return</span>·m_buf.get();}·········<span·class="comment">//[t62]</span></div> 
124 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01111.html#aa2f3bd6f82016f668c375f64369bd307">··104</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#aa2f3bd6f82016f668c375f64369bd307">operator[]</a>(<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·i)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>················<span·class="comment">//[t62]</span></div> 
126 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········{·<span·class="keywordflow">return</span>·data()[i];·}</div>89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#define·PQXX_LIBEXPORT·__attribute__·((visibility(&quot;default&quot;</span>)))</div>
 90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·PQXX_PRIVATE·__attribute__·((visibility(&quot;hidden&quot;</span>)))</div>
127 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif··</span><span·class="comment">//·__GNUC__·&amp;&amp;·PQXX_HAVE_GCC_VISIBILITY</span></div>
128 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;·······<span·class="comment">//[t62]</span></div> 
129 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01111.html#a899b746c23736e8dbeec4c06eddec808">··108</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01111.html#a899b746c23736e8dbeec4c06eddec808">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;rhs)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>···············<span·class="comment">//[t62]</span></div> 
130 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········{·<span·class="keywordflow">return</span>·not·operator==(rhs);·}</div> 
131 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
132 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;);</div> 
133 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
134 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··const_reference·at(size_type)·<span·class="keyword">const</span>;··································<span·class="comment">//[t62]</span></div> 
135 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
136 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;);············································<span·class="comment">//[t62]</span></div> 
137 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
138 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
139 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01111.html#af9e2842b41aaa0cbaf8eb37c0e598536">··123</a></span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01111.html#af9e2842b41aaa0cbaf8eb37c0e598536">get</a>()·const·noexcept······································<span·class="comment">//[t62]</span></div> 
140 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········{·<span·class="keywordflow">return</span>·<span·class="keyword">reinterpret_cast&lt;</span><span·class="keyword">const·</span><span·class="keywordtype">char</span>·*<span·class="keyword">&gt;</span>(m_buf.get());·}</div> 
141 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
142 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
143 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··std::string·str()·<span·class="keyword">const</span>;··············································<span·class="comment">//[t62]</span></div> 
144 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
145 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="keyword">private</span>:</div> 
146 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<span·class="keyword">using·</span>smart_pointer_type·=·std::shared_ptr&lt;value_type&gt;;</div> 
147 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
148 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">static</span>·smart_pointer_type·make_smart_pointer(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">char</span>·*buf=<span·class="keyword">nullptr</span>)</div> 
149 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··{</div> 
150 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keywordflow">return</span>·smart_pointer_type{</div> 
151 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>········buf,</div> 
152 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>········internal::freemallocmem_templated&lt;unsigned·char&gt;};</div> 
153 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··}</div> 
154 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
155 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··smart_pointer_type·m_buf;</div> 
Max diff block lines reached; 859/37589 bytes (2.29%) of diff not shown.
7.06 KB
html2text {}
    
Offset 1, 200 lines modifiedOffset 1, 46 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 binarystring.hxx2 compiler-internal.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_BINARYSTRING 
5 ·12#define·PQXX_H_BINARYSTRING4 ·11#ifndef·PQXX_H_COMPILER_INTERNAL
 5 ·12#define·PQXX_H_COMPILER_INTERNAL
6 ·136 ·13
7 ·14#include·"pqxx/compiler-public.hxx"7 ·14
 8 ·15//·Workarounds·&·definitions·needed·to·compile·libpqxx·into·a·library
8 ·15#include·"pqxx/compiler-internal-pre.hxx"9 ·16#include·"pqxx/config-internal-compiler.h"
 10 ·17
 11 ·18#ifdef·_WIN32
9 ·16 
10 ·17#include·<memory> 
11 ·18#include·<string> 
12 ·1912 ·19
13 ·20#include·"pqxx/result.hxx" 
14 ·21 
15 ·22 
16 ·23namespace·pqxx 
17 ·24{13 ·20#ifdef·PQXX_SHARED
 14 ·21#undef·PQXX_LIBEXPORT
 15 ·22#define·PQXX_LIBEXPORT·__declspec(dllexport)
 16 ·23#define·PQXX_PRIVATE·__declspec()
 17 ·24#endif·//·PQXX_SHARED
18 ·2518 ·25
 19 ·26#ifdef·_MSC_VER
 20 ·27#pragma·warning·(disable:·4251·4275·4273)
 21 ·28#pragma·warning·(disable:·4355)
 22 ·29#pragma·warning·(disable:·4996)·//·Deprecation·warning,·e.g.·about·strncpy
 23 ().
19 ·27 
20 53class·PQXX_LIBEXPORT·binarystring 
21 ·54{ 
22 ·55public: 
23 56·using·char_type·=·unsigned·char; 
24 57·using·value_type·=·std::char_traits<char_type>::char_type; 
25 58·using·size_type·=·size_t; 
26 59·using·difference_type·=·long; 
27 60·using·const_reference·=·const·value_type·&; 
28 61·using·const_pointer·=·const·value_type·*; 
29 62·using·const_iterator·=·const_pointer; 
30 63·using·const_reverse_iterator·=·std::reverse_iterator<const_iterator>; 
31 ·64 
32 65·binarystring(const·binarystring·&)·=default; 
33 ·66 
34 ·68 
35 ·71·explicit·binarystring(const·field·&);·//[t62] 
36 ·72 
37 ·74·explicit·binarystring(const·std::string·&); 
38 ·75 
39 ·77·binarystring(const·void·*,·size_t); 
40 ·78 
41 80·size_type·size()·const·noexcept·{·return·m_size;·}·//[t62] 
42 82·size_type·length()·const·noexcept·{·return·size();·}·//[t62] 
43 83·bool·empty()·const·noexcept·{·return·size()==0;·}·//[t62] 
44 ·84 
45 85·const_iterator·begin()·const·noexcept·{·return·data();·}·//[t62] 
46 86·const_iterator·cbegin()·const·noexcept·{·return·begin();·} 
47 87·const_iterator·end()·const·noexcept·{·return·data()+m_size;·}·//[t62] 
48 88·const_iterator·cend()·const·noexcept·{·return·end();·} 
49 ·89 
50 90·const_reference·front()·const·noexcept·{·return·*begin();·}·//[t62] 
51 91·const_reference·back()·const·noexcept·//[t62] 
52 ·92·{·return·*(data()+m_size-1);·} 
53 ·93 
54 94·const_reverse_iterator·rbegin()·const·//[t62] 
55 ·95·{·return·const_reverse_iterator{end()};·} 
56 96·const_reverse_iterator·crbegin()·const·{·return·rbegin();·} 
57 97·const_reverse_iterator·rend()·const·//[t62] 
58 ·98·{·return·const_reverse_iterator{begin()};·} 
59 99·const_reverse_iterator·crend()·const·{·return·rend();·} 
60 ·100 
61 102·const·value_type·*data()·const·noexcept·{return·m_buf.get();}·//[t62] 
62 ·103 
63 104·const_reference·operator[](size_type·i)·const·noexcept·//[t62] 
64 ·105·{·return·data()[i];·} 
65 ·106 
66 ·107·PQXX_PURE·bool·operator==(const·binarystring·&)·const·noexcept;·//[t62] 
67 108·bool·operator!=(const·binarystring·&rhs)·const·noexcept·//[t62] 
68 ·109·{·return·not·operator==(rhs);·} 
69 ·110 
70 ·111·binarystring·&operator=(const·binarystring·&); 
71 ·112 
72 ·114·const_reference·at(size_type)·const;·//[t62] 
73 ·115 
74 ·117·void·swap(binarystring·&);·//[t62] 
75 ·118 
76 ·120 
77 123·const·char·*get()·const·noexcept·//[t62] 
78 ·124·{·return·reinterpret_cast<const·char·*>(m_buf.get());·} 
79 ·125 
80 ·127 
81 ·133·std::string·str()·const;·//[t62] 
82 ·134 
83 ·135private: 
84 ·136·using·smart_pointer_type·=·std::shared_ptr<value_type>; 
85 ·137 
86 ·139·static·smart_pointer_type·make_smart_pointer(unsigned·char·*buf=nullptr) 
87 ·140·{ 
88 ·141·return·smart_pointer_type{ 
89 ·142·buf, 
90 ·143·internal::freemallocmem_templated<unsigned·char>}; 
91 ·144·} 
92 ·145 
93 ·146·smart_pointer_type·m_buf; 
94 ·147·size_type·m_size; 
95 ·148}; 
96 ·149} 
97 ·150 
98 ·151#include·"pqxx/compiler-internal-post.hxx" 
99 ·152 
100 ·153#endif24 ·30#endif
 25 ·31
 26 ·32#elif·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_VISIBILITY)·//·!_WIN32
 27 ·33
 28 ·34#define·PQXX_LIBEXPORT·__attribute__·((visibility("default")))
 29 ·35#define·PQXX_PRIVATE·__attribute__·((visibility("hidden")))
 30 ·36
 31 ·37#endif·//·__GNUC__·&&·PQXX_HAVE_GCC_VISIBILITY
 32 ·38
Max diff block lines reached; 101/7201 bytes (1.40%) of diff not shown.
82.2 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 69 lines modifiedOffset 55, 314 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00005_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00005_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">subtransaction.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">field.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_FIELD</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_FIELD</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(PQXX_HAVE_OPTIONAL)</span></div>
72 <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>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*·Use·std::experimental::optional·as·a·fallback·for·std::optional,·if</span></div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·present.</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·This·may·break·compilation·for·some·software,·if·using·a·libpqxx·that·was</span></div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·configured·for·a·different·language·version.··To·stop·libpqxx·headers·from</span></div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·using·or·supporting·std::experimental::optional,·define·a·macro</span></div>
 82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·PQXX_HIDE_EXP_OPTIONAL·when·building·your·software.</span></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*/</span></div>83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div>
 84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#elif·defined(PQXX_HAVE_EXP_OPTIONAL)·&amp;&amp;·!defined(PQXX_HIDE_EXP_OPTIONAL)</span></div>
 85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;experimental/optional&gt;</span></div>
 86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#endif</span></div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/array.hxx&quot;</span></div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
79 <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="a00265.html">pqxx</a></div>96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
83 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01487.html">···79</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>·:</div> 
84 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a>,</div> 
85 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div> 
86 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div> 
87 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">public</span>:</div> 
88 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>(··············································<span·class="comment">//[t88]</span></div> 
89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div> 
90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
91 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>(</div> 
92 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<a·class="code·hl_class"·href="a01487.html">subtransaction</a>·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div> 
93 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
94 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01487.html#a50fe87342d56e35e44ad8d2537f8c50e">···92</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01487.html#a50fe87342d56e35e44ad8d2537f8c50e">~subtransaction</a>()·noexcept</div> 
95 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········{·End();·}</div> 
96 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01331.html">···49</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01331.html">field</a></div>
 100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div>
97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">private</span>:</div>101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div>
98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t88]</span></div> 
99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t88]</span></div> 
100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t88]</span></div>102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01331.html#a4cd68406a1832a2a7002babaad31f3c8">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01331.html#a4cd68406a1832a2a7002babaad31f3c8">size_type</[·...·truncated·by·diffoscope;·len:·105,·SHA:·c1d84a7181e7fb6566c1ff6aafb9217b747651a808a1b5cb3ba9b6b0ca497b21·...·]</div>
 103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_class"·href="a01331.html">field</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;R,·<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·C)·<span·class="keyword">noexcept</span>;························<span·class="comment">//[t01]</span></div>
 106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 108 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;)·<span·class="keyword">const</span>;·························<span·class="comment">//[t75]</span></div>
 109 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 110 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01331.html#afd007618f1615ad0455d30dca29c8c1b">···87</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01331.html#afd007618f1615ad0455d30dca29c8c1b">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;rhs)·<span·class="keyword">const</span>·······························<span·class="comment">//[t82]</span></div>
 112 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···················································{<span·class="keywordflow">return</span>·not·operator==(rhs);}</div>
101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>113 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
102 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;m_parent;</div>114 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*name()·<span·class="keyword">const</span>;·············································<span·class="comment">//[t11]</span></div>
103 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>};</div>115 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 116 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··oid·type()·<span·class="keyword">const</span>;·····················································<span·class="comment">//[t07]</span></div>
104 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}</div>117 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··oid·table()·<span·class="keyword">const</span>;····················································<span·class="comment">//[t02]</span></div>
105 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01331.html#a0fc6da74997892f99de1c25a2769e841">··104</a></span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·<a·class="code·hl_function"·href="a01331.html#a0fc6da74997892f99de1c25a2769e841">num</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·col();·}···························<span·class="comment">//[t82]</span></div>
 121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 122 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·table_column()·<span·class="keyword">const</span>;···································<span·class="comment">//[t93]</span></div>
106 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>123 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment"></span>·</div>
 124 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 125 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*c_str()·<span·class="keyword">const</span>;············································<span·class="comment">//[t02]</span></div>
 126 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 127 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keywordtype">bool</span>·is_null()·const·noexcept;········································<span·class="comment">//[t12]</span></div>
 128 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 129 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
 130 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··size_type·size()·const·noexcept;······································<span·class="comment">//[t11]</span></div>
 131 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 132 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div>
 133 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01331.html#a5075db77461762363ac69ffdd277911c">··135</a></span>··template&lt;typename·T&gt;·auto·to(T·&amp;Obj)·const····························<span·class="comment">//[t03]</span></div>
 134 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····-&gt;·typename·<a·class="code·hl_namespace"·href="a00264.html">std</a>::enable_if&lt;(</div>
 135 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>······not·<a·class="code·hl_namespace"·href="a00264.html">std</a>::is_pointer&lt;T&gt;::value</div>
 136 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······or·<a·class="code·hl_namespace"·href="a00264.html">std</a>::is_same&lt;T,·const·<span·class="keywordtype">char</span>*&gt;::value</div>
 137 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····),·<span·class="keywordtype">bool</span>&gt;::type</div>
 138 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··{</div>
 139 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<span·class="keyword">const</span>·bytes·=·c_str();</div>
 140 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····<span·class="keywordflow">if</span>·(bytes[0]·==·<span·class="charliteral">&#39;\0&#39;</span>·and·is_null())·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 141 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<a·class="code·hl_function"·href="a00265.html#a28aff4220c1c53e5c80b8a24fb0e9440">from_string</a>(bytes,·Obj);</div>
 142 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
 143 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··}</div>
 144 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 145 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01331.html#a4d84bb5278a4387f4ef9e62bb761aece">··148</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01331.html#a4d84bb5278a4387f4ef9e62bb761aece">operator&gt;&gt;</a>(T·&amp;Obj)·<span·class="keyword">const</span>····················<span·class="comment">//[t07]</span></div>
 146 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>······{·<span·class="keywordflow">return</span>·to(Obj);·}</div>
 147 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div>
 148 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div>
Max diff block lines reached; 16974/70780 bytes (23.98%) of diff not shown.
12.9 KB
html2text {}
    
Offset 1, 69 lines modifiedOffset 1, 418 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 subtransaction.hxx2 field.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_SUBTRANSACTION 
5 ·14#define·PQXX_H_SUBTRANSACTION4 ·13#ifndef·PQXX_H_FIELD
 5 ·14#define·PQXX_H_FIELD
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·18#include·"pqxx/internal/type_utils.hxx"
 10 ·19
 11 ·20#if·defined(PQXX_HAVE_OPTIONAL)
 12 ·21#include·<optional>
 13 ·22
 14 ·23/*·Use·std::experimental::optional·as·a·fallback·for·std::optional,·if
 15 ·24·*·present.
 16 ·25·*
 17 ·26·*·This·may·break·compilation·for·some·software,·if·using·a·libpqxx·that·was
 18 ·27·*·configured·for·a·different·language·version.·To·stop·libpqxx·headers·from
 19 ·28·*·using·or·supporting·std::experimental::optional,·define·a·macro
 20 ·29·*·PQXX_HIDE_EXP_OPTIONAL·when·building·your·software.
 21 ·30·*/
 22 ·31#elif·defined(PQXX_HAVE_EXP_OPTIONAL)·&&·!defined(PQXX_HIDE_EXP_OPTIONAL)
 23 ·32#include·<experimental/optional>
 24 ·33#endif
 25 ·34
 26 ·35#include·"pqxx/array.hxx"
 27 ·36#include·"pqxx/result.hxx"
10 ·19#include·"pqxx/dbtransaction.hxx"28 ·37#include·"pqxx/strconv.hxx"
11 ·20 
12 ·2129 ·38#include·"pqxx/types.hxx"
 30 ·39
 31 ·40
13 ·22/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"32 ·41//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 33 ·42
14 ·23·*/ 
15 ·24 
16 ·25 
17 ·26namespace·pqxx34 ·43namespace·pqxx
 35 ·44{
 36 ·46
 37 49class·PQXX_LIBEXPORT·field
 38 ·50{
18 ·27{ 
19 ·28 
20 ·33 
21 79class·PQXX_LIBEXPORT·subtransaction·: 
22 ·80·public·internal::transactionfocus, 
23 ·81·public·dbtransaction 
24 ·82{ 
25 ·83public:39 ·51public:
26 ·85·explicit·subtransaction(·//[t88] 
27 ·86·dbtransaction·&T,·const·std::string·&Name=std::string{}); 
28 ·87 
29 ·89·explicit·subtransaction( 
30 ·90·subtransaction·&T,·const·std::string·&Name=std::string{}); 
31 ·91 
32 92·virtual·~subtransaction()·noexcept 
33 ·93·{·End();·} 
34 ·94 
35 ·95private: 
36 ·96·virtual·void·do_begin()·override;·//[t88] 
37 ·97·virtual·void·do_commit()·override;·//[t88] 
38 ·98·virtual·void·do_abort()·override;·//[t88] 
39 ·99 
40 ·100·dbtransaction·&m_parent; 
41 ·101}; 
42 ·102}40 52·using·size_type·=·field_size_type;
 41 ·53
 42 ·55
 43 ·59·field(const·row·&R,·row_size_type·C)·noexcept;·//[t01]
 44 ·60
 45 ·66
 46 ·82·bool·operator==(const·field·&)·const;·//[t75]
 47 ·83
 48 ·85
 49 87·bool·operator!=(const·field·&rhs)·const·//[t82]
 50 ·88·{return·not·operator==(rhs);}
 51 ·90
 52 ·96·const·char·*name()·const;·//[t11]
 53 ·97
 54 ·99·oid·type()·const;·//[t07]
 55 ·100
 56 ·102·oid·table()·const;·//[t02]
43 ·10357 ·103
 58 104·row_size_type·num()·const·{·return·col();·}·//[t82]
 59 ·105
 60 ·107·row_size_type·table_column()·const;·//[t93]
 61 ·109
 62 ·115
 63 ·120·const·char·*c_str()·const;·//[t02]
 64 ·121
 65 ·123·bool·is_null()·const·noexcept;·//[t12]
 66 ·124
 67 ·126
 68 ·129·size_type·size()·const·noexcept;·//[t11]
 69 ·130
 70 ·132
 71 135·template<typename·T>·auto·to(T·&Obj)·const·//[t03]
 72 ·136·->·typename·std::enable_if<(
 73 ·137·not·std::is_pointer<T>::value
 74 ·138·or·std::is_same<T,·const·char*>::value
 75 ·139·),·bool>::type
 76 ·140·{
 77 ·141·const·char·*const·bytes·=·c_str();
 78 ·142·if·(bytes[0]·==·'\0'·and·is_null())·return·false;
 79 ·143·from_string(bytes,·Obj);
 80 ·144·return·true;
 81 ·145·}
 82 ·146
 83 148·template<typename·T>·bool·operator>>(T·&Obj)·const·//[t07]
 84 ·149·{·return·to(Obj);·}
 85 ·150
 86 ·152
 87 155·template<typename·T>·auto·to(T·&Obj,·const·T·&Default)·const·//[t12]
 88 ·156·->·typename·std::enable_if<(
 89 ·157·not·std::is_pointer<T>::value
 90 ·158·or·std::is_same<T,·const·char*>::value
 91 ·159·),·bool>::type
 92 ·160·{
 93 ·161·const·bool·NotNull·=·to(Obj);
Max diff block lines reached; 5566/13208 bytes (42.14%) of diff not shown.
38.4 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·types.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 55, 87 lines modifiedOffset 55, 130 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00008_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">types.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">config.h</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
 65 <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>
 66 <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>
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>
 68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·most·gcc·compilers·know·a·function·__attribute__((__const__))·*/</span></div>
 69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·GCC_CONST_CALL·__attribute__((__const__))</span></div>
 70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div>
 71 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·define·if·the·compiler·supports·basic·C++11·syntax·*/</span></div>
66 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·PQXX_H_TYPES</span></div>72 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_CXX11·1</span></div>
 73 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 74 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;dlfcn.h&gt;·header·file.·*/</span></div>
67 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·PQXX_H_TYPES</span></div>75 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_DLFCN_H·1</span></div>
68 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 77 <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;inttypes.h&gt;·header·file.·*/</span></div>
69 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div>
70 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq&#39;·library·(-lpq).·*/</span></div>
 81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_LIBPQ·1</span></div>
71 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
72 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div> 
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">···18</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>·=·<span·class="keywordtype">unsigned</span>·long;</div> 
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">···21</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_differ[·...·truncated·by·diffoscope;·len:·61,·SHA:·ebec0366f1879993928c9ea80211fe3bfc547d48b0fab9cdc53f72850ee3e0d4·...·]</div>83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·System·supports·poll().·*/</span></div>
 84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>
76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">···24</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type<[·...·truncated·by·diffoscope;·len:·52,·SHA:·b449c7c57ba0aac16bceda1afddfd606cb375d002e2d349d157896d6d99dbf49·...·]</div>86 <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;stdint.h&gt;·header·file.·*/</span></div>
 87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·HAVE_STDINT_H·1</span></div>
78 <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>
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">···27</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">row_difference[·...·truncated·by·diffoscope;·len:·56,·SHA:·c83bb692d2df6a5df7b8374c613a109523edd75e9f71287c2b9bc6ffed789b73·...·]</div>89 <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;stdio.h&gt;·header·file.·*/</span></div>
 90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div>
80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">···30</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_ty[·...·truncated·by·diffoscope;·len:·21,·SHA:·2242cfb781680704661a4de89991ecc89f8f1de24c430e2e74c7712eb12ce389·...·]</div>92 <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;stdlib.h&gt;·header·file.·*/</span></div>
 93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·HAVE_STDLIB_H·1</span></div>
82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
83 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">···33</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">large_object_s[·...·truncated·by·diffoscope;·len:·20,·SHA:·d78908b918d61c30f61aea57921de9ba4f1dd45d6bd1d6b39890fd6f93309d28·...·]</div>95 <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;strings.h&gt;·header·file.·*/</span></div>
 96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_STRINGS_H·1</span></div>
84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 98 <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;string.h&gt;·header·file.·*/</span></div>
 99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div>
85 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/select.h&gt;·header·file.·*/</span></div>
 102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">/*·#undef·HAVE_SYS_SELECT_H·*/</span></div>
 103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/stat.h&gt;·header·file.·*/</span></div>
 105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·HAVE_SYS_STAT_H·1</span></div>
 106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/time.h&gt;·header·file.·*/</span></div>
 108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·HAVE_SYS_TIME_H·1</span></div>
 109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/types.h&gt;·header·file.·*/</span></div>
 111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div>
 112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;unistd.h&gt;·header·file.·*/</span></div>
 114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div>
 115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div>
 117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·LT_OBJDIR·&quot;.libs/&quot;</span></div>
86 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·Forward·declarations,·to·help·break·compilation·dependencies.</span></div> 
87 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·These·won&#39;t·necessarily·include·all·classes·in·libpqxx.</span></div> 
88 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01111.html">binarystring</a>;</div> 
89 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>;</div> 
90 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01135.html">connection_base</a>;</div> 
91 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>;</div> 
92 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01403.html">const_reverse_result_iterator</a>;</div> 
93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>;</div> 
94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01419.html">const_row_iterator</a>;</div> 
95 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01163.html">dbtransaction</a>;</div> 
96 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01331.html">field</a>;</div> 
97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01351.html">largeobjectaccess</a>;</div> 
98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01375.html">notification_receiver</a>;</div> 
99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01227.html">range_error</a>;</div> 
100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01395.html">result</a>;</div> 
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01415.html">row</a>;</div> 
102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01491.html">tablereader</a>;</div> 
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01527.html">transaction_base</a>;</div> 
104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace·pqxx</span></div>119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Name·of·package·*/</span></div>
 120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>
106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div>
 123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div>
 124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div>
 126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div>
 127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 128 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div>
 129 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·6.4.5&quot;</span></div>
 130 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 131 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div>
 132 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div>
 133 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 134 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div>
 135 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#define·PACKAGE_URL·&quot;&quot;</span></div>
 136 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 137 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div>
 138 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;6.4.5&quot;</span></div>
 139 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 140 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·floating-point·conversion.·*/</span></div>
 141 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">/*·#undef·PQXX_HAVE_CHARCONV_FLOAT·*/</span></div>
 142 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 143 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·integer·conversion.·*/</span></div>
 144 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">/*·#undef·PQXX_HAVE_CHARCONV_INT·*/</span></div>
Max diff block lines reached; 839/31821 bytes (2.64%) of diff not shown.
7.21 KB
html2text {}
    
Offset 1, 127 lines modifiedOffset 1, 123 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 types.hxx 
3 ·1 
4 ·10#ifndef·PQXX_H_TYPES 
5 ·11#define·PQXX_H_TYPES2 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/*·most·gcc·compilers·know·a·function·__attribute__((__const__))·*/
 7 ·5#define·GCC_CONST_CALL·__attribute__((__const__))
 8 ·6
 9 ·7/*·define·if·the·compiler·supports·basic·C++11·syntax·*/
 10 ·8#define·HAVE_CXX11·1
 11 ·9
 12 ·10/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/
 13 ·11#define·HAVE_DLFCN_H·1
6 ·1214 ·12
7 ·13#include·<cstddef> 
8 ·14 
9 ·15namespace·pqxx 
10 ·16{ 
11 18using·result_size_type·=·unsigned·long; 
12 ·19 
13 21using·result_difference_type·=·signed·long; 
14 ·22 
15 24using·row_size_type·=·unsigned·int; 
16 ·25 
17 27using·row_difference_type·=·signed·int; 
18 ·28 
19 30using·field_size_type·=·std::size_t; 
20 ·31 
21 33using·large_object_size_type·=·long; 
22 ·34 
23 ·35 
24 ·36//·Forward·declarations,·to·help·break·compilation·dependencies. 
25 ·37//·These·won't·necessarily·include·all·classes·in·libpqxx. 
26 ·38class·binarystring; 
27 ·39class·connectionpolicy; 
28 ·40class·connection_base; 
29 ·41class·const_result_iterator; 
30 ·42class·const_reverse_result_iterator; 
31 ·43class·const_reverse_row_iterator; 
32 ·44class·const_row_iterator; 
33 ·45class·dbtransaction; 
34 ·46class·field; 
35 ·47class·largeobjectaccess; 
36 ·48class·notification_receiver; 
37 ·49class·range_error; 
38 ·50class·result; 
39 ·51class·row; 
40 ·52class·tablereader; 
41 ·53class·transaction_base;15 ·13/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/
 16 ·14#define·HAVE_INTTYPES_H·1
 17 ·15
 18 ·16/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/
 19 ·17#define·HAVE_LIBPQ·1
 20 ·18
 21 ·19/*·System·supports·poll().·*/
 22 ·20#define·HAVE_POLL·1
 23 ·21
 24 ·22/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/
 25 ·23#define·HAVE_STDINT_H·1
 26 ·24
 27 ·25/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/
 28 ·26#define·HAVE_STDIO_H·1
 29 ·27
 30 ·28/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/
 31 ·29#define·HAVE_STDLIB_H·1
 32 ·30
 33 ·31/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/
 34 ·32#define·HAVE_STRINGS_H·1
 35 ·33
 36 ·34/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/
 37 ·35#define·HAVE_STRING_H·1
 38 ·36
 39 ·37/*·Define·to·1·if·you·have·the·<sys/select.h>·header·file.·*/
 40 ·38/*·#undef·HAVE_SYS_SELECT_H·*/
 41 ·39
 42 ·40/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/
 43 ·41#define·HAVE_SYS_STAT_H·1
 44 ·42
 45 ·43/*·Define·to·1·if·you·have·the·<sys/time.h>·header·file.·*/
 46 ·44#define·HAVE_SYS_TIME_H·1
 47 ·45
 48 ·46/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/
 49 ·47#define·HAVE_SYS_TYPES_H·1
 50 ·48
 51 ·49/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/
 52 ·50#define·HAVE_UNISTD_H·1
 53 ·51
 54 ·52/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.
 55 */
 56 ·53#define·LT_OBJDIR·".libs/"
42 ·5457 ·54
 58 ·55/*·Name·of·package·*/
 59 ·56#define·PACKAGE·"libpqxx"
 60 ·57
 61 ·58/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.
 62 */
 63 ·59#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen"
 64 ·60
 65 ·61/*·Define·to·the·full·name·of·this·package.·*/
 66 ·62#define·PACKAGE_NAME·"libpqxx"
 67 ·63
 68 ·64/*·Define·to·the·full·name·and·version·of·this·package.·*/
 69 ·65#define·PACKAGE_STRING·"libpqxx·6.4.5"
 70 ·66
 71 ·67/*·Define·to·the·one·symbol·short·name·of·this·package.·*/
 72 ·68#define·PACKAGE_TARNAME·"libpqxx"
 73 ·69
 74 ·70/*·Define·to·the·home·page·for·this·package.·*/
 75 ·71#define·PACKAGE_URL·""
 76 ·72
 77 ·73/*·Define·to·the·version·of·this·package.·*/
 78 ·74#define·PACKAGE_VERSION·"6.4.5"
 79 ·75
 80 ·76/*·Define·if·<charconv>·supports·floating-point·conversion.·*/
 81 ·77/*·#undef·PQXX_HAVE_CHARCONV_FLOAT·*/
 82 ·78
 83 ·79/*·Define·if·<charconv>·supports·integer·conversion.·*/
 84 ·80/*·#undef·PQXX_HAVE_CHARCONV_INT·*/
Max diff block lines reached; 81/7359 bytes (1.10%) of diff not shown.
46.4 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00011_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 229 lines modifiedOffset 55, 69 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00011_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00011_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">stream_from.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">subtransaction.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_FROM</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_SUBTRANSACTION</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_FROM</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_SUBTRANSACTION</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>72 <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>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/stream_base.hxx&quot;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*/</span></div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
78 <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="a00265.html">pqxx</a></div>79 <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="a00265.html">pqxx</a></div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01475.html">···29</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01475.html">stream_from</a>·:·<span·class="keyword">public</span>·<a·class="code·[·...·truncated·by·diffoscope;·len:·44,·SHA:·a29e278168da6f3a2f591f95d7c640ebdff4bcd949148a3182df42a4f352732c·...·]</div>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 83 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01487.html">···79</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>·:</div>
 84 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a>,</div>
 85 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div>
 86 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div>
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</span>:</div>87 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">public</span>:</div>
 88 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>(··············································<span·class="comment">//[t88]</span></div>
 89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div>
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div> 
85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">const</span>·std::string·&amp;table_name</div> 
87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··);</div> 
88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div> 
89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">const</span>·Columns&amp;·columns</div> 
92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··);</div> 
93 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iter&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div> 
94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····Iter·columns_begin,</div> 
97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····Iter·columns_end</div> 
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··);</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<a·class="code·hl_class"·href="a01475.html">~stream_from</a>()·<span·class="keyword">noexcept</span>;</div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</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="keywordtype">bool</span>·get_raw_line(std::string·&amp;);</div> 
105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>·&amp;·operator&gt;&gt;(Tuple·&amp;);</div> 
106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">private</span>:</div> 
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··internal::encoding_group·m_copy_encoding;</div> 
109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··std::string·m_current_line;</div> 
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">bool</span>·m_retry_line;</div> 
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">void</span>·set_up(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div> 
113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordtype">void</span>·set_up(</div> 
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>91 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01487.html">subtransaction</a>(</div>
 92 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<a·class="code·hl_class"·href="a01487.html">subtransaction</a>·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div>
115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·std::string·&amp;columns</div> 
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··);</div> 
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">void</span>·close()·<span·class="keyword">override</span>;</div> 
120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">bool</span>·extract_field(</div> 
122 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">const</span>·std::string·&amp;,</div> 
123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::string::size_type·&amp;,</div> 
124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····std::string·&amp;</div> 
125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··)·<span·class="keyword">const</span>;</div> 
126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
127 <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>·Tuple,·std::<span·class="keywordtype">size_t</span>·I&gt;·<span·class="keyword">auto</span>·tokenize_ith(</div> 
128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">const</span>·std::string·&amp;,</div> 
129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····Tuple·&amp;,</div> 
130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····std::string::size_type,</div> 
131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····std::string·&amp;</div> 
132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··)·<span·class="keyword">const</span>·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;(</div> 
133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····std::tuple_size&lt;Tuple&gt;::value·&gt;·I</div> 
134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··)&gt;::type;</div> 
135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple,·std::<span·class="keywordtype">size_t</span>·I&gt;·<span·class="keyword">auto</span>·tokenize_ith(</div> 
136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">const</span>·std::string·&amp;,</div> 
137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····Tuple·&amp;,</div> 
138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string::size_type,</div> 
139 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::string·&amp;</div> 
140 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··)·<span·class="keyword">const</span>·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;(</div> 
141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····std::tuple_size&lt;Tuple&gt;::value·&lt;=·I</div> 
142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··)&gt;::type;</div> 
143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>93 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 94 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01487.html#a50fe87342d56e35e44ad8d2537f8c50e">···92</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01487.html#a50fe87342d56e35e44ad8d2537f8c50e">~subtransaction</a>()·noexcept</div>
144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<span·class="keywordtype">void</span>·extract_value(</div> 
145 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">const</span>·std::string·&amp;line,</div> 
146 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····T&amp;·t,</div>95 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········{·End();·}</div>
147 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····std::string::size_type·&amp;here,</div> 
148 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::string·&amp;workspace</div> 
149 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··)·<span·class="keyword">const</span>;</div> 
150 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>};</div>96 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">private</span>:</div>
 98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t88]</span></div>
 99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t88]</span></div>
 100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t88]</span></div>
Max diff block lines reached; 20988/39964 bytes (52.52%) of diff not shown.
7.23 KB
html2text {}
    
Offset 1, 238 lines modifiedOffset 1, 69 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_from.hxx2 subtransaction.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_STREAM_FROM4 ·13#ifndef·PQXX_H_SUBTRANSACTION
5 ·14#define·PQXX_H_STREAM_FROM5 ·14#define·PQXX_H_SUBTRANSACTION
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
9 ·18#include·"pqxx/transaction_base.hxx"10 ·19#include·"pqxx/dbtransaction.hxx"
 11 ·20
10 ·19#include·"pqxx/stream_base.hxx" 
11 ·20#include·"pqxx/internal/type_utils.hxx" 
12 ·2112 ·21
13 ·22#include·<string> 
14 ·2313 ·22/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"
 14 ·23·*/
15 ·2415 ·24
 16 ·25
16 ·25namespace·pqxx17 ·26namespace·pqxx
17 ·26{ 
18 ·2718 ·27{
19 29class·PQXX_LIBEXPORT·stream_from·:·public·stream_base 
20 ·30{19 ·28
 20 ·33
 21 79class·PQXX_LIBEXPORT·subtransaction·:
 22 ·80·public·internal::transactionfocus,
 23 ·81·public·dbtransaction
 24 ·82{
21 ·31public:25 ·83public:
 26 ·85·explicit·subtransaction(·//[t88]
 27 ·86·dbtransaction·&T,·const·std::string·&Name=std::string{});
 28 ·87
 29 ·89·explicit·subtransaction(
 30 ·90·subtransaction·&T,·const·std::string·&Name=std::string{});
22 ·32·stream_from( 
23 ·33·transaction_base·&, 
24 ·34·const·std::string·&table_name 
25 ·35·); 
26 ·36·template<typename·Columns>·stream_from( 
27 ·37·transaction_base·&, 
28 ·38·const·std::string·&table_name, 
29 ·39·const·Columns&·columns 
30 ·40·); 
31 ·41·template<typename·Iter>·stream_from( 
32 ·42·transaction_base·&, 
33 ·43·const·std::string·&table_name, 
34 ·44·Iter·columns_begin, 
35 ·45·Iter·columns_end 
36 ·46·); 
37 ·47 
38 ·48·~stream_from()·noexcept; 
39 ·49 
40 ·50·void·complete()·override; 
41 ·51 
42 ·52·bool·get_raw_line(std::string·&); 
43 ·53·template<typename·Tuple>·stream_from·&·operator>>(Tuple·&); 
44 ·54 
45 ·55private: 
46 ·56·internal::encoding_group·m_copy_encoding; 
47 ·57·std::string·m_current_line; 
48 ·58·bool·m_retry_line; 
49 ·59 
50 ·60·void·set_up(transaction_base·&,·const·std::string·&table_name); 
51 ·61·void·set_up( 
52 ·62·transaction_base·&, 
53 ·63·const·std::string·&table_name, 
54 ·64·const·std::string·&columns 
55 ·65·); 
56 ·66 
57 ·67·void·close()·override; 
58 ·68 
59 ·69·bool·extract_field( 
60 ·70·const·std::string·&, 
61 ·71·std::string::size_type·&, 
62 ·72·std::string·& 
63 ·73·)·const; 
64 ·74 
65 ·75·template<typename·Tuple,·std::size_t·I>·auto·tokenize_ith( 
66 ·76·const·std::string·&, 
67 ·77·Tuple·&, 
68 ·78·std::string::size_type, 
69 ·79·std::string·& 
70 ·80·)·const·->·typename·std::enable_if<( 
71 ·81·std::tuple_size<Tuple>::value·>·I 
72 ·82·)>::type; 
73 ·83·template<typename·Tuple,·std::size_t·I>·auto·tokenize_ith( 
74 ·84·const·std::string·&, 
75 ·85·Tuple·&, 
76 ·86·std::string::size_type, 
77 ·87·std::string·& 
78 ·88·)·const·->·typename·std::enable_if<( 
79 ·89·std::tuple_size<Tuple>::value·<=·I 
80 ·90·)>::type; 
81 ·9131 ·91
82 ·92·template<typename·T>·void·extract_value( 
83 ·93·const·std::string·&line, 
84 ·94·T&·t, 
85 ·95·std::string::size_type·&here, 
86 ·96·std::string·&workspace 
87 ·97·)·const; 
88 ·98};32 92·virtual·~subtransaction()·noexcept
 33 ·93·{·End();·}
 34 ·94
 35 ·95private:
 36 ·96·virtual·void·do_begin()·override;·//[t88]
 37 ·97·virtual·void·do_commit()·override;·//[t88]
 38 ·98·virtual·void·do_abort()·override;·//[t88]
89 ·9939 ·99
 40 ·100·dbtransaction·&m_parent;
 41 ·101};
90 ·100 
91 101template<typename·Columns>·stream_from::stream_from( 
92 ·102·transaction_base·&tb, 
93 ·103·const·std::string·&table_name, 
94 ·104·const·Columns&·columns 
95 ·105)·:·stream_from{ 
96 ·106·tb, 
97 ·107·table_name, 
98 ·108·std::begin(columns), 
99 ·109·std::end(columns) 
Max diff block lines reached; 1434/7378 bytes (19.44%) of diff not shown.
64.2 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·connectionpolicy.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 55, 288 lines modifiedOffset 55, 69 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00014_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">util.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">connectionpolicy.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_UTIL</span></div>66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTIONPOLICY</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_UTIL</span></div>67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_CONNECTIONPOLICY</span></div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div> 
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cctype&gt;</span></div> 
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/libpq-forward.hxx&quot;</span></div>
 75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>78 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>79 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div> 
82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
84 <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="a00265.html">pqxx</a>·{}</div> 
85 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>80 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 81 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01143.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div>
86 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;pqxx/internal/libpq-forward.hxx&gt;</span></div> 
87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
88 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
89 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div>82 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00265.html#aa3dac50e282e072b936eb1c7885b6b28">···38</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<span·class="keyword">inline</span>·<span·cl[·...·truncated·by·diffoscope;·len:·134,·SHA:·0842a4880d67bba1f109be5d851cbef4e259070d49402e44063230c40caff3f7·...·]</div>83 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div>
 84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·=·internal::pq::PGconn·*;</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>85 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 86 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>(<span·class="keyword">const</span>·std::string·&amp;opts);</div>
 87 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01143.html">~connectionpolicy</a>()·noexcept;</div>
 88 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 89 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01143.html#a0952122ab61cee00148fc6976b6b9f85">···39</a></span>··const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;options()·const·noexcept·{·<span·class="keywordflow">return</span>·m_options;·}</div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>90 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 91 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">virtual</span>·handle·do_startconnect(handle·orig);</div>
 92 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">virtual</span>·handle·do_completeconnect(handle·orig);</div>
 93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·handle·do_dropconnect(handle·orig)·<span·class="keyword">noexcept</span>;</div>
 94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">virtual</span>·handle·do_disconnect(handle·orig)·<span·class="keyword">noexcept</span>;</div>
 95 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·is_ready(handle)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div>
94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>96 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01535.html">···44</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01535.html">thread_safety_model</a></div>97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">protected</span>:</div>
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div>98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··handle·normalconnect(handle);</div>
97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01535.html#a76f2924aaefac243d3770f1f4b698211">···47</a></span>··<span·class="keywordtype">bool</span>·have_safe_strerror·=·<span·class="keyword">true</span>;</div> 
98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">···50</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">safe_libpq</a>;</div>100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">private</span>:</div>
 101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::string·m_options;</div>
 102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>};</div>
100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01535.html#ace2546ec39e30e8793cc4a296216f259">···53</a></span>··<span·class="keywordtype">bool</span>·safe_query_cancel·=·<span·class="keyword">true</span>;</div>104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace</span></div>
102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
103 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01535.html#adb5c47ea21c35c73432de0d0b7e80bdb">···56</a></span>··<span·class="keywordtype">bool</span>·safe_result_copy·=·<span·class="keyword">true</span>;</div>106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01535.html#abe3528c0d2e42d6e98d80f0b45d79002">···65</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01535.html#abe3528c0d2e42d6e98d80f0b45d79002">safe_kerberos</a>;</div> 
107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01535.html#adddd2eaf6dbc5feca29ce00f91b4d648">···68</a></span>··std::string·<a·class="code·hl_variable"·href="a01535.html#adddd2eaf6dbc5feca29ce00f91b4d648">description</a>;</div> 
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div> 
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01535.html">thread_safety_model</a>·<a·class="code·hl_function"·href="a00265.html#a158bb6d2149de1ed418dae1587340ed4">describe_thread_safety</a>()·noexcept;</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>·</div> 
115 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00265.html#aea8d8e21558dad5b03ac2f73910c93e1">···77</a></span>constexpr·oid·<a·class="code·hl_variable"·href="a00265.html#aea8d8e21558dad5b03ac2f73910c93e1">oid_none</a>·=·0;</div> 
116 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
117 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
118 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
120 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>template&lt;typename·ITER,·typename·ACCESS&gt;·inline</div> 
121 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">···95</a></span><a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(·············································<span·class="comment">//[t00]</span></div> 
122 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;sep,</div> 
123 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········ITER·begin,</div> 
124 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········ITER·end,</div> 
125 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>········ACCESS·access)</div> 
126 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>{</div> 
127 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··std::string·<a·class="code·hl_class"·href="a01395.html">result</a>;</div> 
128 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordflow">if</span>·(begin·!=·end)</div> 
129 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{</div> 
130 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<a·class="code·hl_class"·href="a01395.html">result</a>·=·<a·class="code·hl_function"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">to_string</a>(access(begin));</div> 
131 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">for</span>·(++begin;·begin·!=·end;·++begin)</div> 
132 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····{</div> 
133 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······<a·class="code·hl_class"·href="a01395.html">result</a>·+=·sep;</div> 
134 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······<a·class="code·hl_class"·href="a01395.html">result</a>·+=·<a·class="code·hl_function"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">to_string</a>(access(begin));</div> 
135 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····}</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>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01395.html">result</a>;</div> 
138 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>}</div> 
139 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
140 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
141 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span>·std::string</div> 
142 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00265.html#a5123fc11695c56a283bf5d748c04f4ed">··117</a></span><a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="keyword">const</span>·std::string·&amp;sep,·ITER·begin,·ITER·end)············<span·class="comment">//[t00]</span></div> 
143 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(sep,·begin,·end,·[](ITER·i){·<span·class="keywordflow">return</span>·*i;·});·}</div> 
144 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
145 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
146 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONTAINER&gt;·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div> 
147 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a00265.html#ab3f45d4d75d0952f06f4f9df62563e5a">··123</a></span><a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="keyword">const</span>·std::string·&amp;sep,·<span·class="keyword">const</span>·CONTAINER·&amp;c)··············<span·class="comment">//[t10]</span></div> 
148 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="comment">/*</span></div> 
Max diff block lines reached; 10794/55570 bytes (19.42%) of diff not shown.
9.83 KB
html2text {}
    
Offset 1, 347 lines modifiedOffset 1, 66 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 util.hxx2 connectionpolicy.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_UTIL 
5 ·12#define·PQXX_H_UTIL 
6 ·134 ·12#ifndef·PQXX_H_CONNECTIONPOLICY
 5 ·13#define·PQXX_H_CONNECTIONPOLICY
 6 ·14
7 ·14#include·"pqxx/compiler-public.hxx"7 ·15#include·"pqxx/compiler-public.hxx"
 8 ·16#include·"pqxx/compiler-internal-pre.hxx"
 9 ·17
8 ·15 
9 ·16#include·<cstdio> 
10 ·17#include·<cctype> 
11 ·18#include·<iterator> 
12 ·19#include·<memory> 
13 ·20#include·<stdexcept> 
14 ·21#include·<string>10 ·18#include·<string>
15 ·22#include·<type_traits> 
16 ·23#include·<typeinfo> 
17 ·24#include·<vector>11 ·19
 12 ·20#include·"pqxx/internal/libpq-forward.hxx"
 13 ·21
 14 ·22
 15 ·23namespace·pqxx
 16 ·24{
18 ·2517 ·25
 18 ·30
 19 31class·PQXX_LIBEXPORT·connectionpolicy
19 ·26#include·"pqxx/strconv.hxx" 
20 ·27 
21 ·28 
22 ·30namespace·pqxx·{} 
23 ·31 
24 ·32#include·<pqxx/internal/libpq-forward.hxx> 
25 ·33 
26 ·34 
27 ·35namespace·pqxx 
28 ·36{20 ·32{
29 38template<typename·T>·inline·void·ignore_unused(T)·{} 
30 ·3921 ·33public:
 22 34·using·handle·=·internal::pq::PGconn·*;
 23 ·35
 24 ·36·explicit·connectionpolicy(const·std::string·&opts);
 25 ·37·virtual·~connectionpolicy()·noexcept;
 26 ·38
 27 39·const·std::string·&options()·const·noexcept·{·return·m_options;·}
31 ·4028 ·40
 29 ·41·virtual·handle·do_startconnect(handle·orig);
 30 ·42·virtual·handle·do_completeconnect(handle·orig);
 31 ·43·virtual·handle·do_dropconnect(handle·orig)·noexcept;
 32 ·44·virtual·handle·do_disconnect(handle·orig)·noexcept;
 33 ·45·virtual·bool·is_ready(handle)·const·noexcept;
 34 ·46
 35 ·47protected:
 36 ·48·handle·normalconnect(handle);
 37 ·49
32 ·42 
33 44struct·PQXX_LIBEXPORT·thread_safety_model 
34 ·45{ 
35 47·bool·have_safe_strerror·=·true; 
36 ·48 
37 50·bool·safe_libpq; 
38 ·51 
39 53·bool·safe_query_cancel·=·true; 
40 ·54 
41 56·bool·safe_result_copy·=·true; 
42 ·57 
43 ·59 
44 65·bool·safe_kerberos; 
45 ·66 
46 68·std::string·description; 
47 ·69}; 
48 ·70 
49 ·71 
50 ·73PQXX_LIBEXPORT·thread_safety_model·describe_thread_safety()·noexcept; 
51 ·74 
52 ·75 
53 77constexpr·oid·oid_none·=·0; 
54 ·78 
55 ·79 
56 ·84 
57 ·86 
58 ·94template<typename·ITER,·typename·ACCESS>·inline 
59 95std::string·separated_list(·//[t00] 
60 ·96·const·std::string·&sep, 
61 ·97·ITER·begin, 
62 ·98·ITER·end, 
63 ·99·ACCESS·access) 
64 ·100{ 
65 ·101·std::string·result; 
66 ·102·if·(begin·!=·end) 
67 ·103·{ 
68 ·104·result·=·to_string(access(begin)); 
69 ·105·for·(++begin;·begin·!=·end;·++begin) 
70 ·106·{ 
71 ·107·result·+=·sep; 
72 ·108·result·+=·to_string(access(begin)); 
73 ·109·} 
74 ·110·} 
75 ·111·return·result; 
76 ·112} 
77 ·113 
78 ·114 
79 ·116template<typename·ITER>·inline·std::string 
80 117separated_list(const·std::string·&sep,·ITER·begin,·ITER·end)·//[t00] 
81 ·118·{·return·separated_list(sep,·begin,·end,·[](ITER·i){·return·*i;·});·} 
82 ·119 
83 ·120 
84 ·122template<typename·CONTAINER>·inline·auto 
85 123separated_list(const·std::string·&sep,·const·CONTAINER·&c)·//[t10] 
86 ·124·/* 
87 ·125·Always·std::string;·necessary·because·SFINAE·doesn't·work·with·the 
88 ·126·contents·of·function·bodies,·so·the·check·for·iterability·has·to·be·in 
89 ·127·the·signature. 
90 ·128·*/ 
91 ·129·->·typename·std::enable_if< 
92 ·130·( 
93 ·131·not·std::is_void<decltype(std::begin(c))>::value 
94 ·132·and·not·std::is_void<decltype(std::end(c))>::value 
95 ·133·), 
Max diff block lines reached; 3592/10046 bytes (35.76%) of diff not shown.
27.2 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal-pre.hxx·Source·File</title>8 <title>libpqxx:·basic_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 55, 43 lines modifiedOffset 55, 110 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00017_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">compiler-internal-pre.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">basic_connection.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_BASIC_CONNECTION</span></div>
 67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_BASIC_CONNECTION</span></div>
67 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
68 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·_WIN32</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
69 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div> 
70 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
71 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·Save·client·program·warning·state,·and·set·warning·level·4.</span></div> 
72 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Setting·the·warning·level·explicitly·ensures·that·libpqxx</span></div> 
73 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·headers·will·work·with·this·warning·level·as·well.</span></div> 
74 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#pragma·warning·(push,4)</span></div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#pragma·warning·(disable:·4251)</span></div> 
77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#pragma·warning·(disable:·4273)</span></div> 
78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#pragma·warning·(disable:·4275)</span></div> 
79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#pragma·warning·(disable:·4355)</span></div> 
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#pragma·warning·(disable:·4511)·</span><span·class="comment">//·Copy·constructor·could·not·be·generated.</span></div> 
81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#pragma·warning·(disable:·4512)·</span><span·class="comment">//·Assignment·operator·could·not·be·generated.</span></div> 
82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#pragma·warning·(disable:·4996)·</span><span·class="comment">//·Deprecation·warning,·e.g.·about·strncpy().</span></div> 
83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#endif·</span><span·class="comment">//·_MSC_VER</span></div> 
85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif·</span><span·class="comment">//·_WIN32</span></div>79 <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="a00265.html">pqxx</a></div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 83 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01103.html">···45</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONNECTPOLICY&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>·:</div>
 84 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01135.html">connection_base</a></div>
 85 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>
 86 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>
 87 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">···49</a></span>··<a·class="code·hl_function"·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">basic_connection_base</a>()·:</div>
 88 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<a·class="code·hl_class"·href="a01135.html">connection_base</a>(m_policy),</div>
 89 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····m_options(<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{}),</div>
 90 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····m_policy(m_options)</div>
 91 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········{·<a·class="code·hl_function"·href="a01135.html#a1d1c129c2c5797a82f251ee9dabec77e">init</a>();·}</div>
 92 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 93 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">···57</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">basic_connection_base</a>(<span·class="keyword">const</span>·std::string·&amp;opt)·:</div>
 94 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<a·class="code·hl_class"·href="a01135.html">connection_base</a>(m_policy),</div>
 95 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····m_options(opt),</div>
 96 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····m_policy(m_options)</div>
 97 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········{<a·class="code·hl_function"·href="a01135.html#a1d1c129c2c5797a82f251ee9dabec77e">init</a>();}</div>
 98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 99 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">···64</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">basic_connection_base</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·opt[])·:</div>
 100 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>(opt·?·<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{opt}·:·<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{})·{}</div>
 101 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 102 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">···67</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">basic_connection_base</a>(std::nullptr_t)·:·<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>()·{}</div>
 103 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 104 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">···69</a></span>··<a·class="code·hl_function"·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">~basic_connection_base</a>()·noexcept</div>
 105 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········{·<a·class="code·hl_function"·href="a01135.html#a1fe99a79b990f03a57fc258d4bb8eab9">close</a>();·}</div>
 106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">···72</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">options</a>()·const·noexcept···························<span·class="comment">//[t01]</span></div>
 108 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········{<span·class="keywordflow">return</span>·m_policy.options();}</div>
 109 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 110 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div>
 111 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··std::string·m_options;</div>
 112 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··CONNECTPOLICY·m_policy;</div>
 113 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>};</div>
 114 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 116 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 117 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01107.html">···88</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONNECTPOLICY&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01107.html">basic_connection</a>·:</div>
 118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>&lt;CONNECTPOLICY&gt;</div>
 119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>{</div>
 120 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01107.html#aba8b432e3ddb48446c5daf27ca191c91">···91</a></span>··PQXX_DEPRECATED·<a·class="code·hl_function"·href="a01107.html#aba8b432e3ddb48446c5daf27ca191c91">basic_connection</a>()·=<span·class="keywordflow">default</span>;</div>
 121 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">···92</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">basic_connection</a>(<span·class="keyword">const</span>·std::string·&amp;opt)·:</div>
 122 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>(opt)·{}</div>
 123 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01107.html#aa6c74a9abcfa2b13c2334d0c38f66305">···94</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#aa6c74a9abcfa2b13c2334d0c38f66305">basic_connection</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·opt[])·:</div>
 124 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>(opt)·{}</div>
 125 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 126 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01107.html#a864a689820abb61e79482142354877bd">···97</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#a864a689820abb61e79482142354877bd">basic_connection</a>(std::nullptr_t)·:</div>
 127 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>()·{}</div>
 128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>&lt;CONNECTPOLICY&gt;<a·class="code·hl_function"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">::options</a>;</div>
 130 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>};</div>
 131 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 132 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace</span></div>
 133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 134 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
 135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#endif</span></div>
 137 <div·class="ttc"·id="aa00264_html"><div·class="ttname"><a·href="a00264.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
 138 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
 139 <div·class="ttc"·id="aa01103_html"><div·class="ttname"><a·href="a01103.html">pqxx::basic_connection_base</a></div><div·class="ttdoc">Base-class·template·for·all·libpqxx·connection·types.</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:47</div></div>
 140 <div·class="ttc"·id="aa01103_html_a11e306c9d2aee94482d87eb666381bdb"><div·class="ttname"><a·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:57</div></div>
 141 <div·class="ttc"·id="aa01103_html_a5426e5cb4008107f73aa69832ff5336d"><div·class="ttname"><a·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">pqxx::basic_connection_base::options</a></div><div·class="ttdeci">const·std::string·&amp;·options()·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:72</div></div>
 142 <div·class="ttc"·id="aa01103_html_ad09659ca1a0c7a9213f58bf66646c091"><div·class="ttname"><a·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(std::nullptr_t)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:67</div></div>
 143 <div·class="ttc"·id="aa01103_html_ae78d4742db05a287d85779d98e3d2d3c"><div·class="ttname"><a·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">pqxx::basic_connection_base::~basic_connection_base</a></div><div·class="ttdeci">~basic_connection_base()·noexcept</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:69</div></div>
 144 <div·class="ttc"·id="aa01103_html_afad301146d88cce2ec18b4af9e7d20c2"><div·class="ttname"><a·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(const·char·opt[])</div><div·class="ttdoc">See:·basic_connection(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:64</div></div>
 145 <div·class="ttc"·id="aa01103_html_afd89f4c442ef6b5c586168949124ea92"><div·class="ttname"><a·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base()</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:49</div></div>
 146 <div·class="ttc"·id="aa01107_html"><div·class="ttname"><a·href="a01107.html">pqxx::basic_connection</a></div><div·class="ttdoc">Concrete·connection·type·template.</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:90</div></div>
 147 <div·class="ttc"·id="aa01107_html_a0436a1271586987e97bdf5b59b96f607"><div·class="ttname"><a·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:92</div></div>
 148 <div·class="ttc"·id="aa01107_html_a864a689820abb61e79482142354877bd"><div·class="ttname"><a·href="a01107.html#a864a689820abb61e79482142354877bd">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection(std::nullptr_t)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:97</div></div>
 149 <div·class="ttc"·id="aa01107_html_aa6c74a9abcfa2b13c2334d0c38f66305"><div·class="ttname"><a·href="a01107.html#aa6c74a9abcfa2b13c2334d0c38f66305">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection(const·char·opt[])</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:94</div></div>
 150 <div·class="ttc"·id="aa01107_html_aba8b432e3ddb48446c5daf27ca191c91"><div·class="ttname"><a·href="a01107.html#aba8b432e3ddb48446c5daf27ca191c91">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection()=default</div></div>
 151 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div>
 152 <div·class="ttc"·id="aa01135_html_a1d1c129c2c5797a82f251ee9dabec77e"><div·class="ttname"><a·href="a01135.html#a1d1c129c2c5797a82f251ee9dabec77e">pqxx::connection_base::init</a></div><div·class="ttdeci">void·init()</div><div·class="ttdef"><b>Definition:</b>·connection_base.cxx:99</div></div>
 153 <div·class="ttc"·id="aa01135_html_a1fe99a79b990f03a57fc258d4bb8eab9"><div·class="ttname"><a·href="a01135.html#a1fe99a79b990f03a57fc258d4bb8eab9">pqxx::connection_base::close</a></div><div·class="ttdeci">void·close()·noexcept</div><div·class="ttdef"><b>Definition:</b>·connection_base.cxx:902</div></div>
Max diff block lines reached; 867/23061 bytes (3.76%) of diff not shown.
4.59 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 134 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal-pre.hxx2 basic_connection.hxx
3 ·13 ·1
4 ·15//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time! 
5 ·16 
6 ·17#ifdef·_WIN32 
7 ·18#ifdef·_MSC_VER 
8 ·19 
9 ·20//·Save·client·program·warning·state,·and·set·warning·level·4. 
10 ·21//·Setting·the·warning·level·explicitly·ensures·that·libpqxx 
11 ·22//·headers·will·work·with·this·warning·level·as·well. 
12 ·23#pragma·warning·(push,4)4 ·13#ifndef·PQXX_H_BASIC_CONNECTION
 5 ·14#define·PQXX_H_BASIC_CONNECTION
 6 ·15
 7 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·<cstddef>
 11 ·20#include·<memory>
 12 ·21#include·<string>
 13 ·22
 14 ·23#include·"pqxx/connection_base.hxx"
13 ·2415 ·24
14 ·25#pragma·warning·(disable:·4251) 
15 ·26#pragma·warning·(disable:·4273) 
16 ·27#pragma·warning·(disable:·4275) 
17 ·28#pragma·warning·(disable:·4355) 
18 ·29#pragma·warning·(disable:·4511)·//·Copy·constructor·could·not·be·generated. 
19 ·30#pragma·warning·(disable:·4512)·//·Assignment·operator·could·not·be 
20 generated. 
21 ·31#pragma·warning·(disable:·4996)·//·Deprecation·warning,·e.g.·about·strncpy 
22 (). 
23 ·32 
24 ·33#endif·//·_MSC_VER 
25 ·34#endif·//·_WIN32 
26 ·3516 ·25
 17 ·26namespace·pqxx
 18 ·27{
 19 ·28
 20 ·30
 21 45template<typename·CONNECTPOLICY>·class·basic_connection_base·:
 22 ·46·public·connection_base
 23 ·47{
 24 ·48public:
 25 49·basic_connection_base()·:
 26 ·50·connection_base(m_policy),
 27 ·51·m_options(std::string{}),
 28 ·52·m_policy(m_options)
 29 ·53·{·init();·}
 30 ·54
 31 57·explicit·basic_connection_base(const·std::string·&opt)·:
 32 ·58·connection_base(m_policy),
 33 ·59·m_options(opt),
 34 ·60·m_policy(m_options)
 35 ·61·{init();}
 36 ·62
 37 64·explicit·basic_connection_base(const·char·opt[])·:
 38 ·65·basic_connection_base(opt·?·std::string{opt}·:·std::string{})·{}
 39 ·66
 40 67·explicit·basic_connection_base(std::nullptr_t)·:·basic_connection_base()·{}
 41 ·68
 42 69·~basic_connection_base()·noexcept
 43 ·70·{·close();·}
 44 ·71
 45 72·const·std::string·&options()·const·noexcept·//[t01]
 46 ·73·{return·m_policy.options();}
 47 ·74
 48 ·75private:
 49 ·77·std::string·m_options;
 50 ·79·CONNECTPOLICY·m_policy;
 51 ·80};
 52 ·81
 53 ·82
 54 ·84
 55 88template<typename·CONNECTPOLICY>·struct·basic_connection·:
 56 ·89·basic_connection_base<CONNECTPOLICY>
 57 ·90{
 58 91·PQXX_DEPRECATED·basic_connection()·=default;
 59 92·PQXX_DEPRECATED·explicit·basic_connection(const·std::string·&opt)·:
 60 ·93·basic_connection(opt)·{}
 61 94·PQXX_DEPRECATED·explicit·basic_connection(const·char·opt[])·:
 62 ·95·basic_connection(opt)·{}
 63 ·96
 64 97·PQXX_DEPRECATED·explicit·basic_connection(std::nullptr_t)·:
 65 ·98·basic_connection()·{}
 66 ·99
 67 ·100·using·basic_connection_base<CONNECTPOLICY>::options;
 68 ·101};
 69 ·102
 70 ·103}·//·namespace
 71 ·104
 72 ·105#include·"pqxx/compiler-internal-post.hxx"
 73 ·106
 74 ·107#endif
 75 std
 76 STL·namespace.
 77 pqxx
 78 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 79 Definition:·array.hxx:26
 80 pqxx::basic_connection_base
 81 Base-class·template·for·all·libpqxx·connection·types.
 82 Definition:·basic_connection.hxx:47
 83 pqxx::basic_connection_base::basic_connection_base
 84 basic_connection_base(const·std::string·&opt)
 85 Definition:·basic_connection.hxx:57
 86 pqxx::basic_connection_base::options
 87 const·std::string·&·options()·const·noexcept
 88 Definition:·basic_connection.hxx:72
 89 pqxx::basic_connection_base::basic_connection_base
 90 basic_connection_base(std::nullptr_t)
 91 Definition:·basic_connection.hxx:67
 92 pqxx::basic_connection_base::~basic_connection_base
 93 ~basic_connection_base()·noexcept
 94 Definition:·basic_connection.hxx:69
 95 pqxx::basic_connection_base::basic_connection_base
 96 basic_connection_base(const·char·opt[])
 97 See:·basic_connection(const·std::string·&opt)
 98 Definition:·basic_connection.hxx:64
 99 pqxx::basic_connection_base::basic_connection_base
 100 basic_connection_base()
 101 Definition:·basic_connection.hxx:49
Max diff block lines reached; 109/4673 bytes (2.33%) of diff not shown.
24.0 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·stream_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 55, 69 lines modifiedOffset 55, 80 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00020_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">notification.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">stream_base.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NOTIFICATION</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_BASE</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NOTIFICATION</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_BASE</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
77 <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="a00265.html">pqxx</a></div>77 <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="a00265.html">pqxx</a></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
80 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01375.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a></div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01471.html">···27</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01471.html">stream_base</a>·:</div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a></div>
 82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div>
 84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01471.html">stream_base</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;);</div>
 85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·TODO:·Can·we·get·rid·of·the·vtable?</span></div>
 86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01471.html#aa5fdada7367e5c02e4e5415b71380fe5">···33</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01471.html#aa5fdada7367e5c02e4e5415b71380fe5">~stream_base</a>()·noexcept·=default;</div>
 87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01471.html#a678a22bdda7dd7c993f550bbd4399fa6">···34</a></span>··virtual·<span·class="keywordtype">void</span>·complete()·=·0;</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··operator·<span·class="keywordtype">bool</span>()·const·noexcept;</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordtype">bool</span>·operator!()·const·noexcept;</div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>protected:</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01471.html#adc270a9de2641907ce5fefed506f8f9b">···38</a></span>··<span·class="keywordtype">bool</span>·m_finished;</div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··virtual·<span·class="keywordtype">void</span>·close();</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··template&lt;typename·C&gt;·static·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·columnlist(const·C·&amp;);</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··template&lt;typename·I&gt;·static·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·columnlist(I·begin,·I·end);</div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>private:</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>();</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>(const·<a·class="code·hl_class"·href="a01471.html">stream_base</a>&amp;);</div>
 98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>·&amp;·operator=(const·<a·class="code·hl_class"·href="a01471.html">stream_base</a>·&amp;);</div>
 99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>};</div>
 100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01471.html#ab8673c77b9923ea1e74504ddcdb14f65">···48</a></span>template&lt;typename·C&gt;·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·<a·class="code·hl_class"·href="a01471.html">stream_base</a>::columnlist(const·C·&amp;c)</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>·columnlist(std::begin(c),·std::end(c));</div>
 104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>
 105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01471.html#a0dd6331589aa9a1a6433a07995cc61fb">···53</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·I&gt;·std::string·<a·class="code·hl_function"·href="a01471.html#ab8673c77b9923ea1e74504ddcdb14f65">stream_base::columnlist</a>(I·begin,·I·end)</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
 108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="stringliteral">&quot;,&quot;</span>,·begin,·end);</div>
81 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}</div>
 110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
82 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>}·<span·class="comment">//·namespace·pqxx</span></div>
83 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
84 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;c,·<span·class="keyword">const</span>·std::string·&amp;channel);</div> 
85 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">···64</a></span>··<a·class="code·hl_function"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">notification_receiver</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
86 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01375.html#aef0a99b4f713ab82e1bae430fe2eb52e">···65</a></span>··<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;<a·class="code·hl_function"·href="a01375.html#aef0a99b4f713ab82e1bae430fe2eb52e">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01375.html">~notification_receiver</a>();</div> 
88 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
89 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">···69</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">channel</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·m_channel;·}</div> 
90 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
91 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
92 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01375.html#ab1956501c582e41377bc54b4db377ded">···79</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01375.html#ab1956501c582e41377bc54b4db377ded">operator()</a>(<span·class="keyword">const</span>·std::string·&amp;payload,·<span·class="keywordtype">int</span>·backend_pid)·=0;</div> 
93 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
94 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">protected</span>:</div> 
95 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01375.html#a84371d7b0bb46374cb6906f3b506b9f1">···82</a></span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;<a·class="code·hl_function"·href="a01375.html#a84371d7b0bb46374cb6906f3b506b9f1">conn</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_conn;·}</div> 
96 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
97 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div> 
98 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;m_conn;</div> 
99 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··std::string·m_channel;</div> 
100 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div> 
101 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}</div> 
102 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
103 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
104 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#endif</span></div>115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#endif</span></div>
 116 <div·class="ttc"·id="aa00264_html"><div·class="ttname"><a·href="a00264.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
105 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>117 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
106 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div>118 <div·class="ttc"·id="aa00265_html_ad97fec1db4afab602cfcf189109df23b"><div·class="ttname"><a·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">pqxx::separated_list</a></div><div·class="ttdeci">std::string·separated_list(const·std::string·&amp;sep,·ITER·begin,·ITER·end,·ACCESS·a[·...·truncated·by·diffoscope;·len:·156,·SHA:·8221892c12d5364167f93f374f4bbcc4e59f1212b4e49be29d545097e4ec4c2f·...·]</div></div>
107 <div·class="ttc"·id="aa01375_html"><div·class="ttname"><a·href="a01375.html">pqxx::notification_receiver</a></div><div·class="ttdef"><b>Definition:</b>·notification.hxx:56</div></div>119 <div·class="ttc"·id="aa01471_html"><div·class="ttname"><a·href="a01471.html">pqxx::stream_base</a></div><div·class="ttdef"><b>Definition:</b>·stream_base.hxx:29</div></div>
 120 <div·class="ttc"·id="aa01471_html_aa5fdada7367e5c02e4e5415b71380fe5"><div·class="ttname"><a·href="a01471.html#aa5fdada7367e5c02e4e5415b71380fe5">pqxx::stream_base::~stream_base</a></div><div·class="ttdeci">virtual·~stream_base()·noexcept=default</div></div>
 121 <div·class="ttc"·id="aa01471_html_ab8673c77b9923ea1e74504ddcdb14f65"><div·class="ttname"><a·href="a01471.html#ab8673c77b9923ea1e74504ddcdb14f65">pqxx::stream_base::columnlist</a></div><div·class="ttdeci">static·std::string·columnlist(const·C·&amp;)</div><div·class="ttdef"><b>Definition:</b>·stream_base.hxx:48</div></div>
 122 <div·class="ttc"·id="aa01519_html"><div·class="ttname"><a·href="a01519.html">pqxx::internal::transactionfocus</a></div><div·class="ttdef"><b>Definition:</b>·transaction_base.hxx:44</div></div>
 123 <div·class="ttc"·id="aa01527_html"><div·class="ttname"><a·href="a01527.html">pqxx::transaction_base</a></div><div·class="ttdoc">Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes.</div><div·class="ttdef"><b>Definition:</b>·transaction_base.hxx:138</div></div>
108 <div·class="ttc"·id="aa01375_html_a6f64b03667197bccb77c9fa4a1ecfbe0"><div·class="ttname"><a·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">pqxx::notification_receiver::notification_receiver</a></div><div·class="ttdeci">notification_receiver(const·notification_receiver·&amp;)=delete</div></div> 
109 <div·class="ttc"·id="aa01375_html_a84371d7b0bb46374cb6906f3b506b9f1"><div·class="ttname"><a·href="a01375.html#a84371d7b0bb46374cb6906f3b506b9f1">pqxx::notification_receiver::conn</a></div><div·class="ttdeci">connection_base·&amp;·conn()·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·notification.hxx:82</div></div> 
110 <div·class="ttc"·id="aa01375_html_a8da32054156ce1bc7e683bfd57d018be"><div·class="ttname"><a·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">pqxx::notification_receiver::channel</a></div><div·class="ttdeci">const·std::string·&amp;·channel()·const</div><div·class="ttdoc">The·channel·that·this·receiver·listens·on.</div><div·class="ttdef"><b>Definition:</b>·notification.hxx:69</div></div> 
111 <div·class="ttc"·id="aa01375_html_ab1956501c582e41377bc54b4db377ded"><div·class="ttname"><a·href="a01375.html#ab1956501c582e41377bc54b4db377ded">pqxx::notification_receiver::operator()</a></div><div·class="ttdeci">virtual·void·operator()(const·std::string·&amp;payload,·int·backend_pid)=0</div><div·class="ttdoc">Overridable:·action·to·invoke·when·notification·arrives.</div></div> 
112 <div·class="ttc"·id="aa01375_html_aef0a99b4f713ab82e1bae430fe2eb52e"><div·class="ttname"><a·href="a01375.html#aef0a99b4f713ab82e1bae430fe2eb52e">pqxx::notification_receiver::operator=</a></div><div·class="ttdeci">notification_receiver·&amp;·operator=(const·notification_receiver·&amp;)=delete</div></div> 
113 </div><!--·fragment·--></div><!--·contents·-->124 </div><!--·fragment·--></div><!--·contents·-->
114 </div><!--·doc-content·-->125 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->127 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
117 ··<ul>128 ··<ul>
118 ····<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>129 ····<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>stream_base.hxx</b></li>
119 ····<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.4·</li>130 ····<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.4·</li>
120 ··</ul>131 ··</ul>
121 </div>132 </div>
122 </body>133 </body>
123 </html>134 </html>
3.93 KB
html2text {}
    
Offset 1, 74 lines modifiedOffset 1, 85 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 notification.hxx2 stream_base.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_NOTIFICATION 
5 ·14#define·PQXX_H_NOTIFICATION4 ·13#ifndef·PQXX_H_STREAM_BASE
 5 ·14#define·PQXX_H_STREAM_BASE
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·18 
10 ·19#include·<string>9 ·18#include·"pqxx/transaction_base.hxx"
 10 ·19#include·"pqxx/util.hxx"
11 ·2011 ·20
12 ·21#include·"pqxx/types.hxx"12 ·21#include·<string>
13 ·2213 ·22
14 ·2314 ·23
15 ·24namespace·pqxx15 ·24namespace·pqxx
16 ·25{16 ·25{
17 ·27 
18 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·notification_receiver 
19 ·56{17 ·26
 18 27class·PQXX_LIBEXPORT·PQXX_NOVTABLE·stream_base·:
 19 ·28·public·internal::transactionfocus
 20 ·29{
20 ·57public:21 ·30public:
 22 ·31·explicit·stream_base(transaction_base·&);
 23 ·32·//·TODO:·Can·we·get·rid·of·the·vtable?
 24 33·virtual·~stream_base()·noexcept·=default;
 25 34·virtual·void·complete()·=·0;
 26 ·35·operator·bool()·const·noexcept;
 27 ·36·bool·operator!()·const·noexcept;
 28 ·37protected:
 29 38·bool·m_finished;
 30 ·39·virtual·void·close();
 31 ·40·template<typename·C>·static·std::string·columnlist(const·C·&);
 32 ·41·template<typename·I>·static·std::string·columnlist(I·begin,·I·end);
 33 ·42private:
 34 ·43·stream_base();
 35 ·44·stream_base(const·stream_base&);
 36 ·45·stream_base·&·operator=(const·stream_base·&);
 37 ·46};
 38 ·47
 39 48template<typename·C>·std::string·stream_base::columnlist(const·C·&c)
 40 ·49{
 41 ·50·return·columnlist(std::begin(c),·std::end(c));
 42 ·51}
 43 ·52
 44 53template<typename·I>·std::string·stream_base::columnlist(I·begin,·I·end)
 45 ·54{
 46 ·55·return·separated_list(",",·begin,·end);
 47 ·56}
 48 ·57
 49 ·58}·//·namespace·pqxx
21 ·5950 ·59
 51 ·60
22 ·63·notification_receiver(connection_base·&c,·const·std::string·&channel); 
23 64·notification_receiver(const·notification_receiver·&)·=delete; 
24 65·notification_receiver·&operator=(const·notification_receiver·&)·=delete; 
25 ·66·virtual·~notification_receiver(); 
26 ·67 
27 69·const·std::string·&channel()·const·{·return·m_channel;·} 
28 ·70 
29 ·72 
30 79·virtual·void·operator()(const·std::string·&payload,·int·backend_pid)·=0; 
31 ·80 
32 ·81protected: 
33 82·connection_base·&conn()·const·noexcept·{·return·m_conn;·} 
34 ·83 
35 ·84private: 
36 ·85·connection_base·&m_conn; 
37 ·86·std::string·m_channel; 
38 ·87}; 
39 ·88} 
40 ·89 
41 ·90#include·"pqxx/compiler-internal-post.hxx"52 ·61#include·"pqxx/compiler-internal-post.hxx"
42 ·91#endif53 ·62#endif
 54 std
 55 STL·namespace.
43 pqxx56 pqxx
44 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.57 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
45 Definition:·array.hxx:2658 Definition:·array.hxx:26
46 pqxx::connection_base 
47 connection_base·abstract·base·class;·represents·a·connection·to·a·database.59 pqxx::separated_list
 60 std::string·separated_list(const·std::string·&sep,·ITER·begin,·ITER·end,·ACCESS
 61 access)
 62 Represent·sequence·of·values·as·a·string,·joined·by·a·given·separator.
 63 Definition:·util.hxx:95
 64 pqxx::stream_base
 65 Definition:·stream_base.hxx:29
 66 pqxx::stream_base::~stream_base
 67 virtual·~stream_base()·noexcept=default
 68 pqxx::stream_base::columnlist
 69 static·std::string·columnlist(const·C·&)
 70 Definition:·stream_base.hxx:48
 71 pqxx::internal::transactionfocus
48 Definition:·connection_base.hxx:14072 Definition:·transaction_base.hxx:44
 73 pqxx::transaction_base
 74 Interface·definition·(and·common·code)·for·"transaction"·classes.
 75 Definition:·transaction_base.hxx:138
49 pqxx::notification_receiver 
50 Definition:·notification.hxx:56 
51 pqxx::notification_receiver::notification_receiver 
52 notification_receiver(const·notification_receiver·&)=delete 
53 pqxx::notification_receiver::conn 
54 connection_base·&·conn()·const·noexcept 
55 Definition:·notification.hxx:82 
56 pqxx::notification_receiver::channel 
57 const·std::string·&·channel()·const 
58 The·channel·that·this·receiver·listens·on. 
59 Definition:·notification.hxx:69 
60 pqxx::notification_receiver::operator() 
61 virtual·void·operator()(const·std::string·&payload,·int·backend_pid)=0 
62 Overridable:·action·to·invoke·when·notification·arrives. 
63 pqxx::notification_receiver::operator= 
64 notification_receiver·&·operator=(const·notification_receiver·&)=delete 
65 ····*·include76 ····*·include
66 ····*·pqxx77 ····*·pqxx
67 ····*·notification.hxx78 ····*·stream_base.hxx
68 ····*·Generated·by·[doxygen]·1.9.479 ····*·Generated·by·[doxygen]·1.9.4
101 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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-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 55, 353 lines modifiedOffset 55, 27 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00023_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">row.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">config-public-compiler.h</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
 65 <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>
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> 
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div> 
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div> 
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/field.hxx&quot;</span></div> 
74 <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> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
79 <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="a00265.html">pqxx</a></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> 
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01415.html">···40</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01415.html">row</a></div> 
83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> 
84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div> 
85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>;</div> 
86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01415.html#a480e38e15f978e453bbd3b09be65c836">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01415.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">row_difference_type</a>;</div> 
87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01415.html#abd640a160c9e039106a51a6a31823caf">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01419.html">const_row_iterator</a>;</div> 
88 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01415.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···46</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">iterator</a>·=·<a·class="code·hl_class"·href="a01419.html">const_iterator</a>;</div> 
89 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01415.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01331.html">reference</a>·=·<a·class="code·hl_class"·href="a01331.html">field</a>;</div> 
90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01415.html#a2e922bcb1a3a3e003e4b31dfc8428974">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">pointer</a>·=·<a·class="code·hl_class"·href="a01419.html">const_row_iterator</a>;</div> 
91 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01415.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01423.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>;</div> 
92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01415.html#a8f09d3a10886af67da65026d1e0a0004">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01423.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01423.html">const_reverse_iterator</a>;</div> 
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01415.html#a505b6673a7028f4aa58f41ffe53e782c">···52</a></span>··<a·class="code·hl_function"·href="a01415.html#a505b6673a7028f4aa58f41ffe53e782c">row</a>()·=<span·class="keywordflow">default</span>;</div> 
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
96 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_class"·href="a01415.html">row</a>(<a·class="code·hl_class"·href="a01395.html">result</a>·r,·<span·class="keywordtype">size_t</span>·i)·<span·class="keyword">noexcept</span>;</div> 
97 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01415.html#ab2d6ef6b9c774ee4b374f60ded1b4b2f">···57</a></span>··<a·class="code·hl_function"·href="a01415.html#ab2d6ef6b9c774ee4b374f60ded1b4b2f">~row</a>()·noexcept·=default;·<span·class="comment">//·Yes·Scott·Meyers,·you&#39;re·absolutely·right[1]</span></div> 
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
100 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(const·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;)·const·noexcept;················<span·class="comment">//[t75]</span></div> 
101 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01415.html#aeb43cea779763bb93cd74d1e32de55dd">···64</a></span>··<span·class="keywordtype">bool</span>·operator!=(const·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;rhs)·const·noexcept························<span·class="comment">//[t75]</span></div> 
102 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······{·<span·class="keywordflow">return</span>·not·operator==(rhs);·}</div> 
103 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··const_iterator·begin()·const·noexcept;································<span·class="comment">//[t82]</span></div> 
105 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··const_iterator·cbegin()·const·noexcept;</div> 
106 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··const_iterator·end()·const·noexcept;··································<span·class="comment">//[t82]</span></div> 
107 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··const_iterator·cend()·const·noexcept;</div> 
108 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
109 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··reference·front()·const·noexcept;·····································<span·class="comment">//[t74]</span></div> 
110 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··reference·back()·const·noexcept;······································<span·class="comment">//[t75]</span></div> 
111 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
112 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·rbegin()·const;····························<span·class="comment">//[t82]</span></div> 
113 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·crbegin()·const;</div> 
114 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·rend()·const;······························<span·class="comment">//[t82]</span></div> 
115 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·crend()·const;</div> 
116 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
117 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··reference·operator[](size_type)·const·noexcept;·······················<span·class="comment">//[t11]</span></div> 
118 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··reference·operator[](<span·class="keywordtype">int</span>)·const·noexcept;·····························<span·class="comment">//[t02]</span></div> 
119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment"></span>··reference·operator[](const·<span·class="keywordtype">char</span>[])·const;·····························<span·class="comment">//[t11]</span></div> 
120 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment"></span>··reference·operator[](const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·const;······················<span·class="comment">//[t11]</span></div> 
121 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··reference·at(size_type)·const;········································<span·class="comment">//[t11]</span></div> 
122 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··reference·at(<span·class="keywordtype">int</span>)·const;··············································<span·class="comment">//[t11]</span></div> 
123 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment"></span>··reference·at(const·<span·class="keywordtype">char</span>[])·const;·····································<span·class="comment">//[t11]</span></div> 
124 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment"></span>··reference·at(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·const;······························<span·class="comment">//[t11]</span></div> 
125 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment"></span>·</div> 
126 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01415.html#a014580aa5910a7b9344506653cd59c50">··107</a></span>··<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·size()·const·noexcept·······································<span·class="comment">//[t11]</span></div> 
127 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·····················································{·<span·class="keywordflow">return</span>·m_end-m_begin;·}</div> 
128 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
129 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;)·<span·class="keyword">noexcept</span>;············································<span·class="comment">//[t11]</span></div> 
130 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
131 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01415.html#a063956a3dd0690b47d90fd7d4b67275f">··113</a></span>··<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01415.html#a063956a3dd0690b47d90fd7d4b67275f">rownumber</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size_t(m_index);·}·········<span·class="comment">//[t11]</span></div> 
132 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
133 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01415.html#aa08b641cf636b80a87b0e8c8ecfd6912">··120</a></span>··<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·<a·class="code·hl_function"·href="a01415.html#aa08b641cf636b80a87b0e8c8ecfd6912">column_number</a>(<span·class="keyword">const</span>·std::string·&amp;ColName)·<span·class="keyword">const</span>·············<span·class="comment">//[t30]</span></div> 
134 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······{·<span·class="keywordflow">return</span>·column_number(ColName.c_str());·}</div> 
135 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
136 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··size_type·column_number(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>[])·<span·class="keyword">const</span>;··························<span·class="comment">//[t30]</span></div> 
137 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
138 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>··oid·column_type(size_type)·<span·class="keyword">const</span>;·····································<span·class="comment">//[t07]</span></div> 
139 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
140 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01415.html#afbc68095527a7781630ef89842840df2">··130</a></span>··oid·<a·class="code·hl_function"·href="a01415.html#afbc68095527a7781630ef89842840df2">column_type</a>(<span·class="keywordtype">int</span>·ColNum)·<span·class="keyword">const</span>·····································<span·class="comment">//[t07]</span></div> 
141 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>······{·<span·class="keywordflow">return</span>·column_type(<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>(ColNum));·}</div> 
142 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> 
143 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a01415.html#a08a898b62ba3d118a94e1b11743e5db3">··134</a></span>··oid·<a·class="code·hl_function"·href="a01415.html#a08a898b62ba3d118a94e1b11743e5db3">column_type</a>(<span·class="keyword">const</span>·std::string·&amp;ColName)·<span·class="keyword">const</span>·····················<span·class="comment">//[t07]</span></div> 
144 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······{·<span·class="keywordflow">return</span>·column_type(column_number(ColName));·}</div> 
145 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
146 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno"><a·class="line"·href="a01415.html#ad6a73f88ec93a62e5336d153be7f14cb">··138</a></span>··oid·<a·class="code·hl_function"·href="a01415.html#ad6a73f88ec93a62e5336d153be7f14cb">column_type</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·ColName[])·<span·class="keyword">const</span>···························<span·class="comment">//[t07]</span></div> 
147 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>······{·<span·class="keywordflow">return</span>·column_type(column_number(ColName));·}</div> 
148 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> 
149 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··oid·column_table(size_type·ColNum)·<span·class="keyword">const</span>;·····························<span·class="comment">//[t02]</span></div> 
150 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> 
151 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a01415.html#ac9d0380f17236ddaee44e6c5647be01a">··145</a></span>··oid·<a·class="code·hl_function"·href="a01415.html#ac9d0380f17236ddaee44e6c5647be01a">column_table</a>(<span·class="keywordtype">int</span>·ColNum)·<span·class="keyword">const</span>····································<span·class="comment">//[t02]</span></div> 
152 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······{·<span·class="keywordflow">return</span>·column_table(<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>(ColNum));·}</div> 
153 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01415.html#a0f6c6a6582b02c4a7a4bad414e819262">··148</a></span>··oid·<a·class="code·hl_function"·href="a01415.html#a0f6c6a6582b02c4a7a4bad414e819262">column_table</a>(<span·class="keyword">const</span>·std::string·&amp;ColName)·<span·class="keyword">const</span>····················<span·class="comment">//[t02]</span></div> 
154 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>······{·<span·class="keywordflow">return</span>·column_table(column_number(ColName));·}</div> 
155 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
156 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
157 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··size_type·table_column(size_type)·<span·class="keyword">const</span>;······························<span·class="comment">//[t93]</span></div> 
158 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>·</div> 
159 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a01415.html#af83f00f5e49779f9f98619824acf3735">··162</a></span>··<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·<a·class="code·hl_function"·href="a01415.html#af83f00f5e49779f9f98619824acf3735">table_column</a>(<span·class="keywordtype">int</span>·ColNum)·<span·class="keyword">const</span>······························<span·class="comment">//[t93]</span></div> 
160 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>······{·<span·class="keywordflow">return</span>·table_column(<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>(ColNum));·}</div> 
161 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> 
162 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno"><a·class="line"·href="a01415.html#a84cc7e0912efe2a343cb09d220f7c648">··166</a></span>··<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·<a·class="code·hl_function"·href="a01415.html#a84cc7e0912efe2a343cb09d220f7c648">table_column</a>(<span·class="keyword">const</span>·std::string·&amp;ColName)·<span·class="keyword">const</span>··············<span·class="comment">//[t93]</span></div> 
163 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>······{·<span·class="keywordflow">return</span>·table_column(column_number(ColName));·}</div> 
164 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> 
Max diff block lines reached; 853/85625 bytes (1.00%) of diff not shown.
16.8 KB
html2text {}
    
Offset 1, 477 lines modifiedOffset 1, 18 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 config-public-compiler.h
 3 ·1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/
2 row.hxx 
3 ·1 
4 ·13#ifndef·PQXX_H_ROW 
5 ·14#define·PQXX_H_ROW 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·"pqxx/except.hxx" 
11 ·20#include·"pqxx/field.hxx" 
12 ·21#include·"pqxx/result.hxx" 
13 ·224 ·2
 5 ·3#define·PQXX_HAVE_DEPRECATED·1
 6 ·4#define·PQXX_HAVE_GCC_CONST·1
 7 ·5#define·PQXX_HAVE_GCC_DEPRECATED·1
 8 ·6#define·PQXX_HAVE_GCC_PURE·1
14 ·23 
15 ·24//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
16 ·25 
17 ·26namespace·pqxx 
18 ·27{ 
19 ·29 
20 40class·PQXX_LIBEXPORT·row 
21 ·41{ 
22 ·42public: 
23 43·using·size_type·=·row_size_type; 
24 44·using·difference_type·=·row_difference_type; 
25 45·using·const_iterator·=·const_row_iterator; 
26 46·using·iterator·=·const_iterator; 
27 47·using·reference·=·field; 
28 48·using·pointer·=·const_row_iterator; 
29 49·using·const_reverse_iterator·=·const_reverse_row_iterator; 
30 50·using·reverse_iterator·=·const_reverse_iterator; 
31 ·51 
32 52·row()·=default; 
33 ·53 
34 ·55·row(result·r,·size_t·i)·noexcept; 
35 ·56 
36 57·~row()·noexcept·=default;·//·Yes·Scott·Meyers,·you're·absolutely·right[1] 
37 ·58 
38 ·63·PQXX_PURE·bool·operator==(const·row·&)·const·noexcept;·//[t75] 
39 64·bool·operator!=(const·row·&rhs)·const·noexcept·//[t75] 
40 ·65·{·return·not·operator==(rhs);·} 
41 ·67 
42 ·68·const_iterator·begin()·const·noexcept;·//[t82] 
43 ·69·const_iterator·cbegin()·const·noexcept; 
44 ·70·const_iterator·end()·const·noexcept;·//[t82] 
45 ·71·const_iterator·cend()·const·noexcept; 
46 ·72 
47 ·77·reference·front()·const·noexcept;·//[t74] 
48 ·78·reference·back()·const·noexcept;·//[t75] 
49 ·79 
50 ·80·const_reverse_row_iterator·rbegin()·const;·//[t82] 
51 ·81·const_reverse_row_iterator·crbegin()·const; 
52 ·82·const_reverse_row_iterator·rend()·const;·//[t82] 
53 ·83·const_reverse_row_iterator·crend()·const; 
54 ·84 
55 ·85·reference·operator[](size_type)·const·noexcept;·//[t11] 
56 ·86·reference·operator[](int)·const·noexcept;·//[t02] 
57 ·90·reference·operator[](const·char[])·const;·//[t11] 
58 ·94·reference·operator[](const·std::string·&)·const;·//[t11] 
59 ·95·reference·at(size_type)·const;·//[t11] 
60 ·96·reference·at(int)·const;·//[t11] 
61 ·100·reference·at(const·char[])·const;·//[t11] 
62 ·104·reference·at(const·std::string·&)·const;·//[t11] 
63 ·106 
64 107·size_type·size()·const·noexcept·//[t11] 
65 ·108·{·return·m_end-m_begin;·} 
66 ·109 
67 ·110·void·swap(row·&)·noexcept;·//[t11] 
68 ·111 
69 113·size_t·rownumber()·const·noexcept·{·return·size_t(m_index);·}·//[t11] 
70 ·114 
71 120·size_type·column_number(const·std::string·&ColName)·const·//[t30] 
72 ·121·{·return·column_number(ColName.c_str());·} 
73 ·122 
74 ·124·size_type·column_number(const·char[])·const;·//[t30] 
75 ·125 
76 ·127·oid·column_type(size_type)·const;·//[t07] 
77 ·128 
78 130·oid·column_type(int·ColNum)·const·//[t07] 
79 ·131·{·return·column_type(size_type(ColNum));·} 
80 ·132 
81 134·oid·column_type(const·std::string·&ColName)·const·//[t07] 
82 ·135·{·return·column_type(column_number(ColName));·} 
83 ·136 
84 138·oid·column_type(const·char·ColName[])·const·//[t07] 
85 ·139·{·return·column_type(column_number(ColName));·} 
86 ·140 
87 ·142·oid·column_table(size_type·ColNum)·const;·//[t02] 
88 ·143 
89 145·oid·column_table(int·ColNum)·const·//[t02] 
90 ·146·{·return·column_table(size_type(ColNum));·} 
91 148·oid·column_table(const·std::string·&ColName)·const·//[t02] 
92 ·149·{·return·column_table(column_number(ColName));·} 
93 ·150 
94 ·152 
95 ·159·size_type·table_column(size_type)·const;·//[t93] 
96 ·160 
97 162·size_type·table_column(int·ColNum)·const·//[t93] 
98 ·163·{·return·table_column(size_type(ColNum));·} 
99 ·164 
100 166·size_type·table_column(const·std::string·&ColName)·const·//[t93] 
101 ·167·{·return·table_column(column_number(ColName));·} 
102 ·169 
103 170·size_t·num()·const·{·return·rownumber();·}·//[t01] 
104 ·171 
105 ·184·row·slice(size_type·Begin,·size_type·End)·const; 
106 ·185 
107 ·186·//·Is·this·an·empty·slice? 
108 ·187·PQXX_PURE·bool·empty()·const·noexcept; 
109 ·188 
110 ·189protected: 
111 190·friend·class·field; 
112 192·result·m_result; 
113 ·194 
114 198·long·m_index·=·0; 
115 200·size_type·m_begin·=·0; 
Max diff block lines reached; 95/17209 bytes (0.55%) of diff not shown.
122 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 88 lines modifiedOffset 55, 500 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00026_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">dbtransaction.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">except.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_DBTRANSACTION</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_EXCEPT</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_DBTRANSACTION</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_EXCEPT</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
74 <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="a00265.html">pqxx</a></div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">···24</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a></div>77 <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="a00265.html">pqxx</a></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca4080e8f00464997c4345ddb2a15b3986">···26</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca4080e8f00464997c4345ddb2a15b3986">read_only</a>,</div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a></div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">···28</a></span>};</div> 
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>80 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
85 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01163.html">···62</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·:·<span·class="keyword">public</span[·...·truncated·by·diffoscope;·len:·62,·SHA:·f0e30a425856d14760ba204e78c28442d8cae2694fa1ac1be77f62a6afb2d4cd·...·]</a></div>81 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01175.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01175.html">pqxx_exception</a></div>
86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div>82 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>
 83 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
 84 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01175.html">~pqxx_exception</a>()·<span·class="keyword">noexcept</span>·=0;</div>
 85 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 86 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 87 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01175.html#a014f7d99d0a32d7cb72121f15421f931">···84</a></span>··PQXX_CONST·<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::exception·&amp;<a·class="code·hl_function"·href="a01175.html#a014f7d99d0a32d7cb72121f15421f931">base</a>()·const·noexcept·=0;····<span·class="comment">//[t00]</span></div>
 88 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>
 89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 91 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01179.html">···89</a></span>class·PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01179.html">failure</a>·:</div>
 92 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··public·<a·class="code·hl_class"·href="a01175.html">pqxx_exception</a>,·public·<a·class="code·hl_namespace"·href="a00264.html">std</a>::runtime_error</div>
 93 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div>
 94 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::exception·&amp;base()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span></div>
 95 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
87 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div>96 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">public</span>:</div>
88 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01163.html">~dbtransaction</a>();</div>97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01179.html">failure</a>(<span·class="keyword">const</span>·std::string·&amp;);</div>
89 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
90 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> 
91 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>(</div> 
92 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,</div> 
93 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationString,</div> 
94 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·rw=<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a>);</div> 
95 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
96 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>(</div> 
97 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,</div> 
98 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordtype">bool</span>·direct=<span·class="keyword">true</span>,</div> 
99 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·rw=<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a>);</div> 
100 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
101 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
102 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01163.html#a601f599d9c5cca86ce84a77bdac941db">···80</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01163.html#a601f599d9c5cca86ce84a77bdac941db">start_backend_transaction</a>();</div> 
103 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
104 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t01]</span></div> 
105 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment"></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·do_exec(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·Query[])·<span·class="keyword">override</span>;</div> 
106 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01163.html#a6e7b375bdfb7d7c98ec04a3b333b917b">···87</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01163.html#a6e7b375bdfb7d7c98ec04a3b333b917b">do_commit</a>()·<span·class="keyword">override</span>·=0;</div> 
107 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
108 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()·<span·class="keyword">override</span>;·····························<span·class="comment">//[t13]</span></div> 
109 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div>
110 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">static</span>·std::string·fullname(<span·class="keyword">const</span>·std::string·&amp;ttype,</div> 
111 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········<span·class="keyword">const</span>·std::string·&amp;isolation);</div> 
112 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 101 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 102 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01183.html">··118</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01183.html">broken_connection</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div>
 103 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>{</div>
113 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">private</span>:</div>104 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">public</span>:</div>
114 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··std::string·m_start_cmd;</div>105 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<a·class="code·hl_class"·href="a01183.html">broken_connection</a>();</div>
 106 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01183.html">broken_connection</a>(<span·class="keyword">const</span>·std::string·&amp;);</div>
115 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div>107 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>};</div>
116 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>108 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 109 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 110 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 111 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01187.html">··130</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01187.html">sql_error</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div>
 112 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>{</div>
 113 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">const</span>·std::string·m_query;</div>
117 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>}·<span·class="comment">//·namespace·pqxx</span></div>114 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="keyword">const</span>·std::string·m_sqlstate;</div>
118 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>115 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
119 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>116 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="keyword">public</span>:</div>
 117 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01187.html">sql_error</a>(</div>
 118 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>········<span·class="keyword">const</span>·std::string·&amp;msg=<span·class="stringliteral">&quot;&quot;</span>,</div>
 119 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>········<span·class="keyword">const</span>·std::string·&amp;Q=<span·class="stringliteral">&quot;&quot;</span>,</div>
 120 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·sqlstate[]=<span·class="keyword">nullptr</span>);</div>
 121 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01187.html">~sql_error</a>()·<span·class="keyword">noexcept</span>;</div>
 122 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div>
 123 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··PQXX_PURE·<span·class="keyword">const</span>·std::string·&amp;query()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;··················<span·class="comment">//[t56]</span></div>
 124 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 125 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··PQXX_PURE·<span·class="keyword">const</span>·std::string·&amp;sqlstate()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div>
 126 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>};</div>
120 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>127 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div>
 128 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div>
 129 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div>
 130 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno"><a·class="line"·href="a01191.html">··159</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div>
 131 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>{</div>
 132 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="keyword">public</span>:</div>
 133 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>(<span·class="keyword">const</span>·std::string·&amp;);</div>
 134 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>};</div>
 135 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>
 136 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div>
 137 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno"><a·class="line"·href="a01195.html">··167</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01195.html">transaction_rollback</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div>
 138 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>{</div>
 139 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span><span·class="keyword">public</span>:</div>
Max diff block lines reached; 22857/104118 bytes (21.95%) of diff not shown.
20.4 KB
html2text {}
    
Offset 1, 99 lines modifiedOffset 1, 632 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 dbtransaction.hxx2 except.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_DBTRANSACTION 
5 ·14#define·PQXX_H_DBTRANSACTION4 ·13#ifndef·PQXX_H_EXCEPT
 5 ·14#define·PQXX_H_EXCEPT
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·18
10 ·19#include·"pqxx/transaction_base.hxx"10 ·19#include·<stdexcept>
11 ·2011 ·20
12 ·21namespace·pqxx12 ·21#include·"pqxx/util.hxx"
13 ·22{13 ·22
14 ·2314 ·23
15 24enum·readwrite_policy15 ·24namespace·pqxx
16 ·25{16 ·25{
 17 ·26
 18 ·44
 19 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·pqxx_exception
17 26·read_only, 
18 ·27·read_write 
19 28}; 
20 ·29 
21 ·30 
22 ·32 
23 62class·PQXX_LIBEXPORT·PQXX_NOVTABLE·dbtransaction·:·public·transaction_base 
24 ·63{20 ·56{
 21 ·57public:
 22 ·59·virtual·~pqxx_exception()·noexcept·=0;
 23 ·60
 24 ·62
 25 84·PQXX_CONST·virtual·const·std::exception·&base()·const·noexcept·=0;·//[t00]
 26 ·85};
 27 ·86
 28 ·87
 29 89class·PQXX_LIBEXPORT·failure·:
 30 ·90·public·pqxx_exception,·public·std::runtime_error
 31 ·91{
 32 ·92·virtual·const·std::exception·&base()·const·noexcept·override
 33 ·93·{·return·*this;·}
25 ·64public:34 ·94public:
26 ·65·virtual·~dbtransaction(); 
27 ·66 
28 ·67protected: 
29 ·68·dbtransaction( 
30 ·69·connection_base·&, 
31 ·70·const·std::string·&IsolationString, 
32 ·71·readwrite_policy·rw=read_write);35 ·95·explicit·failure(const·std::string·&);
 36 ·96};
 37 ·97
 38 ·98
 39 ·100
 40 118class·PQXX_LIBEXPORT·broken_connection·:·public·failure
 41 ·119{
 42 ·120public:
 43 ·121·broken_connection();
 44 ·122·explicit·broken_connection(const·std::string·&);
 45 ·123};
 46 ·124
 47 ·125
 48 ·127
 49 130class·PQXX_LIBEXPORT·sql_error·:·public·failure
 50 ·131{
 51 ·133·const·std::string·m_query;
 52 ·135·const·std::string·m_sqlstate;
 53 ·136
 54 ·137public:
 55 ·138·explicit·sql_error(
 56 ·139·const·std::string·&msg="",
 57 ·140·const·std::string·&Q="",
 58 ·141·const·char·sqlstate[]=nullptr);
 59 ·142·virtual·~sql_error()·noexcept;
 60 ·143
 61 ·145·PQXX_PURE·const·std::string·&query()·const·noexcept;·//[t56]
 62 ·146
 63 ·148·PQXX_PURE·const·std::string·&sqlstate()·const·noexcept;
 64 ·149};
 65 ·150
 66 ·151
 67 ·153
 68 159class·PQXX_LIBEXPORT·in_doubt_error·:·public·failure
 69 ·160{
 70 ·161public:
 71 ·162·explicit·in_doubt_error(const·std::string·&);
 72 ·163};
 73 ·164
 74 ·165
 75 167class·PQXX_LIBEXPORT·transaction_rollback·:·public·failure
 76 ·168{
 77 ·169public:
 78 ·170·explicit·transaction_rollback(const·std::string·&);
 79 ·171};
33 ·7280 ·172
 81 ·173
 82 ·175
 83 183class·PQXX_LIBEXPORT·serialization_failure·:·public·transaction_rollback
 84 ·184{
 85 ·185public:
 86 ·186·explicit·serialization_failure(const·std::string·&);
 87 ·187};
 88 ·188
34 ·73·explicit·dbtransaction( 
35 ·74·connection_base·&, 
36 ·75·bool·direct=true, 
37 ·76·readwrite_policy·rw=read_write); 
38 ·77 
39 ·78 
40 80·void·start_backend_transaction(); 
41 ·81 
42 ·83·virtual·void·do_begin()·override;·//[t01] 
43 ·85·virtual·result·do_exec(const·char·Query[])·override; 
44 87·virtual·void·do_commit()·override·=0; 
45 ·8989 ·189
46 ·95·virtual·void·do_abort()·override;·//[t13]90 191class·PQXX_LIBEXPORT·statement_completion_unknown·:·public
 91 transaction_rollback
 92 ·192{
 93 ·193public:
 94 ·194·explicit·statement_completion_unknown(const·std::string·&);
 95 ·195};
47 ·9696 ·196
Max diff block lines reached; 8866/20846 bytes (42.53%) of diff not shown.
118 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 73 lines modifiedOffset 55, 461 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00029_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">isolation.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">transaction_base.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ISOLATION</span></div>66 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_BASE</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ISOLATION</span></div>67 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_BASE</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 72 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own</span></div>
 73 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·transaction·classes.··This·is·not·something·the·typical·program·should·want</span></div>
 74 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*·to·do.</span></div>
 75 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*</span></div>
 76 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public</span></div>
 77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·interface·for·the·available·transaction·classes·such·as·transaction·and</span></div>
 78 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·nontransaction.</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div>
 82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div>
 83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;pqxx/isolation.hxx&quot;</span></div>
 84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
 85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div>
 86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
 88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
74 <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="a00265.html">pqxx</a></div>89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div>
 91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>internal</div>
 92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div>
 93 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>sql_cursor;</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01519.html">···43</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·:·<span·class="keyword">public</span>·<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01539.html">namedclass</a></div>
 96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div>
 97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>
 98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01519.html#ac1ad1a201cacde2cd35182dd3bfb66fa">···46</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01519.html#ac1ad1a201cacde2cd35182dd3bfb66fa">transactionfocus</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;t)·:</div>
 99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<a·class="code·hl_class"·href="a01539.html">namedclass</a>{<span·class="stringliteral">&quot;transactionfocus&quot;</span>},</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····m_trans{t},</div>
 101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····m_registered{false}</div>
 102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>
 103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··}</div>
77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01519.html#a255c93352d627c783fb8b01f37e88ed6">···53</a></span>··<a·class="code·hl_function"·href="a01519.html#a255c93352d627c783fb8b01f37e88ed6">transactionfocus</a>()·=<span·class="keyword">delete</span>;</div>
 106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01519.html#a382773b01ed4648697ef15e014441ca4">···54</a></span>··<a·class="code·hl_function"·href="a01519.html#a382773b01ed4648697ef15e014441ca4">transactionfocus</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
 107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01519.html#aad1f4346a99ad8521bc66372fc3d2834">···55</a></span>··<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;<a·class="code·hl_function"·href="a01519.html#aad1f4346a99ad8521bc66372fc3d2834">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
78 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">···56</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a></div> 
79 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> 
80 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·read_uncommitted,</span></div> 
81 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">···59</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div> 
82 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">···60</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">repeatable_read</a>,</div> 
83 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">serializable</a></div> 
84 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">···62</a></span>};</div> 
85 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
86 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01343.html">···65</a></span><span·class="keyword">template</span>&lt;isolation_level·LEVEL&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01343.html">isolation_trai[·...·truncated·by·diffoscope;·len:·6,·SHA:·2a58fd6e5cc48998e4c3ba452bdb08f1f326615c48112c6b13c6040064ef7078·...·]</div>109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">protected</span>:</div>
 110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">void</span>·register_me();</div>
 111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordtype">void</span>·unregister_me()·noexcept;</div>
 112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">void</span>·reg_pending_error(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·noexcept;</div>
 113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01519.html#ac7db979e308fe6d640e813dd46cf4819">···61</a></span>··<span·class="keywordtype">bool</span>·registered()·const·noexcept·{·<span·class="keywordflow">return</span>·m_registered;·}</div>
87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div>114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
88 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01343.html#aa41ee1cc3225f7dcee1b2d8562b121d7">···67</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·<a·class="code·hl_function"·href="a01343.html#aa41ee1cc3225f7dcee1b2d8562b121d7">level</a>()·noexcept·{·<span·class="keywordflow">return</span>·LEVEL;·}</div> 
89 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keyw[·...·truncated·by·diffoscope;·len:·122,·SHA:·74b3cfc0eaa746c0aaee95c504ccf8477a0634b4b0319e2b40392f00a157314f·...·];</div>115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01519.html#aeae94c86447010854a1a4d8a09e802e6">···63</a></span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;<a·class="code·hl_variable"·href="a01519.html#aeae94c8644[·...·truncated·by·diffoscope;·len:·35,·SHA:·64939fea5b05e6f387c6f8416c33ee1193c7ffcb922019f8939dd9f2da3d92f3·...·];</div>
 116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">private</span>:</div>
 118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_registered;</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>
90 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div>121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
91 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
92 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01523.html">···73</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·:·statement_parameters</div>
93 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>template&lt;&gt;</div>124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div>
94 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01343.html#a1de2d356e26d418866893adcb2095ada">···73</a></span>inline·constexpr·const·<span·class="keywordtype">char</span>·*<a·class="code·hl_struct"·href="a01343.html">isolation_traits</a>&lt;<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>&gt;::<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">name</a>()·noexcept</div> 
95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;READ·COMMITTED&quot;</span>;·}</div>125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">public</span>:</div>
 126 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>(</div>
 127 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;query);</div>
96 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>128 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 129 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01523.html#ac33ccb4d99856cf49baabee1ee9206f2">···79</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#ac33ccb4d99856cf49baabee1ee9206f2">operator()</a>()·{·add_param();·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 130 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01523.html#a8f37ecdcb6624aa3ee117c9e0693879a">···80</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#a8f37ecdcb6624aa3ee117c9e0693879a">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v)</div>
 131 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{·add_binary_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 132 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01523.html#ac22804a59fa0cb30e3862075c0a81c99">···82</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#ac22804a59fa0cb30e3862075c0a81c99">operator()</a>(<span·class="keyword">const</span>·T·&amp;v)</div>
 133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········{·add_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01523.html#a02d7083d2cac8484bad8c5714703c2d3">···84</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#a02d7083d2cac8484bad8c5714703c2d3">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div>
 135 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········{·add_binary_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
97 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span>&lt;&gt;</div>136 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
98 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01343.html#a447364667bcd204bc6b117c39c9ecda1">···77</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">isolation_traits&lt;repeatable_read&gt;::name</a>()·noexcept</div> 
99 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;REPEATABLE·READ&quot;</span>;·}</div>137 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01523.html#ae3436ba93e574ea87b813886ba2ad03e">···87</a></span>········<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.h[·...·truncated·by·diffoscope;·len:·145,·SHA:·57752362293eda1191bc39e00bc9e86c1342aa4f4b205279180958a593c00b51·...·]</div>
 138 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>139 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 140 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01395.html">result</a>·exec();</div>
 141 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
101 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span>&lt;&gt;</div>142 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">private</span>:</div>
102 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01343.html#a601549937d2de3b0ddd14bc992bd474c">···81</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">isolation_traits&lt;serializable&gt;::name</a>()·noexcept</div> 
103 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;SERIALIZABLE&quot;</span>;·}</div>143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&am[·...·truncated·by·diffoscope;·len:·3,·SHA:·904f694384da9ec1c96ccea96e353685410d17cea8c5ab35f62e1936666d3924·...·]</div>
 144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········=<span·class="keyword">delete</span>;</div>
 145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;m_home;</div>
 147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">const</span>·std::string·m_query;</div>
 148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>};</div>
 149 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}·<span·class="comment">//·namespace·internal</span></div>
 150 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 151 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">namespace·</span>internal</div>
 153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>{</div>
Max diff block lines reached; 21014/99268 bytes (21.17%) of diff not shown.
21.4 KB
html2text {}
    
Offset 1, 82 lines modifiedOffset 1, 582 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 isolation.hxx2 transaction_base.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ISOLATION4 ·14#ifndef·PQXX_H_TRANSACTION_BASE
5 ·14#define·PQXX_H_ISOLATION5 ·15#define·PQXX_H_TRANSACTION_BASE
6 ·156 ·16
7 ·16#include·"pqxx/compiler-public.hxx"7 ·17#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·18#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·19
 10 ·20/*·End-user·programs·need·not·include·this·file,·unless·they·define·their
 11 own
 12 ·21·*·transaction·classes.·This·is·not·something·the·typical·program·should
 13 want
 14 ·22·*·to·do.
 15 ·23·*
 16 ·24·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public
 17 ·25·*·interface·for·the·available·transaction·classes·such·as·transaction·and
 18 ·26·*·nontransaction.
 19 ·27·*/
 20 ·28
 21 ·29#include·"pqxx/connection_base.hxx"
 22 ·30#include·"pqxx/internal/encoding_group.hxx"
 23 ·31#include·"pqxx/isolation.hxx"
10 ·19#include·"pqxx/util.hxx"24 ·32#include·"pqxx/result.hxx"
11 ·2025 ·33#include·"pqxx/row.hxx"
 26 ·34
 27 ·35//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 28 ·36
12 ·21namespace·pqxx29 ·37namespace·pqxx
13 ·22{ 
14 ·23 
15 ·25 
16 56enum·isolation_level 
17 ·57{ 
18 ·58·//·read_uncommitted, 
19 59·read_committed, 
20 60·repeatable_read, 
21 ·61·serializable 
22 62}; 
23 ·63 
24 65template<isolation_level·LEVEL>·struct·isolation_traits 
25 ·66{ 
26 67·static·constexpr·isolation_level·level()·noexcept·{·return·LEVEL;·} 
27 68·static·constexpr·const·char·*name()·noexcept;30 ·38{
 31 ·39namespace·internal
 32 ·40{
 33 ·41class·sql_cursor;
 34 ·42
 35 43class·PQXX_LIBEXPORT·transactionfocus·:·public·virtual·namedclass
 36 ·44{
 37 ·45public:
 38 46·explicit·transactionfocus(transaction_base·&t)·:
 39 ·47·namedclass{"transactionfocus"},
 40 ·48·m_trans{t},
 41 ·49·m_registered{false}
 42 ·50·{
 43 ·51·}
 44 ·52
 45 53·transactionfocus()·=delete;
 46 54·transactionfocus(const·transactionfocus·&)·=delete;
 47 55·transactionfocus·&operator=(const·transactionfocus·&)·=delete;
 48 ·56
 49 ·57protected:
 50 ·58·void·register_me();
 51 ·59·void·unregister_me()·noexcept;
 52 ·60·void·reg_pending_error(const·std::string·&)·noexcept;
 53 61·bool·registered()·const·noexcept·{·return·m_registered;·}
 54 ·62
 55 63·transaction_base·&m_trans;
 56 ·64
 57 ·65private:
 58 ·66·bool·m_registered;
28 ·69};59 ·67};
29 ·7060 ·68
 61 ·69
30 ·7162 ·71
31 ·72template<> 
32 73inline·constexpr·const·char·*isolation_traits<read_committed>::name() 
33 noexcept 
34 ·74·{·return·"READ·COMMITTED";·} 
35 ·75 
36 ·76template<> 
37 77inline·constexpr·const·char·*isolation_traits<repeatable_read>::name() 
38 noexcept 
39 ·78·{·return·"REPEATABLE·READ";·} 
40 ·79 
41 ·80template<> 
42 81inline·constexpr·const·char·*isolation_traits<serializable>::name()·noexcept 
43 ·82·{·return·"SERIALIZABLE";·}63 73class·PQXX_LIBEXPORT·parameterized_invocation·:·statement_parameters
 64 ·74{
 65 ·75public:
 66 ·76·PQXX_DEPRECATED·parameterized_invocation(
 67 ·77·connection_base·&,·const·std::string·&query);
 68 ·78
 69 79·parameterized_invocation·&operator()()·{·add_param();·return·*this;·}
 70 80·parameterized_invocation·&operator()(const·binarystring·&v)
 71 ·81·{·add_binary_param(v,·true);·return·*this;·}
 72 82·template<typename·T>·parameterized_invocation·&operator()(const·T·&v)
 73 ·83·{·add_param(v,·true);·return·*this;·}
 74 84·parameterized_invocation·&operator()(const·binarystring·&v,·bool·nonnull)
 75 ·85·{·add_binary_param(v,·nonnull);·return·*this;·}
 76 ·86·template<typename·T>
 77 87·parameterized_invocation·&operator()(const·T·&v,·bool·nonnull)
 78 ·88·{·add_param(v,·nonnull);·return·*this;·}
 79 ·89
 80 ·90·result·exec();
 81 ·91
 82 ·92private:
 83 ·94·parameterized_invocation·&operator=(const·parameterized_invocation·&)
 84 ·95·=delete;
 85 ·96
 86 ·97·connection_base·&m_home;
 87 ·98·const·std::string·m_query;
 88 ·99};
 89 ·100}·//·namespace·internal
 90 ·101
 91 ·102
 92 ·103namespace·internal
 93 ·104{
 94 ·105namespace·gate
 95 ·106{
Max diff block lines reached; 8211/21888 bytes (37.51%) of diff not shown.
8.22 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00032_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 28 lines modifiedOffset 55, 45 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00032_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00032_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">config-internal-compiler.h</div></div>62 ··<div·class="headertitle"><div·class="title">version.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <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>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
 66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_VERSION</span></div>
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·PQXX_VERSION·&quot;6.4.4&quot;</span></div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#define·PQXX_ABI·&quot;6.4&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>74 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_VERSION_MAJOR·6</span></div>
68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·HAVE_SYS_TIME_H·1</span></div>75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#define·PQXX_VERSION_MINOR·4</span></div>
 76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
 78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>internal</div>
 80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 81 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 82 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00266.html#af3734c8eebcfaa5f364cee0a6a2da6cc">···53</a></span><span·class="keyword">template</span>&lt;<span·class="keywordtype">int</span>,·<span·class="keywordtype">int</span>&gt;·PQXX_LIBEXPORT·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00266.html#af3734c8eebcfaa5f364cee0a6a2da6cc">check_library_version</a>()·noexcept;</div>
 83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>}</div>
 84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>
 85 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div>86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif</span></div>
70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div> 
71 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_VISIBILITY·1</span></div>87 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
 88 <div·class="ttc"·id="aa00266_html_af3734c8eebcfaa5f364cee0a6a2da6cc"><div·class="ttname"><a·href="a00266.html#af3734c8eebcfaa5f364cee0a6a2da6cc">pqxx::internal::check_library_version</a></div><div·class="ttdeci">int·check_library_version()·noexcept</div><div·class="ttdoc">Library·version·check·stub.</div></div>
72 </div><!--·fragment·--></div><!--·contents·-->89 </div><!--·fragment·--></div><!--·contents·-->
73 </div><!--·doc-content·-->90 </div><!--·doc-content·-->
74 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
75 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->92 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
76 ··<ul>93 ··<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-internal-compiler.h</b></li>94 ····<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>
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.4·</li>95 ····<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.4·</li>
79 ··</ul>96 ··</ul>
80 </div>97 </div>
81 </body>98 </body>
82 </html>99 </html>
1.08 KB
html2text {}
    
Offset 1, 19 lines modifiedOffset 1, 40 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-internal-compiler.h 
3 ·1/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/2 version.hxx
 3 ·1
 4 ·11#ifndef·PQXX_H_VERSION
4 ·25 ·12
5 ·3#define·HAVE_POLL·1 
6 ·4#define·HAVE_SYS_TIME_H·1 
7 ·5#define·HAVE_SYS_TYPES_H·1 
8 ·6#define·HAVE_UNISTD_H·1 
9 ·7#define·PQXX_HAVE_GCC_VISIBILITY·16 ·13#include·"pqxx/compiler-public.hxx"
 7 ·14#include·"pqxx/compiler-internal-pre.hxx"
 8 ·15
 9 ·17#define·PQXX_VERSION·"6.4.4"
 10 ·19#define·PQXX_ABI·"6.4"
 11 ·20
 12 ·22#define·PQXX_VERSION_MAJOR·6
 13 ·24#define·PQXX_VERSION_MINOR·4
 14 ·25
 15 ·26namespace·pqxx
 16 ·27{
 17 ·28namespace·internal
 18 ·29{
 19 ·31
 20 53template<int,·int>·PQXX_LIBEXPORT·int·check_library_version()·noexcept;
 21 ·54}
 22 ·55}
 23 ·56#include·"pqxx/compiler-internal-post.hxx"
 24 ·57#endif
 25 pqxx
 26 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 27 Definition:·array.hxx:26
 28 pqxx::internal::check_library_version
 29 int·check_library_version()·noexcept
 30 Library·version·check·stub.
10 ····*·include31 ····*·include
11 ····*·pqxx32 ····*·pqxx
12 ····*·config-internal-compiler.h33 ····*·version.hxx
13 ····*·Generated·by·[doxygen]·1.9.434 ····*·Generated·by·[doxygen]·1.9.4
41.2 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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_base.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 55, 80 lines modifiedOffset 55, 138 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00035_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">stream_base.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">prepared_statement.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_BASE</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PREPARED_STATEMENT</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_BASE</span></div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_PREPARED_STATEMENT</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/statement_parameters.hxx&quot;</span></div>
 74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
 79 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00268.html">···25</a></span><span·class="keyword">namespace·</span>prepare</div>
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>80 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01471.html">···27</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01471.html">stream_base</a>·:</div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a></div> 
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 82 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keyword">inline</span>·pqxx::internal::dynamic_params&lt;IT&gt;</div>
 83 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">···44</a></span><a·class="code·hl_function"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">make_dynamic_params</a>(IT·begin,·IT·end)</div>
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> 
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01471.html">stream_base</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;);</div> 
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·TODO:·Can·we·get·rid·of·the·vtable?</span></div> 
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01471.html#aa5fdada7367e5c02e4e5415b71380fe5">···33</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01471.html#aa5fdada7367e5c02e4e5415b71380fe5">~stream_base</a>()·noexcept·=default;</div> 
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01471.html#a678a22bdda7dd7c993f550bbd4399fa6">···34</a></span>··virtual·<span·class="keywordtype">void</span>·complete()·=·0;</div> 
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··operator·<span·class="keywordtype">bool</span>()·const·noexcept;</div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordtype">bool</span>·operator!()·const·noexcept;</div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>protected:</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01471.html#adc270a9de2641907ce5fefed506f8f9b">···38</a></span>··<span·class="keywordtype">bool</span>·m_finished;</div> 
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··virtual·<span·class="keywordtype">void</span>·close();</div> 
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··template&lt;typename·C&gt;·static·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·columnlist(const·C·&amp;);</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··template&lt;typename·I&gt;·static·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·columnlist(I·begin,·I·end);</div> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>private:</div> 
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>();</div> 
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>(const·<a·class="code·hl_class"·href="a01471.html">stream_base</a>&amp;);</div> 
98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>·&amp;·operator=(const·<a·class="code·hl_class"·href="a01471.html">stream_base</a>·&amp;);</div> 
99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>};</div>84 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div>
 85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT&gt;(begin,·end);</div>
100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>86 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}</div>
101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01471.html#ab8673c77b9923ea1e74504ddcdb14f65">···48</a></span>template&lt;typename·C&gt;·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·<a·class="code·hl_class"·href="a01471.html">str[·...·truncated·by·diffoscope;·len:·40,·SHA:·57533f931a8026e8d5ddc729676327832d702d936e8cd8f3ca8025d4ec2ffc68·...·]</div>87 <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>88 <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>·columnlist(std::begin(c),·std::end(c));</div> 
104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>89 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 90 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div>
 91 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">inline</span>·pqxx::internal::dynamic_params&lt;typename·C::const_iterator&gt;</div>
 92 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00268.html#ac1276e7da951c1930dd8f9d6f4b28935">···67</a></span><a·class="code·hl_function"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">make_dynamic_params</a>(<span·class="keyword">const</span>·C·&amp;container)</div>
105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01471.html#a0dd6331589aa9a1a6433a07995cc61fb">···53</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·I&gt;·std::string·<a·class="code·hl_function"·href="a01471.html#ab8673c77b9923ea1e74504ddcdb14f65">stream_base::columnlist</a>(I·begin,·I·end)</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="stringliteral">&quot;,&quot;</span>,·begin,·end);</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}</div>93 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div>
 94 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;typename·C::const_iterator&gt;(container);</div>
 95 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div>
 96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}·<span·class="comment">//·namespace·prepare</span></div>
 97 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>}·<span·class="comment">//·namespace·pqxx</span></div>
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
 100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{</div>
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>}·<span·class="comment">//·namespace·pqxx</span></div>101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">namespace·</span>prepare</div>
 102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 104 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01387.html">···81</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01387.html">invocation</a>·:·internal::statement_parameters</div>
 105 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div>
 106 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">public</span>:</div>
 107 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01387.html">invocation</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;statement);</div>
 108 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01387.html#a686c3838df89a22f5df2fc32a0c785f0">···85</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a686c3838df89a22f5df2fc32a0c785f0">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>109 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="a01395.html">result</a>·exec()·<span·class="keyword">const</span>;</div>
 111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 112 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordtype">bool</span>·exists()·<span·class="keyword">const</span>;</div>
 113 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 114 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01387.html#aedc82caeb739bf203fc19d1cf72c7a4a">···94</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#aedc82caeb739bf203fc19d1cf72c7a4a">operator()</a>()·{·add_param();·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 115 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 117 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01387.html#af9c96f42850faddcde574ecfbc6e7c64">··100</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#af9c96f42850faddcde574ecfbc6e7c64">operator()</a>(<span·class="keyword">const</span>·T·&amp;v)</div>
 118 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>········{·add_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 119 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 121 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01387.html#a2570d166ec9ed43fea205894f8e2da64">··107</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a2570d166ec9ed43fea205894f8e2da64">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v)</div>
 122 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>········{·add_binary_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 123 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 124 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 125 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01387.html#af8b9072bc7cddfdcbded763d55d5b08a">··115</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#af8b9072bc7cddfdcbded763d55d5b08a">operator()</a>(<span·class="keyword">const</span>·T·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div>
 126 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 127 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 128 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 129 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01387.html#a19ba6f22872b6802d71db21772f44e71">··123</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a19ba6f22872b6802d71db21772f44e71">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div>
 130 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········{·add_binary_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 131 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 132 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 133 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a01387.html#a3ee874ddf0ea0bd5dafeed1d337591e6">··134</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a3ee874ddf0ea0bd5dafeed1d337591e6">operator()</a>(T·*v,·<span·class="keywordtype">bool</span>·nonnull=<span·class="keyword">true</span>)</div>
 134 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 135 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 136 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div>
 137 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01387.html#a91682f4e937af086411d8adfbadfa87c">··142</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a91682f4e937af086411d8adfbadfa87c">operator()</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*v,·<span·class="keywordtype">bool</span>·nonnull=<span·class="keyword">true</span>)</div>
 138 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 139 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
Max diff block lines reached; 7954/34961 bytes (22.75%) of diff not shown.
6.91 KB
html2text {}
    
Offset 1, 85 lines modifiedOffset 1, 172 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_base.hxx2 prepared_statement.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_STREAM_BASE 
5 ·14#define·PQXX_H_STREAM_BASE 
6 ·154 ·11#ifndef·PQXX_H_PREPARED_STATEMENT
 5 ·12#define·PQXX_H_PREPARED_STATEMENT
 6 ·13
7 ·16#include·"pqxx/compiler-public.hxx"7 ·14#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·15#include·"pqxx/compiler-internal-pre.hxx"
9 ·18#include·"pqxx/transaction_base.hxx"9 ·16
10 ·19#include·"pqxx/util.hxx"10 ·17#include·"pqxx/types.hxx"
 11 ·18#include·"pqxx/internal/statement_parameters.hxx"
 12 ·19
11 ·2013 ·20
 14 ·21
12 ·21#include·<string> 
13 ·22 
14 ·23 
15 ·24namespace·pqxx15 ·22namespace·pqxx
16 ·25{16 ·23{
 17 25namespace·prepare
17 ·2618 ·26{
 19 ·28
 20 ·43template<typename·IT>·inline·pqxx::internal::dynamic_params<IT>
 21 44make_dynamic_params(IT·begin,·IT·end)
 22 ·45{
 23 ·46·return·pqxx::internal::dynamic_params<IT>(begin,·end);
18 27class·PQXX_LIBEXPORT·PQXX_NOVTABLE·stream_base·: 
19 ·28·public·internal::transactionfocus 
20 ·29{ 
21 ·30public: 
22 ·31·explicit·stream_base(transaction_base·&); 
23 ·32·//·TODO:·Can·we·get·rid·of·the·vtable? 
24 33·virtual·~stream_base()·noexcept·=default; 
25 34·virtual·void·complete()·=·0; 
26 ·35·operator·bool()·const·noexcept; 
27 ·36·bool·operator!()·const·noexcept; 
28 ·37protected: 
29 38·bool·m_finished; 
30 ·39·virtual·void·close(); 
31 ·40·template<typename·C>·static·std::string·columnlist(const·C·&); 
32 ·41·template<typename·I>·static·std::string·columnlist(I·begin,·I·end); 
33 ·42private: 
34 ·43·stream_base(); 
35 ·44·stream_base(const·stream_base&); 
36 ·45·stream_base·&·operator=(const·stream_base·&); 
37 ·46}; 
38 ·4724 ·47}
39 48template<typename·C>·std::string·stream_base::columnlist(const·C·&c)25 ·48
40 ·49{26 ·49
41 ·50·return·columnlist(std::begin(c),·std::end(c)); 
42 ·51}27 ·51
43 ·52 
44 53template<typename·I>·std::string·stream_base::columnlist(I·begin,·I·end) 
45 ·54{ 
46 ·55·return·separated_list(",",·begin,·end); 
47 ·56} 
48 ·5728 ·65template<typename·C>
 29 ·66inline·pqxx::internal::dynamic_params<typename·C::const_iterator>
 30 67make_dynamic_params(const·C·&container)
 31 ·68{
 32 ·69·return·pqxx::internal::dynamic_params<typename·C::const_iterator>
 33 (container);
 34 ·70}
 35 ·71}·//·namespace·prepare
49 ·58}·//·namespace·pqxx36 ·72}·//·namespace·pqxx
50 ·59 
51 ·6037 ·73
 38 ·74namespace·pqxx
 39 ·75{
 40 ·76namespace·prepare
 41 ·77{
 42 ·79
 43 81class·PQXX_LIBEXPORT·invocation·:·internal::statement_parameters
 44 ·82{
 45 ·83public:
 46 ·84·PQXX_DEPRECATED·invocation(transaction_base·&,·const·std::string
 47 &statement);
 48 85·invocation·&operator=(const·invocation·&)·=delete;
 49 ·86
 50 ·88·result·exec()·const;
 51 ·89
 52 ·91·bool·exists()·const;
 53 ·92
 54 94·invocation·&operator()()·{·add_param();·return·*this;·}
 55 ·95
 56 ·97
 57 100·template<typename·T>·invocation·&operator()(const·T·&v)
 58 ·101·{·add_param(v,·true);·return·*this;·}
 59 ·102
 60 ·104
 61 107·invocation·&operator()(const·binarystring·&v)
 62 ·108·{·add_binary_param(v,·true);·return·*this;·}
 63 ·109
 64 ·111
 65 115·template<typename·T>·invocation·&operator()(const·T·&v,·bool·nonnull)
 66 ·116·{·add_param(v,·nonnull);·return·*this;·}
 67 ·117
 68 ·119
 69 123·invocation·&operator()(const·binarystring·&v,·bool·nonnull)
 70 ·124·{·add_binary_param(v,·nonnull);·return·*this;·}
 71 ·125
 72 ·127
 73 134·template<typename·T>·invocation·&operator()(T·*v,·bool·nonnull=true)
 74 ·135·{·add_param(v,·nonnull);·return·*this;·}
 75 ·136
 76 ·138
 77 142·invocation·&operator()(const·char·*v,·bool·nonnull=true)
 78 ·143·{·add_param(v,·nonnull);·return·*this;·}
 79 ·144
 80 ·145private:
 81 ·146·transaction_base·&m_home;
 82 ·147·const·std::string·m_statement;
 83 ·148
 84 ·149·invocation·&setparam(const·std::string·&,·bool·nonnull);
 85 ·150};
 86 ·151
 87 ·152
 88 153namespace·internal
 89 ·154{
Max diff block lines reached; 3039/7054 bytes (43.08%) of diff not shown.
55.4 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal-post.hxx·Source·File</title>8 <title>libpqxx:·tablewriter.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 55, 32 lines modifiedOffset 55, 245 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00038_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">compiler-internal-post.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">tablewriter.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!</span></div> 
67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLEWRITER</span></div>
68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·_WIN32</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLEWRITER</span></div>
69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#pragma·warning·(pop)·</span><span·class="comment">//·Restore·client·program&#39;s·warning·state</span></div> 
72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div> 
73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/tablestream.hxx&quot;</span></div>
 75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
 78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
 79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01499.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a></div>
 81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
 82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div>
 83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div>
 84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div>
 86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div>
 87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div>
 88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div>
 89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div>
 91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········ITER·begincolumns,</div>
 92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········ITER·endcolumns);</div>
 93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div>
 94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div>
 95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div>
 96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div>
 97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········ITER·begincolumns,</div>
 98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········ITER·endcolumns,</div>
 99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="keyword">const</span>·std::string·&amp;Null);</div>
 100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<a·class="code·hl_class"·href="a01499.html">~tablewriter</a>()·<span·class="keyword">noexcept</span>;</div>
 101 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keywordtype">void</span>·insert(IT·Begin,·IT·End);</div>
 102 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<span·class="keywordtype">void</span>·insert(<span·class="keyword">const</span>·TUPLE·&amp;);</div>
 103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keywordtype">void</span>·push_back(IT·Begin,·IT·End);</div>
 104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<span·class="keywordtype">void</span>·push_back(<span·class="keyword">const</span>·TUPLE·&amp;);</div>
 105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01499.html#a221115002b25bcc436187b651e6085a6">···56</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·SIZE&gt;·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01499.html#a221115002b25bcc436187b651e6085a6">reserve</a>(SIZE)·{}</div>
 106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<span·class="keyword">const</span>·TUPLE·&amp;);</div>
 107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<a·class="code·hl_class"·href="a01491.html">tablereader</a>·&amp;);</div>
 108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·std::string·generate(IT·Begin,·IT·End)·<span·class="keyword">const</span>;</div>
 109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·std::string·generate(<span·class="keyword">const</span>·TUPLE·&amp;)·<span·class="keyword">const</span>;</div>
 110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div>
 111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keywordtype">void</span>·write_raw_line(<span·class="keyword">const</span>·std::string·&amp;);</div>
 112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">private</span>:</div>
 113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keywordtype">void</span>·set_up(</div>
 114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div>
 116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">const</span>·std::string·&amp;Columns·=·std::string{});</div>
 117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·writer_close();</div>
 118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div>
 119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00264.html">std</a></div>
 123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div>
 124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span>&lt;&gt;</div>
 125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01503.html">···76</a></span>··<span·class="keyword">class·</span>back_insert_iterator&lt;<a·class="code·hl_namespace"·href="a00265.html">pqxx</a>::tablewriter&gt;</div>
 126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div>
 127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">iterator_category</a>·=·output_iterator_tag;</div>
 129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01503.html#a150929df369299ab36c94515f9519d19">···81</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01503.html#a150929df369299ab36c94515f9519d19">back_insert_iterator</a>(<a·class="code·hl_class"·href="a01499.html">pqxx::tablewriter</a>·&amp;W)·noexcept·:</div>
 131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····m_writer{&amp;W}·{}</div>
 132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··back_insert_iterator·&amp;</div>
 134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01503.html#a161dcccc600e0af213778f23677318de">···85</a></span>····<a·class="code·hl_function"·href="a01503.html#a161dcccc600e0af213778f23677318de">operator=</a>(<span·class="keyword">const</span>·back_insert_iterator·&amp;rhs)·<span·class="keyword">noexcept</span></div>
 135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div>
 136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····m_writer·=·rhs.m_writer;</div>
 137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>
 138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div>
 139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;</div>
 141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01503.html#a7dc63f7f0660fa21335c76359fc51a11">···92</a></span>··back_insert_iterator·&amp;<a·class="code·hl_function"·href="a01503.html#a7dc63f7f0660fa21335c76359fc51a11">operator=</a>(<span·class="keyword">const</span>·TUPLE·&amp;T)</div>
 142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>
 143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····m_writer-&gt;insert(T);</div>
 144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>
 145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</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"><a·class="line"·href="a01503.html#ac0e69eb20b946eca54591e78acedc4d0">···98</a></span>··back_insert_iterator·&amp;<a·class="code·hl_function"·href="a01503.html#ac0e69eb20b946eca54591e78acedc4d0">operator++</a>()·{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01503.html#ac23c134bfb55f2a5deed3b2d6f245be0">···99</a></span>··back_insert_iterator·&amp;<a·class="code·hl_function"·href="a01503.html#ac23c134bfb55f2a5deed3b2d6f245be0">operator++</a>(<span·class="keywordtype">int</span>)·{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 149 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01503.html#a0c9593325b226e7493ca0a9cc12e2495">··100</a></span>··back_insert_iterator·&amp;<a·class="code·hl_function"·href="a01503.html#a0c9593325b226e7493ca0a9cc12e2495">operator*</a>()·{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 150 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 151 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">private</span>:</div>
 152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<a·class="code·hl_class"·href="a01499.html">pqxx::tablewriter</a>·*m_writer;</div>
 153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>};</div>
 154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>}·<span·class="comment">//·namespace·std</span></div>
 155 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 156 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 157 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
 158 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>{</div>
 159 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01499.html#a0cba43b103518b8e01c4d2f099a6d6dd">··110</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a01499.html#a19282b8edb72aee94e98c3d3d167159f">tablewriter::tablewriter</a>(</div>
 160 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div>
 161 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div>
 162 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>········ITER·begincolumns,</div>
Max diff block lines reached; 863/47480 bytes (1.82%) of diff not shown.
8.92 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 298 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal-post.hxx2 tablewriter.hxx
3 ·13 ·1
 4 ·13#ifndef·PQXX_H_TABLEWRITER
 5 ·14#define·PQXX_H_TABLEWRITER
4 ·12//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time! 
5 ·13 
6 ·14#ifdef·_WIN32 
7 ·156 ·15
8 ·16#ifdef·_MSC_VER 
9 ·17#pragma·warning·(pop)·//·Restore·client·program's·warning·state 
10 ·18#endif7 ·16#include·<iterator>
 8 ·17
 9 ·18#include·"pqxx/compiler-public.hxx"
 10 ·19#include·"pqxx/compiler-internal-pre.hxx"
 11 ·20
 12 ·21#include·"pqxx/tablestream.hxx"
 13 ·22
 14 ·23
 15 ·24namespace·pqxx
 16 ·25{
 17 ·27
 18 31class·PQXX_LIBEXPORT·tablewriter·:·public·tablestream
 19 ·32{
 20 ·33public:
 21 ·34·PQXX_DEPRECATED·tablewriter(
 22 ·35·transaction_base·&,
 23 ·36·const·std::string·&WName,
 24 ·37·const·std::string·&Null=std::string{});
 25 ·38·template<typename·ITER>
 26 ·39·PQXX_DEPRECATED·tablewriter(
 27 ·40·transaction_base·&,
 28 ·41·const·std::string·&WName,
 29 ·42·ITER·begincolumns,
 30 ·43·ITER·endcolumns);
 31 ·44·template<typename·ITER>
 32 ·45·PQXX_DEPRECATED·tablewriter(
 33 ·46·transaction_base·&T,
 34 ·47·const·std::string·&WName,
 35 ·48·ITER·begincolumns,
 36 ·49·ITER·endcolumns,
 37 ·50·const·std::string·&Null);
 38 ·51·~tablewriter()·noexcept;
 39 ·52·template<typename·IT>·void·insert(IT·Begin,·IT·End);
 40 ·53·template<typename·TUPLE>·void·insert(const·TUPLE·&);
 41 ·54·template<typename·IT>·void·push_back(IT·Begin,·IT·End);
 42 ·55·template<typename·TUPLE>·void·push_back(const·TUPLE·&);
 43 56·template<typename·SIZE>·void·reserve(SIZE)·{}
 44 ·57·template<typename·TUPLE>·tablewriter·&operator<<(const·TUPLE·&);
 45 ·58·tablewriter·&operator<<(tablereader·&);
 46 ·59·template<typename·IT>·std::string·generate(IT·Begin,·IT·End)·const;
 47 ·60·template<typename·TUPLE>·std::string·generate(const·TUPLE·&)·const;
 48 ·61·virtual·void·complete()·override;
 49 ·62·void·write_raw_line(const·std::string·&);
 50 ·63private:
 51 ·64·void·set_up(
 52 ·65·transaction_base·&,
 53 ·66·const·std::string·&WName,
 54 ·67·const·std::string·&Columns·=·std::string{});
 55 ·68·PQXX_PRIVATE·void·writer_close();
 56 ·69};
 57 ·70}·//·namespace·pqxx
 58 ·71
 59 ·72
 60 ·73namespace·std
 61 ·74{
 62 ·75template<>
 63 76·class·back_insert_iterator<pqxx::tablewriter>
 64 ·77{
 65 ·78public:
 66 79·using·iterator_category·=·output_iterator_tag;
 67 ·80
 68 81·explicit·back_insert_iterator(pqxx::tablewriter·&W)·noexcept·:
 69 ·82·m_writer{&W}·{}
 70 ·83
 71 ·84·back_insert_iterator·&
 72 85·operator=(const·back_insert_iterator·&rhs)·noexcept
 73 ·86·{
 74 ·87·m_writer·=·rhs.m_writer;
 75 ·88·return·*this;
 76 ·89·}
 77 ·90
 78 ·91·template<typename·TUPLE>
 79 92·back_insert_iterator·&operator=(const·TUPLE·&T)
 80 ·93·{
 81 ·94·m_writer->insert(T);
 82 ·95·return·*this;
 83 ·96·}
 84 ·97
 85 98·back_insert_iterator·&operator++()·{·return·*this;·}
 86 99·back_insert_iterator·&operator++(int)·{·return·*this;·}
 87 100·back_insert_iterator·&operator*()·{·return·*this;·}
 88 ·101
 89 ·102private:
 90 ·103·pqxx::tablewriter·*m_writer;
 91 ·104};
 92 ·105}·//·namespace·std
 93 ·106
 94 ·107
 95 ·108namespace·pqxx
 96 ·109{
 97 110template<typename·ITER>·inline·tablewriter::tablewriter(
 98 ·111·transaction_base·&T,
 99 ·112·const·std::string·&WName,
 100 ·113·ITER·begincolumns,
 101 ·114·ITER·endcolumns)·:
 102 ·115·namedclass{"tablewriter",·WName},
 103 ·116·tablestream{T,·std::string{}}
 104 ·117{
 105 ·118·set_up(T,·WName,·columnlist(begincolumns,·endcolumns));
 106 ·119}
 107 ·120
 108 ·121
 109 122template<typename·ITER>·inline·tablewriter::tablewriter(
 110 ·123·transaction_base·&T,
 111 ·124·const·std::string·&WName,
 112 ·125·ITER·begincolumns,
 113 ·126·ITER·endcolumns,
 114 ·127·const·std::string·&Null)·:
 115 ·128·namedclass{"tablewriter",·WName},
 116 ·129·tablestream{T,·Null}
Max diff block lines reached; 105/9113 bytes (1.15%) of diff not shown.
108 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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_iterator.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 55, 249 lines modifiedOffset 55, 190 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00041_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">result_iterator.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">transactor.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
 65 <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>
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>
 67 <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>
 68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div>
 69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</span></div>
 70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div>
 71 <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>
 72 <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·mistake,</span></div>
 73 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·or·contact·the·author.</span></div>
 74 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT_ITERATOR</span></div>75 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT_ITERATOR</span></div>76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div>82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>
 83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Result·iterator.</span></div> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·Don&#39;t·include·this·header·from·your·own·application;·it·is·included·for·you</span></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·by·other·libpqxx·headers.</span></div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*/</span></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
81 <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="a00265.html">pqxx</a></div>87 <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="a00265.html">pqxx</a></div>
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01399.html">···35</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01415.html">row</a></div> 
85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> 
86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> 
87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01399.html#a4bb6b2beff71544307f8c1c929c99750">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#a4bb6b2beff71544307f8c1c929c99750">iterator_category</a>·=·std::random_access_iterator_tag;</div> 
88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01399.html#a03991879308fcb107a3cc24ecf172bcf">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">value_type</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>;</div> 
89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01399.html#aebc5de1702e7f8dd1b52bb4d9fca051d">···40</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">pointer</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·*;</div> 
90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01399.html#afc0ac936e511e18607dcffe20db16740">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">reference</a>·=·<a·class="code·hl_class"·href="a01415.html">row</a>;</div> 
91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01399.html#ab1f4179c65ba39e462510a0a66f84e86">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#ab1f4179c65ba39e462510a0a66f84e86">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div> 
92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div> 
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01399.html#afd596d6f3be9565f09559507370972b5">···45</a></span>··<a·class="code·hl_function"·href="a01399.html#afd596d6f3be9565f09559507370972b5">const_result_iterator</a>()·noexcept·:·<a·class="code·hl_class"·href="a01415.html">row</a>{<a·class="code·hl_class"·href="a01395.html">result</a>(),·0}·{}</div> 
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01399.html#a43054e2abbe8408cbf9839f5842925c9">···46</a></span>··<a·class="code·hl_function"·href="a01399.html#a43054e2abbe8408cbf9839f5842925c9">const_result_iterator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;t)·noexcept·:·<a·class="code·hl_class"·href="a01415.html">row</a>{t}·{}</div> 
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01399.html#a858d47eebdb1b6055a9f75c32d19d4d2">···63</a></span>··<a·class="code·hl_class"·href="a01415.html">pointer</a>·<a·class="code·hl_function"·href="a01399.html#a858d47eebdb1b6055a9f75c32d19d4d2">operator-&gt;</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">this</span>;·}···························<span·class="comment">//[t12]</span></div> 
98 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01399.html#ae87d3164c4be3ececdde872582aacc61">···64</a></span>··<a·class="code·hl_class"·href="a01415.html">reference</a>·<a·class="code·hl_function"·href="a01399.html#ae87d3164c4be3ececdde872582aacc61">operator*</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01415.html">row</a>{*<span·class="keyword">this</span>};·}····················<span·class="comment">//[t12]</span></div> 
99 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment"></span>·</div> 
100 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·operator++(<span·class="keywordtype">int</span>);································<span·class="comment">//[t12]</span></div> 
101 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01399.html#a324716b733be6b946655ab1c23cb0979">···72</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a324716b733be6b946655ab1c23cb0979">operator++</a>()·{·++m_index;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}······<span·class="comment">//[t01]</span></div> 
102 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·operator--(<span·class="keywordtype">int</span>);································<span·class="comment">//[t12]</span></div> 
103 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01399.html#af7e9c3e004691e5ba8c4832f3b4b7263">···74</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#af7e9c3e004691e5ba8c4832f3b4b7263">operator--</a>()·{·--m_index;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}······<span·class="comment">//[t12]</span></div> 
104 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
105 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01399.html#a84b2fc54bd4fb87ef998061ee4728ce3">···76</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a84b2fc54bd4fb87ef998061ee4728ce3">operator+=</a>(<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·i)··················<span·class="comment">//[t12]</span></div> 
106 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······{·m_index·+=·i;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
107 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01399.html#a0c5f69a6c571fe08f27414d77b0b8e3b">···78</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a0c5f69a6c571fe08f27414d77b0b8e3b">operator-=</a>(<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·i)··················<span·class="comment">//[t12]</span></div> 
108 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······{·m_index·-=·i;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
109 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
110 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01399.html#a849456b27e1884ac818ffa622e1933e9">···86</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#a849456b27e1884ac818ffa622e1933e9">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>·················<span·class="comment">//[t12]</span></div> 
111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······{<span·class="keywordflow">return</span>·m_index==i.m_index;}</div> 
112 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01399.html#a0aa8a914aee27a30cabfb41234a64e18">···88</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#a0aa8a914aee27a30cabfb41234a64e18">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>·················<span·class="comment">//[t12]</span></div> 
113 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······{<span·class="keywordflow">return</span>·m_index!=i.m_index;}</div> 
114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01399.html#a546f8b125183659078b61934c28554ee">···90</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#a546f8b125183659078b61934c28554ee">operator&lt;</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>··················<span·class="comment">//[t12]</span></div> 
115 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······{<span·class="keywordflow">return</span>·m_index&lt;i.m_index;}</div> 
116 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01399.html#aa8016537d87daa579f2df3477756b39f">···92</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#aa8016537d87daa579f2df3477756b39f">operator&lt;=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>·················<span·class="comment">//[t12]</span></div> 
117 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······{<span·class="keywordflow">return</span>·m_index&lt;=i.m_index;}</div> 
118 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01399.html#a5a0d10d498a068f7ed211b42cf66ddfd">···94</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#a5a0d10d498a068f7ed211b42cf66ddfd">operator&gt;</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>··················<span·class="comment">//[t12]</span></div> 
119 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······{<span·class="keywordflow">return</span>·m_index&gt;i.m_index;}</div> 
120 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01399.html#ae39f3aad08e7401cd6bc0acb20a4b6ba">···96</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#ae39f3aad08e7401cd6bc0acb20a4b6ba">operator&gt;=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>·················<span·class="comment">//[t12]</span></div> 
121 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······{<span·class="keywordflow">return</span>·m_index&gt;=i.m_index;}</div> 
122 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>90 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 91 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TRANSACTION_CALLBACK&gt;</div>
 92 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a00265.html#a4d0ecdeb1426248d81c36ec0322c41b4">···99</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00265.html#a4d0ecdeb1426248d81c36ec0322c41b4">perform</a>(<span·class="keyword">const</span>·TRANSACTION_CALLBACK·&amp;callback,·<span·class="keywordtype">int</span>·attempts=3)</div>
123 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·<a·class="code·hl_function"·href="a00265.html#a14f86142785f212ef3de46040e22c532">operator+</a>(difference_type)·<span·class="keyword">const</span>;········<span·class="comment">//[t12]</span></div> 
124 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·<a·class="code·hl_function"·href="a00265.html#a14f86142785f212ef3de46040e22c532">operator+</a>(·······························<span·class="comment">//[t12]</span></div> 
125 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········difference_type,</div> 
126 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>);</div> 
127 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01403.html#a4ce5bf0280d6dce47212969b614c483a">··108</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·operator-(<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>)·<span·class="keyword">const</span>;········<span·class="comment">//[t12]</span></div> 
128 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01403.html#a3d6c7bc39d264cbcb4eb9c793d65e7cf">··109</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·operator-(<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>)·<span·class="keyword">const</span>;········<span·class="comment">//[t12]</span></div> 
129 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment"></span>·</div> 
130 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">private</span>:</div>93 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··-&gt;·<span·class="keyword">decltype</span>(callback())</div>
131 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01399.html#ac9149722b80a911706d9ad204417a69a">··113</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01395.html">pqxx::result</a>;</div> 
132 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">pqxx::result</a>·*r,·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>·i)·noexcept·:</div> 
133 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<a·class="code·hl_class"·href="a01415.html">row</a>{*r,·i}·{}</div> 
134 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>};</div>94 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>{</div>
 95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordflow">if</span>·(attempts·&lt;=·0)</div>
 96 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div>
 97 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<span·class="stringliteral">&quot;Zero·or·negative·number·of·attempts·passed·to·pqxx::perform().&quot;</span>};</div>
 98 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 99 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keywordflow">for</span>·(;·attempts·&gt;·0;·--attempts)</div>
 100 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div>
 101 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">try</span></div>
 102 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····{</div>
 103 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·callback();</div>
 104 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div>
 105 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>·&amp;)</div>
 106 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····{</div>
 107 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div>
 108 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div>
 109 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="keywordflow">throw</span>;</div>
135 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>110 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····}</div>
 111 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01203.html">statement_completion_unknown</a>·&amp;)</div>
Max diff block lines reached; 56668/91107 bytes (62.20%) of diff not shown.
18.8 KB
html2text {}
    
Offset 1, 347 lines modifiedOffset 1, 222 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 result_iterator.hxx2 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-2019,·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 mistake,
 12 ·9·*·or·contact·the·author.
 13 ·10·*/
 14 ·11#ifndef·PQXX_H_TRANSACTOR
 15 ·12#define·PQXX_H_TRANSACTOR
3 ·116 ·13
4 ·13#ifndef·PQXX_H_RESULT_ITERATOR 
5 ·14#define·PQXX_H_RESULT_ITERATOR 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx"17 ·14#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"18 ·15#include·"pqxx/compiler-internal-pre.hxx"
9 ·1819 ·16
 20 ·17#include·"pqxx/connection_base.hxx"
10 ·19#include·"pqxx/row.hxx"21 ·18#include·"pqxx/transaction.hxx"
 22 ·19
11 ·2023 ·20
 24 ·21//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 25 ·22
12 ·21 
13 ·22/*·Result·iterator. 
14 ·23·* 
15 ·24·*·Don't·include·this·header·from·your·own·application;·it·is·included·for 
16 you 
17 ·25·*·by·other·libpqxx·headers. 
18 ·26·*/ 
19 ·27 
20 ·28namespace·pqxx26 ·23namespace·pqxx
21 ·29{27 ·24{
 28 ·67
 29 ·69
 30 ·98template<typename·TRANSACTION_CALLBACK>
 31 99inline·auto·perform(const·TRANSACTION_CALLBACK·&callback,·int·attempts=3)
 32 ·100·->·decltype(callback())
 33 ·101{
 34 ·102·if·(attempts·<=·0)
 35 ·103·throw·std::invalid_argument{
 36 ·104·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."};
 37 ·105
 38 ·106·for·(;·attempts·>·0;·--attempts)
 39 ·107·{
 40 ·108·try
 41 ·109·{
 42 ·110·return·callback();
22 ·31 
23 35class·PQXX_LIBEXPORT·const_result_iterator·:·public·row 
24 ·36{ 
25 ·37public: 
26 38·using·iterator_category·=·std::random_access_iterator_tag; 
27 39·using·value_type·=·const·row; 
28 40·using·pointer·=·const·row·*; 
29 41·using·reference·=·row; 
30 42·using·size_type·=·result_size_type; 
31 43·using·difference_type·=·result_difference_type; 
32 ·44 
33 45·const_result_iterator()·noexcept·:·row{result(),·0}·{} 
34 46·const_result_iterator(const·row·&t)·noexcept·:·row{t}·{} 
35 ·47 
36 63·pointer·operator->()·const·{·return·this;·}·//[t12] 
37 64·reference·operator*()·const·{·return·row{*this};·}·//[t12] 
38 ·66 
39 ·71·const_result_iterator·operator++(int);·//[t12] 
40 72·const_result_iterator·&operator++()·{·++m_index;·return·*this;·}·//[t01] 
41 ·73·const_result_iterator·operator--(int);·//[t12] 
42 74·const_result_iterator·&operator--()·{·--m_index;·return·*this;·}·//[t12] 
43 ·75 
44 76·const_result_iterator·&operator+=(difference_type·i)·//[t12] 
45 ·77·{·m_index·+=·i;·return·*this;·} 
46 78·const_result_iterator·&operator-=(difference_type·i)·//[t12] 
47 ·79·{·m_index·-=·i;·return·*this;·} 
48 ·81 
49 86·bool·operator==(const·const_result_iterator·&i)·const·//[t12] 
50 ·87·{return·m_index==i.m_index;} 
51 88·bool·operator!=(const·const_result_iterator·&i)·const·//[t12] 
52 ·89·{return·m_index!=i.m_index;} 
53 90·bool·operator<(const·const_result_iterator·&i)·const·//[t12] 
54 ·91·{return·m_index<i.m_index;} 
55 92·bool·operator<=(const·const_result_iterator·&i)·const·//[t12] 
56 ·93·{return·m_index<=i.m_index;} 
57 94·bool·operator>(const·const_result_iterator·&i)·const·//[t12] 
58 ·95·{return·m_index>i.m_index;} 
59 96·bool·operator>=(const·const_result_iterator·&i)·const·//[t12] 
60 ·97·{return·m_index>=i.m_index;} 
61 ·99 
62 ·104·inline·const_result_iterator·operator+(difference_type)·const;·//[t12] 
63 ·105·friend·const_result_iterator·operator+(·//[t12] 
64 ·106·difference_type, 
65 ·107·const_result_iterator); 
66 108·inline·const_result_iterator·operator-(difference_type)·const;·//[t12] 
67 109·inline·difference_type·operator-(const_result_iterator)·const;·//[t12] 
68 ·11143 ·111·}
 44 ·112·catch·(const·in_doubt_error·&)
 45 ·113·{
 46 ·114·//·Not·sure·whether·transaction·went·through·or·not.·The·last·thing·in
 47 ·115·//·the·world·that·we·should·do·now·is·try·again!
 48 ·116·throw;
69 ·112private: 
70 113·friend·class·pqxx::result; 
71 ·114·const_result_iterator(const·pqxx::result·*r,·result_size_type·i)·noexcept 
72 : 
73 ·115·row{*r,·i}·{} 
74 ·116}; 
75 ·11749 ·117·}
76 ·118 
77 120class·PQXX_LIBEXPORT·const_reverse_result_iterator·: 
78 ·121·private·const_result_iterator 
79 ·122{ 
80 ·123public: 
81 124·using·super·=·const_result_iterator; 
82 125·using·iterator_type·=·const_result_iterator; 
83 ·126·using·iterator_type::iterator_category; 
84 ·127·using·iterator_type::difference_type; 
Max diff block lines reached; 13831/19276 bytes (71.75%) of diff not shown.
92.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·result_iterator.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 55, 130 lines modifiedOffset 55, 249 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00044_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">config.h</div></div>62 ··<div·class="headertitle"><div·class="title">result_iterator.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <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> 
66 <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> 
67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">/*·most·gcc·compilers·know·a·function·__attribute__((__const__))·*/</span></div> 
69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·GCC_CONST_CALL·__attribute__((__const__))</span></div> 
70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> 
71 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">/*·define·if·the·compiler·supports·basic·C++11·syntax·*/</span></div> 
72 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·HAVE_CXX11·1</span></div> 
73 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
74 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;dlfcn.h&gt;·header·file.·*/</span></div> 
75 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_DLFCN_H·1</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT_ITERATOR</span></div>
76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
77 <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;inttypes.h&gt;·header·file.·*/</span></div> 
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·HAVE_INTTYPES_H·1</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT_ITERATOR</span></div>
79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">/*·Define·to·1·if·you·have·the·`pq&#39;·library·(-lpq).·*/</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·HAVE_LIBPQ·1</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*·System·supports·poll().·*/</span></div> 
84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
86 <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;stdint.h&gt;·header·file.·*/</span></div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*·Result·iterator.</span></div>
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·HAVE_STDINT_H·1</span></div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*</span></div>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·Don&#39;t·include·this·header·from·your·own·application;·it·is·included·for·you</span></div>
89 <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;stdio.h&gt;·header·file.·*/</span></div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·by·other·libpqxx·headers.</span></div>
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·HAVE_STDIO_H·1</span></div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*/</span></div>
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
92 <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;stdlib.h&gt;·header·file.·*/</span></div>81 <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="a00265.html">pqxx</a></div>
93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·HAVE_STDLIB_H·1</span></div>82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01399.html">···35</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01415.html">row</a></div>
95 <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;strings.h&gt;·header·file.·*/</span></div> 
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#define·HAVE_STRINGS_H·1</span></div> 
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
98 <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;string.h&gt;·header·file.·*/</span></div> 
99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·HAVE_STRING_H·1</span></div> 
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div>
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/select.h&gt;·header·file.·*/</span></div> 
102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">/*·#undef·HAVE_SYS_SELECT_H·*/</span></div> 
103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div>
104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/stat.h&gt;·header·file.·*/</span></div> 
105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#define·HAVE_SYS_STAT_H·1</span></div>87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01399.html#a4bb6b2beff71544307f8c1c929c99750">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#a4bb6b2beff71544307f8c1c929c99750">iterator_ca[·...·truncated·by·diffoscope;·len:·45,·SHA:·b03d93b890201c5d2b4ffdc4bf3580d90c1aecfa594400a0c3b6bde175dbcf5a·...·]</div>
 88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01399.html#a03991879308fcb107a3cc24ecf172bcf">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">value_type</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>;</div>
 89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01399.html#aebc5de1702e7f8dd1b52bb4d9fca051d">···40</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">pointer</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·*;</div>
 90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01399.html#afc0ac936e511e18607dcffe20db16740">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">reference</a>·=·<a·class="code·hl_class"·href="a01415.html">row</a>;</div>
 91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01399.html#ab1f4179c65ba39e462510a0a66f84e86">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#ab1f4179c65ba39e462510a0a66f84e86">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div>
 92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div>
106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/time.h&gt;·header·file.·*/</span></div> 
108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#define·HAVE_SYS_TIME_H·1</span></div>94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01399.html#afd596d6f3be9565f09559507370972b5">···45</a></span>··<a·class="code·hl_function"·href="a01399.html#afd596d6f3be9565f09559507370972b5">const_result_iterator</a>()·noexcept·:·<a·clas[·...·truncated·by·diffoscope;·len:·108,·SHA:·d1b542b596d2758cd77d09ab3eb7cffe224acf774bb3b9c07024992d81ef2c0a·...·]</div>
 95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01399.html#a43054e2abbe8408cbf9839f5842925c9">···46</a></span>··<a·class="code·hl_function"·href="a01399.html#a43054e2abbe8408cbf9839f5842925c9">const_result_iterator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;t)·noexcept·:·<a·class="code·hl_class"·href="a01415.html">row</a>{t}·{}</div>
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01399.html#a858d47eebdb1b6055a9f75c32d19d4d2">···63</a></span>··<a·class="code·hl_class"·href="a01415.html">pointer</a>·<a·class="code·hl_function"·href="a01399.html#a858d47eebdb1b6055a9f75c32d19d4d2">operator-&gt;</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">this</span>;·}···························<span·class="comment">//[t12]</span></div>
 98 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01399.html#ae87d3164c4be3ececdde872582aacc61">···64</a></span>··<a·class="code·hl_class"·href="a01415.html">reference</a>·<a·class="code·hl_function"·href="a01399.html#ae87d3164c4be3ececdde872582aacc61">operator*</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01415.html">row</a>{*<span·class="keyword">this</span>};·}····················<span·class="comment">//[t12]</span></div>
110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;sys/types.h&gt;·header·file.·*/</span></div> 
111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div> 
112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">/*·Define·to·1·if·you·have·the·&lt;unistd.h&gt;·header·file.·*/</span></div> 
114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div> 
115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.·*/</span></div> 
117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#define·LT_OBJDIR·&quot;.libs/&quot;</span></div> 
118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">/*·Name·of·package·*/</span></div>99 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment"></span>·</div>
 100 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·operator++(<span·class="keywordtype">int</span>);································<span·class="comment">//[t12]</span></div>
 101 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01399.html#a324716b733be6b946655ab1c23cb0979">···72</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a324716b733be6b946655ab1c23cb0979">operator++</a>()·{·++m_index;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}······<span·class="comment">//[t01]</span></div>
 102 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·operator--(<span·class="keywordtype">int</span>);································<span·class="comment">//[t12]</span></div>
 103 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01399.html#af7e9c3e004691e5ba8c4832f3b4b7263">···74</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#af7e9c3e004691e5ba8c4832f3b4b7263">operator--</a>()·{·--m_index;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}······<span·class="comment">//[t12]</span></div>
120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div> 
121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent.·*/</span></div> 
123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#define·PACKAGE_BUGREPORT·&quot;Jeroen·T.·Vermeulen&quot;</span></div> 
124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">/*·Define·to·the·full·name·of·this·package.·*/</span></div> 
126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#define·PACKAGE_NAME·&quot;libpqxx&quot;</span></div> 
127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
128 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">/*·Define·to·the·full·name·and·version·of·this·package.·*/</span></div> 
129 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·6.4.5&quot;</span></div> 
130 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
131 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">/*·Define·to·the·one·symbol·short·name·of·this·package.·*/</span></div> 
132 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#define·PACKAGE_TARNAME·&quot;libpqxx&quot;</span></div> 
133 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
134 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">/*·Define·to·the·home·page·for·this·package.·*/</span></div> 
135 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#define·PACKAGE_URL·&quot;&quot;</span></div> 
136 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
137 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">/*·Define·to·the·version·of·this·package.·*/</span></div> 
138 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;6.4.5&quot;</span></div> 
139 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>104 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 105 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01399.html#a84b2fc54bd4fb87ef998061ee4728ce3">···76</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a84b2fc54bd4fb87ef998061ee4728ce3">operator+=</a>(<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·i)··················<span·class="comment">//[t12]</span></div>
 106 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······{·m_index·+=·i;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 107 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01399.html#a0c5f69a6c571fe08f27414d77b0b8e3b">···78</a></span>··<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;<a·class="code·hl_function"·href="a01399.html#a0c5f69a6c571fe08f27414d77b0b8e3b">operator-=</a>(<a·class="code·hl_typedef"·href="a01399.html#aaf217ab136c9c969aaf17c1ce5f95b6a">difference_type</a>·i)··················<span·class="comment">//[t12]</span></div>
 108 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······{·m_index·-=·i;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
140 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·floating-point·conversion.·*/</span></div> 
141 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">/*·#undef·PQXX_HAVE_CHARCONV_FLOAT·*/</span></div> 
142 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
143 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">/*·Define·if·&lt;charconv&gt;·supports·integer·conversion.·*/</span></div> 
144 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">/*·#undef·PQXX_HAVE_CHARCONV_INT·*/</span></div> 
145 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>109 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 110 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01399.html#a849456b27e1884ac818ffa622e1933e9">···86</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01399.html#a849456b27e1884ac818ffa622e1933e9">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>·&amp;i)·<span·class="keyword">const</span>·················<span·class="comment">//[t12]</span></div>
 111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······{<span·class="keywordflow">return</span>·m_index==i.m_index;}</div>
Max diff block lines reached; 48484/78074 bytes (62.10%) of diff not shown.
16.6 KB
html2text {}
    
Offset 1, 123 lines modifiedOffset 1, 347 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 result_iterator.hxx
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/*·most·gcc·compilers·know·a·function·__attribute__((__const__))·*/ 
7 ·5#define·GCC_CONST_CALL·__attribute__((__const__)) 
8 ·6 
9 ·7/*·define·if·the·compiler·supports·basic·C++11·syntax·*/ 
10 ·8#define·HAVE_CXX11·1 
11 ·9 
12 ·10/*·Define·to·1·if·you·have·the·<dlfcn.h>·header·file.·*/ 
13 ·11#define·HAVE_DLFCN_H·1 
14 ·123 ·1
15 ·13/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/ 
16 ·14#define·HAVE_INTTYPES_H·14 ·13#ifndef·PQXX_H_RESULT_ITERATOR
 5 ·14#define·PQXX_H_RESULT_ITERATOR
17 ·156 ·15
18 ·16/*·Define·to·1·if·you·have·the·`pq'·library·(-lpq).·*/ 
19 ·17#define·HAVE_LIBPQ·17 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
20 ·189 ·18
21 ·19/*·System·supports·poll().·*/ 
22 ·20#define·HAVE_POLL·110 ·19#include·"pqxx/row.hxx"
 11 ·20
23 ·2112 ·21
24 ·22/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/ 
25 ·23#define·HAVE_STDINT_H·1 
26 ·24 
27 ·25/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/ 
28 ·26#define·HAVE_STDIO_H·113 ·22/*·Result·iterator.
 14 ·23·*
 15 ·24·*·Don't·include·this·header·from·your·own·application;·it·is·included·for
 16 you
 17 ·25·*·by·other·libpqxx·headers.
 18 ·26·*/
29 ·2719 ·27
 20 ·28namespace·pqxx
 21 ·29{
 22 ·31
 23 35class·PQXX_LIBEXPORT·const_result_iterator·:·public·row
30 ·28/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/ 
31 ·29#define·HAVE_STDLIB_H·1 
32 ·30 
33 ·31/*·Define·to·1·if·you·have·the·<strings.h>·header·file.·*/ 
34 ·32#define·HAVE_STRINGS_H·1 
35 ·33 
36 ·34/*·Define·to·1·if·you·have·the·<string.h>·header·file.·*/ 
37 ·35#define·HAVE_STRING_H·1 
38 ·3624 ·36{
 25 ·37public:
 26 38·using·iterator_category·=·std::random_access_iterator_tag;
 27 39·using·value_type·=·const·row;
 28 40·using·pointer·=·const·row·*;
 29 41·using·reference·=·row;
 30 42·using·size_type·=·result_size_type;
 31 43·using·difference_type·=·result_difference_type;
 32 ·44
 33 45·const_result_iterator()·noexcept·:·row{result(),·0}·{}
 34 46·const_result_iterator(const·row·&t)·noexcept·:·row{t}·{}
 35 ·47
 36 63·pointer·operator->()·const·{·return·this;·}·//[t12]
 37 64·reference·operator*()·const·{·return·row{*this};·}·//[t12]
39 ·37/*·Define·to·1·if·you·have·the·<sys/select.h>·header·file.·*/ 
40 ·38/*·#undef·HAVE_SYS_SELECT_H·*/ 
41 ·39 
42 ·40/*·Define·to·1·if·you·have·the·<sys/stat.h>·header·file.·*/ 
43 ·41#define·HAVE_SYS_STAT_H·1 
44 ·42 
45 ·43/*·Define·to·1·if·you·have·the·<sys/time.h>·header·file.·*/ 
46 ·44#define·HAVE_SYS_TIME_H·1 
47 ·45 
48 ·46/*·Define·to·1·if·you·have·the·<sys/types.h>·header·file.·*/ 
49 ·47#define·HAVE_SYS_TYPES_H·1 
50 ·48 
51 ·49/*·Define·to·1·if·you·have·the·<unistd.h>·header·file.·*/ 
52 ·50#define·HAVE_UNISTD_H·1 
53 ·51 
54 ·52/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries. 
55 */ 
56 ·53#define·LT_OBJDIR·".libs/" 
57 ·54 
58 ·55/*·Name·of·package·*/ 
59 ·56#define·PACKAGE·"libpqxx" 
60 ·57 
61 ·58/*·Define·to·the·address·where·bug·reports·for·this·package·should·be·sent. 
62 */ 
63 ·59#define·PACKAGE_BUGREPORT·"Jeroen·T.·Vermeulen" 
64 ·60 
65 ·61/*·Define·to·the·full·name·of·this·package.·*/ 
66 ·62#define·PACKAGE_NAME·"libpqxx" 
67 ·63 
68 ·64/*·Define·to·the·full·name·and·version·of·this·package.·*/ 
69 ·65#define·PACKAGE_STRING·"libpqxx·6.4.5" 
70 ·6638 ·66
 39 ·71·const_result_iterator·operator++(int);·//[t12]
 40 72·const_result_iterator·&operator++()·{·++m_index;·return·*this;·}·//[t01]
 41 ·73·const_result_iterator·operator--(int);·//[t12]
 42 74·const_result_iterator·&operator--()·{·--m_index;·return·*this;·}·//[t12]
71 ·67/*·Define·to·the·one·symbol·short·name·of·this·package.·*/ 
72 ·68#define·PACKAGE_TARNAME·"libpqxx" 
73 ·69 
74 ·70/*·Define·to·the·home·page·for·this·package.·*/ 
75 ·71#define·PACKAGE_URL·"" 
76 ·72 
77 ·73/*·Define·to·the·version·of·this·package.·*/ 
78 ·74#define·PACKAGE_VERSION·"6.4.5" 
79 ·7543 ·75
 44 76·const_result_iterator·&operator+=(difference_type·i)·//[t12]
 45 ·77·{·m_index·+=·i;·return·*this;·}
 46 78·const_result_iterator·&operator-=(difference_type·i)·//[t12]
 47 ·79·{·m_index·-=·i;·return·*this;·}
80 ·76/*·Define·if·<charconv>·supports·floating-point·conversion.·*/ 
81 ·77/*·#undef·PQXX_HAVE_CHARCONV_FLOAT·*/ 
82 ·78 
83 ·79/*·Define·if·<charconv>·supports·integer·conversion.·*/ 
84 ·80/*·#undef·PQXX_HAVE_CHARCONV_INT·*/ 
85 ·8148 ·81
 49 86·bool·operator==(const·const_result_iterator·&i)·const·//[t12]
 50 ·87·{return·m_index==i.m_index;}
Max diff block lines reached; 11543/16931 bytes (68.18%) of diff not shown.
125 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·tablewriter.hxx·Source·File</title>8 <title>libpqxx:·cursor.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 55, 245 lines modifiedOffset 55, 318 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00047_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">tablewriter.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">cursor.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLEWRITER</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CURSOR</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLEWRITER</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CURSOR</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/tablestream.hxx&quot;</span></div>75 <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>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 79 <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="a00265.html">pqxx</a></div>
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01499.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·:·<span·class="keyword">public</span>·<a·class="code[·...·truncated·by·diffoscope;·len:·41,·SHA:·fd9be6d14aa30a76804ab4d21e0236280dfe7b402a64ae9f0ea52766f4723f1f·...·]</a></div>82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01147.html">···40</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01147.html">cursor_base</a></div>
 83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div>
 84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div>
 85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div>
 86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div>
 87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 88 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 89 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">···50</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">accesspolicy</a></div>
 90 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 91 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">···53</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">forward_only</a>,</div>
 92 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····random_access</div>
 93 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30ea7f6c1ed7719885433353a78946b2c5f3">···56</a></span>··};</div>
 94 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 95 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212">···62</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212">updatepolicy</a></div>
81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div>
 98 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a8122c0c4a5eb9c9dbf27ab40a2686eb0">···65</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a8122c0c4a5eb9c9dbf27ab40a2686eb0">read_only</a>,</div>
82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> 
83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div> 
84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div> 
86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div> 
87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div> 
88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div> 
89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div> 
91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········ITER·begincolumns,</div> 
92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········ITER·endcolumns);</div> 
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>(</div> 
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div> 
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div> 
97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········ITER·begincolumns,</div> 
98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········ITER·endcolumns,</div>99 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····update</div>
 100 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a12fa229ee3e760f1ca86d66304554b63">···68</a></span>··};</div>
99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="keyword">const</span>·std::string·&amp;Null);</div> 
100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<a·class="code·hl_class"·href="a01499.html">~tablewriter</a>()·<span·class="keyword">noexcept</span>;</div> 
101 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keywordtype">void</span>·insert(IT·Begin,·IT·End);</div> 
102 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<span·class="keywordtype">void</span>·insert(<span·class="keyword">const</span>·TUPLE·&amp;);</div> 
103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keywordtype">void</span>·push_back(IT·Begin,·IT·End);</div> 
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<span·class="keywordtype">void</span>·push_back(<span·class="keyword">const</span>·TUPLE·&amp;);</div> 
105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01499.html#a221115002b25bcc436187b651e6085a6">···56</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·SIZE&gt;·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01499.html#a221115002b25bcc436187b651e6085a6">reserve</a>(SIZE)·{}</div> 
106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<span·class="keyword">const</span>·TUPLE·&amp;);</div> 
107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_class"·href="a01499.html">tablewriter</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<a·class="code·hl_class"·href="a01491.html">tablereader</a>·&amp;);</div> 
108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·std::string·generate(IT·Begin,·IT·End)·<span·class="keyword">const</span>;</div> 
109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·std::string·generate(<span·class="keyword">const</span>·TUPLE·&amp;)·<span·class="keyword">const</span>;</div> 
110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div> 
111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keywordtype">void</span>·write_raw_line(<span·class="keyword">const</span>·std::string·&amp;);</div> 
112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">private</span>:</div> 
113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keywordtype">void</span>·set_up(</div> 
114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keyword">const</span>·std::string·&amp;WName,</div> 
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">const</span>·std::string·&amp;Columns·=·std::string{});</div> 
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·writer_close();</div> 
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div>101 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>102 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 103 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330">···89</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330">ownershippolicy</a></div>
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00264.html">std</a></div> 
123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> 
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span>&lt;&gt;</div> 
125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01503.html">···76</a></span>··<span·class="keyword">class·</span>back_insert_iterator&lt;<a·class="code·hl_namespace"·href="a00265.html">pqxx</a>::tablewriter&gt;</div> 
126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div> 
127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div> 
128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">iterator_category</a>·=·output_iterator_tag;</div> 
129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01503.html#a150929df369299ab36c94515f9519d19">···81</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01503.html#a150929df369299ab36c94515f9519d19">back_insert_iterator</a>(<a·class="code·hl_class"·href="a01499.html">pqxx::tablewriter</a>·&amp;W)·noexcept·:</div> 
131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····m_writer{&amp;W}·{}</div> 
132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··back_insert_iterator·&amp;</div> 
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01503.html#a161dcccc600e0af213778f23677318de">···85</a></span>····<a·class="code·hl_function"·href="a01503.html#a161dcccc600e0af213778f23677318de">operator=</a>(<span·class="keyword">const</span>·back_insert_iterator·&amp;rhs)·<span·class="keyword">noexcept</span></div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> 
136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····m_writer·=·rhs.m_writer;</div> 
137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> 
139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div>
 105 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330a3ace6a7a5ca4ec3b486f2f35fd2420b0">···92</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330a3ace6a7a5ca4ec3b486f2f35fd2420b0">owned</a>,</div>
140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;</div> 
141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01503.html#a7dc63f7f0660fa21335c76359fc51a11">···92</a></span>··back_insert_iterator·&amp;<a·class="code·hl_function"·href="a01503.html#a7dc63f7f0660fa21335c76359fc51a11">operator=</a>(<span·class="keyword">const</span>·TUPLE·&amp;T)</div> 
Max diff block lines reached; 81302/106940 bytes (76.03%) of diff not shown.
20.1 KB
html2text {}
    
Offset 1, 298 lines modifiedOffset 1, 419 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablewriter.hxx2 cursor.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_TABLEWRITER4 ·13#ifndef·PQXX_H_CURSOR
5 ·14#define·PQXX_H_TABLEWRITER5 ·14#define·PQXX_H_CURSOR
6 ·156 ·15
7 ·16#include·<iterator> 
8 ·17 
9 ·18#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
10 ·19#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
11 ·209 ·18
 10 ·19#include·<limits>
 11 ·20#include·<stdexcept>
 12 ·21
12 ·21#include·"pqxx/tablestream.hxx"13 ·22#include·"pqxx/result.hxx"
13 ·22 
14 ·2314 ·23#include·"pqxx/transaction_base.hxx"
 15 ·24
 16 ·25
15 ·24namespace·pqxx17 ·26namespace·pqxx
16 ·25{ 
17 ·2718 ·27{
18 31class·PQXX_LIBEXPORT·tablewriter·:·public·tablestream 
19 ·32{19 ·29
 20 40class·PQXX_LIBEXPORT·cursor_base
 21 ·41{
20 ·33public:22 ·42public:
 23 43·using·size_type·=·result_size_type;
 24 44·using·difference_type·=·result_difference_type;
 25 ·45
 26 ·47
 27 50·enum·accesspolicy
 28 ·51·{
 29 53·forward_only,
 30 ·55·random_access
 31 56·};
 32 ·57
 33 ·59
 34 62·enum·updatepolicy
 35 ·63·{
 36 65·read_only,
 37 ·67·update
 38 68·};
21 ·34·PQXX_DEPRECATED·tablewriter( 
22 ·35·transaction_base·&, 
23 ·36·const·std::string·&WName, 
24 ·37·const·std::string·&Null=std::string{}); 
25 ·38·template<typename·ITER> 
26 ·39·PQXX_DEPRECATED·tablewriter( 
27 ·40·transaction_base·&, 
28 ·41·const·std::string·&WName, 
29 ·42·ITER·begincolumns, 
30 ·43·ITER·endcolumns); 
31 ·44·template<typename·ITER> 
32 ·45·PQXX_DEPRECATED·tablewriter( 
33 ·46·transaction_base·&T, 
34 ·47·const·std::string·&WName, 
35 ·48·ITER·begincolumns, 
36 ·49·ITER·endcolumns, 
37 ·50·const·std::string·&Null); 
38 ·51·~tablewriter()·noexcept; 
39 ·52·template<typename·IT>·void·insert(IT·Begin,·IT·End); 
40 ·53·template<typename·TUPLE>·void·insert(const·TUPLE·&); 
41 ·54·template<typename·IT>·void·push_back(IT·Begin,·IT·End); 
42 ·55·template<typename·TUPLE>·void·push_back(const·TUPLE·&); 
43 56·template<typename·SIZE>·void·reserve(SIZE)·{} 
44 ·57·template<typename·TUPLE>·tablewriter·&operator<<(const·TUPLE·&); 
45 ·58·tablewriter·&operator<<(tablereader·&); 
46 ·59·template<typename·IT>·std::string·generate(IT·Begin,·IT·End)·const; 
47 ·60·template<typename·TUPLE>·std::string·generate(const·TUPLE·&)·const; 
48 ·61·virtual·void·complete()·override; 
49 ·62·void·write_raw_line(const·std::string·&); 
50 ·63private: 
51 ·64·void·set_up( 
52 ·65·transaction_base·&, 
53 ·66·const·std::string·&WName, 
54 ·67·const·std::string·&Columns·=·std::string{}); 
55 ·68·PQXX_PRIVATE·void·writer_close(); 
56 ·69};39 ·69
57 ·70}·//·namespace·pqxx 
58 ·7140 ·71
 41 89·enum·ownershippolicy
59 ·72 
60 ·73namespace·std 
61 ·74{ 
62 ·75template<> 
63 76·class·back_insert_iterator<pqxx::tablewriter> 
64 ·77{ 
65 ·78public: 
66 79·using·iterator_category·=·output_iterator_tag; 
67 ·80 
68 81·explicit·back_insert_iterator(pqxx::tablewriter·&W)·noexcept·: 
69 ·82·m_writer{&W}·{} 
70 ·83 
71 ·84·back_insert_iterator·& 
72 85·operator=(const·back_insert_iterator·&rhs)·noexcept 
73 ·86·{ 
74 ·87·m_writer·=·rhs.m_writer; 
75 ·88·return·*this; 
76 ·89·} 
77 ·90 
78 ·91·template<typename·TUPLE> 
79 92·back_insert_iterator·&operator=(const·TUPLE·&T) 
80 ·93·{42 ·90·{
81 ·94·m_writer->insert(T); 
82 ·95·return·*this;43 92·owned,
 44 ·94·loose
 45 95·};
83 ·96·}46 ·96
 47 97·cursor_base()·=delete;
 48 98·cursor_base(const·cursor_base·&)·=delete;
 49 99·cursor_base·&operator=(const·cursor_base·&)·=delete;
84 ·97 
85 98·back_insert_iterator·&operator++()·{·return·*this;·} 
86 99·back_insert_iterator·&operator++(int)·{·return·*this;·} 
87 100·back_insert_iterator·&operator*()·{·return·*this;·} 
88 ·10150 ·100
89 ·102private: 
90 ·103·pqxx::tablewriter·*m_writer; 
91 ·104}; 
92 ·105}·//·namespace·std 
Max diff block lines reached; 17078/20519 bytes (83.23%) of diff not shown.
40.7 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00050_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·tablestream.hxx·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 55, 76 lines modifiedOffset 55, 162 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00050_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00050_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">tablestream.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">stream_to.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLESTREAM</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_TO</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLESTREAM</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_TO</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
74 <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="a00265.html">pqxx</a></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/stream_base.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/stream_from.hxx&quot;</span></div>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
76 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01495.html">···26</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·:</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a></div>79 <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="a00265.html">pqxx</a></div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">public</span>:</div> 
81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>(</div> 
82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;Trans,</div> 
83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div> 
84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01495.html">~tablestream</a>()·<span·class="keyword">noexcept</span>·=0;</div> 
85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">···34</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">complete</a>()·=0;</div> 
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">protected</span>:</div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">···36</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">NullStr</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·m_null;·}</div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">···37</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">is_finished</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_finished;·}</div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keywordtype">void</span>·base_close();</div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">static</span>·std::string·columnlist(ITER·colbegin,·ITER·colend);</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">private</span>:</div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··std::string·m_null;</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordtype">bool</span>·m_finished·=·<span·class="keyword">false</span>;</div> 
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>()·=<span·class="keyword">delete</span>;</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span></div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">···52</a></span>std::string·<a·class="code·hl_function"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">tablestream::columnlist</a>(ITER·col[·...·truncated·by·diffoscope;·len:·19,·SHA:·87741b4b3eb226663023b50cd31ace53f24692bb950568befb6b2ff3da346226·...·]</div>83 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01479.html">···59</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01479.html">stream_to</a>·:·<span·class="keyword">public</span>·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·42,·SHA:·0bb04947721e518d465696111207e3682fa3802b28b669cefea40b002645e4dc·...·]</div>
 84 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div>
 85 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div>
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div>86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 87 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_class"·href="a01479.html">stream_to</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div>
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="stringliteral">&quot;,&quot;</span>,·colbegin,·colend);</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">···56</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>88 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 89 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>(</div>
 90 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 91 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 92 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">const</span>·Columns&amp;·columns</div>
 93 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··);</div>
 94 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 95 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iter&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>(</div>
 96 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 97 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 98 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····Iter·columns_begin,</div>
 99 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····Iter·columns_end</div>
 100 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··);</div>
 101 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 102 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<a·class="code·hl_class"·href="a01479.html">~stream_to</a>()·<span·class="keyword">noexcept</span>;</div>
 103 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 105 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div>
 106 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 107 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 108 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>·&amp;·<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<span·class="keyword">const</span>·Tuple·&amp;);</div>
 109 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 110 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 111 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<a·class="code·hl_class"·href="a01479.html">stream_to</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<a·class="code·hl_class"·href="a01475.html">stream_from</a>·&amp;);</div>
 112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">private</span>:</div>
 114 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keywordtype">void</span>·write_raw_line(<span·class="keyword">const</span>·std::string·&amp;);</div>
 115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="keywordtype">void</span>·set_up(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div>
 117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keywordtype">void</span>·set_up(</div>
 118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 120 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="keyword">const</span>·std::string·&amp;columns</div>
 121 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··);</div>
 122 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 123 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordtype">void</span>·close()·<span·class="keyword">override</span>;</div>
 124 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>};</div>
 125 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
 126 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 127 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01479.html#a3e3207cd7c15bca0a4beea769b18bf32">··130</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a01479.html#a5abd2579f9525caae54b0116ea965be8">stream_to::stream_to</a>(</div>
 128 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;tb,</div>
 129 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 130 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">const</span>·Columns&amp;·columns</div>
 131 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>)·:·<a·class="code·hl_class"·href="a01479.html">stream_to</a>{</div>
 132 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··tb,</div>
 133 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··table_name,</div>
 134 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<a·class="code·hl_namespace"·href="a00264.html">std</a>::begin(columns),</div>
 135 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<a·class="code·hl_namespace"·href="a00264.html">std</a>::end(columns)</div>
 136 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>}</div>
 137 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>{}</div>
 138 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
Max diff block lines reached; 6991/35026 bytes (19.96%) of diff not shown.
6.42 KB
html2text {}
    
Offset 1, 85 lines modifiedOffset 1, 189 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablestream.hxx2 stream_to.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_TABLESTREAM4 ·13#ifndef·PQXX_H_STREAM_TO
5 ·14#define·PQXX_H_TABLESTREAM5 ·14#define·PQXX_H_STREAM_TO
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·18#include·"pqxx/transaction_base.hxx"9 ·18#include·"pqxx/transaction_base.hxx"
10 ·19 
11 ·20 
12 ·21namespace·pqxx10 ·19#include·"pqxx/stream_base.hxx"
 11 ·20#include·"pqxx/stream_from.hxx"
 12 ·21#include·"pqxx/internal/type_utils.hxx"
13 ·22{13 ·22
 14 ·23#include·<string>
14 ·2415 ·24
15 26class·PQXX_LIBEXPORT·PQXX_NOVTABLE·tablestream·: 
16 ·27·public·internal::transactionfocus16 ·25
 17 ·26namespace·pqxx
 18 ·27{
17 ·28{19 ·28
 20 ·30
 21 59class·PQXX_LIBEXPORT·stream_to·:·public·stream_base
 22 ·60{
18 ·29public:23 ·61public:
19 ·30·explicit·tablestream(24 ·63
 25 ·70·stream_to(transaction_base·&,·const·std::string·&table_name);
 26 ·71
 27 ·73·template<typename·Columns>·stream_to(
 28 ·74·transaction_base·&,
 29 ·75·const·std::string·&table_name,
 30 ·76·const·Columns&·columns
 31 ·77·);
 32 ·78
 33 ·80·template<typename·Iter>·stream_to(
20 ·31·transaction_base·&Trans,34 ·81·transaction_base·&,
21 ·32·const·std::string·&Null=std::string{}); 
22 ·33·virtual·~tablestream()·noexcept·=0; 
23 34·virtual·void·complete()·=0; 
24 ·35protected: 
25 36·const·std::string·&NullStr()·const·{·return·m_null;·} 
26 37·bool·is_finished()·const·noexcept·{·return·m_finished;·} 
27 ·38·void·base_close(); 
28 ·39·template<typename·ITER> 
29 ·40·static·std::string·columnlist(ITER·colbegin,·ITER·colend);35 ·82·const·std::string·&table_name,
 36 ·83·Iter·columns_begin,
 37 ·84·Iter·columns_end
 38 ·85·);
 39 ·86
 40 ·87·~stream_to()·noexcept;
 41 ·88
 42 ·90
 43 ·96·void·complete()·override;
 44 ·97
 45 ·99
 46 ·106·template<typename·Tuple>·stream_to·&·operator<<(const·Tuple·&);
 47 ·107
 48 ·109
 49 ·113·stream_to·&operator<<(stream_from·&);
 50 ·114
30 ·41private:51 ·115private:
31 ·42·std::string·m_null; 
32 ·43·bool·m_finished·=·false; 
33 ·44 
34 ·45·tablestream()·=delete; 
35 ·46·tablestream(const·tablestream·&)·=delete; 
36 ·47·tablestream·&operator=(const·tablestream·&)·=delete; 
37 ·48}; 
38 ·49 
39 ·50 
40 ·51template<typename·ITER>·inline 
41 52std::string·tablestream::columnlist(ITER·colbegin,·ITER·colend) 
42 ·53{ 
43 ·54·return·separated_list(",",·colbegin,·colend); 
44 ·55}52 ·117·void·write_raw_line(const·std::string·&);
 53 ·118
 54 ·119·void·set_up(transaction_base·&,·const·std::string·&table_name);
 55 ·120·void·set_up(
 56 ·121·transaction_base·&,
 57 ·122·const·std::string·&table_name,
 58 ·123·const·std::string·&columns
 59 ·124·);
 60 ·125
 61 ·126·void·close()·override;
 62 ·127};
 63 ·128
 64 ·129
 65 130template<typename·Columns>·inline·stream_to::stream_to(
 66 ·131·transaction_base·&tb,
 67 ·132·const·std::string·&table_name,
 68 ·133·const·Columns&·columns
 69 ·134)·:·stream_to{
 70 ·135·tb,
 71 ·136·table_name,
 72 ·137·std::begin(columns),
 73 ·138·std::end(columns)
 74 ·139}
 75 ·140{}
 76 ·141
 77 ·142
 78 143template<typename·Iter>·inline·stream_to::stream_to(
 79 ·144·transaction_base·&tb,
 80 ·145·const·std::string·&table_name,
 81 ·146·Iter·columns_begin,
 82 ·147·Iter·columns_end
 83 ·148)·:
 84 ·149·namedclass{"stream_from",·table_name},
 85 ·150·stream_base{tb}
 86 ·151{
 87 ·152·set_up(
 88 ·153·tb,
 89 ·154·table_name,
 90 ·155·columnlist(columns_begin,·columns_end)
 91 ·156·);
 92 ·157}
 93 ·158
 94 ·159
 95 ·160namespace·internal
 96 ·161{
 97 ·162
Max diff block lines reached; 2427/6545 bytes (37.08%) of diff not shown.
80.1 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 162 lines modifiedOffset 55, 288 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00053_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">pipeline.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">util.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_UTIL</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_UTIL</span></div>
 68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div>
 72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cctype&gt;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 84 <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="a00265.html">pqxx</a>·{}</div>
 85 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 86 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;pqxx/internal/libpq-forward.hxx&gt;</span></div>
 87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 88 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
81 <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="a00265.html">pqxx</a></div>89 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00265.html#aa3dac50e282e072b936eb1c7885b6b28">···38</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00265.html#aa3dac50e282e072b936eb1c7885b6b28">ignore_unused</a>(T)·{}</div>
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01379.html">···48</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01379.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_[·...·truncated·by·diffoscope;·len:·52,·SHA:·e29f3a4d3d916451d3332a380e33cb0432d9e3c6f169723ee7ea0c61384c2bf8·...·]</a></div>95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01535.html">···44</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01535.html">thread_safety_model</a></div>
86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div>
 97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01535.html#a76f2924aaefac243d3770f1f4b698211">···47</a></span>··<span·class="keywordtype">bool</span>·have_safe_strerror·=·<span·class="keyword">true</span>;</div>
87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01379.html#af21cf61fd1c13a6729f48a241cbeba37">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01379.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>[·...·truncated·by·diffoscope;·len:·7,·SHA:·8e6ddb23e7f6c9e55ce3aab17bf153a28d3beb2724988392c3410e78c99b3a0f·...·];</div>99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">···50</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">safe_lib[·...·truncated·by·diffoscope;·len:·6,·SHA:·b797389576ae6cc54da4209835405d32c2667ee7c2eaa934cd3be6007804bb16·...·];</div>
89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01535.html#ace2546ec39e30e8793cc4a296216f259">···53</a></span>··<span·class="keywordtype">bool</span>·safe_query_cancel·=·<span·class="keyword">true</span>;</div>
90 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01379.html#a448ad553fbef827c9336add94290d133">···53</a></span>··<a·class="code·hl_function"·href="a01379.html#a448ad553fbef827c9336add94290d133">pipeline</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01379.html">pipeline</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
91 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01379.html#a1c3b55c5212f8954c27a44e56fa2bc9c">···54</a></span>··<a·class="code·hl_class"·href="a01379.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01379.html#a1c3b55c5212f8954c27a44e56fa2bc9c">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01379.html">pipeline</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
92 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 103 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01535.html#adb5c47ea21c35c73432de0d0b7e80bdb">···56</a></span>··<span·class="keywordtype">bool</span>·safe_result_copy·=·<span·class="keyword">true</span>;</div>
 104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
93 <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="a01379.html">pipeline</a>(····················································<span·class="comment">//[t69]</span></div> 
94 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
95 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div> 
96 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
97 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<a·class="code·hl_class"·href="a01379.html">~pipeline</a>()·noexcept;</div>106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01535.html#abe3528c0d2e42d6e98d80f0b45d79002">···65</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01535.html#abe3528c0d2e42d6e98d80f0b45d79002">safe_ker[·...·truncated·by·diffoscope;·len:·9,·SHA:·d1dae52b0519903aa4a5ba422ffae8712d9e322948430a90d10619f41ef877f2·...·];</div>
98 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01535.html#adddd2eaf6dbc5feca29ce00f91b4d648">···68</a></span>··std::string·<a·class="code·hl_variable"·href="a01535.html#adddd2eaf6dbc5feca29ce00f91b4d648">description</a>;</div>
99 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div>
100 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··query_id·insert(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;);·································<span·class="comment">//[t69]</span></div> 
101 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
102 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
103 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keywordtype">void</span>·complete();······················································<span·class="comment">//[t71]</span></div>112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01535.html">thread_safety_model</a>·<a·class="code·hl_function"·href="a00265.html#a158bb6d2149de1ed418dae1587340ed4">describe_thread_safety</a>()·noexcept;</div>
104 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>113 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
105 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
106 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keywordtype">void</span>·flush();·························································<span·class="comment">//[t70]</span></div>115 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00265.html#aea8d8e21558dad5b03ac2f73910c93e1">···77</a></span>constexpr·oid·<a·class="code·hl_variable"·href="a00265.html#aea8d8e21558dad5b03ac2f73910c93e1">oid_none</a>·=·0;</div>
 116 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 117 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 118 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
108 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
109 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordtype">void</span>·cancel();</div>120 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>template&lt;typename·ITER,·typename·ACCESS&gt;·inline</div>
 121 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">···95</a></span><a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(·············································<span·class="comment">//[t00]</span></div>
 122 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;sep,</div>
110 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>123 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········ITER·begin,</div>
111 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordtype">bool</span>·is_finished(query_id)·const;·····································<span·class="comment">//[t71]</span></div>124 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········ITER·end,</div>
 125 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>········ACCESS·access)</div>
112 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>126 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>{</div>
 127 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··std::string·<a·class="code·hl_class"·href="a01395.html">result</a>;</div>
 128 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordflow">if</span>·(begin·!=·end)</div>
113 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>129 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{</div>
114 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01379.html#a19c508710d0025993e41512f23de56be">··108</a></span>··<a·class="code·hl_class"·href="a01395.html">result</a>·retrieve(<a·class="code·hl_typedef"·href="a01379.html#af21cf61fd1c13a672[·...·truncated·by·diffoscope;·len:·111,·SHA:·74ac64a0ce2d45d20137e9addced19662712a1132a28581ebca510bc2de8769a·...·]</div>130 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<a·class="code·hl_class"·href="a01395.html">result</a>·=·<a·class="code·hl_function"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">to_string</a>(access(begin));</div>
115 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········{·<span·class="keywordflow">return</span>·retrieve(m_queries.find(qid)).second;·}</div>131 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">for</span>·(++begin;·begin·!=·end;·++begin)</div>
 132 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····{</div>
 133 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······<a·class="code·hl_class"·href="a01395.html">result</a>·+=·sep;</div>
 134 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······<a·class="code·hl_class"·href="a01395.html">result</a>·+=·<a·class="code·hl_function"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">to_string</a>(access(begin));</div>
 135 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····}</div>
116 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</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>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01395.html">result</a>;</div>
117 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>138 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>}</div>
118 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··std::pair&lt;query_id,·result&gt;·retrieve();·······························<span·class="comment">//[t69]</span></div>139 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
119 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>140 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
120 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01379.html#a2b71c541f1cd3949cbc5344f42d10039">··115</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01379.html#a2b71c541f1cd3949cbc5344f42d10039">empty</a[·...·truncated·by·diffoscope;·len:·130,·SHA:·375c82dfdc8dfdfcff58e9ce58e44a006e869c4a5b11dbf06ee97435fe548d94·...·]</div>141 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span>·std::string</div>
 142 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00265.html#a5123fc11695c56a283bf5d748c04f4ed">··117</a></span><a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="keyword">const</span>·std::string·&amp;sep,·ITER·begin,·ITER·end)············<span·class="comment">//[t00]</span></div>
 143 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(sep,·begin,·end,·[](ITER·i){·<span·class="keywordflow">return</span>·*i;·});·}</div>
121 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>144 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
122 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
123 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keywordtype">int</span>·retain(<span·class="keywordtype">int</span>·retain_max=2);·········································<span·class="comment">//[t70]</span></div> 
124 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>145 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 146 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONTAINER&gt;·<span·class="keyword">inline</span>·<span·class="keyword">auto</span></div>
 147 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a00265.html#ab3f45d4d75d0952f06f4f9df62563e5a">··123</a></span><a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="keyword">const</span>·std::string·&amp;sep,·<span·class="keyword">const</span>·CONTAINER·&amp;c)··············<span·class="comment">//[t10]</span></div>
 148 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="comment">/*</span></div>
 149 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">········Always·std::string;·necessary·because·SFINAE·doesn&#39;t·work·with·the</span></div>
 150 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="comment">········contents·of·function·bodies,·so·the·check·for·iterability·has·to·be·in</span></div>
 151 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="comment">········the·signature.</span></div>
 152 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="comment">········*/</span></div>
 153 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>········-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;</div>
 154 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>················(</div>
 155 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>························not·std::is_void&lt;<span·class="keyword">decltype</span>(std::begin(c))&gt;::value</div>
Max diff block lines reached; 42289/69114 bytes (61.19%) of diff not shown.
12.5 KB
html2text {}
    
Offset 1, 169 lines modifiedOffset 1, 347 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 pipeline.hxx2 util.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_PIPELINE4 ·11#ifndef·PQXX_H_UTIL
5 ·14#define·PQXX_H_PIPELINE5 ·12#define·PQXX_H_UTIL
 6 ·13
 7 ·14#include·"pqxx/compiler-public.hxx"
6 ·158 ·15
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·189 ·16#include·<cstdio>
 10 ·17#include·<cctype>
 11 ·18#include·<iterator>
10 ·19#include·<limits>12 ·19#include·<memory>
11 ·20#include·<map>13 ·20#include·<stdexcept>
12 ·21#include·<string>14 ·21#include·<string>
13 ·22 
14 ·23#include·"pqxx/transaction_base.hxx" 
15 ·2415 ·22#include·<type_traits>
 16 ·23#include·<typeinfo>
 17 ·24#include·<vector>
16 ·2518 ·25
17 ·26//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".19 ·26#include·"pqxx/strconv.hxx"
18 ·2720 ·27
 21 ·28
 22 ·30namespace·pqxx·{}
 23 ·31
 24 ·32#include·<pqxx/internal/libpq-forward.hxx>
 25 ·33
 26 ·34
19 ·28namespace·pqxx27 ·35namespace·pqxx
20 ·29{ 
21 ·30 
22 ·32 
23 48class·PQXX_LIBEXPORT·pipeline·:·public·internal::transactionfocus28 ·36{
 29 38template<typename·T>·inline·void·ignore_unused(T)·{}
 30 ·39
 31 ·40
 32 ·42
 33 44struct·PQXX_LIBEXPORT·thread_safety_model
24 ·49{34 ·45{
 35 47·bool·have_safe_strerror·=·true;
 36 ·48
 37 50·bool·safe_libpq;
 38 ·51
 39 53·bool·safe_query_cancel·=·true;
 40 ·54
 41 56·bool·safe_result_copy·=·true;
 42 ·57
25 ·50public: 
26 51·using·query_id·=·long; 
27 ·52 
28 53·pipeline(const·pipeline·&)·=delete; 
29 54·pipeline·&operator=(const·pipeline·&)·=delete; 
30 ·55 
31 ·56·explicit·pipeline(·//[t69] 
32 ·57·transaction_base·&, 
33 ·58·const·std::string·&Name=std::string{}); 
34 ·5943 ·59
35 ·60·~pipeline()·noexcept; 
36 ·61 
37 ·63 
38 ·69·query_id·insert(const·std::string·&);·//[t69]44 65·bool·safe_kerberos;
 45 ·66
 46 68·std::string·description;
 47 ·69};
39 ·7048 ·70
40 ·72 
41 ·73·void·complete();·//[t71]49 ·71
 50 ·73PQXX_LIBEXPORT·thread_safety_model·describe_thread_safety()·noexcept;
42 ·7451 ·74
43 ·76 
44 ·85·void·flush();·//[t70]52 ·75
 53 77constexpr·oid·oid_none·=·0;
 54 ·78
 55 ·79
 56 ·84
45 ·8657 ·86
46 ·88 
47 ·96·void·cancel(); 
48 ·97 
49 ·99·bool·is_finished(query_id)·const;·//[t71]58 ·94template<typename·ITER,·typename·ACCESS>·inline
 59 95std::string·separated_list(·//[t00]
 60 ·96·const·std::string·&sep,
 61 ·97·ITER·begin,
 62 ·98·ITER·end,
 63 ·99·ACCESS·access)
50 ·10064 ·100{
51 ·102 
52 108·result·retrieve(query_id·qid)·//[t71] 
53 ·109·{·return·retrieve(m_queries.find(qid)).second;·}65 ·101·std::string·result;
 66 ·102·if·(begin·!=·end)
 67 ·103·{
 68 ·104·result·=·to_string(access(begin));
 69 ·105·for·(++begin;·begin·!=·end;·++begin)
 70 ·106·{
 71 ·107·result·+=·sep;
 72 ·108·result·+=·to_string(access(begin));
 73 ·109·}
54 ·11074 ·110·}
 75 ·111·return·result;
55 ·11276 ·112}
56 ·113·std::pair<query_id,·result>·retrieve();·//[t69]77 ·113
57 ·11478 ·114
58 115·bool·empty()·const·noexcept·{·return·m_queries.empty();·}·//[t69]79 ·116template<typename·ITER>·inline·std::string
 80 117separated_list(const·std::string·&sep,·ITER·begin,·ITER·end)·//[t00]
 81 ·118·{·return·separated_list(sep,·begin,·end,·[](ITER·i){·return·*i;·});·}
59 ·11682 ·119
60 ·118 
61 ·129·int·retain(int·retain_max=2);·//[t70]83 ·120
 84 ·122template<typename·CONTAINER>·inline·auto
 85 123separated_list(const·std::string·&sep,·const·CONTAINER·&c)·//[t10]
 86 ·124·/*
 87 ·125·Always·std::string;·necessary·because·SFINAE·doesn't·work·with·the
 88 ·126·contents·of·function·bodies,·so·the·check·for·iterability·has·to·be·in
 89 ·127·the·signature.
 90 ·128·*/
 91 ·129·->·typename·std::enable_if<
62 ·13092 ·130·(
 93 ·131·not·std::is_void<decltype(std::begin(c))>::value
 94 ·132·and·not·std::is_void<decltype(std::end(c))>::value
Max diff block lines reached; 9120/12765 bytes (71.45%) of diff not shown.
50.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 190 lines modifiedOffset 55, 88 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00056_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">transactor.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">dbtransaction.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <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> 
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">·*</span></div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
67 <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> 
68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">·*</span></div> 
69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">·*·Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</span></div> 
70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*</span></div> 
71 <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> 
72 <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·mistake,</span></div> 
73 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*·or·contact·the·author.</span></div> 
74 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*/</span></div> 
75 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTOR</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_DBTRANSACTION</span></div>
76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_TRANSACTOR</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_DBTRANSACTION</span></div>
77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div> 
82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>74 <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="a00265.html">pqxx</a></div>
86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
87 <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="a00265.html">pqxx</a></div> 
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> 
89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
90 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
91 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TRANSACTION_CALLBACK&gt;</div> 
92 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a00265.html#a4d0ecdeb1426248d81c36ec0322c41b4">···99</a></span><span·class="keyword">inline</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00265.html#a4d0ecdeb1426248d81c36ec0322c41b4">perform</a>(<span·class="keyword">const</span>·TRANSACTION_CALLBACK·&amp;callback,·<span·class="keywordtype">int</span>·attempts=3)</div> 
93 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··-&gt;·<span·class="keyword">decltype</span>(callback())</div> 
94 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>{</div> 
95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordflow">if</span>·(attempts·&lt;=·0)</div> 
96 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</div> 
97 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<span·class="stringliteral">&quot;Zero·or·negative·number·of·attempts·passed·to·pqxx::perform().&quot;</span>};</div> 
98 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
99 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keywordflow">for</span>·(;·attempts·&gt;·0;·--attempts)</div> 
100 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div> 
101 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">try</span></div> 
102 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····{</div> 
103 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·callback();</div> 
104 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div> 
105 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>·&amp;)</div> 
106 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····{</div> 
107 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······<span·class="comment">//·Not·sure·whether·transaction·went·through·or·not.··The·last·thing·in</span></div> 
108 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······<span·class="comment">//·the·world·that·we·should·do·now·is·try·again!</span></div> 
109 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="keywordflow">throw</span>;</div> 
110 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····}</div> 
111 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01203.html">statement_completion_unknown</a>·&amp;)</div> 
112 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····{</div> 
113 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······<span·class="comment">//·Not·sure·whether·our·last·statement·succeeded.··Don&#39;t·risk·running·it</span></div> 
114 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<span·class="comment">//·again.</span></div> 
115 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="keywordflow">throw</span>;</div> 
116 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····}</div> 
117 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01183.html">broken_connection</a>·&amp;)</div> 
118 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{</div> 
119 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······<span·class="comment">//·Connection·failed.··Definitely·worth·retrying.</span></div> 
120 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)·<span·class="keywordflow">throw</span>;</div> 
121 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">continue</span>;</div> 
122 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div> 
123 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01195.html">transaction_rollback</a>·&amp;)</div> 
124 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····{</div> 
125 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>······<span·class="comment">//·Some·error·that·may·well·be·transient,·such·as·serialization·failure</span></div> 
126 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>······<span·class="comment">//·or·deadlock.··Worth·retrying.</span></div> 
127 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="keywordflow">if</span>·(attempts·&lt;=·1)·<span·class="keywordflow">throw</span>;</div> 
128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······<span·class="keywordflow">continue</span>;</div> 
129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····}</div> 
130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··}</div> 
131 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<span·class="keywordflow">throw</span>·<a·class="code·hl_class"·href="a01211.html">pqxx::internal_error</a>{<span·class="stringliteral">&quot;No·outcome·reached·on·perform().&quot;</span>};</div> 
132 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>}</div> 
133 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> 
134 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
135 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno"><a·class="line"·href="a01531.html">··156</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TRANSACTION=transaction&lt;read_committed&gt;&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01531.html">transactor</a></div> 
136 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>{</div> 
137 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span><span·class="keyword">public</span>:</div> 
138 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno"><a·class="line"·href="a01531.html#ac7459a3079c6c2d9f254f99c55a71be2">··159</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01531.html#ac7459a3079c6c2d9f254f99c55a71be2">argument_type</a>·=·TRANSACTION;</div> 
139 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno"><a·class="line"·href="a01531.html#a326761951cbf1a7b38ee912a4ca3556f">··160</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01531.html#a326761951cbf1a7b38ee912a4ca3556f">transactor</a>(··································<span·class="comment">//[t04]</span></div> 
140 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>········<span·class="keyword">const</span>·std::string·&amp;TName=<span·class="stringliteral">&quot;transactor&quot;</span>)·:</div> 
141 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>····m_name{TName}·{·}</div> 
142 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> 
143 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div> 
144 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno"><a·class="line"·href="a01531.html#ab02770d55fdda6bc4e5b4323aa53e4e8">··176</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01531.html#ab02770d55fdda6bc4e5b4323aa53e4e8">operator()</a>(TRANSACTION·&amp;T);······································<span·class="comment">//[t04]</span></div> 
145 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div> 
146 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>··<span·class="comment">//·Overridable·member·functions,·called·by·connection_base::perform()·if·an</span></div> 
147 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··<span·class="comment">//·attempt·to·run·transaction·fails/succeeds,·respectively,·or·if·the</span></div> 
148 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>··<span·class="comment">//·connection·is·lost·at·just·the·wrong·moment,·goes·into·an·indeterminate</span></div> 
149 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>··<span·class="comment">//·state.··Use·these·to·patch·up·runtime·state·to·match·events,·if·needed,·or</span></div> 
150 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>··<span·class="comment">//·to·report·failure·conditions.</span></div> 
151 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div> 
152 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div> 
153 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno"><a·class="line"·href="a01531.html#ab37059bd3afe9fda32585403725eba01">··193</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01531.html#ab37059bd3afe9fda32585403725eba01">on_abort</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>[])·<span·class="keyword">noexcept</span>·{}·······························<span·class="comment">//[t13]</span></div> 
154 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>·</div> 
155 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
156 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno"><a·class="line"·href="a01531.html#aacc3fb9eb7993788cafe66aa88d87d6b">··200</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01531.html#aacc3fb9eb7993788cafe66aa88d87d6b">on_commit</a>()·{}···················································<span·class="comment">//[t07]</span></div> 
157 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>·</div> 
158 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
159 <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno"><a·class="line"·href="a01531.html#a17e9939255df13786447d6001e360f50">··214</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01531.html#a17e9939255df13786447d6001e360f50">on_dou[·...·truncated·by·diffoscope;·len:·98,·SHA:·13ecc84d4b7be515533bca7f8eb80cd6a0865f1ae8d72f203fdf939c9fe42d30·...·]></div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">···24</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite[·...·truncated·by·diffoscope;·len:·10,·SHA:·cd1993e47367c4cffbb090c264ae1d9d83cadb7b276f747b7a5343a0607c4dc8·...·]></div>
160 <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
161 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno"><a·class="line"·href="a01531.html#addb2c3c00478bf242a2e579b6ab695c6">··217</a></span>··std::string·<a·class="code·hl_function"·href="a01531.html#addb2c3c00478bf242a2e579b6ab695c6">name</a>()<span·class="keyword">[·...·truncated·by·diffoscope;·len:·128,·SHA:·7d806763ffa061ebb0f834678f268c39add5aebe265c964b054171f94d26775b·...·]</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca4080e8f00464997c4345ddb2a15b3986">···26</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca4080e8f0046[·...·truncated·by·diffoscope;·len:·37,·SHA:·e34944527abc7d33ee62fd28a976e4ea66021cdabbcd66b849af4873f8b5f424·...·]</div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a></div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">···28</a></span>};</div>
162 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>·</div>82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
163 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span><span·class="keyword">private</span>:</div> 
Max diff block lines reached; 8446/43310 bytes (19.50%) of diff not shown.
8.35 KB
html2text {}
    
Offset 1, 222 lines modifiedOffset 1, 99 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 transactor.hxx2 dbtransaction.hxx
 3 ·1
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-2019,·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 mistake, 
12 ·9·*·or·contact·the·author. 
13 ·10·*/ 
14 ·11#ifndef·PQXX_H_TRANSACTOR4 ·13#ifndef·PQXX_H_DBTRANSACTION
15 ·12#define·PQXX_H_TRANSACTOR5 ·14#define·PQXX_H_DBTRANSACTION
16 ·136 ·15
17 ·14#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
18 ·15#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
19 ·16 
20 ·17#include·"pqxx/connection_base.hxx" 
21 ·18#include·"pqxx/transaction.hxx"10 ·19#include·"pqxx/transaction_base.hxx"
22 ·19 
23 ·2011 ·20
24 ·21//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
25 ·22 
26 ·23namespace·pqxx12 ·21namespace·pqxx
27 ·24{ 
28 ·67 
29 ·69 
30 ·98template<typename·TRANSACTION_CALLBACK> 
31 99inline·auto·perform(const·TRANSACTION_CALLBACK·&callback,·int·attempts=3) 
32 ·100·->·decltype(callback()) 
33 ·101{ 
34 ·102·if·(attempts·<=·0) 
35 ·103·throw·std::invalid_argument{ 
36 ·104·"Zero·or·negative·number·of·attempts·passed·to·pqxx::perform()."}; 
37 ·105 
38 ·106·for·(;·attempts·>·0;·--attempts) 
39 ·107·{ 
40 ·108·try 
41 ·109·{ 
42 ·110·return·callback(); 
43 ·111·} 
44 ·112·catch·(const·in_doubt_error·&) 
45 ·113·{ 
46 ·114·//·Not·sure·whether·transaction·went·through·or·not.·The·last·thing·in 
47 ·115·//·the·world·that·we·should·do·now·is·try·again! 
48 ·116·throw; 
49 ·117·} 
50 ·118·catch·(const·statement_completion_unknown·&) 
51 ·119·{ 
52 ·120·//·Not·sure·whether·our·last·statement·succeeded.·Don't·risk·running·it 
53 ·121·//·again. 
54 ·122·throw; 
55 ·123·} 
56 ·124·catch·(const·broken_connection·&) 
57 ·125·{ 
58 ·126·//·Connection·failed.·Definitely·worth·retrying. 
59 ·127·if·(attempts·<=·1)·throw; 
60 ·128·continue; 
61 ·129·} 
62 ·130·catch·(const·transaction_rollback·&) 
63 ·131·{ 
64 ·132·//·Some·error·that·may·well·be·transient,·such·as·serialization·failure 
65 ·133·//·or·deadlock.·Worth·retrying. 
66 ·134·if·(attempts·<=·1)·throw; 
67 ·135·continue; 
68 ·136·} 
69 ·137·} 
70 ·138·throw·pqxx::internal_error{"No·outcome·reached·on·perform()."}; 
71 ·139} 
72 ·140 
73 ·142 
74 156template<typename·TRANSACTION=transaction<read_committed>>·class·transactor 
75 ·157{ 
76 ·158public: 
77 159·using·argument_type·=·TRANSACTION; 
78 160·PQXX_DEPRECATED·explicit·transactor(·//[t04] 
79 ·161·const·std::string·&TName="transactor")·: 
80 ·162·m_name{TName}·{·} 
81 ·163 
82 ·165 
83 176·void·operator()(TRANSACTION·&T);·//[t04] 
84 ·177 
85 ·178·//·Overridable·member·functions,·called·by·connection_base::perform()·if 
86 an 
87 ·179·//·attempt·to·run·transaction·fails/succeeds,·respectively,·or·if·the 
88 ·180·//·connection·is·lost·at·just·the·wrong·moment,·goes·into·an·indeterminate 
89 ·181·//·state.·Use·these·to·patch·up·runtime·state·to·match·events,·if·needed, 
90 or 
91 ·182·//·to·report·failure·conditions. 
92 ·183 
93 ·185 
94 193·void·on_abort(const·char[])·noexcept·{}·//[t13] 
95 ·194 
96 ·196 
97 200·void·on_commit()·{}·//[t07] 
98 ·201 
99 ·203 
100 214·void·on_doubt()·noexcept·{}·//[t13] 
101 ·215 
102 217·std::string·name()·const·{·return·m_name;·}·//[t13] 
103 ·218 
104 ·219private: 
105 ·220·std::string·m_name; 
106 ·221}; 
107 ·222 
108 ·223 
109 ·224template<typename·TRANSACTOR> 
110 225inline·void·connection_base::perform( 
111 ·226·const·TRANSACTOR·&T, 
112 ·227·int·Attempts) 
113 ·228{13 ·22{
114 ·229·if·(Attempts·<=·0)·return; 
115 ·23014 ·23
116 ·231·bool·Done·=·false;15 24enum·readwrite_policy
 16 ·25{
 17 26·read_only,
 18 ·27·read_write
Max diff block lines reached; 3012/8524 bytes (35.34%) of diff not shown.
32.6 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·basic_connection.hxx·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 55, 110 lines modifiedOffset 55, 69 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00059_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">basic_connection.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">notification.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_BASIC_CONNECTION</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NOTIFICATION</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_BASIC_CONNECTION</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NOTIFICATION</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
79 <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="a00265.html">pqxx</a></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 80 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01375.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a></div>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
83 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01103.html">···45</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONNECTPOLICY&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>·:</div> 
84 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01135.html">connection_base</a></div> 
85 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>81 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>
86 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>82 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
87 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">···49</a></span>··<a·class="code·hl_function"·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">basic_connection_base</a>()·:</div> 
88 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<a·class="code·hl_class"·href="a01135.html">connection_base</a>(m_policy),</div> 
89 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····m_options(<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{}),</div> 
90 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····m_policy(m_options)</div> 
91 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········{·<a·class="code·hl_function"·href="a01135.html#a1d1c129c2c5797a82f251ee9dabec77e">init</a>();·}</div> 
92 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>83 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 84 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;c,·<span·class="keyword">const</span>·std::string·&amp;channel);</div>
 85 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">···64</a></span>··<a·class="code·hl_function"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">notification_receiver</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
 86 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01375.html#aef0a99b4f713ab82e1bae430fe2eb52e">···65</a></span>··<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;<a·class="code·hl_function"·href="a01375.html#aef0a99b4f713ab82e1bae430fe2eb52e">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01375.html">notification_receiver</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
 87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01375.html">~notification_receiver</a>();</div>
93 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">···57</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">basic_connection_base</a>(<span·class="keyword">const</span>·std::string·&amp;opt)·:</div> 
94 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<a·class="code·hl_class"·href="a01135.html">connection_base</a>(m_policy),</div> 
95 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····m_options(opt),</div> 
96 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····m_policy(m_options)</div> 
97 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········{<a·class="code·hl_function"·href="a01135.html#a1d1c129c2c5797a82f251ee9dabec77e">init</a>();}</div> 
98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>88 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 89 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">···69</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">channel</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·m_channel;·}</div>
99 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">···64</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">basic_connection_base</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·opt[])·:</div> 
100 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>(opt·?·<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{opt}·:·<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{})·{}</div> 
101 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
102 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">···67</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">basic_connection_base</a>(std::nullptr_t)·:·<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>()·{}</div> 
103 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
104 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">···69</a></span>··<a·class="code·hl_function"·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">~basic_connection_base</a>()·noexcept</div> 
105 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········{·<a·class="code·hl_function"·href="a01135.html#a1fe99a79b990f03a57fc258d4bb8eab9">close</a>();·}</div> 
106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>90 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">···72</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">options</a>()·const·noexcept···························<span·class="comment">//[t01]</span></div> 
108 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········{<span·class="keywordflow">return</span>·m_policy.options();}</div> 
109 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>91 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 92 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01375.html#ab1956501c582e41377bc54b4db377ded">···79</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01375.html#ab1956501c582e41377bc54b4db377ded">operator()</a>(<span·class="keyword">const</span>·std::string·&amp;payload,·<span·class="keywordtype">int</span>·backend_pid)·=0;</div>
110 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div> 
111 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··std::string·m_options;</div> 
112 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··CONNECTPOLICY·m_policy;</div> 
113 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>};</div>93 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 94 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">protected</span>:</div>
 95 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01375.html#a84371d7b0bb46374cb6906f3b506b9f1">···82</a></span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;<a·class="code·hl_function"·href="a01375.html#a84371d7b0bb46374cb6906f3b506b9f1">conn</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_conn;·}</div>
114 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>96 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 97 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div>
 98 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;m_conn;</div>
 99 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··std::string·m_channel;</div>
 100 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div>
 101 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}</div>
115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>102 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
116 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
117 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01107.html">···88</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·CONNECTPOLICY&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01107.html">basic_connection</a>·:</div> 
118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>&lt;CONNECTPOLICY&gt;</div> 
119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>{</div> 
120 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01107.html#aba8b432e3ddb48446c5daf27ca191c91">···91</a></span>··PQXX_DEPRECATED·<a·class="code·hl_function"·href="a01107.html#aba8b432e3ddb48446c5daf27ca191c91">basic_connection</a>()·=<span·class="keywordflow">default</span>;</div> 
121 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">···92</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">basic_connection</a>(<span·class="keyword">const</span>·std::string·&amp;opt)·:</div> 
122 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>(opt)·{}</div> 
123 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01107.html#aa6c74a9abcfa2b13c2334d0c38f66305">···94</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#aa6c74a9abcfa2b13c2334d0c38f66305">basic_connection</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·opt[])·:</div> 
124 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>(opt)·{}</div> 
125 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
126 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01107.html#a864a689820abb61e79482142354877bd">···97</a></span>··PQXX_DEPRECATED·<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01107.html#a864a689820abb61e79482142354877bd">basic_connection</a>(std::nullptr_t)·:</div> 
127 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········<a·class="code·hl_struct"·href="a01107.html">basic_connection</a>()·{}</div> 
128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">basic_connection_base</a>&lt;CONNECTPOLICY&gt;<a·class="code·hl_function"·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">::options</a>;</div> 
130 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>};</div> 
131 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
132 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace</span></div> 
133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
134 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>103 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#endif</span></div>104 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#endif</span></div>
137 <div·class="ttc"·id="aa00264_html"><div·class="ttname"><a·href="a00264.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
138 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>105 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
139 <div·class="ttc"·id="aa01103_html"><div·class="ttname"><a·href="a01103.html">pqxx::basic_connection_base</a></div><div·class="ttdoc">Base-class·template·for·all·libpqxx·connection·types.</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:47</div></div> 
140 <div·class="ttc"·id="aa01103_html_a11e306c9d2aee94482d87eb666381bdb"><div·class="ttname"><a·href="a01103.html#a11e306c9d2aee94482d87eb666381bdb">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:57</div></div> 
141 <div·class="ttc"·id="aa01103_html_a5426e5cb4008107f73aa69832ff5336d"><div·class="ttname"><a·href="a01103.html#a5426e5cb4008107f73aa69832ff5336d">pqxx::basic_connection_base::options</a></div><div·class="ttdeci">const·std::string·&amp;·options()·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:72</div></div> 
142 <div·class="ttc"·id="aa01103_html_ad09659ca1a0c7a9213f58bf66646c091"><div·class="ttname"><a·href="a01103.html#ad09659ca1a0c7a9213f58bf66646c091">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(std::nullptr_t)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:67</div></div> 
143 <div·class="ttc"·id="aa01103_html_ae78d4742db05a287d85779d98e3d2d3c"><div·class="ttname"><a·href="a01103.html#ae78d4742db05a287d85779d98e3d2d3c">pqxx::basic_connection_base::~basic_connection_base</a></div><div·class="ttdeci">~basic_connection_base()·noexcept</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:69</div></div> 
144 <div·class="ttc"·id="aa01103_html_afad301146d88cce2ec18b4af9e7d20c2"><div·class="ttname"><a·href="a01103.html#afad301146d88cce2ec18b4af9e7d20c2">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base(const·char·opt[])</div><div·class="ttdoc">See:·basic_connection(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:64</div></div> 
145 <div·class="ttc"·id="aa01103_html_afd89f4c442ef6b5c586168949124ea92"><div·class="ttname"><a·href="a01103.html#afd89f4c442ef6b5c586168949124ea92">pqxx::basic_connection_base::basic_connection_base</a></div><div·class="ttdeci">basic_connection_base()</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:49</div></div> 
146 <div·class="ttc"·id="aa01107_html"><div·class="ttname"><a·href="a01107.html">pqxx::basic_connection</a></div><div·class="ttdoc">Concrete·connection·type·template.</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:90</div></div> 
147 <div·class="ttc"·id="aa01107_html_a0436a1271586987e97bdf5b59b96f607"><div·class="ttname"><a·href="a01107.html#a0436a1271586987e97bdf5b59b96f607">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection(const·std::string·&amp;opt)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:92</div></div> 
148 <div·class="ttc"·id="aa01107_html_a864a689820abb61e79482142354877bd"><div·class="ttname"><a·href="a01107.html#a864a689820abb61e79482142354877bd">pqxx::basic_connection::basic_connection</a></div><div·class="ttdeci">basic_connection(std::nullptr_t)</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:97</div></div> 
Max diff block lines reached; 3402/27758 bytes (12.26%) of diff not shown.
5.38 KB
html2text {}
    
Offset 1, 134 lines modifiedOffset 1, 74 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 basic_connection.hxx2 notification.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_BASIC_CONNECTION4 ·13#ifndef·PQXX_H_NOTIFICATION
5 ·14#define·PQXX_H_BASIC_CONNECTION5 ·14#define·PQXX_H_NOTIFICATION
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·18
10 ·19#include·<cstddef> 
11 ·20#include·<memory> 
12 ·21#include·<string>10 ·19#include·<string>
 11 ·20
 12 ·21#include·"pqxx/types.hxx"
13 ·2213 ·22
 14 ·23
14 ·23#include·"pqxx/connection_base.hxx" 
15 ·24 
16 ·25 
17 ·26namespace·pqxx15 ·24namespace·pqxx
 16 ·25{
18 ·27{17 ·27
 18 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·notification_receiver
 19 ·56{
19 ·28 
20 ·30 
21 45template<typename·CONNECTPOLICY>·class·basic_connection_base·: 
22 ·46·public·connection_base 
23 ·47{ 
24 ·48public:20 ·57public:
 21 ·59
 22 ·63·notification_receiver(connection_base·&c,·const·std::string·&channel);
 23 64·notification_receiver(const·notification_receiver·&)·=delete;
 24 65·notification_receiver·&operator=(const·notification_receiver·&)·=delete;
 25 ·66·virtual·~notification_receiver();
 26 ·67
 27 69·const·std::string·&channel()·const·{·return·m_channel;·}
 28 ·70
 29 ·72
 30 79·virtual·void·operator()(const·std::string·&payload,·int·backend_pid)·=0;
 31 ·80
 32 ·81protected:
 33 82·connection_base·&conn()·const·noexcept·{·return·m_conn;·}
 34 ·83
25 49·basic_connection_base()·: 
26 ·50·connection_base(m_policy), 
27 ·51·m_options(std::string{}), 
28 ·52·m_policy(m_options) 
29 ·53·{·init();·} 
30 ·54 
31 57·explicit·basic_connection_base(const·std::string·&opt)·: 
32 ·58·connection_base(m_policy), 
33 ·59·m_options(opt), 
34 ·60·m_policy(m_options) 
35 ·61·{init();} 
36 ·62 
37 64·explicit·basic_connection_base(const·char·opt[])·: 
38 ·65·basic_connection_base(opt·?·std::string{opt}·:·std::string{})·{} 
39 ·66 
40 67·explicit·basic_connection_base(std::nullptr_t)·:·basic_connection_base()·{} 
41 ·68 
42 69·~basic_connection_base()·noexcept 
43 ·70·{·close();·} 
44 ·71 
45 72·const·std::string·&options()·const·noexcept·//[t01] 
46 ·73·{return·m_policy.options();} 
47 ·74 
48 ·75private:35 ·84private:
49 ·77·std::string·m_options; 
50 ·79·CONNECTPOLICY·m_policy;36 ·85·connection_base·&m_conn;
 37 ·86·std::string·m_channel;
51 ·80};38 ·87};
 39 ·88}
 40 ·89
52 ·81 
53 ·82 
54 ·84 
55 88template<typename·CONNECTPOLICY>·struct·basic_connection·: 
56 ·89·basic_connection_base<CONNECTPOLICY> 
57 ·90{ 
58 91·PQXX_DEPRECATED·basic_connection()·=default; 
59 92·PQXX_DEPRECATED·explicit·basic_connection(const·std::string·&opt)·: 
60 ·93·basic_connection(opt)·{} 
61 94·PQXX_DEPRECATED·explicit·basic_connection(const·char·opt[])·: 
62 ·95·basic_connection(opt)·{} 
63 ·96 
64 97·PQXX_DEPRECATED·explicit·basic_connection(std::nullptr_t)·: 
65 ·98·basic_connection()·{} 
66 ·99 
67 ·100·using·basic_connection_base<CONNECTPOLICY>::options; 
68 ·101}; 
69 ·102 
70 ·103}·//·namespace 
71 ·104 
72 ·105#include·"pqxx/compiler-internal-post.hxx"41 ·90#include·"pqxx/compiler-internal-post.hxx"
73 ·106 
74 ·107#endif42 ·91#endif
75 std 
76 STL·namespace. 
77 pqxx43 pqxx
78 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.44 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
79 Definition:·array.hxx:2645 Definition:·array.hxx:26
80 pqxx::basic_connection_base 
81 Base-class·template·for·all·libpqxx·connection·types. 
82 Definition:·basic_connection.hxx:47 
83 pqxx::basic_connection_base::basic_connection_base 
84 basic_connection_base(const·std::string·&opt) 
85 Definition:·basic_connection.hxx:57 
86 pqxx::basic_connection_base::options 
87 const·std::string·&·options()·const·noexcept 
88 Definition:·basic_connection.hxx:72 
89 pqxx::basic_connection_base::basic_connection_base 
90 basic_connection_base(std::nullptr_t) 
91 Definition:·basic_connection.hxx:67 
92 pqxx::basic_connection_base::~basic_connection_base 
93 ~basic_connection_base()·noexcept 
94 Definition:·basic_connection.hxx:69 
95 pqxx::basic_connection_base::basic_connection_base 
96 basic_connection_base(const·char·opt[]) 
97 See:·basic_connection(const·std::string·&opt) 
98 Definition:·basic_connection.hxx:64 
Max diff block lines reached; 1117/5482 bytes (20.38%) of diff not shown.
13.4 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal-post.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 55, 65 lines modifiedOffset 55, 32 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00062_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">nontransaction.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">compiler-internal-post.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NONTRANSACTION</span></div>66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!</span></div>
 67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NONTRANSACTION</span></div>68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·_WIN32</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
74 <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> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
78 <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="a00265.html">pqxx</a></div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
82 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01371.html">···54</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01371.html">nontransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01527.html">transaction_base</a></div> 
83 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div> 
84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div>70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>
 71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#pragma·warning·(pop)·</span><span·class="comment">//·Restore·client·program&#39;s·warning·state</span></div>
85 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">nontransaction</a>(··············································<span·class="comment">//[t14]</span></div> 
87 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div> 
88 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">const</span>·std::string·&amp;Name=std::string{})·:</div> 
89 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····namedclass{<span·class="stringliteral">&quot;nontransaction&quot;</span>,·Name},·transaction_base{C}·{·Begin();·}</div> 
90 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
91 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">virtual</span>·~nontransaction();············································<span·class="comment">//[t14]</span></div> 
92 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
93 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">private</span>:</div> 
94 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()<span·class="keyword">·override·</span>{}···································<span·class="comment">//[t14]</span></div> 
95 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">virtual</span>·result·do_exec(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·C[])·<span·class="keyword">override</span>;······················<span·class="comment">//[t14]</span></div> 
96 <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>{}··································<span·class="comment">//[t14]</span></div> 
97 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()<span·class="keyword">·override·</span>{}···································<span·class="comment">//[t14]</span></div> 
98 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> 
99 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
100 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
101 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
102 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div> 
103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</span></div>72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
 73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#endif</span></div>
 75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
104 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div> 
105 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div> 
106 <div·class="ttc"·id="aa01371_html"><div·class="ttname"><a·href="a01371.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:55</div></div> 
107 <div·class="ttc"·id="aa01371_html_a0baeac7362b92a1536a4849bd8027a41"><div·class="ttname"><a·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">pqxx::nontransaction::nontransaction</a></div><div·class="ttdeci">nontransaction(connection_base·&amp;C,·const·std::string·&amp;Name=std::string{})</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition:</b>·nontransaction.hxx:63</div></div> 
108 <div·class="ttc"·id="aa01527_html"><div·class="ttname"><a·href="a01527.html">pqxx::transaction_base</a></div><div·class="ttdoc">Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes.</div><div·class="ttdef"><b>Definition:</b>·transaction_base.hxx:138</div></div> 
109 </div><!--·fragment·--></div><!--·contents·-->76 </div><!--·fragment·--></div><!--·contents·-->
110 </div><!--·doc-content·-->77 </div><!--·doc-content·-->
111 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
112 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->79 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
113 ··<ul>80 ··<ul>
114 ····<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>nontransaction.hxx</b></li>81 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>compiler-internal-post.hxx</b></li>
115 ····<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.4·</li>82 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4·</li>
116 ··</ul>83 ··</ul>
117 </div>84 </div>
118 </body>85 </body>
119 </html>86 </html>
2.08 KB
html2text {}
    
Offset 1, 67 lines modifiedOffset 1, 23 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 nontransaction.hxx2 compiler-internal-post.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_NONTRANSACTION 
5 ·14#define·PQXX_H_NONTRANSACTION4 ·12//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!
 5 ·13
 6 ·14#ifdef·_WIN32
6 ·157 ·15
 8 ·16#ifdef·_MSC_VER
 9 ·17#pragma·warning·(pop)·//·Restore·client·program's·warning·state
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·"pqxx/connection_base.hxx" 
11 ·20#include·"pqxx/result.hxx" 
12 ·21#include·"pqxx/transaction_base.hxx" 
13 ·22 
14 ·23//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
15 ·24 
16 ·25namespace·pqxx 
17 ·26{ 
18 ·27 
19 ·29 
20 54class·PQXX_LIBEXPORT·nontransaction·:·public·transaction_base 
21 ·55{ 
22 ·56public: 
23 ·58 
24 63·explicit·nontransaction(·//[t14] 
25 ·64·connection_base·&C, 
26 ·65·const·std::string·&Name=std::string{})·: 
27 ·66·namedclass{"nontransaction",·Name},·transaction_base{C}·{·Begin();·} 
28 ·67 
29 ·68·virtual·~nontransaction();·//[t14] 
30 ·69 
31 ·70private: 
32 ·71·virtual·void·do_begin()·override·{}·//[t14] 
33 ·72·virtual·result·do_exec(const·char·C[])·override;·//[t14] 
34 ·73·virtual·void·do_commit()·override·{}·//[t14] 
35 ·74·virtual·void·do_abort()·override·{}·//[t14] 
36 ·75}; 
37 ·76 
38 ·77}·//·namespace·pqxx 
39 ·78 
40 ·79#include·"pqxx/compiler-internal-post.hxx" 
41 ·80#endif10 ·18#endif
 11 ·19
 12 ·20#endif
 13 ·21
42 pqxx 
43 The·home·of·all·libpqxx·classes,·functions,·templates,·etc. 
44 Definition:·array.hxx:26 
45 pqxx::connection_base 
46 connection_base·abstract·base·class;·represents·a·connection·to·a·database. 
47 Definition:·connection_base.hxx:140 
48 pqxx::nontransaction 
49 Simple·"transaction"·class·offering·no·transactional·integrity. 
50 Definition:·nontransaction.hxx:55 
51 pqxx::nontransaction::nontransaction 
52 nontransaction(connection_base·&C,·const·std::string·&Name=std::string{}) 
53 Constructor. 
54 Definition:·nontransaction.hxx:63 
55 pqxx::transaction_base 
56 Interface·definition·(and·common·code)·for·"transaction"·classes. 
57 Definition:·transaction_base.hxx:138 
58 ····*·include14 ····*·include
59 ····*·pqxx15 ····*·pqxx
60 ····*·nontransaction.hxx16 ····*·compiler-internal-post.hxx
61 ····*·Generated·by·[doxygen]·1.9.417 ····*·Generated·by·[doxygen]·1.9.4
184 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 322 lines modifiedOffset 55, 353 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00065_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">strconv.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">row.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_STRINGCONV</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROW</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_STRINGCONV</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROW</span></div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
76 <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="a00265.html">pqxx</a></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/field.hxx&quot;</span></div>
 74 <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>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
79 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
80 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
81 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01427.html">···51</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·=·<span·class="keywordtype">void</span>&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01427.html">string_traits</a>;</div> 
82 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
83 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">namespace·</span>internal</div>79 <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="a00265.html">pqxx</a></div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01415.html">···40</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01415.html">row</a></div>
84 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div>
85 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>[[noreturn]]·PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00266.html#a97c9781c1d455b437ccca7514c1cec18">throw_null_conversion</a>(</div> 
86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keyword">const</span>·std::string·&amp;type);</div>84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div>
 85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>;</div>
 86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01415.html#a480e38e15f978e453bbd3b09be65c836">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01415.html#a480e38e15f978e453bbd3b09be65c836">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">row_difference_type</a>;</div>
 87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01415.html#abd640a160c9e039106a51a6a31823caf">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01419.html">const_row_iterator</a>;</div>
 88 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01415.html#a4fe4e0a787dfc0a98d0c4e76bdf0451a">···46</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">iterator</a>·=·<a·class="code·hl_class"·href="a01419.html">const_iterator</a>;</div>
 89 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01415.html#a9e49ebc61dbca5a23a9ac1c87f99de53">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01331.html">reference</a>·=·<a·class="code·hl_class"·href="a01331.html">field</a>;</div>
 90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01415.html#a2e922bcb1a3a3e003e4b31dfc8428974">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01419.html">pointer</a>·=·<a·class="code·hl_class"·href="a01419.html">const_row_iterator</a>;</div>
 91 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01415.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01423.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>;</div>
 92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01415.html#a8f09d3a10886af67da65026d1e0a0004">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01423.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01423.html">const_reverse_iterator</a>;</div>
 93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01415.html#a505b6673a7028f4aa58f41ffe53e782c">···52</a></span>··<a·class="code·hl_function"·href="a01415.html#a505b6673a7028f4aa58f41ffe53e782c">row</a>()·=<span·class="keywordflow">default</span>;</div>
 95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 96 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_class"·href="a01415.html">row</a>(<a·class="code·hl_class"·href="a01395.html">result</a>·r,·<span·class="keywordtype">size_t</span>·i)·<span·class="keyword">noexcept</span>;</div>
 97 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01415.html#ab2d6ef6b9c774ee4b374f60ded1b4b2f">···57</a></span>··<a·class="code·hl_function"·href="a01415.html#ab2d6ef6b9c774ee4b374f60ded1b4b2f">~row</a>()·noexcept·=default;·<span·class="comment">//·Yes·Scott·Meyers,·you&#39;re·absolutely·right[1]</span></div>
87 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 100 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(const·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;)·const·noexcept;················<span·class="comment">//[t75]</span></div>
 101 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01415.html#aeb43cea779763bb93cd74d1e32de55dd">···64</a></span>··<span·class="keywordtype">bool</span>·operator!=(const·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;rhs)·const·noexcept························<span·class="comment">//[t75]</span></div>
 102 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······{·<span·class="keywordflow">return</span>·not·operator==(rhs);·}</div>
88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>103 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01431.html">···67</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="a01431.html">type_name</a>;</div> 
90 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#define·PQXX_DECLARE_TYPE_NAME(TYPE)·\</span></div> 
91 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">··template&lt;&gt;·struct·type_name&lt;TYPE&gt;·\</span></div> 
92 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">··{·static·constexpr·const·char·*value·=·#TYPE;·}</span></div>104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··const_iterator·begin()·const·noexcept;································<span·class="comment">//[t82]</span></div>
 105 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··const_iterator·cbegin()·const·noexcept;</div>
 106 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··const_iterator·end()·const·noexcept;··································<span·class="comment">//[t82]</span></div>
 107 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··const_iterator·cend()·const·noexcept;</div>
93 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>108 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 109 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··reference·front()·const·noexcept;·····································<span·class="comment">//[t74]</span></div>
 110 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··reference·back()·const·noexcept;······································<span·class="comment">//[t75]</span></div>
94 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">···72</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">bool</span>);</div> 
95 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00266.html#aac484bb8331c089eadb468dc170fec21">···73</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">short</span>);</div> 
96 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00266.html#ab2b4ff660c5b799b285cfd5461c31121">···74</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>);</div> 
97 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00266.html#a4aa468829c44ba0906e7dee71446e6f4">···75</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">int</span>);</div> 
98 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00266.html#ae3036e08968a96eb59ab061458e05bec">···76</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>);</div> 
99 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00266.html#a355eba5b8b5ab2305b21465cf99a846c">···77</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>);</div> 
100 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00266.html#a0111e0c4fc3352494af62967e15facdd">···78</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>);</div> 
101 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00266.html#a963087f93224fc162bc3cf154797174b">···79</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>);</div> 
102 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00266.html#a43b13d24ccfb9479229450c2bcbb1b8e">···80</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>);</div> 
103 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00266.html#a6cb15d693aaacee05cd676584b14cedf">···81</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">float</span>);</div> 
104 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00266.html#a258c19b1e75e9bef2448df6cdf1f550f">···82</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">double</span>);</div> 
105 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00266.html#ab5452f36e76d55627370ba38c5a86fee">···83</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>·<span·class="keywordtype">double</span>);</div> 
106 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00266.html#a77eb78ba803803c95bba53052a868dd4">···84</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">char</span>·*);</div> 
107 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00266.html#a01f0884d85ca73935379e4623b5820ee">···85</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*);</div> 
108 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00266.html#a89eeed9f958e9cd07e60fcd5ea1b0fc1">···86</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(std::string);</div> 
109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keyword">const</span>·std::string);</div> 
110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00266.html#a513a56774554f0590087b0cc1eaac6da">···88</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(std::stringstream);</div> 
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#undef·PQXX_DECLARE_TYPE_NAME</span></div> 
112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>111 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01435.html">···91</a></span><span·class="keyword">template</span>&lt;<span·class="keywordtype">size_t</span>·N&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01431.html">type_name</a>&lt;char[N]&gt;</div> 
114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01435.html#a27cb2c9bd2b6fad24badf2a09cc908d4">···92</a></span>{·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*value·=·<span·class="stringliteral">&quot;char[]&quot;</span>;·};</div> 
115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>112 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·rbegin()·const;····························<span·class="comment">//[t82]</span></div>
 113 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·crbegin()·const;</div>
 114 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·rend()·const;······························<span·class="comment">//[t82]</span></div>
 115 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<a·class="code·hl_class"·href="a01423.html">const_reverse_row_iterator</a>·crend()·const;</div>
116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>116 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 117 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··reference·operator[](size_type)·const·noexcept;·······················<span·class="comment">//[t11]</span></div>
 118 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··reference·operator[](<span·class="keywordtype">int</span>)·const·noexcept;·····························<span·class="comment">//[t02]</span></div>
 119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment"></span>··reference·operator[](const·<span·class="keywordtype">char</span>[])·const;·····························<span·class="comment">//[t11]</span></div>
 120 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment"></span>··reference·operator[](const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·const;······················<span·class="comment">//[t11]</span></div>
 121 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··reference·at(size_type)·const;········································<span·class="comment">//[t11]</span></div>
 122 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··reference·at(<span·class="keywordtype">int</span>)·const;··············································<span·class="comment">//[t11]</span></div>
 123 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment"></span>··reference·at(const·<span·class="keywordtype">char</span>[])·const;·····································<span·class="comment">//[t11]</span></div>
 124 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment"></span>··reference·at(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·const;······························<span·class="comment">//[t11]</span></div>
 125 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment"></span>·</div>
 126 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01415.html#a014580aa5910a7b9344506653cd59c50">··107</a></span>··<a·class="code·hl_typedef"·href="a01415.html#a245d26c7874b11abddb60bdb24f5ac74">size_type</a>·size()·const·noexcept·······································<span·class="comment">//[t11]</span></div>
 127 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·····················································{·<span·class="keywordflow">return</span>·m_end-m_begin;·}</div>
117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>128 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 129 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;)·<span·class="keyword">noexcept</span>;············································<span·class="comment">//[t11]</span></div>
118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01439.html">··102</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01439.html">builtin_traits</a></div> 
119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div> 
120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01439.html#ae233bc62f19ac5e36b4fec897f538aa3">··104</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01439.html#ae233bc62f19ac5e36b4fec897f538aa3">name</a>()·noexcept</div> 
121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01431.html">internal::type_name&lt;TYPE&gt;::value</a>;·}</div> 
122 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01439.html#af22fdd100f545805ebda6cc1dfb338e6">··106</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01439.html#af22fdd100f545805ebda6cc1dfb338e6">has_null</a>()·noexcept·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div> 
Max diff block lines reached; 127498/156681 bytes (81.37%) of diff not shown.
30.9 KB
html2text {}
    
Offset 1, 428 lines modifiedOffset 1, 477 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 strconv.hxx2 row.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_STRINGCONV4 ·13#ifndef·PQXX_H_ROW
5 ·12#define·PQXX_H_STRINGCONV5 ·14#define·PQXX_H_ROW
6 ·13 
7 ·14#include·"pqxx/compiler-public.hxx" 
8 ·156 ·15
9 ·16#include·<limits> 
10 ·17#include·<sstream> 
11 ·18#include·<stdexcept> 
12 ·19 
13 ·20 
14 ·21namespace·pqxx7 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·"pqxx/except.hxx"
 11 ·20#include·"pqxx/field.hxx"
 12 ·21#include·"pqxx/result.hxx"
15 ·22{13 ·22
16 ·2314 ·23
17 ·46 
18 ·48 
19 51template<typename·T,·typename·=·void>·struct·string_traits; 
20 ·52 
21 ·53namespace·internal15 ·24//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 16 ·25
 17 ·26namespace·pqxx
 18 ·27{
 19 ·29
 20 40class·PQXX_LIBEXPORT·row
22 ·54{21 ·41{
23 ·56[[noreturn]]·PQXX_LIBEXPORT·void·throw_null_conversion( 
24 ·57·const·std::string·&type);22 ·42public:
 23 43·using·size_type·=·row_size_type;
 24 44·using·difference_type·=·row_difference_type;
 25 45·using·const_iterator·=·const_row_iterator;
 26 46·using·iterator·=·const_iterator;
 27 47·using·reference·=·field;
 28 48·using·pointer·=·const_row_iterator;
 29 49·using·const_reverse_iterator·=·const_reverse_row_iterator;
 30 50·using·reverse_iterator·=·const_reverse_iterator;
 31 ·51
 32 52·row()·=default;
 33 ·53
 34 ·55·row(result·r,·size_t·i)·noexcept;
 35 ·56
 36 57·~row()·noexcept·=default;·//·Yes·Scott·Meyers,·you're·absolutely·right[1]
25 ·5837 ·58
 38 ·63·PQXX_PURE·bool·operator==(const·row·&)·const·noexcept;·//[t75]
 39 64·bool·operator!=(const·row·&rhs)·const·noexcept·//[t75]
 40 ·65·{·return·not·operator==(rhs);·}
 41 ·67
 42 ·68·const_iterator·begin()·const·noexcept;·//[t82]
 43 ·69·const_iterator·cbegin()·const·noexcept;
 44 ·70·const_iterator·end()·const·noexcept;·//[t82]
 45 ·71·const_iterator·cend()·const·noexcept;
 46 ·72
 47 ·77·reference·front()·const·noexcept;·//[t74]
 48 ·78·reference·back()·const·noexcept;·//[t75]
 49 ·79
 50 ·80·const_reverse_row_iterator·rbegin()·const;·//[t82]
 51 ·81·const_reverse_row_iterator·crbegin()·const;
 52 ·82·const_reverse_row_iterator·rend()·const;·//[t82]
 53 ·83·const_reverse_row_iterator·crend()·const;
 54 ·84
 55 ·85·reference·operator[](size_type)·const·noexcept;·//[t11]
 56 ·86·reference·operator[](int)·const·noexcept;·//[t02]
 57 ·90·reference·operator[](const·char[])·const;·//[t11]
 58 ·94·reference·operator[](const·std::string·&)·const;·//[t11]
 59 ·95·reference·at(size_type)·const;·//[t11]
 60 ·96·reference·at(int)·const;·//[t11]
 61 ·100·reference·at(const·char[])·const;·//[t11]
 62 ·104·reference·at(const·std::string·&)·const;·//[t11]
 63 ·106
 64 107·size_type·size()·const·noexcept·//[t11]
 65 ·108·{·return·m_end-m_begin;·}
 66 ·109
 67 ·110·void·swap(row·&)·noexcept;·//[t11]
26 ·60 
27 67template<typename·TYPE>·struct·type_name; 
28 ·68#define·PQXX_DECLARE_TYPE_NAME(TYPE)·\ 
29 ·69·template<>·struct·type_name<TYPE>·\ 
30 ·70·{·static·constexpr·const·char·*value·=·#TYPE;·} 
31 ·71 
32 72PQXX_DECLARE_TYPE_NAME(bool); 
33 73PQXX_DECLARE_TYPE_NAME(short); 
34 74PQXX_DECLARE_TYPE_NAME(unsigned·short); 
35 75PQXX_DECLARE_TYPE_NAME(int); 
36 76PQXX_DECLARE_TYPE_NAME(unsigned·int); 
37 77PQXX_DECLARE_TYPE_NAME(long); 
38 78PQXX_DECLARE_TYPE_NAME(unsigned·long); 
39 79PQXX_DECLARE_TYPE_NAME(long·long); 
40 80PQXX_DECLARE_TYPE_NAME(unsigned·long·long); 
41 81PQXX_DECLARE_TYPE_NAME(float); 
42 82PQXX_DECLARE_TYPE_NAME(double); 
43 83PQXX_DECLARE_TYPE_NAME(long·double); 
44 84PQXX_DECLARE_TYPE_NAME(char·*); 
45 85PQXX_DECLARE_TYPE_NAME(const·char·*); 
46 86PQXX_DECLARE_TYPE_NAME(std::string); 
47 ·87PQXX_DECLARE_TYPE_NAME(const·std::string); 
48 88PQXX_DECLARE_TYPE_NAME(std::stringstream); 
49 ·89#undef·PQXX_DECLARE_TYPE_NAME 
50 ·90 
51 91template<size_t·N>·struct·type_name<char[N]> 
52 92{·static·constexpr·const·char·*value·=·"char[]";·}; 
53 ·93 
54 ·94 
55 ·96 
56 102template<typename·TYPE>·struct·PQXX_LIBEXPORT·builtin_traits 
57 ·103{ 
58 104·static·constexpr·const·char·*name()·noexcept 
59 ·105·{·return·internal::type_name<TYPE>::value;·} 
60 106·static·constexpr·bool·has_null()·noexcept·{·return·false;·} 
61 107·static·bool·is_null(TYPE)·{·return·false;·} 
62 108·[[noreturn]]·static·TYPE·null()·{·throw_null_conversion(name());·} 
63 109·static·void·from_string(const·char·Str[],·TYPE·&Obj); 
64 110·static·std::string·to_string(TYPE·Obj); 
65 ·111};68 ·111
 69 113·size_t·rownumber()·const·noexcept·{·return·size_t(m_index);·}·//[t11]
66 ·112}·//·namespace·pqxx::internal 
Max diff block lines reached; 27435/31652 bytes (86.68%) of diff not shown.
90.6 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 314 lines modifiedOffset 55, 106 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00068_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">field.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">robusttransaction.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_FIELD</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_FIELD</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROBUSTTRANSACTION</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(PQXX_HAVE_OPTIONAL)</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>72 <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>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*·Use·std::experimental::optional·as·a·fallback·for·std::optional,·if</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·present.</span></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*</span></div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·This·may·break·compilation·for·some·software,·if·using·a·libpqxx·that·was</span></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·configured·for·a·different·language·version.··To·stop·libpqxx·headers·from</span></div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·using·or·supporting·std::experimental::optional,·define·a·macro</span></div> 
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·PQXX_HIDE_EXP_OPTIONAL·when·building·your·software.</span></div> 
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div> 
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#elif·defined(PQXX_HAVE_EXP_OPTIONAL)·&amp;&amp;·!defined(PQXX_HIDE_EXP_OPTIONAL)</span></div> 
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;experimental/optional&gt;</span></div> 
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#endif</span></div> 
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;pqxx/array.hxx&quot;</span></div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>77 <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="a00265.html">pqxx</a></div>
 78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
 79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>internal</div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div>
 82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01407.html">···30</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01407.html">basic_robusttransaction</a>·:</div>
 83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div>
 84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
 85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div>
 86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01407.html#ad05fa8ae535413268e3764b7f13a13f8">···35</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"·href="a01343.html">isolation_traits&lt;read_committed&gt;</a>;</div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01407.html">~basic_robusttransaction</a>()·=0;································<span·class="comment">//[t16]</span></div>
 89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">protected</span>:</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_class"·href="a01407.html">basic_robusttransaction</a>(</div>
 92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div>
 93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationLevel,</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········<span·class="keyword">const</span>·std::string·&amp;table_name=std::string{});···················<span·class="comment">//[t16]</span></div>
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div>95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01331.html">···49</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01331.html">field</a></div> 
100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div> 
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div>
102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01331.html#a4cd68406a1832a2a7002babaad31f3c8">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01331.html#a4cd68406a1832a2a7002babaad31f3c8">size_type</[·...·truncated·by·diffoscope;·len:·104,·SHA:·0ba5495d0a4ebc19ccde27f42dcd641e01d67819a04fcb2705f803c74e6f7edd·...·];</div>97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··IDType·m_record_id·=·0;</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··std::string·m_xid;</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··std::string·m_log_table;</div>
 101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··std::string·m_sequence;</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</div>
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</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="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t18]</span></div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t16]</span></div>
 106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t18]</span></div>
104 <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">···56</span>·</div>
105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_class"·href="a01331.html">field</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·&amp;R,·<a·class="code·hl_typedef"·href="a00265.html#aecdd4[·...·truncated·by·diffoscope;·len:·148,·SHA:·9107d133fabe4c2624194d03357b6dbc85be6d9fb924bd91b29de5079bf6c1ee·...·]</div>108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateLogTable();</div>
 109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateTransactionRecord();</div>
 110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··PQXX_PRIVATE·std::string·sql_delete()·<span·class="keyword">const</span>;</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·DeleteTransactionRecord()·noexcept;</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··PQXX_PRIVATE·<span·class="keywordtype">bool</span>·CheckTransactionRecord();</div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·namespace·internal</span></div>
106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
108 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;)·<span·class="keyword">const</span>;·························<span·class="comment">//[t75]</span></div> 
109 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>117 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 118 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>template&lt;<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL=<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>&gt;</div>
 119 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01411.html">··140</a></span>class·<a·class="code·hl_class"·href="a01411.html">robusttransaction</a>·:·public·internal::basic_robusttransaction</div>
110 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01331.html#afd007618f1615ad0455d30dca29c8c1b">···87</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01331.html#afd007618f1615ad0455d30dca29c8c1b">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;rhs)·<span·class="keyword">const</span>·······························<span·class="comment">//[t82]</span></div> 
112 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···················································{<span·class="keywordflow">return</span>·not·operator==(rhs);}</div> 
113 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
114 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*name()·<span·class="keyword">const</span>;·············································<span·class="comment">//[t11]</span></div> 
115 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
116 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··oid·type()·<span·class="keyword">const</span>;·····················································<span·class="comment">//[t07]</span></div> 
117 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··oid·table()·<span·class="keyword">const</span>;····················································<span·class="comment">//[t02]</span></div> 
119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> 
120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01331.html#a0fc6da74997892f99de1c25a2769e841">··104</a></span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·<a·class="code·hl_function"·href="a01331.html#a0fc6da74997892f99de1c25a2769e841">num</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·col();·}···························<span·class="comment">//[t82]</span></div> 
121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
122 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·table_column()·<span·class="keyword">const</span>;···································<span·class="comment">//[t93]</span></div> 
123 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment"></span>·</div> 
124 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>120 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>{</div>
125 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*c_str()·<span·class="keyword">const</span>;············································<span·class="comment">//[t02]</span></div> 
126 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>121 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="keyword">public</span>:</div>
127 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keywordtype">bool</span>·is_null()·const·noexcept;········································<span·class="comment">//[t12]</span></div>122 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a01411.html#a07e037becc259dd85846cf3a2dedb025">··143</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"·[·...·truncated·by·diffoscope;·len:·62,·SHA:·8dd62da7f90c90ac9d87bcb867b991160807bc8852672401e6ceebe751561fa5·...·]</div>
128 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>123 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
129 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> 
130 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··size_type·size()·const·noexcept;······································<span·class="comment">//[t11]</span></div> 
131 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> 
132 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> 
Max diff block lines reached; 53999/77680 bytes (69.51%) of diff not shown.
14.7 KB
html2text {}
    
Offset 1, 418 lines modifiedOffset 1, 119 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 field.hxx2 robusttransaction.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_FIELD 
5 ·14#define·PQXX_H_FIELD4 ·13#ifndef·PQXX_H_ROBUSTTRANSACTION
 5 ·14#define·PQXX_H_ROBUSTTRANSACTION
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
9 ·18#include·"pqxx/internal/type_utils.hxx" 
10 ·19 
11 ·20#if·defined(PQXX_HAVE_OPTIONAL) 
12 ·21#include·<optional> 
13 ·22 
14 ·23/*·Use·std::experimental::optional·as·a·fallback·for·std::optional,·if 
15 ·24·*·present. 
16 ·25·* 
17 ·26·*·This·may·break·compilation·for·some·software,·if·using·a·libpqxx·that·was 
18 ·27·*·configured·for·a·different·language·version.·To·stop·libpqxx·headers·from 
19 ·28·*·using·or·supporting·std::experimental::optional,·define·a·macro 
20 ·29·*·PQXX_HIDE_EXP_OPTIONAL·when·building·your·software. 
21 ·30·*/ 
22 ·31#elif·defined(PQXX_HAVE_EXP_OPTIONAL)·&&·!defined(PQXX_HIDE_EXP_OPTIONAL) 
23 ·32#include·<experimental/optional> 
24 ·33#endif 
25 ·34 
26 ·35#include·"pqxx/array.hxx" 
27 ·36#include·"pqxx/result.hxx" 
28 ·37#include·"pqxx/strconv.hxx"10 ·19#include·"pqxx/dbtransaction.hxx"
 11 ·20
 12 ·21
29 ·38#include·"pqxx/types.hxx" 
30 ·39 
31 ·40 
32 ·41//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".13 ·22//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
33 ·4214 ·23
34 ·43namespace·pqxx15 ·24namespace·pqxx
35 ·44{ 
36 ·46 
37 49class·PQXX_LIBEXPORT·field 
38 ·50{16 ·25{
39 ·51public: 
40 52·using·size_type·=·field_size_type; 
41 ·53 
42 ·55 
43 ·59·field(const·row·&R,·row_size_type·C)·noexcept;·//[t01] 
44 ·60 
45 ·66 
46 ·82·bool·operator==(const·field·&)·const;·//[t75] 
47 ·83 
48 ·85 
49 87·bool·operator!=(const·field·&rhs)·const·//[t82] 
50 ·88·{return·not·operator==(rhs);} 
51 ·90 
52 ·96·const·char·*name()·const;·//[t11] 
53 ·97 
54 ·99·oid·type()·const;·//[t07] 
55 ·100 
56 ·102·oid·table()·const;·//[t02] 
57 ·103 
58 104·row_size_type·num()·const·{·return·col();·}·//[t82] 
59 ·105 
60 ·107·row_size_type·table_column()·const;·//[t93] 
61 ·109 
62 ·115 
63 ·120·const·char·*c_str()·const;·//[t02] 
64 ·121 
65 ·123·bool·is_null()·const·noexcept;·//[t12] 
66 ·124 
67 ·12617 ·26
68 ·129·size_type·size()·const·noexcept;·//[t11] 
69 ·13018 ·27namespace·internal
 19 ·28{
 20 30class·PQXX_LIBEXPORT·PQXX_NOVTABLE·basic_robusttransaction·:
 21 ·31·public·dbtransaction
70 ·13222 ·32{
71 135·template<typename·T>·auto·to(T·&Obj)·const·//[t03] 
72 ·136·->·typename·std::enable_if<( 
73 ·137·not·std::is_pointer<T>::value 
74 ·138·or·std::is_same<T,·const·char*>::value 
75 ·139·),·bool>::type 
76 ·140·{ 
77 ·141·const·char·*const·bytes·=·c_str(); 
78 ·142·if·(bytes[0]·==·'\0'·and·is_null())·return·false; 
79 ·143·from_string(bytes,·Obj); 
80 ·144·return·true; 
81 ·145·}23 ·33public:
 24 35·using·isolation_tag·=·isolation_traits<read_committed>;
 25 ·36
 26 ·37·virtual·~basic_robusttransaction()·=0;·//[t16]
 27 ·38
 28 ·39protected:
 29 ·40·basic_robusttransaction(
 30 ·41·connection_base·&C,
 31 ·42·const·std::string·&IsolationLevel,
 32 ·43·const·std::string·&table_name=std::string{});·//[t16]
 33 ·44
 34 ·45private:
 35 ·46·using·IDType·=·unsigned·long;
 36 ·47·IDType·m_record_id·=·0;
 37 ·48·std::string·m_xid;
 38 ·49·std::string·m_log_table;
 39 ·50·std::string·m_sequence;
 40 ·51·int·m_backendpid·=·-1;
 41 ·52
 42 ·53·virtual·void·do_begin()·override;·//[t18]
 43 ·54·virtual·void·do_commit()·override;·//[t16]
 44 ·55·virtual·void·do_abort()·override;·//[t18]
 45 ·56
 46 ·57·PQXX_PRIVATE·void·CreateLogTable();
 47 ·58·PQXX_PRIVATE·void·CreateTransactionRecord();
 48 ·59·PQXX_PRIVATE·std::string·sql_delete()·const;
 49 ·60·PQXX_PRIVATE·void·DeleteTransactionRecord()·noexcept;
 50 ·61·PQXX_PRIVATE·bool·CheckTransactionRecord();
 51 ·62};
 52 ·63}·//·namespace·internal
 53 ·64
 54 ·65
 55 ·73
 56 ·139template<isolation_level·ISOLATIONLEVEL=read_committed>
Max diff block lines reached; 11263/14987 bytes (75.15%) of diff not shown.
33.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 101 lines modifiedOffset 55, 90 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00071_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">connection.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">array.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION</span></div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/connectionpolicy.hxx&quot;</span></div>73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/basic_connection.hxx&quot;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
75 <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="a00265.html">pqxx</a></div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00265.html">···25</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
 81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 82 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 83 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01099.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01099.html">array_parser</a></div>
 84 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>
 85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>
 86 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">···50</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">juncture</a></div>
 87 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 88 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">···53</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">row_start</a>,</div>
 89 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">···55</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">row_end</a>,</div>
 90 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">···57</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">null_value</a>,</div>
 91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace">···59</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace">string_value</a>,</div>
 92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea46ec51c6920747094c2f6c757d78b3f6">···61</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea46ec51c6920747094c2f6c757d78b3f6">done</a>,</div>
 93 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div>
 94 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 95 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·XXX:·Actually·_pass_·encoding·group!</span></div>
 96 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment"></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01099.html">array_parser</a>(</div>
 97 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·input[],</div>
 98 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········internal::encoding_group=internal::encoding_group::MONOBYTE);</div>
 99 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 100 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··std::pair&lt;juncture,·std::string&gt;·get_next();</div>
78 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
79 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01115.html">···87</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01115.html">connect_direct</a>·:·<span·class="keyword">public</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·53,·SHA:·7685e54fb3f819c299c9c745b0f90e6f94c44730df45991c02fc1915becff6fd·...·]</div>103 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div>
 104 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<span·class="keyword">const</span>·m_input;</div>
 105 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">const</span>·std::string::size_type·m_end;</div>
 106 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··internal::glyph_scanner_func·*<span·class="keyword">const</span>·m_scan;</div>
80 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>{</div>107 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 108 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··std::string::size_type·m_pos;</div>
 109 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 110 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··std::string::size_type·scan_single_quoted_string()·<span·class="keyword">const</span>;</div>
 111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··std::string·parse_single_quoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div>
 112 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··std::string::size_type·scan_double_quoted_string()·<span·class="keyword">const</span>;</div>
 113 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·parse_double_quoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div>
 114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··std::string::size_type·scan_unquoted_string()·<span·class="keyword">const</span>;</div>
 115 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·parse_unquoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div>
 116 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 117 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··std::string::size_type·scan_glyph(std::string::size_type·pos)·<span·class="keyword">const</span>;</div>
 118 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··std::string::size_type·scan_glyph(</div>
 119 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········std::string::size_type·pos,</div>
81 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">public</span>:</div>120 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········std::string::size_type·end)·<span·class="keyword">const</span>;</div>
82 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01115.html#a3ae8ab240a1f152c64cd40493d92f846">···92</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01115.html#a3ae8ab240a1f152c64cd40493d92f846">connect_direct</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div> 
83 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·handle·do_startconnect(handle)·<span·class="keyword">override</span>;</div> 
84 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div>121 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>};</div>
85 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
86 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga774f723d641b0ed16355f21113bec338">···97</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">connection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_direct&gt;</a>;</div> 
87 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>122 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>}·<span·class="comment">//·namespace·pqxx</span></div>
88 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>123 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
89 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
90 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01119.html">··105</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01119.html">connect_lazy</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div> 
91 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>{</div> 
92 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keyword">public</span>:</div> 
93 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01119.html#a9d93b15b0681f3b4e25e9fab79adb8cd">··110</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01119.html#a9d93b15b0681f3b4e25e9fab79adb8cd">connect_lazy</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div> 
94 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<span·class="keyword">virtual</span>·handle·do_completeconnect(handle)·<span·class="keyword">override</span>;</div> 
95 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>};</div> 
96 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
97 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
98 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga4e45c2897c00be5e06e2f7e79c693759">··116</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">lazyconnection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_lazy&gt;</a>;</div> 
99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
101 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
102 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01123.html">··126</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01123.html">connect_async</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div> 
103 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>{</div> 
104 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">public</span>:</div> 
105 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01123.html">connect_async</a>(<span·class="keyword">const</span>·std::string·&amp;opts);</div> 
106 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_startconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">override</span>;</div> 
107 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_completeconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">override</span>;</div> 
108 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_dropconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div> 
109 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·is_ready(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div> 
110 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
111 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="keyword">private</span>:</div> 
112 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keywordtype">bool</span>·m_connecting;</div> 
113 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>};</div> 
114 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
115 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
116 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga7121f95bc086259290652be9456b1bb8">··144</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">asyncconnection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_async&gt;</a>;</div> 
117 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
118 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
119 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> 
120 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a01127.html">··152</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01127.html">connect_null</a>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div> 
121 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>{</div> 
122 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span><span·class="keyword">public</span>:</div> 
123 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a01127.html#a0f3aae5285574af29d06abdcb7f2560c">··155</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01127.html#a0f3aae5285574af29d06abdcb7f2560c">connect_null</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div> 
124 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>};</div> 
125 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> 
Max diff block lines reached; 6267/29230 bytes (21.44%) of diff not shown.
5.28 KB
html2text {}
    
Offset 1, 113 lines modifiedOffset 1, 103 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 connection.hxx2 array.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_CONNECTION 
5 ·14#define·PQXX_H_CONNECTION 
6 ·154 ·11#ifndef·PQXX_H_ARRAY
 5 ·12#define·PQXX_H_ARRAY
 6 ·13
7 ·16#include·"pqxx/compiler-public.hxx"7 ·14#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·15#include·"pqxx/compiler-internal-pre.hxx"
9 ·18 
10 ·19#include·"pqxx/connectionpolicy.hxx" 
11 ·20#include·"pqxx/basic_connection.hxx" 
12 ·21 
13 ·22namespace·pqxx9 ·16
 10 ·17#include·"pqxx/internal/encoding_group.hxx"
 11 ·18#include·"pqxx/internal/encodings.hxx"
 12 ·19
 13 ·20#include·<stdexcept>
 14 ·21#include·<string>
 15 ·22#include·<utility>
14 ·23{16 ·23
15 ·2417 ·24
 18 25namespace·pqxx
 19 ·26{
 20 ·28
 21 46class·PQXX_LIBEXPORT·array_parser
 22 ·47{
 23 ·48public:
 24 50·enum·juncture
 25 ·51·{
 26 53·row_start,
 27 55·row_end,
 28 57·null_value,
 29 59·string_value,
 30 61·done,
 31 ·62·};
 32 ·63
 33 ·64//·XXX:·Actually·_pass_·encoding·group!
 34 ·66·explicit·array_parser(
 35 ·67·const·char·input[],
 36 ·68·internal::encoding_group=internal::encoding_group::MONOBYTE);
 37 ·69
 38 ·71
 39 ·76·std::pair<juncture,·std::string>·get_next();
16 ·7740 ·77
17 87class·PQXX_LIBEXPORT·connect_direct·:·public·connectionpolicy 
18 ·88{ 
19 ·89public: 
20 92·explicit·connect_direct(const·std::string·&opts)·:·connectionpolicy{opts}·{} 
21 ·93·virtual·handle·do_startconnect(handle)·override;41 ·78private:
 42 ·79·const·char·*const·m_input;
 43 ·80·const·std::string::size_type·m_end;
 44 ·81·internal::glyph_scanner_func·*const·m_scan;
 45 ·82
 46 ·84·std::string::size_type·m_pos;
 47 ·85
 48 ·86·std::string::size_type·scan_single_quoted_string()·const;
 49 ·87·std::string·parse_single_quoted_string(std::string::size_type·end)·const;
 50 ·88·std::string::size_type·scan_double_quoted_string()·const;
 51 ·89·std::string·parse_double_quoted_string(std::string::size_type·end)·const;
 52 ·90·std::string::size_type·scan_unquoted_string()·const;
 53 ·91·std::string·parse_unquoted_string(std::string::size_type·end)·const;
 54 ·92
 55 ·93·std::string::size_type·scan_glyph(std::string::size_type·pos)·const;
 56 ·94·std::string::size_type·scan_glyph(
 57 ·95·std::string::size_type·pos,
 58 ·96·std::string::size_type·end)·const;
22 ·94};59 ·97};
 60 ·98}·//·namespace·pqxx
23 ·95 
24 97using·connection·=·basic_connection_base<connect_direct>; 
25 ·98 
26 ·9961 ·99
27 ·101 
28 105class·PQXX_LIBEXPORT·connect_lazy·:·public·connectionpolicy 
29 ·106{ 
30 ·107public: 
31 110·explicit·connect_lazy(const·std::string·&opts)·:·connectionpolicy{opts}·{} 
32 ·111·virtual·handle·do_completeconnect(handle)·override; 
33 ·112}; 
34 ·113 
35 ·114 
36 116using·lazyconnection·=·basic_connection_base<connect_lazy>; 
37 ·117 
38 ·118 
39 ·120 
40 126class·PQXX_LIBEXPORT·connect_async·:·public·connectionpolicy 
41 ·127{ 
42 ·128public: 
43 ·131·explicit·connect_async(const·std::string·&opts); 
44 ·132·virtual·handle·do_startconnect(handle)·override; 
45 ·133·virtual·handle·do_completeconnect(handle)·override; 
46 ·134·virtual·handle·do_dropconnect(handle)·noexcept·override; 
47 ·135·virtual·bool·is_ready(handle)·const·noexcept·override; 
48 ·136 
49 ·137private: 
50 ·139·bool·m_connecting; 
51 ·140}; 
52 ·141 
53 ·142 
54 144using·asyncconnection·=·basic_connection_base<connect_async>; 
55 ·145 
56 ·146 
57 ·148 
58 152class·PQXX_LIBEXPORT·connect_null·:·public·connectionpolicy 
59 ·153{ 
60 ·154public: 
61 155·explicit·connect_null(const·std::string·&opts)·:·connectionpolicy{opts}·{} 
62 ·156}; 
63 ·157 
64 ·158 
65 160using·nullconnection·=·basic_connection_base<connect_null>; 
66 ·161 
67 ·166} 
68 ·167 
69 ·168#include·"pqxx/compiler-internal-post.hxx"62 ·100#include·"pqxx/compiler-internal-post.hxx"
70 ·169 
71 ·170#endif63 ·101#endif
72 pqxx64 pqxx
73 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.65 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
Max diff block lines reached; 1837/5384 bytes (34.12%) of diff not shown.
41.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 90 lines modifiedOffset 55, 162 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00074_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">array.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">pipeline.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_PIPELINE</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_PIPELINE</span></div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div> 
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00265.html">···25</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
82 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 81 <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="a00265.html">pqxx</a></div>
 82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
83 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01099.html">···46</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01099.html">array_parser</a></div>85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01379.html">···48</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01379.html">pipeline</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_[·...·truncated·by·diffoscope;·len:·52,·SHA:·e29f3a4d3d916451d3332a380e33cb0432d9e3c6f169723ee7ea0c61384c2bf8·...·]</a></div>
84 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>
85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>
86 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">···50</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">juncture<[·...·truncated·by·diffoscope;·len:·3,·SHA:·141dcbd495bbfe2b8aa0299f353a88172d1d350a27a19a8409a32f9db0d90e63·...·]</div>88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01379.html#af21cf61fd1c13a6729f48a241cbeba37">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01379.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>[·...·truncated·by·diffoscope;·len:·8,·SHA:·62492bb276d2b9fbf8848aefe0c287e9b9725efac10f18cfe424b7318c65a3ef·...·]</div>
87 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
88 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">···53</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">row_start</a>,</div> 
89 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">···55</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">row_end</a>,</div> 
90 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">···57</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">null_value</a>,</div> 
91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace">···59</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace">string_value</a>,</div> 
92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea46ec51c6920747094c2f6c757d78b3f6">···61</a></span>····<a·class="code·hl_enumvalue"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea46ec51c692[·...·truncated·by·diffoscope;·len:·33,·SHA:·e79c69227b9240ebb21b8e5b5c32c26d3142d820af02d8a1d654b225fda704a3·...·]</div>90 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01379.html#a448ad553fbef827c9336add94290d133">···53</a></span>··<a·class="code·hl_function"·href="a01379.html#a448ad553fbef827c9336add94290d133">pipeline</a>(<span·class="keyword">const</spa[·...·truncated·by·diffoscope;·len:·104,·SHA:·f34b97c23699bd49216b4dd6cb433b3145c58d550d7d399f62b04f7f2fec8b17·...·]</div>
 91 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01379.html#a1c3b55c5212f8954c27a44e56fa2bc9c">···54</a></span>··<a·class="code·hl_class"·href="a01379.html">pipeline</a>·&amp;<a·class="code·hl_function"·href="a01379.html#a1c3b55c5212f8954c27a44e56fa2bc9c">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01379.html">pipeline</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
 92 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 93 <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="a01379.html">pipeline</a>(····················································<span·class="comment">//[t69]</span></div>
 94 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 95 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keyword">const</span>·std::string·&amp;Name=std::string{});</div>
 96 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 97 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<a·class="code·hl_class"·href="a01379.html">~pipeline</a>()·noexcept;</div>
93 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div>98 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
94 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>99 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 100 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··query_id·insert(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;);·································<span·class="comment">//[t69]</span></div>
95 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·XXX:·Actually·_pass_·encoding·group!</span></div> 
96 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment"></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01099.html">array_parser</a>(</div> 
97 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·input[],</div> 
98 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········internal::encoding_group=internal::encoding_group::MONOBYTE);</div> 
99 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
100 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>101 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··std::pair&lt;juncture,·std::string&gt;·get_next();</div> 
102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>102 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 103 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keywordtype">void</span>·complete();······················································<span·class="comment">//[t71]</span></div>
103 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div>104 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 105 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 106 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keywordtype">void</span>·flush();·························································<span·class="comment">//[t70]</span></div>
104 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<span·class="keyword">const</span>·m_input;</div> 
105 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">const</span>·std::string::size_type·m_end;</div> 
106 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··internal::glyph_scanner_func·*<span·class="keyword">const</span>·m_scan;</div> 
107 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
108 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··std::string::size_type·m_pos;</div> 
109 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>108 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
110 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··std::string::size_type·scan_single_quoted_string()·<span·class="keyword">const</span>;</div> 
111 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··std::string·parse_single_quoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div> 
112 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··std::string::size_type·scan_double_quoted_string()·<span·class="keyword">const</span>;</div> 
113 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··std::string·parse_double_quoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div> 
114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··std::string::size_type·scan_unquoted_string()·<span·class="keyword">const</span>;</div> 
115 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::string·parse_unquoted_string(std::string::size_type·end)·<span·class="keyword">const</span>;</div> 
116 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
117 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··std::string::size_type·scan_glyph(std::string::size_type·pos)·<span·class="keyword">const</span>;</div> 
118 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··std::string::size_type·scan_glyph(</div> 
119 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········std::string::size_type·pos,</div> 
120 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········std::string::size_type·end)·<span·class="keyword">const</span>;</div>109 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordtype">void</span>·cancel();</div>
121 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>};</div>110 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 111 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordtype">bool</span>·is_finished(query_id)·const;·····································<span·class="comment">//[t71]</span></div>
 112 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 113 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 114 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01379.html#a19c508710d0025993e41512f23de56be">··108</a></span>··<a·class="code·hl_class"·href="a01395.html">result</a>·retrieve(<a·class="code·hl_typedef"·href="a01379.html#af21cf61fd1c13a6729f48a241cbeba37">query_id</a>·qid)·········································<span·class="comment">//[t71]</span></div>
 115 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········{·<span·class="keywordflow">return</span>·retrieve(m_queries.find(qid)).second;·}</div>
 116 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 117 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 118 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··std::pair&lt;query_id,·result&gt;·retrieve();·······························<span·class="comment">//[t69]</span></div>
 119 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 120 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01379.html#a2b71c541f1cd3949cbc5344f42d10039">··115</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01379.html#a2b71c541f1cd3949cbc5344f42d10039">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_queries.empty();·}·············<span·class="comment">//[t69]</span></div>
 121 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 122 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 123 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keywordtype">int</span>·retain(<span·class="keywordtype">int</span>·retain_max=2);·········································<span·class="comment">//[t70]</span></div>
 124 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 125 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 126 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keywordtype">void</span>·resume();························································<span·class="comment">//[t70]</span></div>
 127 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="keyword">private</span>:</div>
 129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<span·class="keyword">class·</span>PQXX_PRIVATE·Query</div>
 130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··{</div>
 131 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<span·class="keyword">public</span>:</div>
 132 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<span·class="keyword">explicit</span>·Query(<span·class="keyword">const</span>·std::string·&amp;q)·:·m_query{q},·m_res{}·{}</div>
 133 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div>
 134 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keyword">const</span>·result·&amp;get_result()·const·noexcept·{·<span·class="keywordflow">return</span>·m_res;·}</div>
 135 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····<span·class="keywordtype">void</span>·set_result(<span·class="keyword">const</span>·result·&amp;r)·<span·class="keyword">noexcept</span>·{·m_res·=·r;·}</div>
 136 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keyword">const</span>·std::string·&amp;get_query()·const·noexcept·{·<span·class="keywordflow">return</span>·m_query;·}</div>
Max diff block lines reached; 5525/36157 bytes (15.28%) of diff not shown.
6.49 KB
html2text {}
    
Offset 1, 103 lines modifiedOffset 1, 169 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 array.hxx2 pipeline.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_ARRAY 
5 ·12#define·PQXX_H_ARRAY 
6 ·134 ·13#ifndef·PQXX_H_PIPELINE
 5 ·14#define·PQXX_H_PIPELINE
 6 ·15
7 ·14#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·15#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·<limits>
9 ·16 
10 ·17#include·"pqxx/internal/encoding_group.hxx" 
11 ·18#include·"pqxx/internal/encodings.hxx" 
12 ·19 
13 ·20#include·<stdexcept>11 ·20#include·<map>
14 ·21#include·<string>12 ·21#include·<string>
15 ·22#include·<utility> 
16 ·2313 ·22
 14 ·23#include·"pqxx/transaction_base.hxx"
17 ·2415 ·24
 16 ·25
 17 ·26//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 18 ·27
18 25namespace·pqxx19 ·28namespace·pqxx
19 ·26{20 ·29{
20 ·28 
21 46class·PQXX_LIBEXPORT·array_parser21 ·30
 22 ·32
 23 48class·PQXX_LIBEXPORT·pipeline·:·public·internal::transactionfocus
22 ·47{24 ·49{
23 ·48public:25 ·50public:
24 50·enum·juncture 
25 ·51·{ 
26 53·row_start, 
27 55·row_end, 
28 57·null_value, 
29 59·string_value, 
30 61·done, 
31 ·62·};26 51·using·query_id·=·long;
 27 ·52
 28 53·pipeline(const·pipeline·&)·=delete;
 29 54·pipeline·&operator=(const·pipeline·&)·=delete;
 30 ·55
 31 ·56·explicit·pipeline(·//[t69]
 32 ·57·transaction_base·&,
 33 ·58·const·std::string·&Name=std::string{});
 34 ·59
 35 ·60·~pipeline()·noexcept;
 36 ·61
32 ·6337 ·63
33 ·64//·XXX:·Actually·_pass_·encoding·group! 
34 ·66·explicit·array_parser( 
35 ·67·const·char·input[], 
36 ·68·internal::encoding_group=internal::encoding_group::MONOBYTE); 
37 ·69 
38 ·71 
39 ·76·std::pair<juncture,·std::string>·get_next(); 
40 ·7738 ·69·query_id·insert(const·std::string·&);·//[t69]
 39 ·70
 40 ·72
 41 ·73·void·complete();·//[t71]
 42 ·74
 43 ·76
 44 ·85·void·flush();·//[t70]
 45 ·86
 46 ·88
 47 ·96·void·cancel();
 48 ·97
 49 ·99·bool·is_finished(query_id)·const;·//[t71]
 50 ·100
 51 ·102
 52 108·result·retrieve(query_id·qid)·//[t71]
 53 ·109·{·return·retrieve(m_queries.find(qid)).second;·}
 54 ·110
 55 ·112
 56 ·113·std::pair<query_id,·result>·retrieve();·//[t69]
 57 ·114
 58 115·bool·empty()·const·noexcept·{·return·m_queries.empty();·}·//[t69]
 59 ·116
 60 ·118
 61 ·129·int·retain(int·retain_max=2);·//[t70]
 62 ·130
 63 ·131
 64 ·133·void·resume();·//[t70]
 65 ·134
41 ·78private:66 ·135private:
42 ·79·const·char·*const·m_input; 
43 ·80·const·std::string::size_type·m_end; 
44 ·81·internal::glyph_scanner_func·*const·m_scan; 
45 ·82 
46 ·84·std::string::size_type·m_pos;67 ·136·class·PQXX_PRIVATE·Query
 68 ·137·{
 69 ·138·public:
 70 ·139·explicit·Query(const·std::string·&q)·:·m_query{q},·m_res{}·{}
 71 ·140
 72 ·141·const·result·&get_result()·const·noexcept·{·return·m_res;·}
 73 ·142·void·set_result(const·result·&r)·noexcept·{·m_res·=·r;·}
 74 ·143·const·std::string·&get_query()·const·noexcept·{·return·m_query;·}
 75 ·144
 76 ·145·private:
 77 ·146·std::string·m_query;
 78 ·147·result·m_res;
 79 ·148·};
 80 ·149
 81 ·150·using·QueryMap·=·std::map<query_id,Query>;
 82 ·151
 83 ·152·void·attach();
 84 ·153·void·detach();
 85 ·154
 86 ·156·static·constexpr·query_id·qid_limit()·noexcept
 87 ·157·{
 88 ·158·//·Parenthesise·this·to·work·around·an·eternal·Visual·C++·problem:
 89 ·159·//·Without·the·extra·parentheses,·unless·NOMINMAX·is·defined,·the
 90 ·160·//·preprocessor·will·mistake·this·"max"·for·its·annoying·built-in·macro
 91 ·161·//·of·the·same·name.
 92 ·162·return·(std::numeric_limits<query_id>::max)();
 93 ·163·}
 94 ·164
 95 ·166·PQXX_PRIVATE·query_id·generate_id();
Max diff block lines reached; 1534/6625 bytes (23.15%) of diff not shown.
13.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 30 lines modifiedOffset 55, 65 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00080_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">config-internal-autotools.h</div></div>62 ··<div·class="headertitle"><div·class="title">nontransaction.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <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>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
 66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_NONTRANSACTION</span></div>
 67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_NONTRANSACTION</span></div>
 68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
 74 <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>
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 78 <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="a00265.html">pqxx</a></div>
 79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 82 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01371.html">···54</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01371.html">nontransaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01527.html">transaction_base</a></div>
 83 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div>
 84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div>
 85 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">···63</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">nontransaction</a>(··············································<span·class="comment">//[t14]</span></div>
 87 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div>
 88 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">const</span>·std::string·&amp;Name=std::string{})·:</div>
 89 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····namedclass{<span·class="stringliteral">&quot;nontransaction&quot;</span>,·Name},·transaction_base{C}·{·Begin();·}</div>
 90 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 91 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">virtual</span>·~nontransaction();············································<span·class="comment">//[t14]</span></div>
 92 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 93 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">private</span>:</div>
 94 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()<span·class="keyword">·override·</span>{}···································<span·class="comment">//[t14]</span></div>
 95 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">virtual</span>·result·do_exec(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·C[])·<span·class="keyword">override</span>;······················<span·class="comment">//[t14]</span></div>
 96 <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>{}··································<span·class="comment">//[t14]</span></div>
 97 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()<span·class="keyword">·override·</span>{}···································<span·class="comment">//[t14]</span></div>
 98 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div>
 99 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 100 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 101 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>102 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
68 <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> 
69 <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> 
70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PACKAGE_STRING·&quot;libpqxx·6.4.5&quot;</span></div> 
71 <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> 
72 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·PACKAGE_VERSION·&quot;6.4.5&quot;</span></div> 
73 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#define·VERSION·&quot;6.4.5&quot;</span></div>103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</span></div>
 104 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
 105 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div>
 106 <div·class="ttc"·id="aa01371_html"><div·class="ttname"><a·href="a01371.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:55</div></div>
 107 <div·class="ttc"·id="aa01371_html_a0baeac7362b92a1536a4849bd8027a41"><div·class="ttname"><a·href="a01371.html#a0baeac7362b92a1536a4849bd8027a41">pqxx::nontransaction::nontransaction</a></div><div·class="ttdeci">nontransaction(connection_base·&amp;C,·const·std::string·&amp;Name=std::string{})</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition:</b>·nontransaction.hxx:63</div></div>
 108 <div·class="ttc"·id="aa01527_html"><div·class="ttname"><a·href="a01527.html">pqxx::transaction_base</a></div><div·class="ttdoc">Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes.</div><div·class="ttdef"><b>Definition:</b>·transaction_base.hxx:138</div></div>
74 </div><!--·fragment·--></div><!--·contents·-->109 </div><!--·fragment·--></div><!--·contents·-->
75 </div><!--·doc-content·-->110 </div><!--·doc-content·-->
76 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
77 <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!·-->
78 ··<ul>113 ··<ul>
79 ····<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>114 ····<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>nontransaction.hxx</b></li>
80 ····<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.4·</li>115 ····<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.4·</li>
81 ··</ul>116 ··</ul>
82 </div>117 </div>
83 </body>118 </body>
84 </html>119 </html>
2.2 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 67 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-internal-autotools.h 
3 ·1/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/2 nontransaction.hxx
 3 ·1
 4 ·13#ifndef·PQXX_H_NONTRANSACTION
 5 ·14#define·PQXX_H_NONTRANSACTION
 6 ·15
 7 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·"pqxx/connection_base.hxx"
 11 ·20#include·"pqxx/result.hxx"
 12 ·21#include·"pqxx/transaction_base.hxx"
4 ·213 ·22
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·6.4.5" 
9 ·7#define·PACKAGE_TARNAME·"libpqxx" 
10 ·8#define·PACKAGE_VERSION·"6.4.5" 
11 ·9#define·VERSION·"6.4.5"14 ·23//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 15 ·24
 16 ·25namespace·pqxx
 17 ·26{
 18 ·27
 19 ·29
 20 54class·PQXX_LIBEXPORT·nontransaction·:·public·transaction_base
 21 ·55{
 22 ·56public:
 23 ·58
 24 63·explicit·nontransaction(·//[t14]
 25 ·64·connection_base·&C,
 26 ·65·const·std::string·&Name=std::string{})·:
 27 ·66·namedclass{"nontransaction",·Name},·transaction_base{C}·{·Begin();·}
 28 ·67
 29 ·68·virtual·~nontransaction();·//[t14]
 30 ·69
 31 ·70private:
 32 ·71·virtual·void·do_begin()·override·{}·//[t14]
 33 ·72·virtual·result·do_exec(const·char·C[])·override;·//[t14]
 34 ·73·virtual·void·do_commit()·override·{}·//[t14]
 35 ·74·virtual·void·do_abort()·override·{}·//[t14]
 36 ·75};
 37 ·76
 38 ·77}·//·namespace·pqxx
 39 ·78
 40 ·79#include·"pqxx/compiler-internal-post.hxx"
 41 ·80#endif
 42 pqxx
 43 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 44 Definition:·array.hxx:26
 45 pqxx::connection_base
 46 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
 47 Definition:·connection_base.hxx:140
 48 pqxx::nontransaction
 49 Simple·"transaction"·class·offering·no·transactional·integrity.
 50 Definition:·nontransaction.hxx:55
 51 pqxx::nontransaction::nontransaction
 52 nontransaction(connection_base·&C,·const·std::string·&Name=std::string{})
 53 Constructor.
 54 Definition:·nontransaction.hxx:63
 55 pqxx::transaction_base
 56 Interface·definition·(and·common·code)·for·"transaction"·classes.
 57 Definition:·transaction_base.hxx:138
12 ····*·include58 ····*·include
13 ····*·pqxx59 ····*·pqxx
14 ····*·config-internal-autotools.h60 ····*·nontransaction.hxx
15 ····*·Generated·by·[doxygen]·1.9.461 ····*·Generated·by·[doxygen]·1.9.4
119 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·tablestream.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 55, 461 lines modifiedOffset 55, 76 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00083_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">transaction_base.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">tablestream.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION_BASE</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLESTREAM</span></div>
67 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION_BASE</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLESTREAM</span></div>
68 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
72 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">/*·End-user·programs·need·not·include·this·file,·unless·they·define·their·own</span></div> 
73 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·transaction·classes.··This·is·not·something·the·typical·program·should·want</span></div> 
74 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*·to·do.</span></div> 
75 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*</span></div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 74 <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="a00265.html">pqxx</a></div>
76 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public</span></div> 
77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·interface·for·the·available·transaction·classes·such·as·transaction·and</span></div> 
78 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·nontransaction.</span></div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</span></div>76 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01495.html">···26</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·:</div>
 78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01519.html">internal::transactionfocus</a></div>
80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div>
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/connection_base.hxx&quot;</span></div> 
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;pqxx/internal/encoding_group.hxx&quot;</span></div> 
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;pqxx/isolation.hxx&quot;</span></div> 
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div> 
85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;pqxx/row.hxx&quot;</span></div> 
86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div> 
88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> 
91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>internal</div>80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">public</span>:</div>
 81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>(</div>
 82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;Trans,</div>
 83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div>
 84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01495.html">~tablestream</a>()·<span·class="keyword">noexcept</span>·=0;</div>
 85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">···34</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">complete</a>()·=0;</div>
92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div>86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">protected</span>:</div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">···36</a></span>··<span·class="keyword">const</span>·std::string·&amp;<a·class="code·hl_function"·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">NullStr</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·m_null;·}</div>
 88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">···37</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">is_finished</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_finished;·}</div>
 89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keywordtype">void</span>·base_close();</div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">static</span>·std::string·columnlist(ITER·colbegin,·ITER·colend);</div>
93 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>sql_cursor;</div>92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">private</span>:</div>
94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··std::string·m_null;</div>
95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01519.html">···43</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·:·<span·class="keyword">public</span>·<span·class="keyword">virtual</span>·<a·class="code·[·...·truncated·by·diffoscope;·len:·43,·SHA:·acc92c80c34d12ee2d51c487e11d1168e9a88703cc4dc4ecc4a76251f74b3d9d·...·]</div>94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keywordtype">bool</span>·m_finished·=·<span·class="keyword">false</span>;</div>
96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div>95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> 
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01519.html#ac1ad1a201cacde2cd35182dd3bfb66fa">···46</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01519.html#ac1ad1a201cacde2cd35182dd3bfb66fa">transactionfocus</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;t)·:</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<a·class="code·hl_class"·href="a01539.html">namedclass</a>{<span·class="stringliteral">&quot;transactionfocus&quot;</span>},</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>()·=<span·class="keyword">delete</span>;</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a>·&amp;)·=<span·class="keyword">delete</span>;</div>
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····m_trans{t},</div>99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div>
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····m_registered{false}</div>100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span></div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">···52</a></span>std::string·<a·class="code·hl_function"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">tablestream::columnlist</a>(ITER·colbegin,·ITER·colend)</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00265.html#ad97fec1db4afab602cfcf189109df23b">separated_list</a>(<span·class="stringliteral">&quot;,&quot;</span>,·colbegin,·colend);</div>
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··}</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">···56</span>}·<span·class="comment">//·namespace·pqxx</span></div>
104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01519.html#a255c93352d627c783fb8b01f37e88ed6">···53</a></span>··<a·class="code·hl_function"·href="a01519.html#a255c93352d627c783fb8b01f37e88ed6">transactionfocus</a>()·=<span·class="keyword">delete</span>;</div> 
106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01519.html#a382773b01ed4648697ef15e014441ca4">···54</a></span>··<a·class="code·hl_function"·href="a01519.html#a382773b01ed4648697ef15e014441ca4">transactionfocus</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01519.html#aad1f4346a99ad8521bc66372fc3d2834">···55</a></span>··<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;<a·class="code·hl_function"·href="a01519.html#aad1f4346a99ad8521bc66372fc3d2834">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01519.html">transactionfocus</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">protected</span>:</div> 
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">void</span>·register_me();</div> 
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordtype">void</span>·unregister_me()·noexcept;</div> 
112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">void</span>·reg_pending_error(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;)·noexcept;</div> 
113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01519.html#ac7db979e308fe6d640e813dd46cf4819">···61</a></span>··<span·class="keywordtype">bool</span>·registered()·const·noexcept·{·<span·class="keywordflow">return</span>·m_registered;·}</div> 
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01519.html#aeae94c86447010854a1a4d8a09e802e6">···63</a></span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;<a·class="code·hl_variable"·href="a01519.html#aeae94c86447010854a1a4d8a09e802e6">m_trans</a>;</div> 
116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">private</span>:</div> 
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_registered;</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="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01523.html">···73</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·:·statement_parameters</div> 
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> 
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">public</span>:</div> 
126 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>(</div> 
127 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;query);</div> 
128 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
129 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01523.html#ac33ccb4d99856cf49baabee1ee9206f2">···79</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#ac33ccb4d99856cf49baabee1ee9206f2">operator()</a>()·{·add_param();·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
130 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01523.html#a8f37ecdcb6624aa3ee117c9e0693879a">···80</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#a8f37ecdcb6624aa3ee117c9e0693879a">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v)</div> 
131 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{·add_binary_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
132 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01523.html#ac22804a59fa0cb30e3862075c0a81c99">···82</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#ac22804a59fa0cb30e3862075c0a81c99">operator()</a>(<span·class="keyword">const</span>·T·&amp;v)</div> 
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········{·add_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01523.html#a02d7083d2cac8484bad8c5714703c2d3">···84</a></span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#a02d7083d2cac8484bad8c5714703c2d3">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div> 
135 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········{·add_binary_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
136 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
137 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01523.html#ae3436ba93e574ea87b813886ba2ad03e">···87</a></span>········<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;<a·class="code·hl_function"·href="a01523.html#ae3436ba93e574ea87b813886ba2ad03e">operator()</a>(<span·class="keyword">const</span>·T·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div> 
138 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
139 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
140 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_class"·href="a01395.html">result</a>·exec();</div> 
141 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
142 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">private</span>:</div> 
143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01523.html">parameterized_invocation</a>·&amp;)</div> 
144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········=<span·class="keyword">delete</span>;</div> 
Max diff block lines reached; 20950/98960 bytes (21.17%) of diff not shown.
21.8 KB
html2text {}
    
Offset 1, 582 lines modifiedOffset 1, 85 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 transaction_base.hxx2 tablestream.hxx
3 ·13 ·1
4 ·14#ifndef·PQXX_H_TRANSACTION_BASE 
5 ·15#define·PQXX_H_TRANSACTION_BASE 
6 ·164 ·13#ifndef·PQXX_H_TABLESTREAM
 5 ·14#define·PQXX_H_TABLESTREAM
 6 ·15
7 ·17#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·18#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18#include·"pqxx/transaction_base.hxx"
9 ·1910 ·19
 11 ·20
10 ·20/*·End-user·programs·need·not·include·this·file,·unless·they·define·their 
11 own 
12 ·21·*·transaction·classes.·This·is·not·something·the·typical·program·should 
13 want 
14 ·22·*·to·do. 
15 ·23·* 
16 ·24·*·However,·reading·this·file·is·worthwhile·because·it·defines·the·public 
17 ·25·*·interface·for·the·available·transaction·classes·such·as·transaction·and 
18 ·26·*·nontransaction. 
19 ·27·*/ 
20 ·28 
21 ·29#include·"pqxx/connection_base.hxx" 
22 ·30#include·"pqxx/internal/encoding_group.hxx" 
23 ·31#include·"pqxx/isolation.hxx" 
24 ·32#include·"pqxx/result.hxx" 
25 ·33#include·"pqxx/row.hxx" 
26 ·34 
27 ·35//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
28 ·36 
29 ·37namespace·pqxx12 ·21namespace·pqxx
 13 ·22{
 14 ·24
 15 26class·PQXX_LIBEXPORT·PQXX_NOVTABLE·tablestream·:
 16 ·27·public·internal::transactionfocus
30 ·38{17 ·28{
31 ·39namespace·internal 
32 ·40{ 
33 ·41class·sql_cursor; 
34 ·42 
35 43class·PQXX_LIBEXPORT·transactionfocus·:·public·virtual·namedclass 
36 ·44{ 
37 ·45public:18 ·29public:
 19 ·30·explicit·tablestream(
 20 ·31·transaction_base·&Trans,
 21 ·32·const·std::string·&Null=std::string{});
 22 ·33·virtual·~tablestream()·noexcept·=0;
 23 34·virtual·void·complete()·=0;
38 46·explicit·transactionfocus(transaction_base·&t)·: 
39 ·47·namedclass{"transactionfocus"}, 
40 ·48·m_trans{t}, 
41 ·49·m_registered{false} 
42 ·50·{ 
43 ·51·} 
44 ·52 
45 53·transactionfocus()·=delete; 
46 54·transactionfocus(const·transactionfocus·&)·=delete; 
47 55·transactionfocus·&operator=(const·transactionfocus·&)·=delete; 
48 ·56 
49 ·57protected:24 ·35protected:
 25 36·const·std::string·&NullStr()·const·{·return·m_null;·}
50 ·58·void·register_me(); 
51 ·59·void·unregister_me()·noexcept; 
52 ·60·void·reg_pending_error(const·std::string·&)·noexcept; 
53 61·bool·registered()·const·noexcept·{·return·m_registered;·}26 37·bool·is_finished()·const·noexcept·{·return·m_finished;·}
 27 ·38·void·base_close();
54 ·62 
55 63·transaction_base·&m_trans; 
56 ·64 
57 ·65private: 
58 ·66·bool·m_registered; 
59 ·67}; 
60 ·68 
61 ·69 
62 ·71 
63 73class·PQXX_LIBEXPORT·parameterized_invocation·:·statement_parameters 
64 ·74{ 
65 ·75public: 
66 ·76·PQXX_DEPRECATED·parameterized_invocation( 
67 ·77·connection_base·&,·const·std::string·&query); 
68 ·78 
69 79·parameterized_invocation·&operator()()·{·add_param();·return·*this;·} 
70 80·parameterized_invocation·&operator()(const·binarystring·&v) 
71 ·81·{·add_binary_param(v,·true);·return·*this;·} 
72 82·template<typename·T>·parameterized_invocation·&operator()(const·T·&v) 
73 ·83·{·add_param(v,·true);·return·*this;·} 
74 84·parameterized_invocation·&operator()(const·binarystring·&v,·bool·nonnull) 
75 ·85·{·add_binary_param(v,·nonnull);·return·*this;·} 
76 ·86·template<typename·T>28 ·39·template<typename·ITER>
 29 ·40·static·std::string·columnlist(ITER·colbegin,·ITER·colend);
77 87·parameterized_invocation·&operator()(const·T·&v,·bool·nonnull) 
78 ·88·{·add_param(v,·nonnull);·return·*this;·} 
79 ·89 
80 ·90·result·exec(); 
81 ·91 
82 ·92private:30 ·41private:
 31 ·42·std::string·m_null;
 32 ·43·bool·m_finished·=·false;
83 ·94·parameterized_invocation·&operator=(const·parameterized_invocation·&) 
84 ·95·=delete; 
85 ·96 
86 ·97·connection_base·&m_home; 
87 ·98·const·std::string·m_query; 
88 ·99}; 
89 ·100}·//·namespace·internal 
90 ·101 
91 ·102 
92 ·103namespace·internal 
93 ·104{ 
94 ·105namespace·gate 
95 ·106{ 
96 ·107class·transaction_subtransaction; 
97 ·108class·transaction_tablereader; 
98 ·109class·transaction_sql_cursor; 
99 ·110class·transaction_stream_from; 
100 ·111class·transaction_tablewriter; 
101 ·112class·transaction_stream_to; 
102 ·113class·transaction_transactionfocus; 
103 ·114}·//·namespace·internal::gate 
Max diff block lines reached; 8407/22300 bytes (37.70%) of diff not shown.
43.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal.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 55, 54 lines modifiedOffset 55, 148 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00086_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">compiler-internal.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">binarystring.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_COMPILER_INTERNAL</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_COMPILER_INTERNAL</span></div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</span></div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Workarounds·&amp;·definitions·needed·to·compile·libpqxx·into·a·library</span></div> 
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/config-internal-compiler.h&quot;</span></div>72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifdef·_WIN32</span></div>73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifdef·PQXX_SHARED</span></div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#undef··PQXX_LIBEXPORT</span></div>76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_LIBEXPORT··__declspec(dllexport)</span></div> 
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·PQXX_PRIVATE····__declspec()</span></div> 
79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#endif··</span><span·class="comment">//·PQXX_SHARED</span></div>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 78 <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="a00265.html">pqxx</a></div>
 79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div> 
82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#pragma·warning·(disable:·4251·4275·4273)</span></div> 
83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#pragma·warning·(disable:·4355)</span></div> 
84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#pragma·warning·(disable:·4996)·</span><span·class="comment">//·Deprecation·warning,·e.g.·about·strncpy().</span></div> 
85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#elif·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_VISIBILITY)····</span><span·class="comment">//·!_WIN32</span></div>82 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01111.html">···53</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01111.html">binarystring</a></div>
88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#define·PQXX_LIBEXPORT·__attribute__·((visibility(&quot;default&quot;</span>)))</div> 
90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·PQXX_PRIVATE·__attribute__·((visibility(&quot;hidden&quot;</span>)))</div>84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div>
 85 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·<span·class="keywordtype">unsigned</span>·char;</div>
 86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;char_type&gt;::char_type;</div>
 87 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·=·size_t;</div>
 88 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a6bc2a0a8f5dc8b1c169686b188ebdd2d">difference_type</a>·=·long;</div>
 89 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·&amp;;</div>
 90 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">const_pointer</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·*;</div>
 91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·=·<a·class="code·hl_typedef"·href="a01111.html#a4fb21567830f22ba0d6676ac034290f6">const_pointer</a>;</div>
 92 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·=·std::reverse_iterator&lt;const_iterator&gt;;</div>
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>93 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif··</span><span·class="comment">//·__GNUC__·&amp;&amp;·PQXX_HAVE_GCC_VISIBILITY</span></div>94 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01111.html#a979310f02c4f4e4504d040b059e54d2e">···65</a></span>··<a·class="code·hl_function"·href="a01111.html#a979310f02c4f4e4504d040b059e54d2e">binarystring</a>(<span·class="keyword">const<[·...·truncated·by·diffoscope;·len:·117,·SHA:·22f5fd8c312dc50a6432ace3a98077eb6ff847f2d94f2ad5b30572d6c7a70ac5·...·]</div>
 95 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 97 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01331.html">field</a>·&amp;);·································<span·class="comment">//[t62]</span></div>
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>98 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·std::string·&amp;);</div>
 100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<a·class="code·hl_class"·href="a01111.html">binarystring</a>(<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*,·<span·class="keywordtype">size_t</span>);</div>
 102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01111.html#afa6be7a52ce16a143ce6ebf640ff3aea">···80</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·<a·class="code·hl_function"·href="a01111.html#afa6be7a52ce16a143ce6ebf640ff3aea">size</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_size;·}····················<span·class="comment">//[t62]</span></div>
 104 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01111.html#abac0db9f28acffc553d18002b8df0e6b">···82</a></span><span·class="comment"></span>··<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·<a·class="code·hl_function"·href="a01111.html#abac0db9f28acffc553d18002b8df0e6b">length</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}··················<span·class="comment">//[t62]</span></div>
 105 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01111.html#a9106563a72aec3f4ef57b71a6f513fc9">···83</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01111.html#a9106563a72aec3f4ef57b71a6f513fc9">empty</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·size()==0;·}·····················<span·class="comment">//[t62]</span></div>
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>106 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 107 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01111.html#a6067c2115ac1e1fff25fe77d17307c58">···85</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a6067c2115ac1e1fff25fe77d17307c58">begin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data();·}··············<span·class="comment">//[t62]</span></div>
 108 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01111.html#aee5e4953d3ee63d747be01bef2b74b13">···86</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#aee5e4953d3ee63d747be01bef2b74b13">cbegin</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·begin();·}</div>
 109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01111.html#a51e17d592848ea9fdaa7f81d3007712e">···87</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a51e17d592848ea9fdaa7f81d3007712e">end</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·data()+m_size;·}·········<span·class="comment">//[t62]</span></div>
 110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01111.html#aa733d66120d53f3d614c361f29a2fcba">···88</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a418df60af8d05bff62c1cf586fe7ac3a">const_iterator</a>·<a·class="code·hl_function"·href="a01111.html#aa733d66120d53f3d614c361f29a2fcba">cend</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·end();·}</div>
 111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01111.html#a85eab67b3f966985384b2499e3ff4e5b">···90</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#a85eab67b3f966985384b2499e3ff4e5b">front</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·*begin();·}···········<span·class="comment">//[t62]</span></div>
 113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01111.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">···91</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#a86aa4bd8dd2c83e0ba6c0049c2524b8c">back</a>()·const·noexcept·································<span·class="comment">//[t62]</span></div>
 114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········{·<span·class="keywordflow">return</span>·*(data()+m_size-1);·}</div>
 115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01111.html#a23036afb38422a54c60acdea2652891f">···94</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a23036afb38422a54c60acdea2652891f">rbegin</a>()·const·································<span·class="comment">//[t62]</span></div>
 117 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{end()};·}</div>
 118 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01111.html#a809e9b45877602d87d923a91fbe9adc4">···96</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a809e9b45877602d87d923a91fbe9adc4">crbegin</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rbegin();·}</div>
 119 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01111.html#ab10688f2e2fd77c3ef1a122c8aad5198">···97</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#ab10688f2e2fd77c3ef1a122c8aad5198">rend</a>()·const···································<span·class="comment">//[t62]</span></div>
 120 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>{begin()};·}</div>
 121 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01111.html#a1fda08303c1ae00bb224c1c75c55b43e">···99</a></span>··<a·class="code·hl_typedef"·href="a01111.html#ae78f9b974c00bc40b6ef3a71d82dc94f">const_reverse_iterator</a>·<a·class="code·hl_function"·href="a01111.html#a1fda08303c1ae00bb224c1c75c55b43e">crend</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·rend();·}</div>
 122 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 123 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01111.html#ad654e9c1cb3e377eeb0a315a3e40179c">··102</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·*<a·class="code·hl_function"·href="a01111.html#ad654e9c1cb3e377eeb0a315a3e40179c">data</a>()·const·noexcept·{<span·class="keywordflow">return</span>·m_buf.get();}·········<span·class="comment">//[t62]</span></div>
 124 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01111.html#aa2f3bd6f82016f668c375f64369bd307">··104</a></span>··<a·class="code·hl_typedef"·href="a01111.html#a46770cb9ea4c914eb33e55815c775b72">const_reference</a>·<a·class="code·hl_function"·href="a01111.html#aa2f3bd6f82016f668c375f64369bd307">operator[]</a>(<a·class="code·hl_typedef"·href="a01111.html#ad5c831d6e2e00925b3345e99a33c5dc9">size_type</a>·i)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>················<span·class="comment">//[t62]</span></div>
 126 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········{·<span·class="keywordflow">return</span>·data()[i];·}</div>
 127 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 128 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··PQXX_PURE·<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;·······<span·class="comment">//[t62]</span></div>
 129 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01111.html#a899b746c23736e8dbeec4c06eddec808">··108</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01111.html#a899b746c23736e8dbeec4c06eddec808">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;rhs)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>···············<span·class="comment">//[t62]</span></div>
 130 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········{·<span·class="keywordflow">return</span>·not·operator==(rhs);·}</div>
 131 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 132 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;operator=(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;);</div>
 133 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 134 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··const_reference·at(size_type)·<span·class="keyword">const</span>;··································<span·class="comment">//[t62]</span></div>
 135 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 136 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;);············································<span·class="comment">//[t62]</span></div>
 137 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 138 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 139 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01111.html#af9e2842b41aaa0cbaf8eb37c0e598536">··123</a></span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01111.html#af9e2842b41aaa0cbaf8eb37c0e598536">get</a>()·const·noexcept······································<span·class="comment">//[t62]</span></div>
 140 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········{·<span·class="keywordflow">return</span>·<span·class="keyword">reinterpret_cast&lt;</span><span·class="keyword">const·</span><span·class="keywordtype">char</span>·*<span·class="keyword">&gt;</span>(m_buf.get());·}</div>
 141 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 142 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 143 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··std::string·str()·<span·class="keyword">const</span>;··············································<span·class="comment">//[t62]</span></div>
 144 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 145 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="keyword">private</span>:</div>
 146 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<span·class="keyword">using·</span>smart_pointer_type·=·std::shared_ptr&lt;value_type&gt;;</div>
 147 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
 148 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">static</span>·smart_pointer_type·make_smart_pointer(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">char</span>·*buf=<span·class="keyword">nullptr</span>)</div>
 149 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··{</div>
 150 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keywordflow">return</span>·smart_pointer_type{</div>
 151 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>········buf,</div>
 152 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>········internal::freemallocmem_templated&lt;unsigned·char&gt;};</div>
 153 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··}</div>
 154 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>
 155 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··smart_pointer_type·m_buf;</div>
Max diff block lines reached; 859/37589 bytes (2.29%) of diff not shown.
7.06 KB
html2text {}
    
Offset 1, 46 lines modifiedOffset 1, 200 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal.hxx2 binarystring.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_COMPILER_INTERNAL 
5 ·12#define·PQXX_H_COMPILER_INTERNAL4 ·11#ifndef·PQXX_H_BINARYSTRING
 5 ·12#define·PQXX_H_BINARYSTRING
6 ·136 ·13
 7 ·14#include·"pqxx/compiler-public.hxx"
7 ·14 
8 ·15//·Workarounds·&·definitions·needed·to·compile·libpqxx·into·a·library 
9 ·16#include·"pqxx/config-internal-compiler.h"8 ·15#include·"pqxx/compiler-internal-pre.hxx"
10 ·17 
11 ·18#ifdef·_WIN329 ·16
 10 ·17#include·<memory>
 11 ·18#include·<string>
12 ·1912 ·19
13 ·20#ifdef·PQXX_SHARED 
14 ·21#undef·PQXX_LIBEXPORT 
15 ·22#define·PQXX_LIBEXPORT·__declspec(dllexport) 
16 ·23#define·PQXX_PRIVATE·__declspec() 
17 ·24#endif·//·PQXX_SHARED13 ·20#include·"pqxx/result.hxx"
 14 ·21
 15 ·22
 16 ·23namespace·pqxx
 17 ·24{
18 ·2518 ·25
19 ·26#ifdef·_MSC_VER 
20 ·27#pragma·warning·(disable:·4251·4275·4273) 
21 ·28#pragma·warning·(disable:·4355) 
22 ·29#pragma·warning·(disable:·4996)·//·Deprecation·warning,·e.g.·about·strncpy 
23 ().19 ·27
 20 53class·PQXX_LIBEXPORT·binarystring
 21 ·54{
 22 ·55public:
 23 56·using·char_type·=·unsigned·char;
 24 57·using·value_type·=·std::char_traits<char_type>::char_type;
 25 58·using·size_type·=·size_t;
 26 59·using·difference_type·=·long;
 27 60·using·const_reference·=·const·value_type·&;
 28 61·using·const_pointer·=·const·value_type·*;
 29 62·using·const_iterator·=·const_pointer;
 30 63·using·const_reverse_iterator·=·std::reverse_iterator<const_iterator>;
 31 ·64
 32 65·binarystring(const·binarystring·&)·=default;
 33 ·66
 34 ·68
 35 ·71·explicit·binarystring(const·field·&);·//[t62]
 36 ·72
 37 ·74·explicit·binarystring(const·std::string·&);
 38 ·75
 39 ·77·binarystring(const·void·*,·size_t);
 40 ·78
 41 80·size_type·size()·const·noexcept·{·return·m_size;·}·//[t62]
 42 82·size_type·length()·const·noexcept·{·return·size();·}·//[t62]
 43 83·bool·empty()·const·noexcept·{·return·size()==0;·}·//[t62]
 44 ·84
 45 85·const_iterator·begin()·const·noexcept·{·return·data();·}·//[t62]
 46 86·const_iterator·cbegin()·const·noexcept·{·return·begin();·}
 47 87·const_iterator·end()·const·noexcept·{·return·data()+m_size;·}·//[t62]
 48 88·const_iterator·cend()·const·noexcept·{·return·end();·}
 49 ·89
 50 90·const_reference·front()·const·noexcept·{·return·*begin();·}·//[t62]
 51 91·const_reference·back()·const·noexcept·//[t62]
 52 ·92·{·return·*(data()+m_size-1);·}
 53 ·93
 54 94·const_reverse_iterator·rbegin()·const·//[t62]
 55 ·95·{·return·const_reverse_iterator{end()};·}
 56 96·const_reverse_iterator·crbegin()·const·{·return·rbegin();·}
 57 97·const_reverse_iterator·rend()·const·//[t62]
 58 ·98·{·return·const_reverse_iterator{begin()};·}
 59 99·const_reverse_iterator·crend()·const·{·return·rend();·}
 60 ·100
 61 102·const·value_type·*data()·const·noexcept·{return·m_buf.get();}·//[t62]
 62 ·103
 63 104·const_reference·operator[](size_type·i)·const·noexcept·//[t62]
 64 ·105·{·return·data()[i];·}
 65 ·106
 66 ·107·PQXX_PURE·bool·operator==(const·binarystring·&)·const·noexcept;·//[t62]
 67 108·bool·operator!=(const·binarystring·&rhs)·const·noexcept·//[t62]
 68 ·109·{·return·not·operator==(rhs);·}
 69 ·110
 70 ·111·binarystring·&operator=(const·binarystring·&);
 71 ·112
 72 ·114·const_reference·at(size_type)·const;·//[t62]
 73 ·115
 74 ·117·void·swap(binarystring·&);·//[t62]
 75 ·118
 76 ·120
 77 123·const·char·*get()·const·noexcept·//[t62]
 78 ·124·{·return·reinterpret_cast<const·char·*>(m_buf.get());·}
 79 ·125
 80 ·127
 81 ·133·std::string·str()·const;·//[t62]
 82 ·134
 83 ·135private:
 84 ·136·using·smart_pointer_type·=·std::shared_ptr<value_type>;
 85 ·137
 86 ·139·static·smart_pointer_type·make_smart_pointer(unsigned·char·*buf=nullptr)
 87 ·140·{
 88 ·141·return·smart_pointer_type{
 89 ·142·buf,
 90 ·143·internal::freemallocmem_templated<unsigned·char>};
 91 ·144·}
 92 ·145
 93 ·146·smart_pointer_type·m_buf;
 94 ·147·size_type·m_size;
 95 ·148};
 96 ·149}
 97 ·150
 98 ·151#include·"pqxx/compiler-internal-post.hxx"
 99 ·152
24 ·30#endif100 ·153#endif
25 ·31 
26 ·32#elif·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_VISIBILITY)·//·!_WIN32 
27 ·33 
28 ·34#define·PQXX_LIBEXPORT·__attribute__·((visibility("default"))) 
29 ·35#define·PQXX_PRIVATE·__attribute__·((visibility("hidden"))) 
30 ·36 
31 ·37#endif·//·__GNUC__·&&·PQXX_HAVE_GCC_VISIBILITY 
32 ·38 
33 ·39 
Max diff block lines reached; 101/7201 bytes (1.40%) of diff not shown.
88.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·cursor.hxx·Source·File</title>8 <title>libpqxx:·types.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 55, 318 lines modifiedOffset 55, 87 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00089_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">cursor.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">types.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CURSOR</span></div>66 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·PQXX_H_TYPES</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CURSOR</span></div>67 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·PQXX_H_TYPES</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>70 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>71 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
 72 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
 73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">···18</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>·=·<span·class="keywordtype">unsigned</span>·long;</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">···21</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>·=·<span·class="keywordtype">signed</span>·long;</div>
75 <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> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">···24</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·=·<span·class="keywordtype">unsigned</span>·int;</div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">···27</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a2771138651a1156ee5039d8b391402b0">row_difference_type</a>·=·<span·class="keywordtype">signed</span>·int;</div>
79 <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="a00265.html">pqxx</a></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> 
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">···30</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>·=·std::size_t;</div>
82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01147.html">···40</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01147.html">cursor_base</a></div> 
83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> 
84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div> 
85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div> 
86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div> 
87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
88 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
89 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">···50</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">accesspolicy</a></div> 
90 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> 
91 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">···53</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">forward_only</a>,</div> 
92 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····random_access</div> 
93 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30ea7f6c1ed7719885433353a78946b2c5f3">···56</a></span>··};</div> 
94 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
95 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212">···62</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212">updatepolicy</a></div> 
97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div> 
98 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a8122c0c4a5eb9c9dbf27ab40a2686eb0">···65</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a8122c0c4a5eb9c9dbf27ab40a2686eb0">read_only</a>,</div> 
99 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····update</div> 
100 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01147.html#aba6fa56f1ef2d25c3c73240de6b9c212a12fa229ee3e760f1ca86d66304554b63">···68</a></span>··};</div> 
101 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
102 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 83 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">···33</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">large_object_size_type</a>·=·long;</div>
103 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330">···89</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330">ownershippolicy</a></div> 
104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div> 
105 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330a3ace6a7a5ca4ec3b486f2f35fd2420b0">···92</a></span>····<a·class="code·hl_enumvalue"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330a3ace6a7a5ca4ec3b486f2f35fd2420b0">owned</a>,</div> 
106 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····loose</div> 
107 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8d5f8214ede2ab27dd588defc2847330a4c37408c49492bfe9f012812226dd1fd">···95</a></span>··};</div> 
108 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
109 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01147.html#aa77f18cfbbb68f81e730f3bfbbb5c89b">···97</a></span>··<a·class="code·hl_function"·href="a01147.html#aa77f18cfbbb68f81e730f3bfbbb5c89b">cursor_base</a>()·=<span·class="keyword">delete</span>;</div> 
110 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01147.html#a515de31d551c34a0d2ed8bbeb16ef212">···98</a></span>··<a·class="code·hl_function"·href="a01147.html#a515de31d551c34a0d2ed8bbeb16ef212">cursor_base</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01147.html">cursor_base</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
111 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01147.html#ac1acef6f645fd281a1ef866a5f443b00">···99</a></span>··<a·class="code·hl_class"·href="a01147.html">cursor_base</a>·&amp;<a·class="code·hl_function"·href="a01147.html#ac1acef6f645fd281a1ef866a5f443b00">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01147.html">cursor_base</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
112 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
113 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
114 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
115 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">static</span>·<a·class="code·hl_typedef"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·all()·noexcept;································<span·class="comment">//[t81]</span></div> 
116 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
117 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
118 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01147.html#a1c8b306d8301163518b29c2431b576a8">··115</a></span>··static·<a·class="code·hl_typedef"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·next()·noexcept·{·<span·class="keywordflow">return</span>·1;·}··················<span·class="comment">//[t81]</span></div> 
119 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> 
120 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
121 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01147.html#a2d76f9b64169f3696ab8adef3de4578a">··120</a></span>··<span·class="keyword">static</span>·<a·class="code·hl_typedef"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">difference_type</a>·<a·class="code·hl_function"·href="a01147.html#a2d76f9b64169f3696ab8adef3de4578a">prior</a>()·noexcept·{·<span·class="keywordflow">return</span>·-1;·}················<span·class="comment">//[t00]</span></div> 
122 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
123 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
124 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="keyword">static</span>·difference_type·backward_all()·noexcept;·······················<span·class="comment">//[t00]</span></div> 
125 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> 
126 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
127 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> 
128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01147.html#af94a83e5c8be1e58a1c535f7d0e8075c">··135</a></span>··const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;name()·const·noexcept·{·<span·class="keywordflow">return</span>·m_name;·}···········<span·class="comment">//[t81]</span></div> 
129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="keyword">protected</span>:</div> 
131 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<a·class="code·hl_class"·href="a01147.html">cursor_base</a>(</div> 
132 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,</div> 
133 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
134 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>········<span·class="keywordtype">bool</span>·embellish_name=<span·class="keyword">true</span>);</div> 
135 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
136 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a01147.html#a947b286d508fad4a1823f8b13a5ccef3">··143</a></span>··<span·class="keyword">const</span>·std::string·<a·class="code·hl_variable"·href="a01147.html#a947b286d508fad4a1823f8b13a5ccef3">m_name</a>;</div> 
137 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>};</div> 
138 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
139 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
140 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> 
141 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="preprocessor">#include·&lt;pqxx/internal/sql_cursor.hxx&gt;</span></div> 
142 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
143 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
144 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
145 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>{</div> 
146 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> 
147 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span><span·class="keyword">template</span>&lt;cursor_base::updatepolicy·up,·cursor_base::ownershippolicy·op&gt;</div> 
148 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno"><a·class="line"·href="a01151.html">··161</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01151.html">stateless_cursor</a></div> 
149 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>{</div> 
150 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span><span·class="keyword">public</span>:</div> 
151 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno"><a·class="line"·href="a01151.html#a8dbf98af7391df15a686bfb9853e8394">··164</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01151.html#a8dbf98af7391df15a686bfb9853e8394">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div> 
152 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a01151.html#a8f3b200166af0e4c2aa2649204df0b2b">··165</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01151.html#a8f3b200166af0e4c2aa2649204df0b2b">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div> 
153 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
154 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a01151.html#aa042b1c72b16911a4f2e1c73be3d8942">··168</a></span>··<a·class="code·hl_function"·href="a01151.html#aa042b1c72b16911a4f2e1c73be3d8942">stateless_cursor</a>(</div> 
155 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;trans,</div> 
156 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>········<span·class="keyword">const</span>·std::string·&amp;query,</div> 
157 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>········<span·class="keyword">const</span>·std::string·&amp;cname,</div> 
158 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>········<span·class="keywordtype">bool</span>·hold)·:</div> 
Max diff block lines reached; 20446/76139 bytes (26.85%) of diff not shown.
14.5 KB
html2text {}
    
Offset 1, 419 lines modifiedOffset 1, 127 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 cursor.hxx2 types.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_CURSOR4 ·10#ifndef·PQXX_H_TYPES
5 ·14#define·PQXX_H_CURSOR5 ·11#define·PQXX_H_TYPES
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·<limits> 
11 ·20#include·<stdexcept> 
12 ·21 
13 ·22#include·"pqxx/result.hxx" 
14 ·23#include·"pqxx/transaction_base.hxx" 
15 ·246 ·12
 7 ·13#include·<cstddef>
 8 ·14
 9 ·15namespace·pqxx
 10 ·16{
 11 18using·result_size_type·=·unsigned·long;
 12 ·19
 13 21using·result_difference_type·=·signed·long;
 14 ·22
 15 24using·row_size_type·=·unsigned·int;
16 ·2516 ·25
 17 27using·row_difference_type·=·signed·int;
17 ·26namespace·pqxx 
18 ·27{ 
19 ·29 
20 40class·PQXX_LIBEXPORT·cursor_base 
21 ·41{ 
22 ·42public: 
23 43·using·size_type·=·result_size_type; 
24 44·using·difference_type·=·result_difference_type; 
25 ·45 
26 ·47 
27 50·enum·accesspolicy 
28 ·51·{ 
29 53·forward_only, 
30 ·55·random_access 
31 56·}; 
32 ·57 
33 ·59 
34 62·enum·updatepolicy 
35 ·63·{ 
36 65·read_only, 
37 ·67·update 
38 68·}; 
39 ·69 
40 ·71 
41 89·enum·ownershippolicy 
42 ·90·{ 
43 92·owned, 
44 ·94·loose 
45 95·}; 
46 ·96 
47 97·cursor_base()·=delete; 
48 98·cursor_base(const·cursor_base·&)·=delete; 
49 99·cursor_base·&operator=(const·cursor_base·&)·=delete; 
50 ·100 
51 ·105 
52 ·107 
53 ·110·static·difference_type·all()·noexcept;·//[t81] 
54 ·111 
55 ·113 
56 115·static·difference_type·next()·noexcept·{·return·1;·}·//[t81] 
57 ·116 
58 ·118 
59 120·static·difference_type·prior()·noexcept·{·return·-1;·}·//[t00] 
60 ·121 
61 ·123 
62 ·125·static·difference_type·backward_all()·noexcept;·//[t00] 
63 ·126 
64 ·12818 ·28
65 ·130 
66 135·const·std::string·&name()·const·noexcept·{·return·m_name;·}·//[t81] 
67 ·136 
68 ·137protected: 
69 ·138·cursor_base( 
70 ·139·connection_base·&, 
71 ·140·const·std::string·&Name, 
72 ·141·bool·embellish_name=true); 
73 ·142 
74 143·const·std::string·m_name; 
75 ·144};19 30using·field_size_type·=·std::size_t;
 20 ·31
 21 33using·large_object_size_type·=·long;
 22 ·34
 23 ·35
 24 ·36//·Forward·declarations,·to·help·break·compilation·dependencies.
 25 ·37//·These·won't·necessarily·include·all·classes·in·libpqxx.
 26 ·38class·binarystring;
 27 ·39class·connectionpolicy;
 28 ·40class·connection_base;
 29 ·41class·const_result_iterator;
 30 ·42class·const_reverse_result_iterator;
 31 ·43class·const_reverse_row_iterator;
 32 ·44class·const_row_iterator;
 33 ·45class·dbtransaction;
 34 ·46class·field;
 35 ·47class·largeobjectaccess;
 36 ·48class·notification_receiver;
 37 ·49class·range_error;
 38 ·50class·result;
 39 ·51class·row;
 40 ·52class·tablereader;
 41 ·53class·transaction_base;
 42 ·54
76 ·145}·//·namespace·pqxx43 ·55}·//·namespace·pqxx
77 ·146 
78 ·147 
79 ·148#include·<pqxx/internal/sql_cursor.hxx> 
80 ·149 
81 ·150 
82 ·151namespace·pqxx 
83 ·152{ 
84 ·154 
85 ·160template<cursor_base::updatepolicy·up,·cursor_base::ownershippolicy·op> 
86 161class·stateless_cursor 
87 ·162{ 
88 ·163public: 
Max diff block lines reached; 7155/14792 bytes (48.37%) of diff not shown.
92.6 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 45 lines modifiedOffset 55, 322 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00092_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">version.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">strconv.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_VERSION</span></div>66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_STRINGCONV</span></div>
 67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_STRINGCONV</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#define·PQXX_VERSION·&quot;6.4.4&quot;</span></div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#define·PQXX_ABI·&quot;6.4&quot;</span></div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
 73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
 74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
74 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_VERSION_MAJOR·6</span></div> 
75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#define·PQXX_VERSION_MINOR·4</span></div> 
76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
77 <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="a00265.html">pqxx</a></div>76 <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="a00265.html">pqxx</a></div>
78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>internal</div> 
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> 
81 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
82 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00266.html#af3734c8eebcfaa5f364cee0a6a2da6cc">···53</a></span><span·class="keyword">template</span>&lt;<span·class="keywordtype">int</span>,·<span·class="keywordtype">int</span>&gt;·PQXX_LIB[·...·truncated·by·diffoscope;·len:·162,·SHA:·a11737660598c313f60703da2279b4c8fff8930998e2d838e3ef1e73b9698fa5·...·]</div>79 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 80 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 81 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01427.html">···51</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·=·<span·class="keywordtype">void</span>&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01427.html">string_traits</a>;</div>
 82 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 83 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">namespace·</span>internal</div>
83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>}</div>84 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
 85 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>[[noreturn]]·PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00266.html#a97c9781c1d455b437ccca7514c1cec18">throw_null_conversion</a>(</div>
 86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keyword">const</span>·std::string·&amp;type);</div>
84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>87 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01431.html">···67</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="a01431.html">type_name</a>;</div>
 90 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#define·PQXX_DECLARE_TYPE_NAME(TYPE)·\</span></div>
 91 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">··template&lt;&gt;·struct·type_name&lt;TYPE&gt;·\</span></div>
 92 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">··{·static·constexpr·const·char·*value·=·#TYPE;·}</span></div>
 93 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 94 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">···72</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">bool</span>);</div>
 95 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00266.html#aac484bb8331c089eadb468dc170fec21">···73</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">short</span>);</div>
 96 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00266.html#ab2b4ff660c5b799b285cfd5461c31121">···74</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>);</div>
 97 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00266.html#a4aa468829c44ba0906e7dee71446e6f4">···75</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">int</span>);</div>
 98 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00266.html#ae3036e08968a96eb59ab061458e05bec">···76</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>);</div>
 99 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00266.html#a355eba5b8b5ab2305b21465cf99a846c">···77</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>);</div>
 100 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00266.html#a0111e0c4fc3352494af62967e15facdd">···78</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>);</div>
 101 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00266.html#a963087f93224fc162bc3cf154797174b">···79</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>);</div>
 102 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00266.html#a43b13d24ccfb9479229450c2bcbb1b8e">···80</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>);</div>
 103 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00266.html#a6cb15d693aaacee05cd676584b14cedf">···81</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">float</span>);</div>
 104 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00266.html#a258c19b1e75e9bef2448df6cdf1f550f">···82</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">double</span>);</div>
 105 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00266.html#ab5452f36e76d55627370ba38c5a86fee">···83</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">long</span>·<span·class="keywordtype">double</span>);</div>
 106 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00266.html#a77eb78ba803803c95bba53052a868dd4">···84</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keywordtype">char</span>·*);</div>
 107 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00266.html#a01f0884d85ca73935379e4623b5820ee">···85</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*);</div>
 108 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00266.html#a89eeed9f958e9cd07e60fcd5ea1b0fc1">···86</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(std::string);</div>
 109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(<span·class="keyword">const</span>·std::string);</div>
 110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00266.html#a513a56774554f0590087b0cc1eaac6da">···88</a></span><a·class="code·hl_function"·href="a00266.html#a2aff5f2420eed018e0cf4871c551f797">PQXX_DECLARE_TYPE_NAME</a>(std::stringstream);</div>
 111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#undef·PQXX_DECLARE_TYPE_NAME</span></div>
 112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01435.html">···91</a></span><span·class="keyword">template</span>&lt;<span·class="keywordtype">size_t</span>·N&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01431.html">type_name</a>&lt;char[N]&gt;</div>
 114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01435.html#a27cb2c9bd2b6fad24badf2a09cc908d4">···92</a></span>{·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*value·=·<span·class="stringliteral">&quot;char[]&quot;</span>;·};</div>
 115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01439.html">··102</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TYPE&gt;·<span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01439.html">builtin_traits</a></div>
 119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</div>
 120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01439.html#ae233bc62f19ac5e36b4fec897f538aa3">··104</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01439.html#ae233bc62f19ac5e36b4fec897f538aa3">name</a>()·noexcept</div>
 121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········{·<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01431.html">internal::type_name&lt;TYPE&gt;::value</a>;·}</div>
 122 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01439.html#af22fdd100f545805ebda6cc1dfb338e6">··106</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01439.html#af22fdd100f545805ebda6cc1dfb338e6">has_null</a>()·noexcept·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div>
 123 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01439.html#a705978de662e24645338d2c7348f48bd">··107</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01439.html#a705978de662e24645338d2c7348f48bd">is_null</a>(TYPE)·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div>
 124 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01439.html#abe9a5bd32441a6a1c8b7e120f1ef30ef">··108</a></span>··[[noreturn]]·<span·class="keyword">static</span>·TYPE·<a·class="code·hl_function"·href="a01439.html#abe9a5bd32441a6a1c8b7e120f1ef30ef">null</a>()·{·<a·class="code·hl_function"·href="a00266.html#a97c9781c1d455b437ccca7514c1cec18">throw_null_conversion</a>(name());·}</div>
 125 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01439.html#a22698b5ed5221aa5b0d26d00a86da1c9">··109</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01439.html#a22698b5ed5221aa5b0d26d00a86da1c9">from_string</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·Str[],·TYPE·&amp;Obj);</div>
 126 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01439.html#a82bd087dbc9f14b9a79515bb643e234d">··110</a></span>··<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01439.html#a82bd087dbc9f14b9a79515bb643e234d">to_string</a>(TYPE·Obj);</div>
 127 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>};</div>
 128 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
 129 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 130 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 131 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="preprocessor">#define·PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(TYPE)·\</span></div>
 132 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="preprocessor">··template&lt;&gt;·struct·PQXX_LIBEXPORT·string_traits&lt;TYPE&gt;·:·\</span></div>
 133 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="preprocessor">····internal::builtin_traits&lt;TYPE&gt;·{};</span></div>
 134 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 135 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">bool</span>)</div>
 136 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 137 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">short</span>)</div>
 138 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>)</div>
 139 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">int</span>)</div>
 140 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)</div>
 141 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">long</span>)</div>
 142 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>)</div>
 143 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>)</div>
 144 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>)</div>
 145 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 146 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">float</span>)</div>
 147 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">double</span>)</div>
 148 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(<span·class="keywordtype">long</span>·<span·class="keywordtype">double</span>)</div>
 149 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 150 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="preprocessor">#undef·PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION</span></div>
 151 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 152 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
 153 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div>
 154 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ENUM&gt;</div>
 155 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="a01443.html">··149</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01443.html">enum_traits</a></div>
 156 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>{</div>
 157 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">··151</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">underlying_type</a>·=·<span·class="keyword">typename</span>·std::underlying_type&lt;ENUM&gt;::type;</div>
 158 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a01443.html#a8f0fce56e57130acd95023186192d86b">··152</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01427.html">underlying_traits</a>·=·<a·class="code·hl_struct"·href="a01427.html">string_traits&lt;underlying_type&gt;</a>;</div>
Max diff block lines reached; 19050/79074 bytes (24.09%) of diff not shown.
15.2 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 428 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 version.hxx2 strconv.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_VERSION4 ·11#ifndef·PQXX_H_STRINGCONV
5 ·125 ·12#define·PQXX_H_STRINGCONV
 6 ·13
6 ·13#include·"pqxx/compiler-public.hxx"7 ·14#include·"pqxx/compiler-public.hxx"
7 ·14#include·"pqxx/compiler-internal-pre.hxx" 
8 ·158 ·15
9 ·17#define·PQXX_VERSION·"6.4.4" 
10 ·19#define·PQXX_ABI·"6.4"9 ·16#include·<limits>
 10 ·17#include·<sstream>
 11 ·18#include·<stdexcept>
 12 ·19
11 ·2013 ·20
12 ·22#define·PQXX_VERSION_MAJOR·6 
13 ·24#define·PQXX_VERSION_MINOR·4 
14 ·25 
15 ·26namespace·pqxx14 ·21namespace·pqxx
 15 ·22{
 16 ·23
 17 ·46
 18 ·48
 19 51template<typename·T,·typename·=·void>·struct·string_traits;
 20 ·52
 21 ·53namespace·internal
 22 ·54{
 23 ·56[[noreturn]]·PQXX_LIBEXPORT·void·throw_null_conversion(
 24 ·57·const·std::string·&type);
 25 ·58
 26 ·60
 27 67template<typename·TYPE>·struct·type_name;
 28 ·68#define·PQXX_DECLARE_TYPE_NAME(TYPE)·\
 29 ·69·template<>·struct·type_name<TYPE>·\
 30 ·70·{·static·constexpr·const·char·*value·=·#TYPE;·}
 31 ·71
 32 72PQXX_DECLARE_TYPE_NAME(bool);
 33 73PQXX_DECLARE_TYPE_NAME(short);
 34 74PQXX_DECLARE_TYPE_NAME(unsigned·short);
 35 75PQXX_DECLARE_TYPE_NAME(int);
 36 76PQXX_DECLARE_TYPE_NAME(unsigned·int);
 37 77PQXX_DECLARE_TYPE_NAME(long);
 38 78PQXX_DECLARE_TYPE_NAME(unsigned·long);
 39 79PQXX_DECLARE_TYPE_NAME(long·long);
 40 80PQXX_DECLARE_TYPE_NAME(unsigned·long·long);
 41 81PQXX_DECLARE_TYPE_NAME(float);
 42 82PQXX_DECLARE_TYPE_NAME(double);
 43 83PQXX_DECLARE_TYPE_NAME(long·double);
 44 84PQXX_DECLARE_TYPE_NAME(char·*);
 45 85PQXX_DECLARE_TYPE_NAME(const·char·*);
 46 86PQXX_DECLARE_TYPE_NAME(std::string);
 47 ·87PQXX_DECLARE_TYPE_NAME(const·std::string);
 48 88PQXX_DECLARE_TYPE_NAME(std::stringstream);
 49 ·89#undef·PQXX_DECLARE_TYPE_NAME
 50 ·90
 51 91template<size_t·N>·struct·type_name<char[N]>
 52 92{·static·constexpr·const·char·*value·=·"char[]";·};
 53 ·93
 54 ·94
 55 ·96
 56 102template<typename·TYPE>·struct·PQXX_LIBEXPORT·builtin_traits
 57 ·103{
 58 104·static·constexpr·const·char·*name()·noexcept
 59 ·105·{·return·internal::type_name<TYPE>::value;·}
 60 106·static·constexpr·bool·has_null()·noexcept·{·return·false;·}
 61 107·static·bool·is_null(TYPE)·{·return·false;·}
 62 108·[[noreturn]]·static·TYPE·null()·{·throw_null_conversion(name());·}
 63 109·static·void·from_string(const·char·Str[],·TYPE·&Obj);
 64 110·static·std::string·to_string(TYPE·Obj);
 65 ·111};
 66 ·112}·//·namespace·pqxx::internal
 67 ·113
 68 ·114
 69 ·116#define·PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(TYPE)·\
 70 ·117·template<>·struct·PQXX_LIBEXPORT·string_traits<TYPE>·:·\
 71 ·118·internal::builtin_traits<TYPE>·{};
 72 ·119
 73 ·120PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(bool)
 74 ·121
 75 ·122PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(short)
 76 ·123PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(unsigned·short)
 77 ·124PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(int)
 78 ·125PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(unsigned·int)
 79 ·126PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(long)
 80 ·127PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(unsigned·long)
 81 ·128PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(long·long)
 82 ·129PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(unsigned·long·long)
 83 ·130
 84 ·131PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(float)
 85 ·132PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(double)
 86 ·133PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(long·double)
 87 ·134
 88 ·135#undef·PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION
 89 ·136
 90 ·137
 91 ·139
 92 ·148template<typename·ENUM>
 93 149struct·enum_traits
 94 ·150{
 95 151·using·underlying_type·=·typename·std::underlying_type<ENUM>::type;
 96 152·using·underlying_traits·=·string_traits<underlying_type>;
 97 ·153
 98 154·static·constexpr·bool·has_null()·noexcept·{·return·false;·}
 99 155·[[noreturn]]·static·ENUM·null()
 100 ·156·{·internal::throw_null_conversion("enum·type");·}
 101 ·157
 102 158·static·void·from_string(const·char·Str[],·ENUM·&Obj)
 103 ·159·{
 104 ·160·underlying_type·tmp;
 105 ·161·underlying_traits::from_string(Str,·tmp);
 106 ·162·Obj·=·ENUM(tmp);
 107 ·163·}
 108 ·164
 109 165·static·std::string·to_string(ENUM·Obj)
 110 ·166·{·return·underlying_traits::to_string(underlying_type(Obj));·}
 111 ·167};
 112 ·168
 113 ·169
 114 ·171
 115 ·182#define·PQXX_DECLARE_ENUM_CONVERSION(ENUM)·\
 116 ·183template<>·\
Max diff block lines reached; 6538/15588 bytes (41.94%) of diff not shown.
41.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 162 lines modifiedOffset 55, 83 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00095_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">stream_to.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">errorhandler.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_TO</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ERRORHANDLER</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_TO</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ERRORHANDLER</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/stream_base.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/stream_from.hxx&quot;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 75 <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="a00265.html">pqxx</a></div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>internal</div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
79 <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="a00265.html">pqxx</a></div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>gate</div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">class·</span>errorhandler_connection_base;</div>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div>
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>}</div>
 84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
83 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01479.html">···59</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01479.html">stream_to</a>·:·<span·class="keyword">public</span>·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·38,·SHA:·b8706d5c2fa1d4a27d6900a5da205825ffe98d2737b3996edfa87c8df7e364aa·...·]</a></div>86 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01167.html">···54</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01167.html">errorhandler</a></div>
84 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div>87 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div>
85 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div>88 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div>
 89 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;);</div>
 90 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01167.html">~errorhandler</a>();</div>
 91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
87 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_class"·href="a01479.html">stream_to</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div>93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01167.html#ac0e4[·...·truncated·by·diffoscope;·len:·165,·SHA:·c3f1f46e6f36bc797ece9f9ca80994c28a79201adc73eac7a915348755717f32·...·];</div>
 94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 95 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">private</span>:</div>
 96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·*m_home;</div>
 97 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 98 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01167.html#a08b329d18887eeb882ff0c80b8ae74ba">···70</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection_base;</div>
 99 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div>
88 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>100 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
89 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>(</div> 
90 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>101 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>()·=delete;</div>
91 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>102 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>(const·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;)·=delete;</div>
 103 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;operator=(const·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;)·=delete;</div>
92 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">const</span>·Columns&amp;·columns</div>104 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div>
93 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··);</div>105 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
94 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>106 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 107 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01171.html">···80</a></span>class·<a·class="code·hl_class"·href="a01171.html">quiet_errorhandler</a>·:·public·<a·class="code·hl_class"·href="a01167.html">errorhandler</a></div>
95 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iter&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>(</div> 
96 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
97 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
98 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····Iter·columns_begin,</div> 
99 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····Iter·columns_end</div>108 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>
 109 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div>
 110 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01171.html#ae440e24603c46ebdc8b981e22a54aacb">···83</a></span>··<a·class="code·hl_function"·href="a01171.html#ae440e24603c46ebdc8b981e22a54aacb">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;conn)·:·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>{conn}·{}</div>
100 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··);</div>111 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 112 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01171.html#a228e5ceeb18c40fd78ed7eaae8fd5f3c">···85</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01171.html#a228e5ceeb18c40fd78ed7eaae8fd5f3c">operator()</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div>
101 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>113 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>};</div>
102 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<a·class="code·hl_class"·href="a01479.html">~stream_to</a>()·<span·class="keyword">noexcept</span>;</div> 
103 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>114 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 115 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}·<span·class="comment">//·namespace·pqxx</span></div>
104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>116 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
105 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div>117 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
106 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>118 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
107 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
108 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple&gt;·<a·class="code·hl_class"·href="a01479.html">stream_to</a>·&amp;·<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<span·class="keyword">const</span>·Tuple·&amp;);</div> 
109 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
110 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
111 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<a·class="code·hl_class"·href="a01479.html">stream_to</a>·&amp;<a·class="code·hl_function"·href="a00265.html#a0b3d4865e3c04a2284c20f0e129b19e4">operator&lt;&lt;</a>(<a·class="code·hl_class"·href="a01475.html">stream_from</a>·&amp;);</div> 
112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">private</span>:</div> 
114 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keywordtype">void</span>·write_raw_line(<span·class="keyword">const</span>·std::string·&amp;);</div> 
115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="keywordtype">void</span>·set_up(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div> 
117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keywordtype">void</span>·set_up(</div> 
118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
120 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="keyword">const</span>·std::string·&amp;columns</div> 
121 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··);</div> 
122 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
123 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordtype">void</span>·close()·<span·class="keyword">override</span>;</div> 
124 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>};</div> 
125 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
126 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
127 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01479.html#a3e3207cd7c15bca0a4beea769b18bf32">··130</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a01479.html#a5abd2579f9525caae54b0116ea965be8">stream_to::stream_to</a>(</div> 
128 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;tb,</div> 
129 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
130 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">const</span>·Columns&amp;·columns</div> 
131 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>)·:·<a·class="code·hl_class"·href="a01479.html">stream_to</a>{</div> 
132 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··tb,</div> 
133 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··table_name,</div> 
134 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<a·class="code·hl_namespace"·href="a00264.html">std</a>::begin(columns),</div> 
135 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<a·class="code·hl_namespace"·href="a00264.html">std</a>::end(columns)</div> 
136 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>}</div> 
137 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>{}</div> 
138 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
139 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
140 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a01479.html#a9c38e2f92ec7084a0837d86b8086b652">··143</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iter&gt;·<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a01479.html#a5abd2579f9525caae54b0116ea965be8">stream_to::stream_to</a>(</div> 
141 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;tb,</div> 
142 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keyword">const</span>·std::string·&amp;table_name,</div> 
143 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··Iter·columns_begin,</div> 
144 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··Iter·columns_end</div> 
Max diff block lines reached; 7292/35937 bytes (20.29%) of diff not shown.
6.68 KB
html2text {}
    
Offset 1, 189 lines modifiedOffset 1, 89 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_to.hxx2 errorhandler.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_STREAM_TO 
5 ·14#define·PQXX_H_STREAM_TO4 ·13#ifndef·PQXX_H_ERRORHANDLER
 5 ·14#define·PQXX_H_ERRORHANDLER
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·18#include·"pqxx/transaction_base.hxx"9 ·18
10 ·19#include·"pqxx/stream_base.hxx"10 ·19#include·"pqxx/types.hxx"
 11 ·20
 12 ·21
11 ·20#include·"pqxx/stream_from.hxx" 
12 ·21#include·"pqxx/internal/type_utils.hxx" 
13 ·22 
14 ·23#include·<string> 
15 ·24 
16 ·25 
17 ·26namespace·pqxx13 ·22namespace·pqxx
 14 ·23{
 15 ·24namespace·internal
 16 ·25{
 17 ·26namespace·gate
18 ·27{18 ·27{
19 ·2819 ·28class·errorhandler_connection_base;
 20 ·29}
20 ·3021 ·30}
21 59class·PQXX_LIBEXPORT·stream_to·:·public·stream_base 
22 ·60{22 ·31
 23 ·38
 24 54class·PQXX_LIBEXPORT·errorhandler
 25 ·55{
23 ·61public:26 ·56public:
24 ·63 
25 ·70·stream_to(transaction_base·&,·const·std::string·&table_name); 
26 ·71 
27 ·73·template<typename·Columns>·stream_to( 
28 ·74·transaction_base·&, 
29 ·75·const·std::string·&table_name, 
30 ·76·const·Columns&·columns 
31 ·77·);27 ·57·explicit·errorhandler(connection_base·&);
 28 ·58·virtual·~errorhandler();
 29 ·59
 30 ·61
 31 65·virtual·bool·operator()(const·char·msg[])·noexcept·=0;
 32 ·66
 33 ·67private:
 34 ·68·connection_base·*m_home;
 35 ·69
 36 70·friend·class·internal::gate::errorhandler_connection_base;
 37 ·71·void·unregister()·noexcept;
 38 ·72
 39 ·73·errorhandler()·=delete;
 40 ·74·errorhandler(const·errorhandler·&)·=delete;
 41 ·75·errorhandler·&operator=(const·errorhandler·&)·=delete;
 42 ·76};
 43 ·77
32 ·7844 ·78
 45 80class·quiet_errorhandler·:·public·errorhandler
 46 ·81{
33 ·80·template<typename·Iter>·stream_to( 
34 ·81·transaction_base·&, 
35 ·82·const·std::string·&table_name, 
36 ·83·Iter·columns_begin, 
37 ·84·Iter·columns_end 
38 ·85·); 
39 ·86 
40 ·87·~stream_to()·noexcept; 
41 ·88 
42 ·90 
43 ·96·void·complete()·override; 
44 ·97 
45 ·99 
46 ·106·template<typename·Tuple>·stream_to·&·operator<<(const·Tuple·&); 
47 ·107 
48 ·109 
49 ·113·stream_to·&operator<<(stream_from·&); 
50 ·114 
51 ·115private: 
52 ·117·void·write_raw_line(const·std::string·&); 
53 ·118 
54 ·119·void·set_up(transaction_base·&,·const·std::string·&table_name); 
55 ·120·void·set_up( 
56 ·121·transaction_base·&, 
57 ·122·const·std::string·&table_name, 
58 ·123·const·std::string·&columns 
59 ·124·); 
60 ·125 
61 ·126·void·close()·override; 
62 ·127}; 
63 ·128 
64 ·129 
65 130template<typename·Columns>·inline·stream_to::stream_to( 
66 ·131·transaction_base·&tb, 
67 ·132·const·std::string·&table_name, 
68 ·133·const·Columns&·columns 
69 ·134)·:·stream_to{ 
70 ·135·tb, 
71 ·136·table_name, 
72 ·137·std::begin(columns), 
73 ·138·std::end(columns) 
74 ·139} 
75 ·140{} 
76 ·141 
77 ·142 
78 143template<typename·Iter>·inline·stream_to::stream_to( 
79 ·144·transaction_base·&tb, 
80 ·145·const·std::string·&table_name, 
81 ·146·Iter·columns_begin, 
82 ·147·Iter·columns_end 
83 ·148)·: 
84 ·149·namedclass{"stream_from",·table_name}, 
85 ·150·stream_base{tb} 
86 ·151{ 
87 ·152·set_up( 
88 ·153·tb, 
89 ·154·table_name, 
90 ·155·columnlist(columns_begin,·columns_end) 
91 ·156·); 
92 ·157} 
Max diff block lines reached; 2728/6814 bytes (40.04%) of diff not shown.
39.3 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-public.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 55, 106 lines modifiedOffset 55, 133 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00098_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00098_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">robusttransaction.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">compiler-public.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</span></div>66 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_COMPILER_PUBLIC</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ROBUSTTRANSACTION</span></div>67 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_COMPILER_PUBLIC</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 69 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·Workarounds·&amp;·definitions·that·need·to·be·included·even·in·library&#39;s·headers</span></div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>70 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;pqxx/config-public-compiler.h&quot;</span></div>
 71 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 72 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Some·compilers,·Visual·Studio·in·particular,·don&#39;t·seem·to·support·the</span></div>
 73 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">//·standard&#39;s·ISO-646·keywords·out·of·the·box.</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>74 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ciso646&gt;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>75 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <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> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>76 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>77 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_CONST)</span></div>
 78 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_CONST·__attribute__·((const))</span></div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div>
77 <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="a00265.html">pqxx</a></div>80 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#define·PQXX_CONST</span></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</span></div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>internal</div>83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#if·defined(PQXX_HAVE_DEPRECATED)</span></div>
 84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·PQXX_DEPRECATED·[[deprecated]]</span></div>
 85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#elif·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_DEPRECATED)</span></div>
 86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#define·PQXX_DEPRECATED·__attribute__·((deprecated))</span></div>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> 
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01407.html">···30</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01407.html">basic_robusttransaction</a>·:</div> 
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div> 
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> 
85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div>87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#else</span></div>
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01407.html#ad05fa8ae535413268e3764b7f13a13f8">···35</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"·h[·...·truncated·by·diffoscope;·len:·61,·SHA:·e460979f69da4ceeec60a3dbb34c5b4114d25515d4ff7388c412630990aceced·...·]</div>88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#define·PQXX_DEPRECATED</span></div>
 89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif</span></div>
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01407.html">~basic_robusttransaction</a>()·=0;································<span·class="comment">//[t16]</span></div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_PURE)</span></div>
 92 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·PQXX_PURE·__attribute__·((pure))</span></div>
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">protected</span>:</div>93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#else</span></div>
 94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·PQXX_PURE</span></div>
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_class"·href="a01407.html">basic_robusttransaction</a>(</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationLevel,</div>95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div>
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········<span·class="keyword">const</span>·std::string·&amp;table_name=std::string{});···················<span·class="comment">//[t16]</span></div> 
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">private</span>:</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>IDType·=·<span·class="keywordtype">unsigned</span>·long;</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··IDType·m_record_id·=·0;</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··std::string·m_xid;</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··std::string·m_log_table;</div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··std::string·m_sequence;</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">int</span>·m_backendpid·=·-1;</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="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_begin()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t18]</span></div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t16]</span></div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_abort()·<span·class="keyword">override</span>;·····································<span·class="comment">//[t18]</span></div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateLogTable();</div> 
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateTransactionRecord();</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··PQXX_PRIVATE·std::string·sql_delete()·<span·class="keyword">const</span>;</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·DeleteTransactionRecord()·noexcept;</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··PQXX_PRIVATE·<span·class="keywordtype">bool</span>·CheckTransactionRecord();</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·namespace·internal</span></div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 98 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//·Workarounds·for·Windows</span></div>
 99 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#ifdef·_WIN32</span></div>
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">/*·For·now,·export·DLL·symbols·if·_DLL·is·defined.··This·is·done·automatically</span></div>
 102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·*·by·the·compiler·when·linking·to·the·dynamic·version·of·the·runtime·library,</span></div>
 103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·*·according·to·&quot;gzh&quot;</span></div>
 104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·*/</span></div>
 105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#if·!defined(PQXX_LIBEXPORT)·&amp;&amp;·defined(PQXX_SHARED)</span></div>
 106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#define·PQXX_LIBEXPORT·__declspec(dllimport)</span></div>
 107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif··</span><span·class="comment">//·!PQXX_LIBEXPORT·&amp;&amp;·PQXX_SHARED</span></div>
117 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
118 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>template&lt;<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL=<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>&gt;</div> 
119 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01411.html">··140</a></span>class·<a·class="code·hl_class"·href="a01411.html">robusttransaction</a>·:·public·internal::basic_robusttransaction</div> 
120 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>{</div>109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·Workarounds·for·Microsoft·Visual·C++</span></div>
121 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="keyword">public</span>:</div>111 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>
122 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a01411.html#a07e037becc259dd85846cf3a2dedb025">··143</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"[·...·truncated·by·diffoscope;·len:·63,·SHA:·cd3b93151bf4f0f3a92df282824091050e004f9d22c6696882399b122185db63·...·]</div>112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·Suppress·vtables·on·abstract·classes.</span></div>
 114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#define·PQXX_NOVTABLE·__declspec(novtable)</span></div>
123 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>115 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 116 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//·Automatically·link·with·the·appropriate·libpq·(static·or·dynamic,·debug·or</span></div>
 117 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//·release).··The·default·is·to·use·the·release·DLL.··Define·PQXX_PQ_STATIC·to</span></div>
 118 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·link·to·a·static·version·of·libpq,·and·_DEBUG·to·link·to·a·debug·version.</span></div>
 119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//·The·two·may·be·combined.</span></div>
 120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#if·defined(PQXX_AUTOLINK)</span></div>
 121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#if·defined(PQXX_PQ_STATIC)</span></div>
 122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#ifdef·_DEBUG</span></div>
 123 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqd&quot;</span>)</div>
 124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">#else</span></div>
 125 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpq&quot;</span>)</div>
 126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="preprocessor">#endif</span></div>
 127 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#else</span></div>
 128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#ifdef·_DEBUG</span></div>
 129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqddll&quot;</span>)</div>
 130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#else</span></div>
 131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqdll&quot;</span>)</div>
 132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div>
 133 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#endif</span></div>
 134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</span></div>
Max diff block lines reached; 862/33350 bytes (2.58%) of diff not shown.
6.64 KB
html2text {}
    
Offset 1, 119 lines modifiedOffset 1, 129 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 robusttransaction.hxx2 compiler-public.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ROBUSTTRANSACTION 
5 ·14#define·PQXX_H_ROBUSTTRANSACTION 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx"4 ·9#ifndef·PQXX_H_COMPILER_PUBLIC
 5 ·10#define·PQXX_H_COMPILER_PUBLIC
 6 ·11
 7 ·12//·Workarounds·&·definitions·that·need·to·be·included·even·in·library's
 8 headers
 9 ·13#include·"pqxx/config-public-compiler.h"
 10 ·14
 11 ·15//·Some·compilers,·Visual·Studio·in·particular,·don't·seem·to·support·the
 12 ·16//·standard's·ISO-646·keywords·out·of·the·box.
 13 ·17#include·<ciso646>
9 ·1814 ·18
 15 ·19
 16 ·20#if·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_CONST)
 17 ·22#define·PQXX_CONST·__attribute__·((const))
 18 ·23#else
 19 ·24#define·PQXX_CONST
 20 ·25#endif
10 ·19#include·"pqxx/dbtransaction.hxx" 
11 ·20 
12 ·21 
13 ·22//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
14 ·23 
15 ·24namespace·pqxx 
16 ·25{ 
17 ·2621 ·26
 22 ·27#if·defined(PQXX_HAVE_DEPRECATED)
 23 ·29#define·PQXX_DEPRECATED·[[deprecated]]
 24 ·30#elif·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_DEPRECATED)
 25 ·31#define·PQXX_DEPRECATED·__attribute__·((deprecated))
 26 ·32#else
 27 ·33#define·PQXX_DEPRECATED
 28 ·34#endif
 29 ·35
 30 ·36#if·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_PURE)
 31 ·38#define·PQXX_PURE·__attribute__·((pure))
 32 ·39#else
 33 ·40#define·PQXX_PURE
 34 ·41#endif
 35 ·42
 36 ·43
 37 ·44//·Workarounds·for·Windows
 38 ·45#ifdef·_WIN32
18 ·27namespace·internal 
19 ·28{ 
20 30class·PQXX_LIBEXPORT·PQXX_NOVTABLE·basic_robusttransaction·: 
21 ·31·public·dbtransaction 
22 ·32{ 
23 ·33public: 
24 35·using·isolation_tag·=·isolation_traits<read_committed>; 
25 ·36 
26 ·37·virtual·~basic_robusttransaction()·=0;·//[t16] 
27 ·38 
28 ·39protected: 
29 ·40·basic_robusttransaction( 
30 ·41·connection_base·&C, 
31 ·42·const·std::string·&IsolationLevel, 
32 ·43·const·std::string·&table_name=std::string{});·//[t16] 
33 ·44 
34 ·45private: 
35 ·46·using·IDType·=·unsigned·long; 
36 ·47·IDType·m_record_id·=·0; 
37 ·48·std::string·m_xid; 
38 ·49·std::string·m_log_table; 
39 ·50·std::string·m_sequence; 
40 ·51·int·m_backendpid·=·-1; 
41 ·52 
42 ·53·virtual·void·do_begin()·override;·//[t18] 
43 ·54·virtual·void·do_commit()·override;·//[t16] 
44 ·55·virtual·void·do_abort()·override;·//[t18] 
45 ·56 
46 ·57·PQXX_PRIVATE·void·CreateLogTable(); 
47 ·58·PQXX_PRIVATE·void·CreateTransactionRecord(); 
48 ·59·PQXX_PRIVATE·std::string·sql_delete()·const; 
49 ·60·PQXX_PRIVATE·void·DeleteTransactionRecord()·noexcept; 
50 ·61·PQXX_PRIVATE·bool·CheckTransactionRecord(); 
51 ·62}; 
52 ·63}·//·namespace·internal 
53 ·64 
54 ·65 
55 ·73 
56 ·139template<isolation_level·ISOLATIONLEVEL=read_committed> 
57 140class·robusttransaction·:·public·internal::basic_robusttransaction 
58 ·141{ 
59 ·142public: 
60 143·using·isolation_tag·=·isolation_traits<ISOLATIONLEVEL>; 
61 ·144 
62 ·14639 ·46
63 150·explicit·robusttransaction( 
64 ·151·connection_base·&C, 
65 ·152·const·std::string·&Name=std::string{})·: 
66 ·153·namedclass{fullname("robusttransaction",isolation_tag::name()),·Name}, 
67 ·154·internal::basic_robusttransaction(C,·isolation_tag::name()) 
68 ·155·{·Begin();·}40 ·47/*·For·now,·export·DLL·symbols·if·_DLL·is·defined.·This·is·done
 41 automatically
 42 ·48·*·by·the·compiler·when·linking·to·the·dynamic·version·of·the·runtime
 43 library,
 44 ·49·*·according·to·"gzh"
 45 ·50·*/
 46 ·51#if·!defined(PQXX_LIBEXPORT)·&&·defined(PQXX_SHARED)
 47 ·52#define·PQXX_LIBEXPORT·__declspec(dllimport)
 48 ·53#endif·//·!PQXX_LIBEXPORT·&&·PQXX_SHARED
 49 ·54
 50 ·55
 51 ·56//·Workarounds·for·Microsoft·Visual·C++
 52 ·57#ifdef·_MSC_VER
 53 ·58
 54 ·59//·Suppress·vtables·on·abstract·classes.
 55 ·60#define·PQXX_NOVTABLE·__declspec(novtable)
 56 ·61
 57 ·62//·Automatically·link·with·the·appropriate·libpq·(static·or·dynamic,·debug
 58 or
 59 ·63//·release).·The·default·is·to·use·the·release·DLL.·Define·PQXX_PQ_STATIC·to
 60 ·64//·link·to·a·static·version·of·libpq,·and·_DEBUG·to·link·to·a·debug·version.
 61 ·65//·The·two·may·be·combined.
Max diff block lines reached; 104/6779 bytes (1.53%) of diff not shown.
72.6 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 105 lines modifiedOffset 55, 224 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00101_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">transaction.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">result.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT</span></div>
67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT</span></div>
68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>
74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>
76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*/</span></div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
77 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
78 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
79 <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="a00265.html">pqxx</a></div> 
80 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div>
81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
82 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>internal</div> 
83 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div>
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01511.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01511.html">basic_transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div> 
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> 
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">protected</span>:</div> 
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01511.html">basic_transaction</a>(····················································<span·class="comment">//[t01]</span></div> 
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationLevel,</div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>);</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">private</span>:</div>85 <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="a00265.html">pqxx</a></div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t01]</span></div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div>86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>
 87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>internal</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00266.html#a57aba89617a9c0568f175e52aab0c504">clear_result</a>(<span·class="keyword">const</span>·pq::PGresult·*);</div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>gate</div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>result_connection;</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_creation;</div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_row;</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_sql_cursor;</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}·<span·class="comment">//·namespace·internal::gate</span></div>
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·namespace·internal</span></div>98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·namespace·internal</span></div>
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 102 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01395.html">···69</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01395.html">result</a></div>
99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">template</span>&lt;</div> 
101 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL=<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div> 
102 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·READWRITE=<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a>&gt;</div> 
103 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01515.html">···82</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01515.html">transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01511.html">internal::basic_transaction</a></div> 
104 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>103 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div>
105 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div>104 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div>
106 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01515.html#aa8cc82d045fc6a287ebc3c3b152b6d67">···85</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"·[·...·truncated·by·diffoscope;·len:·57,·SHA:·e1dcc5d589881aeb021fb39c306db14195bdd4704a8f28a2c46348f4285bc639·...·]</a>;</div>105 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01395.html#a45143316d9e7b9a658850326732d2786">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01395.html#a45143316d9e7b9a658850326732d2786">size_type</[·...·truncated·by·diffoscope;·len:·101,·SHA:·752b9dead4f5a831bf1a6f374e7b7b0df5fe50b569eb585c2d78cd8ad4ed3a4f·...·]</a>;</div>
 106 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div>
 107 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01395.html#a331bc56dd4ef9020f184f6909b3dd119">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">reference</a>·=·<a·class="code·hl_class"·href="a01415.html">row</a>;</div>
 108 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01395.html#ae52e3b60c1e512110b1c425e5a36eb7c">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>;</div>
 109 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01395.html#a5b44355a997fde27ff5a693fdeeda04b">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">pointer</a>·=·<a·class="code·hl_class"·href="a01399.html">const_iterator</a>;</div>
 110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01395.html#a6995f8db23dc53fbe204ab4fc41610a2">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">iterator</a>·=·<a·class="code·hl_class"·href="a01399.html">const_iterator</a>;</div>
 111 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01395.html#a1460ff79bb0f7d2a05a24eccece1eb22">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01403.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01403.html">const_reverse_result_iterator</a>;</div>
 112 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01395.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01403.html">reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01403.html">const_reverse_iterator</a>;</div>
107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>113 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 114 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01395.html#a3483a2de1575a9df1f9671ad677a022a">···81</a></span>··<a·class="code·hl_function"·href="a01395.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:···················································<span·class="comment">//[t03]</span></div>
 115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······m_data(make_data_pointer()),</div>
 116 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······m_query(),</div>
 117 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······m_encoding(internal::encoding_group::MONOBYTE)</div>
 118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····{}</div>
 119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01395.html#a98bc0fa1e39d9ae3d7d550a9921f94fc">···86</a></span>··<a·class="code·hl_function"·href="a01395.html#a98bc0fa1e39d9ae3d7d550a9921f94fc">result</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;rhs)·<span·class="keyword">noexcept</span>·=<span·class="keywordflow">default</span>;··························<span·class="comment">//[t01]</span></div>
108 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>120 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 121 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01395.html#a867ecfd8716ff3b43510f16b34447eba">···88</a></span>··<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;<a·class="code·hl_function"·href="a01395.html#a867ecfd8716ff3b43510f16b34447eba">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;rhs)·<span·class="keyword">noexcept</span>·=<span·class="keywordflow">default</span>;···············<span·class="comment">//[t10]</span></div>
109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">···93</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">transaction</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,·<span·class="keyword">const</span>·std::string·&amp;TName):···<span·class="comment">//[t01]</span></div> 
110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_function"·href="a01539.html#a3962cd8000c76fd68466510577a0e452">namedclass</a>{<a·class="code·hl_function"·href="a01163.html#a218d2f1f6b1ca53eb19b44451c96aca4">fullname</a>(<span·class="stringliteral">&quot;transaction&quot;</span>,·<a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>::<a·class="code·hl_function"·href="a01539.html#a6aa4ca1f1708dfd5f6595884347cc093">name</a>()),·TName},</div> 
111 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····internal::<a·class="code·hl_function"·href="a01511.html#a90764b3cd73b8e4b8e4235a4d115e7b8">basic_transaction</a>(C,·<a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>::<a·class="code·hl_function"·href="a01539.html#a6aa4ca1f1708dfd5f6595884347cc093">name</a>(),·READWRITE)</div> 
112 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········{·<a·class="code·hl_function"·href="a01527.html#a1d2a8554499cbd93ff8c2bf5c15843ff">Begin</a>();·}</div> 
113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>122 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
114 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">···98</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">transaction</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C)·:····························<span·class="comment">//[t01]</span></div> 
115 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_class"·href="a01515.html">transaction</a>(C,·<span·class="stringliteral">&quot;&quot;</span>)·{}</div>123 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;)·<span·class="keyword">const</span>·<span·class="keywor[·...·truncated·by·diffoscope;·len:·78,·SHA:·e12b1dad95ec6fea9cef52779ca63bab2781ec6a7d6b71376fbf2590db5f1059·...·]</div>
 124 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01395.html#af563f43e0ac399f45b2bb871da0917d1">···95</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01395.html#af563f43e0ac399f45b2bb871da0917d1">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;rhs)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·····················<span·class="comment">//[t70]</span></div>
 125 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········{·<span·class="keywordflow">return</span>·not·operator==(rhs);·}</div>
116 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>126 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
117 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">··101</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">~transaction</a>()·noexcept</div> 
118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{·<a·class="code·hl_function"·href="a01527.html#afe72d50677298f6702c34bb860506454">End</a>();·}</div>127 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··const_reverse_iterator·rbegin()·<span·class="keyword">const</span>;································<span·class="comment">//[t75]</span></div>
 128 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··const_reverse_iterator·crbegin()·<span·class="keyword">const</span>;</div>
 129 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··const_reverse_iterator·rend()·<span·class="keyword">const</span>;··································<span·class="comment">//[t75]</span></div>
 130 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··const_reverse_iterator·crend()·<span·class="keyword">const</span>;</div>
119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div>131 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>132 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··const_iterator·begin()·const·noexcept;································<span·class="comment">//[t01]</span></div>
121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>133 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··const_iterator·cbegin()·const·noexcept;</div>
122 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00265.html#af073913c93b7d3ec3ed4aee85b338869">··107</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01515.html">work</a>·=·<a·class="code·hl_class"·href="a01515.h[·...·truncated·by·diffoscope;·len:·29,·SHA:·c0fa7cd54a9748ce56f3e3ad21806a5eb198cb14774cf128e45ca9bf048a9853·...·]</div>134 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··inline·const_iterator·end()·const·noexcept;···························<span·class="comment">//[t01]</span></div>
 135 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··inline·const_iterator·cend()·const·noexcept;</div>
123 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>136 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
124 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00265.html#afb4f4599896edb50e15dd6b4e4915dca">··110</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01515.html">read_transaction</a>·=·<a·class="code·hl_class"·h[·...·truncated·by·diffoscope;·len:·67,·SHA:·5baa079c4a8f42426438723c4ad8e7864e1c3e5ed5b03c7478d45d79ad30aa47·...·]</div>137 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··reference·front()·const·noexcept;·····································<span·class="comment">//[t74]</span></div>
 138 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··reference·back()·const·noexcept;······································<span·class="comment">//[t75]</span></div>
125 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>139 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
126 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>}</div>140 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··PQXX_PURE·size_type·size()·const·noexcept;····························<span·class="comment">//[t02]</span></div>
 141 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··PQXX_PURE·<span·class="keywordtype">bool</span>·empty()·const·noexcept;································<span·class="comment">//[t11]</span></div>
 142 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01395.html#a985653e04a1e733b9804886f72559ddf">··114</a></span>··<a·class="code·hl_typedef"·href="a01395.html#a45143316d9e7b9a658850326732d2786">size_type</a>·capacity()·const·noexcept·{·<span·class="keywordflow">return</span>·size();·}················<span·class="comment">//[t20]</span></div>
Max diff block lines reached; 14612/61686 bytes (23.69%) of diff not shown.
12.2 KB
html2text {}
    
Offset 1, 141 lines modifiedOffset 1, 276 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 transaction.hxx2 result.hxx
3 ·13 ·1
4 ·12#ifndef·PQXX_H_TRANSACTION 
5 ·13#define·PQXX_H_TRANSACTION 
6 ·144 ·13#ifndef·PQXX_H_RESULT
 5 ·14#define·PQXX_H_RESULT
 6 ·15
7 ·15#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·16#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·17 
10 ·18#include·"pqxx/dbtransaction.hxx" 
11 ·19 
12 ·209 ·18
 10 ·19#include·<ios>
 11 ·20#include·<memory>
 12 ·21#include·<stdexcept>
 13 ·22
 14 ·23#include·"pqxx/except.hxx"
 15 ·24#include·"pqxx/types.hxx"
 16 ·25#include·"pqxx/util.hxx"
 17 ·26
 18 ·27#include·"pqxx/internal/encodings.hxx"
 19 ·28
 20 ·29
13 ·21/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"21 ·30//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 22 ·31
14 ·22·*/ 
15 ·23 
16 ·24 
17 ·25namespace·pqxx23 ·32namespace·pqxx
 24 ·33{
18 ·26{ 
19 ·27 
20 ·28namespace·internal25 ·34namespace·internal
21 ·29{ 
22 31class·PQXX_LIBEXPORT·basic_transaction·:·public·dbtransaction 
23 ·32{26 ·35{
24 ·33protected: 
25 ·34·basic_transaction(·//[t01] 
26 ·35·connection_base·&C, 
27 ·36·const·std::string·&IsolationLevel, 
28 ·37·readwrite_policy); 
29 ·38 
30 ·39private: 
31 ·40·virtual·void·do_commit()·override;·//[t01] 
32 ·41};27 ·36PQXX_LIBEXPORT·void·clear_result(const·pq::PGresult·*);
 28 ·37
 29 ·38namespace·gate
 30 ·39{
 31 ·40class·result_connection;
 32 ·41class·result_creation;
 33 ·42class·result_row;
 34 ·43class·result_sql_cursor;
 35 ·44}·//·namespace·internal::gate
33 ·42}·//·namespace·internal36 ·45}·//·namespace·internal
34 ·43 
35 ·4437 ·46
 38 ·47
36 ·4939 ·49
 40 69class·PQXX_LIBEXPORT·result
 41 ·70{
37 ·51 
38 ·79template< 
39 ·80·isolation_level·ISOLATIONLEVEL=read_committed, 
40 ·81·readwrite_policy·READWRITE=read_write> 
41 82class·transaction·:·public·internal::basic_transaction 
42 ·83{ 
43 ·84public:42 ·71public:
44 85·using·isolation_tag·=·isolation_traits<ISOLATIONLEVEL>; 
45 ·86 
46 ·88 
47 93·explicit·transaction(connection_base·&C,·const·std::string·&TName):·//[t01] 
48 ·94·namedclass{fullname("transaction",·isolation_tag::name()),·TName}, 
49 ·95·internal::basic_transaction(C,·isolation_tag::name(),·READWRITE) 
50 ·96·{·Begin();·} 
51 ·97 
52 98·explicit·transaction(connection_base·&C)·:·//[t01] 
53 ·99·transaction(C,·"")·{} 
54 ·100 
55 101·virtual·~transaction()·noexcept 
56 ·102·{·End();·}43 72·using·size_type·=·result_size_type;
 44 73·using·difference_type·=·result_difference_type;
 45 74·using·reference·=·row;
 46 75·using·const_iterator·=·const_result_iterator;
 47 76·using·pointer·=·const_iterator;
 48 77·using·iterator·=·const_iterator;
 49 78·using·const_reverse_iterator·=·const_reverse_result_iterator;
 50 79·using·reverse_iterator·=·const_reverse_iterator;
 51 ·80
 52 81·result()·noexcept·:·//[t03]
 53 ·82·m_data(make_data_pointer()),
 54 ·83·m_query(),
 55 ·84·m_encoding(internal::encoding_group::MONOBYTE)
 56 ·85·{}
 57 86·result(const·result·&rhs)·noexcept·=default;·//[t01]
 58 ·87
 59 88·result·&operator=(const·result·&rhs)·noexcept·=default;·//[t10]
 60 ·89
 61 ·94·bool·operator==(const·result·&)·const·noexcept;·//[t70]
 62 95·bool·operator!=(const·result·&rhs)·const·noexcept·//[t70]
 63 ·96·{·return·not·operator==(rhs);·}
 64 ·98
 65 ·99·const_reverse_iterator·rbegin()·const;·//[t75]
 66 ·100·const_reverse_iterator·crbegin()·const;
 67 ·101·const_reverse_iterator·rend()·const;·//[t75]
 68 ·102·const_reverse_iterator·crend()·const;
57 ·103};69 ·103
58 ·104 
59 ·105 
60 107using·work·=·transaction<>;70 ·104·const_iterator·begin()·const·noexcept;·//[t01]
 71 ·105·const_iterator·cbegin()·const·noexcept;
 72 ·106·inline·const_iterator·end()·const·noexcept;·//[t01]
 73 ·107·inline·const_iterator·cend()·const·noexcept;
61 ·10874 ·108
62 110using·read_transaction·=·transaction<read_committed,_read_only>;75 ·109·reference·front()·const·noexcept;·//[t74]
 76 ·110·reference·back()·const·noexcept;·//[t75]
63 ·11177 ·111
64 ·113}78 ·112·PQXX_PURE·size_type·size()·const·noexcept;·//[t02]
 79 ·113·PQXX_PURE·bool·empty()·const·noexcept;·//[t11]
 80 114·size_type·capacity()·const·noexcept·{·return·size();·}·//[t20]
Max diff block lines reached; 5043/12486 bytes (40.39%) of diff not shown.
122 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 537 lines modifiedOffset 55, 30 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00104_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">largeobject.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">config-internal-autotools.h</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
 65 <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>
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> 
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_LARGEOBJECT</span></div> 
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_LARGEOBJECT</span></div> 
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;streambuf&gt;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PACKAGE·&quot;libpqxx&quot;</span></div>
 68 <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>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> 
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
80 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01347.html">···34</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01347.html">largeobject</a></div> 
81 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> 
82 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div> 
83 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">large_object_size_type</a>;</div> 
84 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
85 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01347.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··<a·class="code·hl_function"·href="a01347.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=default;······································<span·class="comment">//[t48]</span></div> 
86 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
88 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··explicit·<a·class="code·hl_class"·href="a01347.html">largeobject</a>(<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T);·······························<span·class="comment">//[t48]</span></div> 
89 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
91 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac537d04e8a762735c49f938ee9f9c565">···52</a></span>··explicit·<a·class="code·hl_class"·href="a01347.html">largeobject</a>(oid·O)·noexcept·:·m_id{O}·{}·····················<span·class="comment">//[t48]</span></div> 
92 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
93 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
94 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··largeobject(dbtransaction·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;File);···············<span·class="comment">//[t53]</span></div> 
95 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
97 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··largeobject(<span·class="keyword">const</span>·largeobjectaccess·&amp;O)·<span·class="keyword">noexcept</span>;·····················<span·class="comment">//[t50]</span></div> 
98 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
99 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
100 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01347.html#af210c3d0b39442a5ce9b3b1508d96c84">···73</a></span>··oid·<a·class="code·hl_function"·href="a01347.html#af210c3d0b39442a5ce9b3b1508d96c84">id</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_id;·}······························<span·class="comment">//[t48]</span></div> 
101 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
102 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
103 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01347.html#a77820fc5303c51a58286ece11cfc67fb">···85</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a77820fc5303c51a58286ece11cfc67fb">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div> 
104 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········{·<span·class="keywordflow">return</span>·m_id·==·other.m_id;·}</div> 
105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
106 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac63c4743c49b2181fa1121c3945fa610">···89</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#ac63c4743c49b2181fa1121c3945fa610">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div> 
107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········{·<span·class="keywordflow">return</span>·m_id·!=·other.m_id;·}</div> 
108 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01347.html#a919ab90edaad2bc6c26f4b035ad30e1c">···93</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a919ab90edaad2bc6c26f4b035ad30e1c">operator&lt;=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div> 
110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··········{·<span·class="keywordflow">return</span>·m_id·&lt;=·other.m_id;·}</div> 
111 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
112 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac96e223eb902cb5525f813b468d7a80d">···97</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#ac96e223eb902cb5525f813b468d7a80d">operator&gt;=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div> 
113 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··········{·<span·class="keywordflow">return</span>·m_id·&gt;=·other.m_id;·}</div> 
114 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
115 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01347.html#a74940ab01ab2825c9c42cb8e3cd32dd1">··101</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a74940ab01ab2825c9c42cb8e3cd32dd1">operator&lt;</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>························<span·class="comment">//[t51]</span></div> 
116 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··········{·<span·class="keywordflow">return</span>·m_id·&lt;·other.m_id;·}</div> 
117 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
118 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01347.html#a8527ff3223fd2c96a882f958433caed9">··105</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a8527ff3223fd2c96a882f958433caed9">operator&gt;</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>························<span·class="comment">//[t51]</span></div> 
119 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··········{·<span·class="keywordflow">return</span>·m_id·&gt;·other.m_id;·}</div> 
120 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
121 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
122 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keywordtype">void</span>·to_file(<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;File)·<span·class="keyword">const</span>;········<span·class="comment">//[t52]</span></div> 
123 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
124 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
125 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keywordtype">void</span>·remove(<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T)·<span·class="keyword">const</span>;··································<span·class="comment">//[t48]</span></div> 
126 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
127 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">protected</span>:</div> 
128 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··PQXX_PURE·<span·class="keyword">static</span>·internal::pq::PGconn·*raw_connection(</div> 
129 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T);</div> 
130 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> 
131 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>··PQXX_PRIVATE·std::string·reason(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;,·<span·class="keywordtype">int</span>·err)·<span·class="keyword">const</span>;</div> 
132 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
133 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span><span·class="keyword">private</span>:</div> 
134 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··oid·m_id·=·<a·class="code·hl_variable"·href="a00265.html#aea8d8e21558dad5b03ac2f73910c93e1">oid_none</a>;</div> 
135 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>};</div> 
136 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> 
137 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
138 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//·TODO:·New·hierarchy·with·separate·read·/·write·/·mixed-mode·access</span></div> 
139 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> 
140 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a01351.html">··137</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01351.html">largeobjectaccess</a>·:·<span·class="keyword">private</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a></div> 
141 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>{</div> 
142 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span><span·class="keyword">public</span>:</div> 
143 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">largeobject::size_type</a>;</div> 
144 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno"><a·class="line"·href="a01351.html#ac15a47b4dfd644ba5014ca712b5b650d">··141</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01351.html#ac15a47b4dfd644ba5014ca712b5b650d">off_type</a>·=·long;</div> 
145 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01351.html#a188585737986781a9f1a24aaa2614803">··142</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01351.html#a188585737986781a9f1a24aaa2614803">pos_type</a>·=·<a·class="code·hl_typedef"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>;</div> 
146 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> 
147 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
148 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="a01351.html#a6b09598014eca3c4c4b8a0c1495185d3">··149</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01351.html#a6b09598014eca3c4c4b8a0c1495185d3">openmode</a>·=·std::ios::openmode;</div> 
149 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
150 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
151 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno"><a·class="line"·href="a01351.html#a9230026566fa1f7c32d2abcc2a5571eb">··156</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01351.html#a9230026566fa1f7c32d2abcc2a5571eb">seekdir</a>·=·std::ios::seekdir;</div> 
152 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> 
153 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div> 
154 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01351.html">largeobjectaccess</a>(···········································<span·class="comment">//[t51]</span></div> 
155 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>········<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T,</div> 
156 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>········<a·class="code·hl_typedef"·href="a01351.html#a6b09598014eca3c4c4b8a0c1495185d3">openmode</a>·mode=std::ios::in|std::ios::out);</div> 
157 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
158 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div> 
159 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>··<a·class="code·hl_class"·href="a01351.html">largeobjectaccess</a>(····················································<span·class="comment">//[t52]</span></div> 
160 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>········<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T,</div> 
161 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>········oid·O,</div> 
162 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>········<a·class="code·hl_typedef"·href="a01351.html#a6b09598014eca3c4c4b8a0c1495185d3">openmode</a>·mode=std::ios::in|std::ios::out);</div> 
163 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>·</div> 
Max diff block lines reached; 864/104011 bytes (0.83%) of diff not shown.
20.1 KB
html2text {}
    
Offset 1, 691 lines modifiedOffset 1, 21 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 config-internal-autotools.h
 3 ·1/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/
2 largeobject.hxx 
3 ·1 
4 ·13#ifndef·PQXX_H_LARGEOBJECT 
5 ·14#define·PQXX_H_LARGEOBJECT 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·<streambuf> 
11 ·204 ·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·6.4.5"
 9 ·7#define·PACKAGE_TARNAME·"libpqxx"
 10 ·8#define·PACKAGE_VERSION·"6.4.5"
 11 ·9#define·VERSION·"6.4.5"
12 ·21#include·"pqxx/dbtransaction.hxx" 
13 ·22 
14 ·23 
15 ·24namespace·pqxx 
16 ·25{ 
17 ·27 
18 34class·PQXX_LIBEXPORT·largeobject 
19 ·35{ 
20 ·36public: 
21 37·using·size_type·=·large_object_size_type; 
22 ·38 
23 40·largeobject()·noexcept·=default;·//[t48] 
24 ·41 
25 ·43 
26 ·45·explicit·largeobject(dbtransaction·&T);·//[t48] 
27 ·46 
28 ·48 
29 52·explicit·largeobject(oid·O)·noexcept·:·m_id{O}·{}·//[t48] 
30 ·53 
31 ·55 
32 ·59·largeobject(dbtransaction·&T,·const·std::string·&File);·//[t53] 
33 ·60 
34 ·62 
35 ·66·largeobject(const·largeobjectaccess·&O)·noexcept;·//[t50] 
36 ·67 
37 ·69 
38 73·oid·id()·const·noexcept·{·return·m_id;·}·//[t48] 
39 ·74 
40 ·84 
41 85·bool·operator==(const·largeobject·&other)·const·//[t51] 
42 ·86·{·return·m_id·==·other.m_id;·} 
43 ·88 
44 89·bool·operator!=(const·largeobject·&other)·const·//[t51] 
45 ·90·{·return·m_id·!=·other.m_id;·} 
46 ·92 
47 93·bool·operator<=(const·largeobject·&other)·const·//[t51] 
48 ·94·{·return·m_id·<=·other.m_id;·} 
49 ·96 
50 97·bool·operator>=(const·largeobject·&other)·const·//[t51] 
51 ·98·{·return·m_id·>=·other.m_id;·} 
52 ·100 
53 101·bool·operator<(const·largeobject·&other)·const·//[t51] 
54 ·102·{·return·m_id·<·other.m_id;·} 
55 ·104 
56 105·bool·operator>(const·largeobject·&other)·const·//[t51] 
57 ·106·{·return·m_id·>·other.m_id;·} 
58 ·108 
59 ·110 
60 ·114·void·to_file(dbtransaction·&T,·const·std::string·&File)·const;·//[t52] 
61 ·115 
62 ·117 
63 ·121·void·remove(dbtransaction·&T)·const;·//[t48] 
64 ·122 
65 ·123protected: 
66 ·124·PQXX_PURE·static·internal::pq::PGconn·*raw_connection( 
67 ·125·const·dbtransaction·&T); 
68 ·126 
69 ·127·PQXX_PRIVATE·std::string·reason(const·connection_base·&,·int·err)·const; 
70 ·128 
71 ·129private: 
72 ·130·oid·m_id·=·oid_none; 
73 ·131}; 
74 ·132 
75 ·133 
76 ·134//·TODO:·New·hierarchy·with·separate·read·/·write·/·mixed-mode·access 
77 ·135 
78 137class·PQXX_LIBEXPORT·largeobjectaccess·:·private·largeobject 
79 ·138{ 
80 ·139public: 
81 ·140·using·largeobject::size_type; 
82 141·using·off_type·=·long; 
83 142·using·pos_type·=·size_type; 
84 ·143 
85 ·145 
86 149·using·openmode·=·std::ios::openmode; 
87 ·150 
88 ·152 
89 156·using·seekdir·=·std::ios::seekdir; 
90 ·157 
91 ·159 
92 ·163·explicit·largeobjectaccess(·//[t51] 
93 ·164·dbtransaction·&T, 
94 ·165·openmode·mode=std::ios::in|std::ios::out); 
95 ·166 
96 ·168 
97 ·174·largeobjectaccess(·//[t52] 
98 ·175·dbtransaction·&T, 
99 ·176·oid·O, 
100 ·177·openmode·mode=std::ios::in|std::ios::out); 
101 ·178 
102 ·180 
103 ·185·largeobjectaccess(·//[t50] 
104 ·186·dbtransaction·&T, 
105 ·187·largeobject·O, 
106 ·188·openmode·mode=std::ios::in|std::ios::out); 
107 ·189 
108 ·191 
109 ·196·largeobjectaccess(·//[t55] 
110 ·197·dbtransaction·&T, 
111 ·198·const·std::string·&File, 
112 ·199·openmode·mode=std::ios::in|std::ios::out); 
Max diff block lines reached; 106/20554 bytes (0.52%) of diff not shown.
46.1 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·connectionpolicy.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 55, 69 lines modifiedOffset 55, 229 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00107_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">connectionpolicy.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">stream_from.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTIONPOLICY</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_STREAM_FROM</span></div>
67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_CONNECTIONPOLICY</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_STREAM_FROM</span></div>
68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/transaction_base.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/stream_base.hxx&quot;</span></div>
74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/libpq-forward.hxx&quot;</span></div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/internal/type_utils.hxx&quot;</span></div>
75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 78 <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="a00265.html">pqxx</a></div>
 79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
79 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01475.html">···29</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01475.html">stream_from</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01471.html">stream_base</a></div>
80 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>
81 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01143.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div> 
82 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> 
83 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div>83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</span>:</div>
84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·=[·...·truncated·by·diffoscope;·len:·24,·SHA:·78c72a2464641da5c48b75da11e7f2854938fc79d53e06cc3e08ffed5175166c·...·]</div>84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div>
 85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">const</span>·std::string·&amp;table_name</div>
85 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··);</div>
86 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>(<span·class="keyword">const</span>·std::string·&amp;opts);</div>88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div>
87 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01143.html">~connectionpolicy</a>()·noexcept;</div>89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
88 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
89 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01143.html#a0952122ab61cee00148fc6976b6b9f85">···39</a></span>··const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;options()·const·noe[·...·truncated·by·diffoscope;·len:·60,·SHA:·d096a8be57922c214f5879e05f87c8957c08d5725d0e0546fa25d58f44e05b46·...·]</div>90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">const</span>·Columns&amp;·columns</div>
90 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··);</div>
 93 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iter&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>(</div>
 94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
91 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">virtual</span>·handle·do_startconnect(handle·orig);</div>95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····Iter·columns_begin,</div>
 97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····Iter·columns_end</div>
92 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">virtual</span>·handle·do_completeconnect(handle·orig);</div> 
93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·handle·do_dropconnect(handle·orig)·<span·class="keyword">noexcept</span>;</div> 
94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">virtual</span>·handle·do_disconnect(handle·orig)·<span·class="keyword">noexcept</span>;</div> 
95 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·is_ready(handle)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div> 
96 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··);</div>
97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">protected</span>:</div> 
98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··handle·normalconnect(handle);</div>99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<a·class="code·hl_class"·href="a01475.html">~stream_from</a>()·<span·class="keyword">noexcept</span>;</div>
99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</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="keywordtype">bool</span>·get_raw_line(std::string·&amp;);</div>
 105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple&gt;·<a·class="code·hl_class"·href="a01475.html">stream_from</a>·&amp;·operator&gt;&gt;(Tuple·&amp;);</div>
 106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">private</span>:</div>107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">private</span>:</div>
 108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··internal::encoding_group·m_copy_encoding;</div>
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::string·m_options;</div>109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··std::string·m_current_line;</div>
102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>};</div>110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">bool</span>·m_retry_line;</div>
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">void</span>·set_up(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;table_name);</div>
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace</span></div>113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordtype">void</span>·set_up(</div>
 114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
 116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·std::string·&amp;columns</div>
 117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··);</div>
105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">void</span>·close()·<span·class="keyword">override</span>;</div>
107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">bool</span>·extract_field(</div>
 122 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">const</span>·std::string·&amp;,</div>
 123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::string::size_type·&amp;,</div>
 124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····std::string·&amp;</div>
 125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··)·<span·class="keyword">const</span>;</div>
 126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 127 <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>·Tuple,·std::<span·class="keywordtype">size_t</span>·I&gt;·<span·class="keyword">auto</span>·tokenize_ith(</div>
 128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">const</span>·std::string·&amp;,</div>
 129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····Tuple·&amp;,</div>
 130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····std::string::size_type,</div>
 131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····std::string·&amp;</div>
 132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··)·<span·class="keyword">const</span>·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;(</div>
 133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····std::tuple_size&lt;Tuple&gt;::value·&gt;·I</div>
 134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··)&gt;::type;</div>
 135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Tuple,·std::<span·class="keywordtype">size_t</span>·I&gt;·<span·class="keyword">auto</span>·tokenize_ith(</div>
 136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">const</span>·std::string·&amp;,</div>
 137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····Tuple·&amp;,</div>
 138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::string::size_type,</div>
 139 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::string·&amp;</div>
 140 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··)·<span·class="keyword">const</span>·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;(</div>
 141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····std::tuple_size&lt;Tuple&gt;::value·&lt;=·I</div>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··)&gt;::type;</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>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<span·class="keywordtype">void</span>·extract_value(</div>
 145 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">const</span>·std::string·&amp;line,</div>
 146 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····T&amp;·t,</div>
 147 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····std::string::size_type·&amp;here,</div>
 148 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::string·&amp;workspace</div>
 149 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··)·<span·class="keyword">const</span>;</div>
 150 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>};</div>
 151 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 152 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 153 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01475.html#aaf2570c62b2cdd159bd34efa67cbe1f9">··101</a></span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Columns&gt;·<a·class="code·hl_function"·href="a01475.html#a6b147c73ce4949e15cfd08f0e1cb71db">stream_from::stream_from</a>(</div>
 154 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;tb,</div>
 155 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">const</span>·std::string·&amp;table_name,</div>
Max diff block lines reached; 3932/39791 bytes (9.88%) of diff not shown.
7.12 KB
html2text {}
    
Offset 1, 66 lines modifiedOffset 1, 238 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 connectionpolicy.hxx2 stream_from.hxx
3 ·13 ·1
4 ·12#ifndef·PQXX_H_CONNECTIONPOLICY 
5 ·13#define·PQXX_H_CONNECTIONPOLICY 
6 ·144 ·13#ifndef·PQXX_H_STREAM_FROM
 5 ·14#define·PQXX_H_STREAM_FROM
 6 ·15
7 ·15#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·16#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18#include·"pqxx/transaction_base.hxx"
 10 ·19#include·"pqxx/stream_base.hxx"
9 ·17 
10 ·18#include·<string> 
11 ·19 
12 ·20#include·"pqxx/internal/libpq-forward.hxx"11 ·20#include·"pqxx/internal/type_utils.hxx"
13 ·2112 ·21
14 ·2213 ·22#include·<string>
 14 ·23
 15 ·24
15 ·23namespace·pqxx16 ·25namespace·pqxx
16 ·24{17 ·26{
17 ·2518 ·27
 19 29class·PQXX_LIBEXPORT·stream_from·:·public·stream_base
18 ·3020 ·30{
19 31class·PQXX_LIBEXPORT·connectionpolicy 
20 ·32{ 
21 ·33public:21 ·31public:
22 34·using·handle·=·internal::pq::PGconn·*; 
23 ·35 
24 ·36·explicit·connectionpolicy(const·std::string·&opts); 
25 ·37·virtual·~connectionpolicy()·noexcept; 
26 ·38 
27 39·const·std::string·&options()·const·noexcept·{·return·m_options;·} 
28 ·40 
29 ·41·virtual·handle·do_startconnect(handle·orig); 
30 ·42·virtual·handle·do_completeconnect(handle·orig); 
31 ·43·virtual·handle·do_dropconnect(handle·orig)·noexcept; 
32 ·44·virtual·handle·do_disconnect(handle·orig)·noexcept; 
33 ·45·virtual·bool·is_ready(handle)·const·noexcept; 
34 ·46 
35 ·47protected: 
36 ·48·handle·normalconnect(handle);22 ·32·stream_from(
 23 ·33·transaction_base·&,
 24 ·34·const·std::string·&table_name
 25 ·35·);
 26 ·36·template<typename·Columns>·stream_from(
 27 ·37·transaction_base·&,
 28 ·38·const·std::string·&table_name,
 29 ·39·const·Columns&·columns
 30 ·40·);
 31 ·41·template<typename·Iter>·stream_from(
 32 ·42·transaction_base·&,
 33 ·43·const·std::string·&table_name,
 34 ·44·Iter·columns_begin,
 35 ·45·Iter·columns_end
 36 ·46·);
 37 ·47
 38 ·48·~stream_from()·noexcept;
37 ·4939 ·49
 40 ·50·void·complete()·override;
 41 ·51
 42 ·52·bool·get_raw_line(std::string·&);
 43 ·53·template<typename·Tuple>·stream_from·&·operator>>(Tuple·&);
 44 ·54
38 ·50private:45 ·55private:
39 ·51·std::string·m_options; 
40 ·52}; 
41 ·5346 ·56·internal::encoding_group·m_copy_encoding;
 47 ·57·std::string·m_current_line;
 48 ·58·bool·m_retry_line;
 49 ·59
 50 ·60·void·set_up(transaction_base·&,·const·std::string·&table_name);
 51 ·61·void·set_up(
 52 ·62·transaction_base·&,
 53 ·63·const·std::string·&table_name,
 54 ·64·const·std::string·&columns
 55 ·65·);
 56 ·66
 57 ·67·void·close()·override;
 58 ·68
 59 ·69·bool·extract_field(
 60 ·70·const·std::string·&,
 61 ·71·std::string::size_type·&,
 62 ·72·std::string·&
 63 ·73·)·const;
 64 ·74
 65 ·75·template<typename·Tuple,·std::size_t·I>·auto·tokenize_ith(
 66 ·76·const·std::string·&,
 67 ·77·Tuple·&,
 68 ·78·std::string::size_type,
 69 ·79·std::string·&
 70 ·80·)·const·->·typename·std::enable_if<(
 71 ·81·std::tuple_size<Tuple>::value·>·I
 72 ·82·)>::type;
 73 ·83·template<typename·Tuple,·std::size_t·I>·auto·tokenize_ith(
 74 ·84·const·std::string·&,
 75 ·85·Tuple·&,
 76 ·86·std::string::size_type,
 77 ·87·std::string·&
 78 ·88·)·const·->·typename·std::enable_if<(
 79 ·89·std::tuple_size<Tuple>::value·<=·I
 80 ·90·)>::type;
 81 ·91
 82 ·92·template<typename·T>·void·extract_value(
 83 ·93·const·std::string·&line,
 84 ·94·T&·t,
 85 ·95·std::string::size_type·&here,
 86 ·96·std::string·&workspace
 87 ·97·)·const;
 88 ·98};
 89 ·99
 90 ·100
 91 101template<typename·Columns>·stream_from::stream_from(
 92 ·102·transaction_base·&tb,
 93 ·103·const·std::string·&table_name,
 94 ·104·const·Columns&·columns
 95 ·105)·:·stream_from{
 96 ·106·tb,
 97 ·107·table_name,
 98 ·108·std::begin(columns),
Max diff block lines reached; 1206/7268 bytes (16.59%) of diff not shown.
33.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-internal-pre.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 55, 138 lines modifiedOffset 55, 43 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00110_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">prepared_statement.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">compiler-internal-pre.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
 66 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!</span></div>
66 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PREPARED_STATEMENT</span></div> 
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_PREPARED_STATEMENT</span></div> 
68 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
69 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div> 
70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div> 
71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>67 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
72 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>68 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·_WIN32</span></div>
73 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/internal/statement_parameters.hxx&quot;</span></div>69 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>
74 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>70 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 71 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·Save·client·program·warning·state,·and·set·warning·level·4.</span></div>
 72 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Setting·the·warning·level·explicitly·ensures·that·libpqxx</span></div>
 73 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·headers·will·work·with·this·warning·level·as·well.</span></div>
 74 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#pragma·warning·(push,4)</span></div>
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#pragma·warning·(disable:·4251)</span></div>
 77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#pragma·warning·(disable:·4273)</span></div>
 78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#pragma·warning·(disable:·4275)</span></div>
 79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#pragma·warning·(disable:·4355)</span></div>
 80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#pragma·warning·(disable:·4511)·</span><span·class="comment">//·Copy·constructor·could·not·be·generated.</span></div>
 81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#pragma·warning·(disable:·4512)·</span><span·class="comment">//·Assignment·operator·could·not·be·generated.</span></div>
 82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#pragma·warning·(disable:·4996)·</span><span·class="comment">//·Deprecation·warning,·e.g.·about·strncpy().</span></div>
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#endif·</span><span·class="comment">//·_MSC_VER</span></div>
 85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif·</span><span·class="comment">//·_WIN32</span></div>
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> 
79 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00268.html">···25</a></span><span·class="keyword">namespace·</span>prepare</div> 
80 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
82 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·IT&gt;·<span·class="keyword">inline</span>·pqxx::internal::dynamic_params&lt;IT&gt;</div> 
83 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">···44</a></span><a·class="code·hl_function"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">make_dynamic_params</a>(IT·begin,·IT·end)</div> 
84 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> 
85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;IT&gt;(begin,·end);</div> 
86 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}</div> 
87 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
88 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
89 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
90 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div> 
91 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">inline</span>·pqxx::internal::dynamic_params&lt;typename·C::const_iterator&gt;</div> 
92 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00268.html#ac1276e7da951c1930dd8f9d6f4b28935">···67</a></span><a·class="code·hl_function"·href="a00268.html#a850fa56db4395d4fb8e8b0cb1b1f60a4">make_dynamic_params</a>(<span·class="keyword">const</span>·C·&amp;container)</div> 
93 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div> 
94 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">return</span>·pqxx::internal::dynamic_params&lt;typename·C::const_iterator&gt;(container);</div> 
95 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div> 
96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}·<span·class="comment">//·namespace·prepare</span></div> 
97 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{</div> 
101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">namespace·</span>prepare</div> 
102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div> 
103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
104 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01387.html">···81</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01387.html">invocation</a>·:·internal::statement_parameters</div> 
105 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div> 
106 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">public</span>:</div> 
107 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01387.html">invocation</a>(<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,·<span·class="keyword">const</span>·std::string·&amp;statement);</div> 
108 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01387.html#a686c3838df89a22f5df2fc32a0c785f0">···85</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a686c3838df89a22f5df2fc32a0c785f0">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;)·=<span·class="keyword">delete</span>;</div> 
109 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="a01395.html">result</a>·exec()·<span·class="keyword">const</span>;</div> 
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
112 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordtype">bool</span>·exists()·<span·class="keyword">const</span>;</div> 
113 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
114 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01387.html#aedc82caeb739bf203fc19d1cf72c7a4a">···94</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#aedc82caeb739bf203fc19d1cf72c7a4a">operator()</a>()·{·add_param();·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
115 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
117 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01387.html#af9c96f42850faddcde574ecfbc6e7c64">··100</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#af9c96f42850faddcde574ecfbc6e7c64">operator()</a>(<span·class="keyword">const</span>·T·&amp;v)</div> 
118 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>········{·add_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
119 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
121 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01387.html#a2570d166ec9ed43fea205894f8e2da64">··107</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a2570d166ec9ed43fea205894f8e2da64">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v)</div> 
122 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>········{·add_binary_param(v,·<span·class="keyword">true</span>);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
123 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
124 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
125 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01387.html#af8b9072bc7cddfdcbded763d55d5b08a">··115</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#af8b9072bc7cddfdcbded763d55d5b08a">operator()</a>(<span·class="keyword">const</span>·T·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div> 
126 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
127 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
128 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
129 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01387.html#a19ba6f22872b6802d71db21772f44e71">··123</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a19ba6f22872b6802d71db21772f44e71">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01111.html">binarystring</a>·&amp;v,·<span·class="keywordtype">bool</span>·nonnull)</div> 
130 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········{·add_binary_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
131 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
132 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
133 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a01387.html#a3ee874ddf0ea0bd5dafeed1d337591e6">··134</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;·<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a3ee874ddf0ea0bd5dafeed1d337591e6">operator()</a>(T·*v,·<span·class="keywordtype">bool</span>·nonnull=<span·class="keyword">true</span>)</div> 
134 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
135 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
136 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> 
137 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01387.html#a91682f4e937af086411d8adfbadfa87c">··142</a></span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;<a·class="code·hl_function"·href="a01387.html#a91682f4e937af086411d8adfbadfa87c">operator()</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*v,·<span·class="keywordtype">bool</span>·nonnull=<span·class="keyword">true</span>)</div> 
138 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>········{·add_param(v,·nonnull);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
139 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> 
140 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="keyword">private</span>:</div> 
141 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;m_home;</div> 
142 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keyword">const</span>·std::string·m_statement;</div> 
143 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> 
144 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<a·class="code·hl_class"·href="a01387.html">invocation</a>·&amp;setparam(<span·class="keyword">const</span>·std::string·&amp;,·<span·class="keywordtype">bool</span>·nonnull);</div> 
145 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>};</div> 
146 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> 
147 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
148 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a00269.html">··153</a></span><span·class="keyword">namespace·</span>internal</div> 
149 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>{</div> 
150 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno"><a·class="line"·href="a01391.html">··156</a></span><span·class="keyword">struct·</span>PQXX_LIBEXPORT·<a·class="code·hl_struct"·href="a01391.html">prepared_def</a></div> 
151 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>{</div> 
Max diff block lines reached; 869/28483 bytes (3.05%) of diff not shown.
5.85 KB
html2text {}
    
Offset 1, 172 lines modifiedOffset 1, 36 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 prepared_statement.hxx2 compiler-internal-pre.hxx
3 ·13 ·1
 4 ·15//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!
4 ·11#ifndef·PQXX_H_PREPARED_STATEMENT 
5 ·12#define·PQXX_H_PREPARED_STATEMENT 
6 ·13 
7 ·14#include·"pqxx/compiler-public.hxx" 
8 ·15#include·"pqxx/compiler-internal-pre.hxx" 
9 ·165 ·16
10 ·17#include·"pqxx/types.hxx" 
11 ·18#include·"pqxx/internal/statement_parameters.hxx"6 ·17#ifdef·_WIN32
 7 ·18#ifdef·_MSC_VER
12 ·198 ·19
 9 ·20//·Save·client·program·warning·state,·and·set·warning·level·4.
 10 ·21//·Setting·the·warning·level·explicitly·ensures·that·libpqxx
 11 ·22//·headers·will·work·with·this·warning·level·as·well.
 12 ·23#pragma·warning·(push,4)
 13 ·24
 14 ·25#pragma·warning·(disable:·4251)
 15 ·26#pragma·warning·(disable:·4273)
 16 ·27#pragma·warning·(disable:·4275)
 17 ·28#pragma·warning·(disable:·4355)
 18 ·29#pragma·warning·(disable:·4511)·//·Copy·constructor·could·not·be·generated.
 19 ·30#pragma·warning·(disable:·4512)·//·Assignment·operator·could·not·be
 20 generated.
 21 ·31#pragma·warning·(disable:·4996)·//·Deprecation·warning,·e.g.·about·strncpy
 22 ().
 23 ·32
 24 ·33#endif·//·_MSC_VER
 25 ·34#endif·//·_WIN32
 26 ·35
13 ·20 
14 ·21 
15 ·22namespace·pqxx 
16 ·23{ 
17 25namespace·prepare 
18 ·26{ 
19 ·28 
20 ·43template<typename·IT>·inline·pqxx::internal::dynamic_params<IT> 
21 44make_dynamic_params(IT·begin,·IT·end) 
22 ·45{ 
23 ·46·return·pqxx::internal::dynamic_params<IT>(begin,·end); 
24 ·47} 
25 ·48 
26 ·49 
27 ·51 
28 ·65template<typename·C> 
29 ·66inline·pqxx::internal::dynamic_params<typename·C::const_iterator> 
30 67make_dynamic_params(const·C·&container) 
31 ·68{ 
32 ·69·return·pqxx::internal::dynamic_params<typename·C::const_iterator> 
33 (container); 
34 ·70} 
35 ·71}·//·namespace·prepare 
36 ·72}·//·namespace·pqxx 
37 ·73 
38 ·74namespace·pqxx 
39 ·75{ 
40 ·76namespace·prepare 
41 ·77{ 
42 ·79 
43 81class·PQXX_LIBEXPORT·invocation·:·internal::statement_parameters 
44 ·82{ 
45 ·83public: 
46 ·84·PQXX_DEPRECATED·invocation(transaction_base·&,·const·std::string 
47 &statement); 
48 85·invocation·&operator=(const·invocation·&)·=delete; 
49 ·86 
50 ·88·result·exec()·const; 
51 ·89 
52 ·91·bool·exists()·const; 
53 ·92 
54 94·invocation·&operator()()·{·add_param();·return·*this;·} 
55 ·95 
56 ·97 
57 100·template<typename·T>·invocation·&operator()(const·T·&v) 
58 ·101·{·add_param(v,·true);·return·*this;·} 
59 ·102 
60 ·104 
61 107·invocation·&operator()(const·binarystring·&v) 
62 ·108·{·add_binary_param(v,·true);·return·*this;·} 
63 ·109 
64 ·111 
65 115·template<typename·T>·invocation·&operator()(const·T·&v,·bool·nonnull) 
66 ·116·{·add_param(v,·nonnull);·return·*this;·} 
67 ·117 
68 ·119 
69 123·invocation·&operator()(const·binarystring·&v,·bool·nonnull) 
70 ·124·{·add_binary_param(v,·nonnull);·return·*this;·} 
71 ·125 
72 ·127 
73 134·template<typename·T>·invocation·&operator()(T·*v,·bool·nonnull=true) 
74 ·135·{·add_param(v,·nonnull);·return·*this;·} 
75 ·136 
76 ·138 
77 142·invocation·&operator()(const·char·*v,·bool·nonnull=true) 
78 ·143·{·add_param(v,·nonnull);·return·*this;·} 
79 ·144 
80 ·145private: 
81 ·146·transaction_base·&m_home; 
82 ·147·const·std::string·m_statement; 
83 ·148 
84 ·149·invocation·&setparam(const·std::string·&,·bool·nonnull); 
85 ·150}; 
86 ·151 
87 ·152 
88 153namespace·internal 
89 ·154{ 
90 156struct·PQXX_LIBEXPORT·prepared_def 
91 ·157{ 
92 159·std::string·definition; 
93 161·bool·registered·=·false; 
94 ·162 
95 163·prepared_def()·=default; 
96 ·164·explicit·prepared_def(const·std::string·&); 
97 ·165}; 
98 ·166 
99 ·167}·//·namespace·pqxx::prepare::internal 
100 ·168}·//·namespace·pqxx::prepare 
101 ·169}·//·namespace·pqxx 
Max diff block lines reached; 111/5967 bytes (1.86%) of diff not shown.
141 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·tablereader.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 55, 134 lines modifiedOffset 55, 537 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00113_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">tablereader.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">largeobject.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLEREADER</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_LARGEOBJECT</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLEREADER</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_LARGEOBJECT</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/tablestream.hxx&quot;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;streambuf&gt;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
75 <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="a00265.html">pqxx</a></div> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 77 <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="a00265.html">pqxx</a></div>
77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
 79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
78 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01491.html">···29</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01491.html">tablereader</a>·:·<span·class="keyword">public</span>·<a·class="code[·...·truncated·by·diffoscope;·len:·41,·SHA:·fd9be6d14aa30a76804ab4d21e0236280dfe7b402a64ae9f0ea52766f4723f1f·...·]</a></div>80 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01347.html">···34</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01347.html">largeobject</a></div>
79 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>81 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>
80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</span>:</div>82 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div>
 83 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01347.html#a72fd2f2fffcdb481d3ba5608b3db10cd">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">large_object_size_type</a>;</div>
81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div> 
82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div> 
85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div> 
86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div> 
87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········ITER·begincolumns,</div>84 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 85 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01347.html#a9450db026a6206b00fdd95054360e224">···40</a></span>··<a·class="code·hl_function"·href="a01347.html#a9450db026a6206b00fdd95054360e224">largeobject</a>()·noexcept·=default;······································<span·class="comment">//[t48]</span></div>
90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········ITER·endcolumns);</div>86 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 88 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··explicit·<a·class="code·hl_class"·href="a01347.html">largeobject</a>(<a·class="code·hl_class"·href="a01163.html">dbtransaction</a>·&amp;T);·······························<span·class="comment">//[t48]</span></div>
91 <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&gt;</div> 
92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div> 
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········ITER·begincolumns,</div>89 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········ITER·endcolumns,</div>90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 91 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac537d04e8a762735c49f938ee9f9c565">···52</a></span>··explicit·<a·class="code·hl_class"·href="a01347.html">largeobject</a>(oid·O)·noexcept·:·m_id{O}·{}·····················<span·class="comment">//[t48]</span></div>
97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········<span·class="keyword">const</span>·std::string·&amp;Null);</div> 
98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_class"·href="a01491.html">~tablereader</a>()·<span·class="keyword">noexcept</span>;</div> 
99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<a·class="code·hl_class"·href="a01491.html">tablereader</a>·&amp;operator&gt;&gt;(TUPLE·&amp;);</div> 
100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01491.html#a28a0a3b21f3a30f91ecd74b2dd81c102">···51</a></span>··<span·class="keyword">operator</span>·bool()·const·noexcept·{·<span·class="keywordflow">return</span>·not·m_done;·}</div> 
101 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01491.html#ac8594f26eb0e291a28bf555248e13f37">···52</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01491.html#ac8594f26eb0e291a28bf555248e13f37">operator!</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_done;·}</div> 
102 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keywordtype">bool</span>·get_raw_line(std::string·&amp;Line);</div> 
103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;</div> 
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordtype">void</span>·tokenize(std::string,·TUPLE·&amp;)·<span·class="keyword">const</span>;</div> 
105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div> 
106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">private</span>:</div> 
107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">void</span>·set_up(</div> 
108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div> 
109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">const</span>·std::string·&amp;RName,</div> 
110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keyword">const</span>·std::string·&amp;Columns=std::string{});</div> 
111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·reader_close();</div> 
112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··std::string·extract_field(</div>92 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keyword">const</span>·std::string·&amp;,</div> 
114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········std::string::size_type·&amp;)·<span·class="keyword">const</span>;</div>93 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 94 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··largeobject(dbtransaction·&amp;T,·<span·class="keyword">const</span>·std::string·&amp;File);···············<span·class="comment">//[t53]</span></div>
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_done;</div>95 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 97 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··largeobject(<span·class="keyword">const</span>·largeobjectaccess·&amp;O)·<span·class="keyword">noexcept</span>;·····················<span·class="comment">//[t50]</span></div>
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>};</div>98 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>99 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 100 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01347.html#af210c3d0b39442a5ce9b3b1508d96c84">···73</a></span>··oid·<a·class="code·hl_function"·href="a01347.html#af210c3d0b39442a5ce9b3b1508d96c84">id</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_id;·}······························<span·class="comment">//[t48]</span></div>
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span></div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01491.html#a07a03ef6630e8e5e0e8103b9b9bce6d5">···71</a></span><a·class="code·hl_function"·href="a01491.html#a26223c68b6f8e135f170242e8b73fc8d">tablereader::tablereader</a>(</div> 
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div> 
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········ITER·begincolumns,</div> 
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········ITER·endcolumns)·:</div> 
125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··namedclass{Name,·<span·class="stringliteral">&quot;tablereader&quot;</span>},</div> 
126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>{T,·<a·class="code·hl_namespace"·href="a00264.html">std</a>::string{}},</div> 
127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··m_done{true}</div> 
128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div>101 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··set_up(T,·Name,·<a·class="code·hl_function"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">columnlist</a>(begincolumns,·endcolumns));</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>102 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 103 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01347.html#a77820fc5303c51a58286ece11cfc67fb">···85</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a77820fc5303c51a58286ece11cfc67fb">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div>
 104 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··········{·<span·class="keywordflow">return</span>·m_id·==·other.m_id;·}</div>
132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 106 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac63c4743c49b2181fa1121c3945fa610">···89</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#ac63c4743c49b2181fa1121c3945fa610">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></div>
133 <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>·ITER&gt;·<span·class="keyword">inline</span></div> 
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01491.html#ad233a53fdc5622adf57f353794a3c62f">···85</a></span><a·class="code·hl_function"·href="a01491.html#a26223c68b6f8e135f170242e8b73fc8d">tablereader::tablereader</a>(</div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div> 
136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div> 
137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········ITER·begincolumns,</div> 
138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········ITER·endcolumns,</div> 
139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="keyword">const</span>·std::string·&amp;Null)·:</div>107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········{·<span·class="keywordflow">return</span>·m_id·!=·other.m_id;·}</div>
140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··namedclass{Name,·<span·class="stringliteral">&quot;tablereader&quot;</span>},</div> 
141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<a·class="code·hl_class"·href="a01495.html">tablestream</a>{T,·Null},</div> 
142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··m_done{true}</div> 
143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>{</div>108 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··set_up(T,·Name,·<a·class="code·hl_function"·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">columnlist</a>(begincolumns,·endcolumns));</div>109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01347.html#a919ab90edaad2bc6c26f4b035ad30e1c">···93</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#a919ab90edaad2bc6c26f4b035ad30e1c">operator[·...·truncated·by·diffoscope;·len:·210,·SHA:·c72b243c954f827ff65054a73cde5838f77eadc7cde2266dda5f8e90d5a9b66b·...·]</div>
 110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··········{·<span·class="keywordflow">return</span>·m_id·&lt;=·other.m_id;·}</div>
145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}</div>111 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 112 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01347.html#ac96e223eb902cb5525f813b468d7a80d">···97</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01347.html#ac96e223eb902cb5525f813b468d7a80d">operator&gt;=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01347.html">largeobject</a>·&amp;other)·<span·class="keyword">const</span>·······················<span·class="comment">//[t51]</span></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>·</div> 
148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;</div> 
Max diff block lines reached; 26249/120448 bytes (21.79%) of diff not shown.
23.2 KB
html2text {}
    
Offset 1, 144 lines modifiedOffset 1, 691 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablereader.hxx2 largeobject.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_TABLEREADER 
5 ·14#define·PQXX_H_TABLEREADER4 ·13#ifndef·PQXX_H_LARGEOBJECT
 5 ·14#define·PQXX_H_LARGEOBJECT
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·18#include·"pqxx/result.hxx" 
10 ·19#include·"pqxx/tablestream.hxx"9 ·18
 10 ·19#include·<streambuf>
11 ·2011 ·20
12 ·2112 ·21#include·"pqxx/dbtransaction.hxx"
 13 ·22
 14 ·23
13 ·22namespace·pqxx15 ·24namespace·pqxx
14 ·23{ 
15 ·2516 ·25{
16 29class·PQXX_LIBEXPORT·tablereader·:·public·tablestream17 ·27
 18 34class·PQXX_LIBEXPORT·largeobject
17 ·30{19 ·35{
18 ·31public:20 ·36public:
 21 37·using·size_type·=·large_object_size_type;
 22 ·38
 23 40·largeobject()·noexcept·=default;·//[t48]
 24 ·41
 25 ·43
 26 ·45·explicit·largeobject(dbtransaction·&T);·//[t48]
 27 ·46
 28 ·48
 29 52·explicit·largeobject(oid·O)·noexcept·:·m_id{O}·{}·//[t48]
 30 ·53
 31 ·55
 32 ·59·largeobject(dbtransaction·&T,·const·std::string·&File);·//[t53]
 33 ·60
 34 ·62
 35 ·66·largeobject(const·largeobjectaccess·&O)·noexcept;·//[t50]
19 ·32·PQXX_DEPRECATED·tablereader( 
20 ·33·transaction_base·&, 
21 ·34·const·std::string·&Name, 
22 ·35·const·std::string·&Null=std::string{}); 
23 ·36·template<typename·ITER> 
24 ·37·PQXX_DEPRECATED·tablereader( 
25 ·38·transaction_base·&, 
26 ·39·const·std::string·&Name, 
27 ·40·ITER·begincolumns, 
28 ·41·ITER·endcolumns); 
29 ·42·template<typename·ITER> 
30 ·43·PQXX_DEPRECATED·tablereader( 
31 ·44·transaction_base·&, 
32 ·45·const·std::string·&Name, 
33 ·46·ITER·begincolumns, 
34 ·47·ITER·endcolumns, 
35 ·48·const·std::string·&Null); 
36 ·49·~tablereader()·noexcept; 
37 ·50·template<typename·TUPLE>·tablereader·&operator>>(TUPLE·&); 
38 51·operator·bool()·const·noexcept·{·return·not·m_done;·} 
39 52·bool·operator!()·const·noexcept·{·return·m_done;·} 
40 ·53·bool·get_raw_line(std::string·&Line); 
41 ·54·template<typename·TUPLE> 
42 ·55·void·tokenize(std::string,·TUPLE·&)·const; 
43 ·56·virtual·void·complete()·override; 
44 ·57private: 
45 ·58·void·set_up( 
46 ·59·transaction_base·&T, 
47 ·60·const·std::string·&RName, 
48 ·61·const·std::string·&Columns=std::string{}); 
49 ·62·PQXX_PRIVATE·void·reader_close(); 
50 ·63·std::string·extract_field( 
51 ·64·const·std::string·&, 
52 ·65·std::string::size_type·&)·const; 
53 ·66·bool·m_done; 
54 ·67};36 ·67
55 ·68 
56 ·6937 ·69
 38 73·oid·id()·const·noexcept·{·return·m_id;·}·//[t48]
 39 ·74
 40 ·84
 41 85·bool·operator==(const·largeobject·&other)·const·//[t51]
 42 ·86·{·return·m_id·==·other.m_id;·}
 43 ·88
 44 89·bool·operator!=(const·largeobject·&other)·const·//[t51]
 45 ·90·{·return·m_id·!=·other.m_id;·}
 46 ·92
 47 93·bool·operator<=(const·largeobject·&other)·const·//[t51]
 48 ·94·{·return·m_id·<=·other.m_id;·}
57 ·70template<typename·ITER>·inline 
58 71tablereader::tablereader( 
59 ·72·transaction_base·&T, 
60 ·73·const·std::string·&Name, 
61 ·74·ITER·begincolumns, 
62 ·75·ITER·endcolumns)·: 
63 ·76·namedclass{Name,·"tablereader"}, 
64 ·77·tablestream{T,·std::string{}}, 
65 ·78·m_done{true} 
66 ·79{ 
67 ·80·set_up(T,·Name,·columnlist(begincolumns,·endcolumns)); 
68 ·81} 
69 ·82 
70 ·83 
71 ·84template<typename·ITER>·inline 
72 85tablereader::tablereader( 
73 ·86·transaction_base·&T, 
74 ·87·const·std::string·&Name, 
75 ·88·ITER·begincolumns, 
76 ·89·ITER·endcolumns, 
77 ·90·const·std::string·&Null)·: 
78 ·91·namedclass{Name,·"tablereader"}, 
79 ·92·tablestream{T,·Null}, 
80 ·93·m_done{true} 
81 ·94{ 
82 ·95·set_up(T,·Name,·columnlist(begincolumns,·endcolumns)); 
83 ·96}49 ·96
 50 97·bool·operator>=(const·largeobject·&other)·const·//[t51]
 51 ·98·{·return·m_id·>=·other.m_id;·}
84 ·97 
85 ·98 
86 ·99template<typename·TUPLE> 
87 100inline·void·tablereader::tokenize(std::string·Line,·TUPLE·&T)·const 
88 ·101{ 
Max diff block lines reached; 9347/23770 bytes (39.32%) of diff not shown.
120 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·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 55, 500 lines modifiedOffset 55, 73 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00116_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">except.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">isolation.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_EXCEPT</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ISOLATION</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_EXCEPT</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ISOLATION</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>74 <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="a00265.html">pqxx</a></div>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
77 <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="a00265.html">pqxx</a></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 78 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">···56</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a></div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
80 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
81 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01175.html">···55</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·PQXX_NOVTABLE·<a·class="code·hl_class"·href="a01175.html">pqxx_exception</a></div> 
82 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>79 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>
83 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>80 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·read_uncommitted,</span></div>
84 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01175.html">~pqxx_exception</a>()·<span·class="keyword">noexcept</span>·=0;</div>81 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">···59</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div>
 82 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">···60</a></span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">repeatable_read</a>,</div>
 83 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">serializable</a></div>
 84 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">···62</a></span>};</div>
85 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>85 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 86 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01343.html">···65</a></span><span·class="keyword">template</span>&lt;isolation_level·LEVEL&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01343.html">isolation_traits</a></div>
86 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div>
87 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01175.html#a014f7d99d0a32d7cb72121f15421f931">···84</a></span>··PQXX_CONST·<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::exception·&amp;<a·class="code·hl_funct[·...·truncated·by·diffoscope;·len:·127,·SHA:·7fff1ead49b4bea02d31867c83e81cec87f1342a60998762b804e77f66127b6d·...·]</div>88 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01343.html#aa41ee1cc3225f7dcee1b2d8562b121d7">···67</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_enumeration"·href="a00265.html#a8[·...·truncated·by·diffoscope;·len:·205,·SHA:·dd0e3d7583180d6f27d30ec304b8accc723be17033803c1f6d7ab77d0fcc2674·...·]</div>
 89 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">name</a>()·noexcept;</div>
 90 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>};</div>
 91 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 92 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 93 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>template&lt;&gt;</div>
 94 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01343.html#a1de2d356e26d418866893adcb2095ada">···73</a></span>inline·constexpr·const·<span·class="keywordtype">char</span>·*<a·class="code·hl_struct"·href="a01343.html">isolation_traits</a>&lt;<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>&gt;::<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">name</a>()·noexcept</div>
 95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;READ·COMMITTED&quot;</span>;·}</div>
 96 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 97 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span>&lt;&gt;</div>
 98 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01343.html#a447364667bcd204bc6b117c39c9ecda1">···77</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">isolation_traits&lt;repeatable_read&gt;::name</a>()·noexcept</div>
 99 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;REPEATABLE·READ&quot;</span>;·}</div>
 100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 101 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span>&lt;&gt;</div>
 102 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01343.html#a601549937d2de3b0ddd14bc992bd474c">···81</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">isolation_traits&lt;serializable&gt;::name</a>()·noexcept</div>
 103 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{·<span·class="keywordflow">return</span>·<span·class="stringliteral">&quot;SERIALIZABLE&quot;</span>;·}</div>
 104 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 105 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}</div>
88 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>106 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
91 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01179.html">···89</a></span>class·PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01179.html">failure</a>·:</div> 
92 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··public·<a·class="code·hl_class"·href="a01175.html">pqxx_exception</a>,·public·<a·class="code·hl_namespace"·href="a00264.html">std</a>::runtime_error</div> 
93 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div> 
94 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::exception·&amp;base()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span></div> 
95 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
96 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">public</span>:</div> 
97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01179.html">failure</a>(<span·class="keyword">const</span>·std::string·&amp;);</div> 
98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div> 
99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
101 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
102 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01183.html">··118</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01183.html">broken_connection</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div> 
103 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>{</div> 
104 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">public</span>:</div> 
105 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<a·class="code·hl_class"·href="a01183.html">broken_connection</a>();</div> 
106 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01183.html">broken_connection</a>(<span·class="keyword">const</span>·std::string·&amp;);</div> 
107 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>};</div> 
108 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
109 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
110 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
111 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01187.html">··130</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01187.html">sql_error</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div> 
112 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>{</div> 
113 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">const</span>·std::string·m_query;</div> 
114 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="keyword">const</span>·std::string·m_sqlstate;</div> 
115 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
116 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="keyword">public</span>:</div> 
117 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01187.html">sql_error</a>(</div> 
118 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>········<span·class="keyword">const</span>·std::string·&amp;msg=<span·class="stringliteral">&quot;&quot;</span>,</div> 
119 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>········<span·class="keyword">const</span>·std::string·&amp;Q=<span·class="stringliteral">&quot;&quot;</span>,</div> 
120 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·sqlstate[]=<span·class="keyword">nullptr</span>);</div> 
121 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01187.html">~sql_error</a>()·<span·class="keyword">noexcept</span>;</div> 
122 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> 
123 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··PQXX_PURE·<span·class="keyword">const</span>·std::string·&amp;query()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;··················<span·class="comment">//[t56]</span></div> 
124 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
125 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··PQXX_PURE·<span·class="keyword">const</span>·std::string·&amp;sqlstate()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;</div> 
126 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>};</div> 
127 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
128 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> 
129 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> 
130 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno"><a·class="line"·href="a01191.html">··159</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div> 
131 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>{</div> 
132 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="keyword">public</span>:</div> 
133 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01191.html">in_doubt_error</a>(<span·class="keyword">const</span>·std::string·&amp;);</div> 
134 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>};</div> 
135 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> 
136 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div> 
137 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno"><a·class="line"·href="a01195.html">··167</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01195.html">transaction_rollback</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01179.html">failure</a></div> 
138 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>{</div> 
139 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span><span·class="keyword">public</span>:</div> 
140 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01195.html">transaction_rollback</a>(<span·class="keyword">const</span>·std::string·&amp;);</div> 
141 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>};</div> 
142 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div> 
143 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>·</div> 
Max diff block lines reached; 22339/102436 bytes (21.81%) of diff not shown.
19.8 KB
html2text {}
    
Offset 1, 632 lines modifiedOffset 1, 82 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 except.hxx2 isolation.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_EXCEPT 
5 ·14#define·PQXX_H_EXCEPT4 ·13#ifndef·PQXX_H_ISOLATION
 5 ·14#define·PQXX_H_ISOLATION
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·18
10 ·19#include·<stdexcept>10 ·19#include·"pqxx/util.hxx"
11 ·2011 ·20
12 ·21#include·"pqxx/util.hxx"12 ·21namespace·pqxx
13 ·2213 ·22{
14 ·2314 ·23
15 ·24namespace·pqxx 
16 ·25{15 ·25
 16 56enum·isolation_level
17 ·26 
18 ·44 
19 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·pqxx_exception 
20 ·56{17 ·57{
 18 ·58·//·read_uncommitted,
 19 59·read_committed,
 20 60·repeatable_read,
 21 ·61·serializable
 22 62};
 23 ·63
 24 65template<isolation_level·LEVEL>·struct·isolation_traits
 25 ·66{
 26 67·static·constexpr·isolation_level·level()·noexcept·{·return·LEVEL;·}
 27 68·static·constexpr·const·char·*name()·noexcept;
21 ·57public: 
22 ·59·virtual·~pqxx_exception()·noexcept·=0; 
23 ·60 
24 ·62 
25 84·PQXX_CONST·virtual·const·std::exception·&base()·const·noexcept·=0;·//[t00] 
26 ·85}; 
27 ·86 
28 ·87 
29 89class·PQXX_LIBEXPORT·failure·: 
30 ·90·public·pqxx_exception,·public·std::runtime_error 
31 ·91{ 
32 ·92·virtual·const·std::exception·&base()·const·noexcept·override 
33 ·93·{·return·*this;·} 
34 ·94public: 
35 ·95·explicit·failure(const·std::string·&); 
36 ·96};28 ·69};
37 ·97 
38 ·98 
39 ·100 
40 118class·PQXX_LIBEXPORT·broken_connection·:·public·failure 
41 ·119{ 
42 ·120public: 
43 ·121·broken_connection(); 
44 ·122·explicit·broken_connection(const·std::string·&); 
45 ·123}; 
46 ·124 
47 ·125 
48 ·127 
49 130class·PQXX_LIBEXPORT·sql_error·:·public·failure 
50 ·131{ 
51 ·133·const·std::string·m_query; 
52 ·135·const·std::string·m_sqlstate; 
53 ·136 
54 ·137public: 
55 ·138·explicit·sql_error( 
56 ·139·const·std::string·&msg="", 
57 ·140·const·std::string·&Q="", 
58 ·141·const·char·sqlstate[]=nullptr); 
59 ·142·virtual·~sql_error()·noexcept; 
60 ·143 
61 ·145·PQXX_PURE·const·std::string·&query()·const·noexcept;·//[t56] 
62 ·146 
63 ·148·PQXX_PURE·const·std::string·&sqlstate()·const·noexcept; 
64 ·149}; 
65 ·150 
66 ·151 
67 ·153 
68 159class·PQXX_LIBEXPORT·in_doubt_error·:·public·failure 
69 ·160{ 
70 ·161public: 
71 ·162·explicit·in_doubt_error(const·std::string·&); 
72 ·163}; 
73 ·164 
74 ·165 
75 167class·PQXX_LIBEXPORT·transaction_rollback·:·public·failure 
76 ·168{ 
77 ·169public: 
78 ·170·explicit·transaction_rollback(const·std::string·&); 
79 ·171}; 
80 ·172 
81 ·173 
82 ·175 
83 183class·PQXX_LIBEXPORT·serialization_failure·:·public·transaction_rollback 
84 ·184{ 
85 ·185public: 
86 ·186·explicit·serialization_failure(const·std::string·&); 
87 ·187}; 
88 ·188 
89 ·189 
90 191class·PQXX_LIBEXPORT·statement_completion_unknown·:·public 
91 transaction_rollback 
92 ·192{ 
93 ·193public: 
94 ·194·explicit·statement_completion_unknown(const·std::string·&); 
95 ·195}; 
96 ·196 
97 ·197 
98 199class·PQXX_LIBEXPORT·deadlock_detected·:·public·transaction_rollback 
99 ·200{ 
100 ·201public: 
101 ·202·explicit·deadlock_detected(const·std::string·&); 
102 ·203}; 
103 ·204 
104 ·205 
105 207class·PQXX_LIBEXPORT·internal_error·: 
106 ·208·public·pqxx_exception,·public·std::logic_error 
107 ·209{ 
108 ·210·virtual·const·std::exception·&base()·const·noexcept·override 
109 ·211·{·return·*this;·} 
Max diff block lines reached; 8508/20297 bytes (41.92%) of diff not shown.
35.0 KB
./usr/share/doc/libpqxx-doc/html/Reference/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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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 55, 83 lines modifiedOffset 55, 105 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00119_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">errorhandler.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">transaction.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ERRORHANDLER</span></div>66 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·PQXX_H_TRANSACTION</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_ERRORHANDLER</span></div>67 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div>72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/dbtransaction.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 75 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>76 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*/</span></div>
75 <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="a00265.html">pqxx</a></div> 
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>77 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 78 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>internal</div>79 <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="a00265.html">pqxx</a></div>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>80 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>gate</div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div>81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">class·</span>errorhandler_connection_base;</div>82 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>internal</div>
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div>83 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01511.html">···31</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01511.html">basic_transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01163.html">dbtransaction</a></div>
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>}</div>85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">protected</span>:</div>
 87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<a·class="code·hl_class"·href="a01511.html">basic_transaction</a>(····················································<span·class="comment">//[t01]</span></div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationLevel,</div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>);</div>
85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
86 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01167.html">···54</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01167.html">errorhandler</a></div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">private</span>:</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·do_commit()·<span·class="keyword">override</span>;····································<span·class="comment">//[t01]</span></div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·namespace·internal</span></div>
87 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div>96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
88 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div>97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
89 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;);</div> 
90 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a01167.html">~errorhandler</a>();</div> 
91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">···65</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">operator()</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·msg[])·<span·class="keyword">noexcept</span>·=0;</div> 
94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
95 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">private</span>:</div>100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">template</span>&lt;</div>
 101 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<a·class="code·hl_enumeration"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL=<a·class="code·hl_enumvalue"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">read_committed</a>,</div>
 102 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<a·class="code·hl_enumeration"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·READWRITE=<a·class="code·hl_enumvalue"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">read_write</a>&gt;</div>
 103 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01515.html">···82</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01515.html">transaction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01511.html">internal::basic_transaction</a></div>
96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<a·class="code·hl_class"·href="a01135.html">connection_base</a>·*m_home;</div> 
97 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
98 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01167.html#a08b329d18887eeb882ff0c80b8ae74ba">···70</a></span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span>internal::gate::errorhandler_connection_base;</div> 
99 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keywordtype">void</span>·unregister()·noexcept;</div> 
100 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
101 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>()·=delete;</div> 
102 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>(const·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;)·=delete;</div> 
103 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;operator=(const·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>·&amp;)·=delete;</div> 
104 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>};</div> 
105 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
106 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
107 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01171.html">···80</a></span>class·<a·class="code·hl_class"·href="a01171.html">quiet_errorhandler</a>·:·public·<a·class="code·hl_class"·href="a01167.html">errorhandler</a></div> 
108 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>104 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
109 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div>105 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">public</span>:</div>
 106 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01515.html#aa8cc82d045fc6a287ebc3c3b152b6d67">···85</a></span>··<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>·=·<a·class="code·hl_struct"·href="a01343.html">isolation_traits&lt;ISOLATIONLEVEL&gt;</a>;</div>
110 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01171.html#ae440e24603c46ebdc8b981e22a54aacb">···83</a></span>··<a·class="code·hl_function"·href="a01171.html#ae440e24603c46ebdc8b981e22a54aacb">quiet_errorhandler</a>(<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;conn)·:·<a·class="code·hl_class"·href="a01167.html">errorhandler</a>{conn}·{}</div> 
111 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
112 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01171.html#a228e5ceeb18c40fd78ed7eaae8fd5f3c">···85</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01171.html#a228e5ceeb18c40fd78ed7eaae8fd5f3c">operator()</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>[])·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>·{·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;·}</div> 
113 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>};</div>107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
114 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>108 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
115 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}·<span·class="comment">//·namespace·pqxx</span></div>109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">···93</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">transact[·...·truncated·by·diffoscope;·len:·171,·SHA:·52999fe27a5b6a2400a9b5e312faa39656934f7d15866249956585498fc72142·...·]</span></div>
 110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_function"·href="a01539.html#a3962cd8000c76fd68466510577a0e452">namedclass</a>{<a·class="code·hl_function"·href="a01163.html#a218d2f1f6b1ca53eb19b44451c96aca4">fullname</a>(<span·class="stringliteral">&quot;transaction&quot;</span>,·<a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>::<a·class="code·hl_function"·href="a01539.html#a6aa4ca1f1708dfd5f6595884347cc093">name</a>()),·TName},</div>
 111 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····internal::<a·class="code·hl_function"·href="a01511.html#a90764b3cd73b8e4b8e4235a4d115e7b8">basic_transaction</a>(C,·<a·class="code·hl_struct"·href="a01343.html">isolation_tag</a>::<a·class="code·hl_function"·href="a01539.html#a6aa4ca1f1708dfd5f6595884347cc093">name</a>(),·READWRITE)</div>
 112 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········{·<a·class="code·hl_function"·href="a01527.html#a1d2a8554499cbd93ff8c2bf5c15843ff">Begin</a>();·}</div>
116 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
117 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>114 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">···98</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">transact[·...·truncated·by·diffoscope;·len:·138,·SHA:·19b162b5314e592465c999f17cae5236a90b7ed8e6ed4283f557590787f12243·...·]</span></div>
 115 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_class"·href="a01515.html">transaction</a>(C,·<span·class="stringliteral">&quot;&quot;</span>)·{}</div>
 116 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 117 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">··101</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">~transaction</a>()·noexcept</div>
 118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{·<a·class="code·hl_function"·href="a01527.html#afe72d50677298f6702c34bb860506454">End</a>();·}</div>
 119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div>
 120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
118 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>121 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 122 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00265.html#af073913c93b7d3ec3ed4aee85b338869">··107</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01515.html">work</a>·=·<a·class="code·hl_class"·href="a01515.html">transaction&lt;&gt;</a>;</div>
 123 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 124 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00265.html#afb4f4599896edb50e15dd6b4e4915dca">··110</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01515.html">read_transaction</a>·=·<a·class="code·hl_class"·href="a01515.html">transaction&lt;read_committed,·read_only&gt;</a>;</div>
 125 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 126 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>}</div>
 127 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 128 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
119 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif</span></div>129 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="preprocessor">#endif</span></div>
120 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>130 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
 131 <div·class="ttc"·id="aa00265_html_a1dc4688a8f01e6679b2afa93481836cc"><div·class="ttname"><a·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">pqxx::readwrite_policy</a></div><div·class="ttdeci">readwrite_policy</div><div·class="ttdef"><b>Definition:</b>·dbtransaction.hxx:25</div></div>
 132 <div·class="ttc"·id="aa00265_html_a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858"><div·class="ttname"><a·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca7fbb98c4665801b02d8cbeeb2dde0858">pqxx::read_write</a></div><div·class="ttdeci">@·read_write</div><div·class="ttdef"><b>Definition:</b>·dbtransaction.hxx:27</div></div>
 133 <div·class="ttc"·id="aa00265_html_a8f05a60f9e1f7dc4e4af5dce6b987c8c"><div·class="ttname"><a·href="a00265.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:57</div></div>
 134 <div·class="ttc"·id="aa00265_html_a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d"><div·class="ttname"><a·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721ac28a9e35be36f214f2d">pqxx::read_committed</a></div><div·class="ttdeci">@·read_committed</div><div·class="ttdef"><b>Definition:</b>·isolation.hxx:59</div></div>
121 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div>135 <div·class="ttc"·id="aa01135_html"><div·class="ttname"><a·href="a01135.html">pqxx::connection_base</a></div><div·class="ttdoc">connection_base·abstract·base·class;·represents·a·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection_base.hxx:140</div></div>
122 <div·class="ttc"·id="aa01167_html"><div·class="ttname"><a·href="a01167.html">pqxx::errorhandler</a></div><div·class="ttdoc">Base·class·for·error-handler·callbacks.</div><div·class="ttdef"><b>Definition:</b>·errorhandler.hxx:55</div></div> 
123 <div·class="ttc"·id="aa01167_html_ac0e41896075d40c1c2439c6662ed0799"><div·class="ttname"><a·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">pqxx::errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(const·char·msg[])·noexcept=0</div><div·class="ttdoc">Define·in·subclass:·receive·an·error·or·warning·message·from·the·database.</div></div> 
124 <div·class="ttc"·id="aa01171_html"><div·class="ttname"><a·href="a01171.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> 
125 <div·class="ttc"·id="aa01171_html_a228e5ceeb18c40fd78ed7eaae8fd5f3c"><div·class="ttname"><a·href="a01171.html#a228e5ceeb18c40fd78ed7eaae8fd5f3c">pqxx::quiet_errorhandler::operator()</a></div><div·class="ttdeci">virtual·bool·operator()(const·char[])·noexcept·override</div><div·class="ttdoc">Define·in·subclass:·receive·an·error·or·warning·message·from·the·database.</div><div·class="ttdef"><b>Definition:</b>·errorhandler.hxx:85</div></div> 
126 <div·class="ttc"·id="aa01171_html_ae440e24603c46ebdc8b981e22a54aacb"><div·class="ttname"><a·href="a01171.html#ae440e24603c46ebdc8b981e22a54aacb">pqxx::quiet_errorhandler::quiet_errorhandler</a></div><div·class="ttdeci">quiet_errorhandler(connection_base·&amp;conn)</div><div·class="[·...·truncated·by·diffoscope;·len:·44,·SHA:·06c337711873f080cef691506c33ec4663418c8945e098742642bb810ea7f194·...·]3</div></div>136 <div·class="ttc"·id="aa01163_html"><div·class="ttname"><a·href="a01163.html">pqxx::dbtransaction</a></div><div·class="ttdoc">Abstract·base·class·responsible·for·bracketing·a·backend·transaction.</div><div·class="ttdef"><b>Definition:</b>·dbtransaction.hxx:63</div></div>
 137 <div·class="ttc"·id="aa01163_html_a218d2f1f6b1ca53eb19b44451c96aca4"><div·class="ttname"><a·href="a01163.html#a218d2f1f6b1ca53eb19b44451c96aca4">pqxx::dbtransaction::fullname</a></div><div·class="ttdeci">static·std::string·fullname(const·std::string·&amp;ttype,·const·std::string·&amp;isolation)</div><div·class="ttdef"><b>Definition:</b>·dbtransaction.cxx:95</div></div>
 138 <div·class="ttc"·id="aa01343_html"><div·class="ttname"><a·href="a01343.html">pqxx::isolation_traits</a></div><div·class="ttdoc">Traits·class·to·describe·an·isolation·level;·primarly·for·libpqxx's·own·use.</div><div·class="ttdef"><b>Definition:</b>·isolation.hxx:66</div></div>
 139 <div·class="ttc"·id="aa01511_html"><div·class="ttname"><a·href="a01511.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:32</div></div>
 140 <div·class="ttc"·id="aa01511_html_a90764b3cd73b8e4b8e4235a4d115e7b8"><div·class="ttname"><a·href="a01511.html#a90764b3cd73b8e4b8e4235a4d115e7b8">pqxx::internal::basic_transaction::basic_transaction</a></div><div·class="ttdeci">basic_transaction(connection_base·&amp;C,·const·std::string·&amp;IsolationLevel,·readwrite_policy)</div><div·class="ttdef"><b>Definition:</b>·transaction.cxx:20</div></div>
Max diff block lines reached; 853/29848 bytes (2.86%) of diff not shown.
5.77 KB
html2text {}
    
Offset 1, 89 lines modifiedOffset 1, 141 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 errorhandler.hxx2 transaction.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ERRORHANDLER 
5 ·14#define·PQXX_H_ERRORHANDLER 
6 ·154 ·12#ifndef·PQXX_H_TRANSACTION
 5 ·13#define·PQXX_H_TRANSACTION
 6 ·14
7 ·16#include·"pqxx/compiler-public.hxx"7 ·15#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·16#include·"pqxx/compiler-internal-pre.hxx"
9 ·189 ·17
10 ·19#include·"pqxx/types.hxx"10 ·18#include·"pqxx/dbtransaction.hxx"
 11 ·19
11 ·2012 ·20
12 ·2113 ·21/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"
 14 ·22·*/
 15 ·23
 16 ·24
13 ·22namespace·pqxx17 ·25namespace·pqxx
14 ·23{18 ·26{
 19 ·27
15 ·24namespace·internal20 ·28namespace·internal
16 ·25{21 ·29{
17 ·26namespace·gate22 31class·PQXX_LIBEXPORT·basic_transaction·:·public·dbtransaction
18 ·27{23 ·32{
19 ·28class·errorhandler_connection_base; 
20 ·29} 
21 ·30} 
22 ·3124 ·33protected:
 25 ·34·basic_transaction(·//[t01]
 26 ·35·connection_base·&C,
 27 ·36·const·std::string·&IsolationLevel,
 28 ·37·readwrite_policy);
23 ·3829 ·38
24 54class·PQXX_LIBEXPORT·errorhandler 
25 ·55{ 
26 ·56public: 
27 ·57·explicit·errorhandler(connection_base·&); 
28 ·58·virtual·~errorhandler(); 
29 ·59 
30 ·61 
31 65·virtual·bool·operator()(const·char·msg[])·noexcept·=0; 
32 ·66 
33 ·67private:30 ·39private:
 31 ·40·virtual·void·do_commit()·override;·//[t01]
 32 ·41};
 33 ·42}·//·namespace·internal
 34 ·43
 35 ·44
 36 ·49
 37 ·51
 38 ·79template<
 39 ·80·isolation_level·ISOLATIONLEVEL=read_committed,
 40 ·81·readwrite_policy·READWRITE=read_write>
 41 82class·transaction·:·public·internal::basic_transaction
34 ·68·connection_base·*m_home; 
35 ·69 
36 70·friend·class·internal::gate::errorhandler_connection_base; 
37 ·71·void·unregister()·noexcept; 
38 ·72 
39 ·73·errorhandler()·=delete; 
40 ·74·errorhandler(const·errorhandler·&)·=delete; 
41 ·75·errorhandler·&operator=(const·errorhandler·&)·=delete; 
42 ·76}; 
43 ·77 
44 ·78 
45 80class·quiet_errorhandler·:·public·errorhandler 
46 ·81{42 ·83{
47 ·82public:43 ·84public:
 44 85·using·isolation_tag·=·isolation_traits<ISOLATIONLEVEL>;
48 83·quiet_errorhandler(connection_base·&conn)·:·errorhandler{conn}·{} 
49 ·84 
50 85·virtual·bool·operator()(const·char[])·noexcept·override·{·return·false;·} 
51 ·86};45 ·86
52 ·87 
53 ·92}·//·namespace·pqxx 
54 ·9346 ·88
 47 93·explicit·transaction(connection_base·&C,·const·std::string·&TName):·//[t01]
 48 ·94·namedclass{fullname("transaction",·isolation_tag::name()),·TName},
 49 ·95·internal::basic_transaction(C,·isolation_tag::name(),·READWRITE)
 50 ·96·{·Begin();·}
 51 ·97
 52 98·explicit·transaction(connection_base·&C)·:·//[t01]
 53 ·99·transaction(C,·"")·{}
 54 ·100
 55 101·virtual·~transaction()·noexcept
 56 ·102·{·End();·}
 57 ·103};
 58 ·104
 59 ·105
 60 107using·work·=·transaction<>;
 61 ·108
 62 110using·read_transaction·=·transaction<read_committed,_read_only>;
 63 ·111
 64 ·113}
 65 ·114
55 ·94#include·"pqxx/compiler-internal-post.hxx"66 ·115#include·"pqxx/compiler-internal-post.hxx"
56 ·95 
57 ·96#endif67 ·116#endif
58 pqxx68 pqxx
59 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.69 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
60 Definition:·array.hxx:2670 Definition:·array.hxx:26
 71 pqxx::readwrite_policy
 72 readwrite_policy
 73 Definition:·dbtransaction.hxx:25
 74 pqxx::read_write
 75 @·read_write
 76 Definition:·dbtransaction.hxx:27
 77 pqxx::isolation_level
 78 isolation_level
 79 Transaction·isolation·levels.
 80 Definition:·isolation.hxx:57
 81 pqxx::read_committed
 82 @·read_committed
 83 Definition:·isolation.hxx:59
61 pqxx::connection_base84 pqxx::connection_base
62 connection_base·abstract·base·class;·represents·a·connection·to·a·database.85 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
63 Definition:·connection_base.hxx:14086 Definition:·connection_base.hxx:140
64 pqxx::errorhandler 
65 Base·class·for·error-handler·callbacks. 
66 Definition:·errorhandler.hxx:55 
Max diff block lines reached; 95/5881 bytes (1.62%) of diff not shown.
73.5 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00122_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·tablereader.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 55, 224 lines modifiedOffset 55, 134 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00122_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00122_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">result.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">tablereader.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_TABLEREADER</span></div>
67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT</span></div>67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_TABLEREADER</span></div>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;pqxx/result.hxx&quot;</span></div>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/tablestream.hxx&quot;</span></div>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;stdexcept&gt;</span></div> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</span></div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/types.hxx&quot;</span></div> 
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/internal/encodings.hxx&quot;</span></div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·Methods·tested·in·eg.·test·module·test01·are·marked·with·&quot;//[t01]&quot;.</span></div> 
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
85 <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="a00265.html">pqxx</a></div>75 <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="a00265.html">pqxx</a></div>
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>internal</div>77 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 78 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01491.html">···29</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01491.html">tablereader</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01495.html">tablestream</a></div>
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>79 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>PQXX_LIBEXPORT·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00266.html#a57aba89617a9c0568f175e52aab0c504">clear_result</a>(<span·class="keyword">const</span>·pq::PGresult·*);</div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>gate</div> 
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> 
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>result_connection;</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>result_creation;</div> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>result_row;</div> 
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">class·</span>result_sql_cursor;</div> 
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}·<span·class="comment">//·namespace·internal::gate</span></div> 
98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·namespace·internal</span></div> 
99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
102 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01395.html">···69</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01395.html">result</a></div> 
103 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div> 
104 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div>80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</span>:</div>
105 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01395.html#a45143316d9e7b9a658850326732d2786">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01395.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a>;</div> 
106 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a>;</div> 
107 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01395.html#a331bc56dd4ef9020f184f6909b3dd119">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01415.html">reference</a>·=·<a·class="code·hl_class"·href="a01415.html">row</a>;</div> 
108 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01395.html#ae52e3b60c1e512110b1c425e5a36eb7c">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">const_iterator</a>·=·<a·class="code·hl_class"·href="a01399.html">const_result_iterator</a>;</div> 
109 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01395.html#a5b44355a997fde27ff5a693fdeeda04b">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">pointer</a>·=·<a·class="code·hl_class"·href="a01399.html">const_iterator</a>;</div> 
110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01395.html#a6995f8db23dc53fbe204ab4fc41610a2">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01399.html">iterator</a>·=·<a·class="code·hl_class"·href="a01399.html">const_iterator</a>;</div> 
111 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01395.html#a1460ff79bb0f7d2a05a24eccece1eb22">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01403.html">const_reverse_iterator</a>·=·<a·class="code·hl_class"·href="a01403.html">const_reverse_result_iterator</a>;</div> 
112 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01395.html#ac3d2ed8b6265cd8fa6ef7cc74cbd0b05">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01403.html">reverse_iterator</a>·=·<a·class="code·hl_class"[·...·truncated·by·diffoscope;·len:·47,·SHA:·46e9f0692317a39dba50481295f46cff6cc86f12bf9f6798ab7dc55bb67024ab·...·]</div>81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div>
 82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div>
 84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keyword">const</span>·std::string·&amp;Null=std::string{});</div>
 85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;</div>
 86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div>
 87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div>
 89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········ITER·begincolumns,</div>
 90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········ITER·endcolumns);</div>
 91 <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&gt;</div>
 92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··PQXX_DEPRECATED·<a·class="code·hl_class"·href="a01491.html">tablereader</a>(</div>
 93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;,</div>
 94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div>
 95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········ITER·begincolumns,</div>
 96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········ITER·endcolumns,</div>
 97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········<span·class="keyword">const</span>·std::string·&amp;Null);</div>
 98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_class"·href="a01491.html">~tablereader</a>()·<span·class="keyword">noexcept</span>;</div>
 99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;·<a·class="code·hl_class"·href="a01491.html">tablereader</a>·&amp;operator&gt;&gt;(TUPLE·&amp;);</div>
 100 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01491.html#a28a0a3b21f3a30f91ecd74b2dd81c102">···51</a></span>··<span·class="keyword">operator</span>·bool()·const·noexcept·{·<span·class="keywordflow">return</span>·not·m_done;·}</div>
 101 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01491.html#ac8594f26eb0e291a28bf555248e13f37">···52</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01491.html#ac8594f26eb0e291a28bf555248e13f37">operator!</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_done;·}</div>
 102 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keywordtype">bool</span>·get_raw_line(std::string·&amp;Line);</div>
 103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TUPLE&gt;</div>
 104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordtype">void</span>·tokenize(std::string,·TUPLE·&amp;)·<span·class="keyword">const</span>;</div>
 105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·complete()·<span·class="keyword">override</span>;</div>
 106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">private</span>:</div>
 107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">void</span>·set_up(</div>
 108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div>
 109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">const</span>·std::string·&amp;RName,</div>
 110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keyword">const</span>·std::string·&amp;Columns=std::string{});</div>
 111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·reader_close();</div>
 112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··std::string·extract_field(</div>
 113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keyword">const</span>·std::string·&amp;,</div>
 114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········std::string::size_type·&amp;)·<span·class="keyword">const</span>;</div>
 115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_done;</div>
 116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>};</div>
113 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
114 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01395.html#a3483a2de1575a9df1f9671ad677a022a">···81</a></span>··<a·class="code·hl_function"·href="a01395.html#a3483a2de1575a9df1f9671ad677a022a">result</a>()·noexcept·:···················································<span·class="comment">//[t03]</span></div> 
115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······m_data(make_data_pointer()),</div> 
116 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······m_query(),</div> 
117 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······m_encoding(internal::encoding_group::MONOBYTE)</div> 
118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····{}</div> 
119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01395.html#a98bc0fa1e39d9ae3d7d550a9921f94fc">···86</a></span>··<a·class="code·hl_function"·href="a01395.html#a98bc0fa1e39d9ae3d7d550a9921f94fc">result</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;rhs)·<span·class="keyword">noexcept</span>·=<span·class="keywordflow">default</span>;··························<span·class="comment">//[t01]</span></div> 
120 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
121 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01395.html#a867ecfd8716ff3b43510f16b34447eba">···88</a></span>··<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;<a·class="code·hl_function"·href="a01395.html#a867ecfd8716ff3b43510f16b34447eba">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;rhs)·<span·class="keyword">noexcept</span>·=<span·class="keywordflow">default</span>;···············<span·class="comment">//[t10]</span></div> 
122 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
123 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keywordtype">bool</span>·operator==(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;·······················<span·class="comment">//[t70]</span></div> 
124 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01395.html#af563f43e0ac399f45b2bb871da0917d1">···95</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01395.html#af563f43e0ac399f45b2bb871da0917d1">operato[·...·truncated·by·diffoscope;·len:·230,·SHA:·4ceacd692ee1c53a323e832a94acb102ec772e83d82d4231fb9b7a4bbfd5477a·...·]</span></div>119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·ITER&gt;·<span·class="keyword">inline</span></div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01491.html#a07a03ef6630e8e5e0e8103b9b9bce6d5">···71</a></span><a·class="code·hl_function"·href="a01491.html#a26223c68b6f8e135f170242e8b73fc8d">tablereader::tablereader</a>(</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<a·class="code·hl_class"·href="a01527.html">transaction_base</a>·&amp;T,</div>
 122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keyword">const</span>·std::string·&amp;Name,</div>
 123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········ITER·begincolumns,</div>
 124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········ITER·endcolumns)·:</div>
Max diff block lines reached; 37303/62754 bytes (59.44%) of diff not shown.
12.1 KB
html2text {}
    
Offset 1, 276 lines modifiedOffset 1, 144 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 result.hxx2 tablereader.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_RESULT4 ·13#ifndef·PQXX_H_TABLEREADER
5 ·14#define·PQXX_H_RESULT5 ·14#define·PQXX_H_TABLEREADER
6 ·156 ·15
7 ·16#include·"pqxx/compiler-public.hxx"7 ·16#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"8 ·17#include·"pqxx/compiler-internal-pre.hxx"
9 ·18 
10 ·19#include·<ios> 
11 ·20#include·<memory> 
12 ·21#include·<stdexcept> 
13 ·22 
14 ·23#include·"pqxx/except.hxx" 
15 ·24#include·"pqxx/types.hxx" 
16 ·25#include·"pqxx/util.hxx"9 ·18#include·"pqxx/result.hxx"
 10 ·19#include·"pqxx/tablestream.hxx"
 11 ·20
 12 ·21
17 ·26 
18 ·27#include·"pqxx/internal/encodings.hxx" 
19 ·28 
20 ·29 
21 ·30//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
22 ·31 
23 ·32namespace·pqxx13 ·22namespace·pqxx
24 ·33{14 ·23{
25 ·34namespace·internal15 ·25
 16 29class·PQXX_LIBEXPORT·tablereader·:·public·tablestream
26 ·35{17 ·30{
27 ·36PQXX_LIBEXPORT·void·clear_result(const·pq::PGresult·*); 
28 ·37 
29 ·38namespace·gate 
30 ·39{ 
31 ·40class·result_connection; 
32 ·41class·result_creation; 
33 ·42class·result_row; 
34 ·43class·result_sql_cursor; 
35 ·44}·//·namespace·internal::gate 
36 ·45}·//·namespace·internal 
37 ·46 
38 ·47 
39 ·49 
40 69class·PQXX_LIBEXPORT·result 
41 ·70{ 
42 ·71public:18 ·31public:
43 72·using·size_type·=·result_size_type; 
44 73·using·difference_type·=·result_difference_type; 
45 74·using·reference·=·row; 
46 75·using·const_iterator·=·const_result_iterator; 
47 76·using·pointer·=·const_iterator; 
48 77·using·iterator·=·const_iterator; 
49 78·using·const_reverse_iterator·=·const_reverse_result_iterator; 
50 79·using·reverse_iterator·=·const_reverse_iterator; 
51 ·80 
52 81·result()·noexcept·:·//[t03] 
53 ·82·m_data(make_data_pointer()), 
54 ·83·m_query(), 
55 ·84·m_encoding(internal::encoding_group::MONOBYTE) 
56 ·85·{} 
57 86·result(const·result·&rhs)·noexcept·=default;·//[t01] 
58 ·87 
59 88·result·&operator=(const·result·&rhs)·noexcept·=default;·//[t10] 
60 ·89 
61 ·94·bool·operator==(const·result·&)·const·noexcept;·//[t70] 
62 95·bool·operator!=(const·result·&rhs)·const·noexcept·//[t70] 
63 ·96·{·return·not·operator==(rhs);·}19 ·32·PQXX_DEPRECATED·tablereader(
 20 ·33·transaction_base·&,
 21 ·34·const·std::string·&Name,
 22 ·35·const·std::string·&Null=std::string{});
 23 ·36·template<typename·ITER>
 24 ·37·PQXX_DEPRECATED·tablereader(
 25 ·38·transaction_base·&,
 26 ·39·const·std::string·&Name,
 27 ·40·ITER·begincolumns,
 28 ·41·ITER·endcolumns);
 29 ·42·template<typename·ITER>
 30 ·43·PQXX_DEPRECATED·tablereader(
 31 ·44·transaction_base·&,
 32 ·45·const·std::string·&Name,
 33 ·46·ITER·begincolumns,
 34 ·47·ITER·endcolumns,
 35 ·48·const·std::string·&Null);
 36 ·49·~tablereader()·noexcept;
 37 ·50·template<typename·TUPLE>·tablereader·&operator>>(TUPLE·&);
 38 51·operator·bool()·const·noexcept·{·return·not·m_done;·}
 39 52·bool·operator!()·const·noexcept·{·return·m_done;·}
 40 ·53·bool·get_raw_line(std::string·&Line);
 41 ·54·template<typename·TUPLE>
 42 ·55·void·tokenize(std::string,·TUPLE·&)·const;
 43 ·56·virtual·void·complete()·override;
 44 ·57private:
 45 ·58·void·set_up(
 46 ·59·transaction_base·&T,
 47 ·60·const·std::string·&RName,
 48 ·61·const·std::string·&Columns=std::string{});
 49 ·62·PQXX_PRIVATE·void·reader_close();
 50 ·63·std::string·extract_field(
 51 ·64·const·std::string·&,
 52 ·65·std::string::size_type·&)·const;
 53 ·66·bool·m_done;
 54 ·67};
 55 ·68
 56 ·69
 57 ·70template<typename·ITER>·inline
 58 71tablereader::tablereader(
 59 ·72·transaction_base·&T,
 60 ·73·const·std::string·&Name,
 61 ·74·ITER·begincolumns,
 62 ·75·ITER·endcolumns)·:
 63 ·76·namedclass{Name,·"tablereader"},
 64 ·77·tablestream{T,·std::string{}},
 65 ·78·m_done{true}
 66 ·79{
 67 ·80·set_up(T,·Name,·columnlist(begincolumns,·endcolumns));
 68 ·81}
 69 ·82
 70 ·83
 71 ·84template<typename·ITER>·inline
 72 85tablereader::tablereader(
 73 ·86·transaction_base·&T,
Max diff block lines reached; 8548/12365 bytes (69.13%) of diff not shown.
23.2 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00125_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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:·compiler-public.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 55, 133 lines modifiedOffset 55, 28 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00125_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00125_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">compiler-public.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">config-internal-compiler.h</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
 65 <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>
65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div> 
66 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_COMPILER_PUBLIC</span></div> 
67 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·PQXX_H_COMPILER_PUBLIC</span></div> 
68 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
69 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·Workarounds·&amp;·definitions·that·need·to·be·included·even·in·library&#39;s·headers</span></div> 
70 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;pqxx/config-public-compiler.h&quot;</span></div> 
71 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
72 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Some·compilers,·Visual·Studio·in·particular,·don&#39;t·seem·to·support·the</span></div> 
73 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">//·standard&#39;s·ISO-646·keywords·out·of·the·box.</span></div> 
74 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ciso646&gt;</span></div> 
75 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
76 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
77 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_CONST)</span></div> 
78 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_CONST·__attribute__·((const))</span></div> 
79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div> 
80 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#define·PQXX_CONST</span></div> 
81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</span></div> 
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>
83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#if·defined(PQXX_HAVE_DEPRECATED)</span></div> 
84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#define·PQXX_DEPRECATED·[[deprecated]]</span></div> 
85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#elif·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_DEPRECATED)</span></div> 
86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#define·PQXX_DEPRECATED·__attribute__·((deprecated))</span></div> 
87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#else</span></div> 
88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#define·PQXX_DEPRECATED</span></div> 
89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif</span></div> 
90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·defined(__GNUC__)·&amp;&amp;·defined(PQXX_HAVE_GCC_PURE)</span></div> 
92 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#define·PQXX_PURE·__attribute__·((pure))</span></div> 
93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#else</span></div> 
94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·PQXX_PURE</span></div>67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>
95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div> 
96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
98 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//·Workarounds·for·Windows</span></div> 
99 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#ifdef·_WIN32</span></div>68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·HAVE_SYS_TIME_H·1</span></div>
100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">/*·For·now,·export·DLL·symbols·if·_DLL·is·defined.··This·is·done·automatically</span></div> 
102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·*·by·the·compiler·when·linking·to·the·dynamic·version·of·the·runtime·library,</span></div> 
103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·*·according·to·&quot;gzh&quot;</span></div> 
104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·*/</span></div> 
105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#if·!defined(PQXX_LIBEXPORT)·&amp;&amp;·defined(PQXX_SHARED)</span></div> 
106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#define·PQXX_LIBEXPORT·__declspec(dllimport)</span></div> 
107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif··</span><span·class="comment">//·!PQXX_LIBEXPORT·&amp;&amp;·PQXX_SHARED</span></div> 
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·Workarounds·for·Microsoft·Visual·C++</span></div> 
111 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#ifdef·_MSC_VER</span></div>69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·HAVE_SYS_TYPES_H·1</span></div>
112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·Suppress·vtables·on·abstract·classes.</span></div> 
114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#define·PQXX_NOVTABLE·__declspec(novtable)</span></div> 
115 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
116 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//·Automatically·link·with·the·appropriate·libpq·(static·or·dynamic,·debug·or</span></div> 
117 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//·release).··The·default·is·to·use·the·release·DLL.··Define·PQXX_PQ_STATIC·to</span></div> 
118 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·link·to·a·static·version·of·libpq,·and·_DEBUG·to·link·to·a·debug·version.</span></div> 
119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//·The·two·may·be·combined.</span></div> 
120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#if·defined(PQXX_AUTOLINK)</span></div> 
121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#if·defined(PQXX_PQ_STATIC)</span></div> 
122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#ifdef·_DEBUG</span></div>70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·HAVE_UNISTD_H·1</span></div>
123 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqd&quot;</span>)</div> 
124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">#else</span></div> 
125 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpq&quot;</span>)</div> 
126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="preprocessor">#endif</span></div> 
127 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#else</span></div> 
128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#ifdef·_DEBUG</span></div>71 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_VISIBILITY·1</span></div>
129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqddll&quot;</span>)</div> 
130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#else</span></div> 
131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#pragma·comment(lib,·&quot;libpqdll&quot;</span>)</div> 
132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> 
133 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#endif</span></div> 
134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</span></div> 
135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
136 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//·If·we&#39;re·not·compiling·libpqxx·itself,·automatically·link·with·the</span></div> 
137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">//·appropriate·libpqxx·library.··To·link·with·the·libpqxx·DLL,·define</span></div> 
138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">//·PQXX_SHARED;·the·default·is·to·link·with·the·static·library.··A·static·link</span></div> 
139 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//·is·the·recommended·practice.</span></div> 
140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div> 
141 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//·The·preprocessor·macro·PQXX_INTERNAL·is·used·to·detect·whether·we</span></div> 
142 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//·are·compiling·the·libpqxx·library·itself.··When·you·compile·the·library</span></div> 
143 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//·yourself·using·your·own·project·file,·make·sure·to·include·this·macro.</span></div> 
144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="preprocessor">#if·defined(PQXX_AUTOLINK)·&amp;&amp;·!defined(PQXX_INTERNAL)</span></div> 
145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">··#ifdef·PQXX_SHARED</span></div> 
146 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">····#ifdef·_DEBUG</span></div> 
147 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">······#pragma·comment(lib,·&quot;libpqxxD&quot;</span>)</div> 
148 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">····#else</span></div> 
149 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">······#pragma·comment(lib,·&quot;libpqxx&quot;</span>)</div> 
150 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">····#endif</span></div> 
151 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">··#else·</span><span·class="comment">//·!PQXX_SHARED</span></div> 
152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="preprocessor">····#ifdef·_DEBUG</span></div> 
153 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">······#pragma·comment(lib,·&quot;libpqxx_staticD&quot;</span>)</div> 
154 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">····#else</span></div> 
155 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">······#pragma·comment(lib,·&quot;libpqxx_static&quot;</span>)</div> 
156 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">····#endif</span></div> 
157 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="preprocessor">··#endif</span></div> 
158 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="preprocessor">#endif</span></div> 
159 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
160 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="preprocessor">#endif··</span><span·class="comment">//·_MSC_VER</span></div> 
161 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#endif··</span><span·class="comment">//·_WIN32</span></div> 
162 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
163 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
164 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="preprocessor">#ifndef·PQXX_LIBEXPORT</span></div> 
Max diff block lines reached; 867/19873 bytes (4.36%) of diff not shown.
3.67 KB
html2text {}
    
Offset 1, 129 lines modifiedOffset 1, 19 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 config-internal-compiler.h
 3 ·1/*·Automatically·generated·from·config.h:·internal/compiler·config.·*/
2 compiler-public.hxx 
3 ·1 
4 ·9#ifndef·PQXX_H_COMPILER_PUBLIC 
5 ·10#define·PQXX_H_COMPILER_PUBLIC 
6 ·11 
7 ·12//·Workarounds·&·definitions·that·need·to·be·included·even·in·library's 
8 headers 
9 ·13#include·"pqxx/config-public-compiler.h" 
10 ·14 
11 ·15//·Some·compilers,·Visual·Studio·in·particular,·don't·seem·to·support·the 
12 ·16//·standard's·ISO-646·keywords·out·of·the·box. 
13 ·17#include·<ciso646> 
14 ·18 
15 ·19 
16 ·20#if·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_CONST) 
17 ·22#define·PQXX_CONST·__attribute__·((const)) 
18 ·23#else 
19 ·24#define·PQXX_CONST 
20 ·25#endif 
21 ·264 ·2
 5 ·3#define·HAVE_POLL·1
 6 ·4#define·HAVE_SYS_TIME_H·1
 7 ·5#define·HAVE_SYS_TYPES_H·1
 8 ·6#define·HAVE_UNISTD_H·1
 9 ·7#define·PQXX_HAVE_GCC_VISIBILITY·1
22 ·27#if·defined(PQXX_HAVE_DEPRECATED) 
23 ·29#define·PQXX_DEPRECATED·[[deprecated]] 
24 ·30#elif·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_DEPRECATED) 
25 ·31#define·PQXX_DEPRECATED·__attribute__·((deprecated)) 
26 ·32#else 
27 ·33#define·PQXX_DEPRECATED 
28 ·34#endif 
29 ·35 
30 ·36#if·defined(__GNUC__)·&&·defined(PQXX_HAVE_GCC_PURE) 
31 ·38#define·PQXX_PURE·__attribute__·((pure)) 
32 ·39#else 
33 ·40#define·PQXX_PURE 
34 ·41#endif 
35 ·42 
36 ·43 
37 ·44//·Workarounds·for·Windows 
38 ·45#ifdef·_WIN32 
39 ·46 
40 ·47/*·For·now,·export·DLL·symbols·if·_DLL·is·defined.·This·is·done 
41 automatically 
42 ·48·*·by·the·compiler·when·linking·to·the·dynamic·version·of·the·runtime 
43 library, 
44 ·49·*·according·to·"gzh" 
45 ·50·*/ 
46 ·51#if·!defined(PQXX_LIBEXPORT)·&&·defined(PQXX_SHARED) 
47 ·52#define·PQXX_LIBEXPORT·__declspec(dllimport) 
48 ·53#endif·//·!PQXX_LIBEXPORT·&&·PQXX_SHARED 
49 ·54 
50 ·55 
51 ·56//·Workarounds·for·Microsoft·Visual·C++ 
52 ·57#ifdef·_MSC_VER 
53 ·58 
54 ·59//·Suppress·vtables·on·abstract·classes. 
55 ·60#define·PQXX_NOVTABLE·__declspec(novtable) 
56 ·61 
57 ·62//·Automatically·link·with·the·appropriate·libpq·(static·or·dynamic,·debug 
58 or 
59 ·63//·release).·The·default·is·to·use·the·release·DLL.·Define·PQXX_PQ_STATIC·to 
60 ·64//·link·to·a·static·version·of·libpq,·and·_DEBUG·to·link·to·a·debug·version. 
61 ·65//·The·two·may·be·combined. 
62 ·66#if·defined(PQXX_AUTOLINK) 
63 ·67#if·defined(PQXX_PQ_STATIC) 
64 ·68#ifdef·_DEBUG 
65 ·69#pragma·comment(lib,·"libpqd") 
66 ·70#else 
67 ·71#pragma·comment(lib,·"libpq") 
68 ·72#endif 
69 ·73#else 
70 ·74#ifdef·_DEBUG 
71 ·75#pragma·comment(lib,·"libpqddll") 
72 ·76#else 
73 ·77#pragma·comment(lib,·"libpqdll") 
74 ·78#endif 
75 ·79#endif 
76 ·80#endif 
77 ·81 
78 ·82//·If·we're·not·compiling·libpqxx·itself,·automatically·link·with·the 
79 ·83//·appropriate·libpqxx·library.·To·link·with·the·libpqxx·DLL,·define 
80 ·84//·PQXX_SHARED;·the·default·is·to·link·with·the·static·library.·A·static 
81 link 
82 ·85//·is·the·recommended·practice. 
83 ·86// 
84 ·87//·The·preprocessor·macro·PQXX_INTERNAL·is·used·to·detect·whether·we 
85 ·88//·are·compiling·the·libpqxx·library·itself.·When·you·compile·the·library 
86 ·89//·yourself·using·your·own·project·file,·make·sure·to·include·this·macro. 
87 ·90#if·defined(PQXX_AUTOLINK)·&&·!defined(PQXX_INTERNAL) 
88 ·91·#ifdef·PQXX_SHARED 
89 ·92·#ifdef·_DEBUG 
90 ·93·#pragma·comment(lib,·"libpqxxD") 
91 ·94·#else 
92 ·95·#pragma·comment(lib,·"libpqxx") 
93 ·96·#endif 
94 ·97·#else·//·!PQXX_SHARED 
95 ·98·#ifdef·_DEBUG 
96 ·99·#pragma·comment(lib,·"libpqxx_staticD") 
97 ·100·#else 
98 ·101·#pragma·comment(lib,·"libpqxx_static") 
99 ·102·#endif 
100 ·103·#endif 
101 ·104#endif 
102 ·105 
103 ·106#endif·//·_MSC_VER 
104 ·107#endif·//·_WIN32 
105 ·108 
106 ·109 
107 ·110#ifndef·PQXX_LIBEXPORT 
108 ·111#define·PQXX_LIBEXPORT 
109 ·112#endif 
110 ·113 
111 ·114#ifndef·PQXX_PRIVATE 
112 ·115#define·PQXX_PRIVATE 
113 ·116#endif 
114 ·117 
Max diff block lines reached; 109/3739 bytes (2.92%) of diff not shown.
21.4 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00128_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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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 55, 27 lines modifiedOffset 55, 101 lines modified
55 <script·type="text/javascript">55 <script·type="text/javascript">
56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/56 /*·@license·magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt·MIT·*/
57 $(document).ready(function(){initNavTree('a00128_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00128_source.html','');·initResizable();·});
58 /*·@license-end·*/58 /*·@license-end·*/
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">config-public-compiler.h</div></div>62 ··<div·class="headertitle"><div·class="title">connection.hxx</div></div>
63 </div><!--header-->63 </div><!--header-->
64 <div·class="contents">64 <div·class="contents">
65 <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>65 <div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span>·</div>
 66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION</span></div>
 67 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION</span></div>
 68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 69 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;pqxx/compiler-public.hxx&quot;</span></div>
 70 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-pre.hxx&quot;</span></div>
 71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;pqxx/connectionpolicy.hxx&quot;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&quot;pqxx/basic_connection.hxx&quot;</span></div>
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span>·</div>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·PQXX_HAVE_DEPRECATED·1</span></div>75 <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="a00265.html">pqxx</a></div>
 76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 78 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 79 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01115.html">···87</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01115.html">connect_direct</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div>
 80 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>{</div>
68 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_CONST·1</span></div>81 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">public</span>:</div>
 82 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01115.html#a3ae8ab240a1f152c64cd40493d92f846">···92</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01115.html#a3ae8ab240a1f152c64cd40493d92f846">connect_direct</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div>
 83 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">virtual</span>·handle·do_startconnect(handle)·<span·class="keyword">override</span>;</div>
 84 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div>
 85 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 86 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga774f723d641b0ed16355f21113bec338">···97</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">connection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_direct&gt;</a>;</div>
 87 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 88 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 89 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 90 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01119.html">··105</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01119.html">connect_lazy</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div>
 91 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>{</div>
 92 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keyword">public</span>:</div>
 93 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01119.html#a9d93b15b0681f3b4e25e9fab79adb8cd">··110</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01119.html#a9d93b15b0681f3b4e25e9fab79adb8cd">connect_lazy</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div>
 94 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<span·class="keyword">virtual</span>·handle·do_completeconnect(handle)·<span·class="keyword">override</span>;</div>
 95 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>};</div>
 96 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 97 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 98 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga4e45c2897c00be5e06e2f7e79c693759">··116</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">lazyconnection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_lazy&gt;</a>;</div>
 99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 101 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 102 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01123.html">··126</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01123.html">connect_async</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div>
 103 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>{</div>
 104 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">public</span>:</div>
 105 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="keyword">explicit</span>·<a·class="code·hl_class"·href="a01123.html">connect_async</a>(<span·class="keyword">const</span>·std::string·&amp;opts);</div>
 106 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_startconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">override</span>;</div>
 107 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_completeconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">override</span>;</div>
 108 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>·do_dropconnect(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div>
 109 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·is_ready(<a·class="code·hl_typedef"·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">handle</a>)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;</div>
 110 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 111 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="keyword">private</span>:</div>
 112 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keywordtype">bool</span>·m_connecting;</div>
 113 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>};</div>
 114 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
 115 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>
 116 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga7121f95bc086259290652be9456b1bb8">··144</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">asyncconnection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_async&gt;</a>;</div>
 117 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>
 118 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 119 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div>
 120 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a01127.html">··152</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01127.html">connect_null</a>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a></div>
 121 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>{</div>
69 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_DEPRECATED·1</span></div>122 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span><span·class="keyword">public</span>:</div>
 123 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a01127.html#a0f3aae5285574af29d06abdcb7f2560c">··155</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01127.html#a0f3aae5285574af29d06abdcb7f2560c">connect_null</a>(<span·class="keyword">const</span>·std::string·&amp;opts)·:·<a·class="code·hl_class"·href="a01143.html">connectionpolicy</a>{opts}·{}</div>
 124 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>};</div>
 125 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div>
 126 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div>
 127 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno"><a·class="line"·href="a00260.html#ga07f8f728bed77b9a10b302872dbad1c7">··160</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01103.html">nullconnection</a>·=·<a·class="code·hl_class"·href="a01103.html">basic_connection_base&lt;connect_null&gt;</a>;</div>
 128 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>
 129 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>}</div>
 130 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div>
 131 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
 132 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div>
70 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·PQXX_HAVE_GCC_PURE·1</span></div>133 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span><span·class="preprocessor">#endif</span></div>
 134 <div·class="ttc"·id="aa00265_html"><div·class="ttname"><a·href="a00265.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:26</div></div>
 135 <div·class="ttc"·id="aa01103_html"><div·class="ttname"><a·href="a01103.html">pqxx::basic_connection_base</a></div><div·class="ttdoc">Base-class·template·for·all·libpqxx·connection·types.</div><div·class="ttdef"><b>Definition:</b>·basic_connection.hxx:47</div></div>
 136 <div·class="ttc"·id="aa01115_html"><div·class="ttname"><a·href="a01115.html">pqxx::connect_direct</a></div><div·class="ttdoc">Connection·policy;·creates·an·immediate·connection·to·a·database.</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:88</div></div>
 137 <div·class="ttc"·id="aa01115_html_a3ae8ab240a1f152c64cd40493d92f846"><div·class="ttname"><a·href="a01115.html#a3ae8ab240a1f152c64cd40493d92f846">pqxx::connect_direct::connect_direct</a></div><div·class="ttdeci">connect_direct(const·std::string·&amp;opts)</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:92</div></div>
 138 <div·class="ttc"·id="aa01119_html"><div·class="ttname"><a·href="a01119.html">pqxx::connect_lazy</a></div><div·class="ttdoc">Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use.</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:106</div></div>
 139 <div·class="ttc"·id="aa01119_html_a9d93b15b0681f3b4e25e9fab79adb8cd"><div·class="ttname"><a·href="a01119.html#a9d93b15b0681f3b4e25e9fab79adb8cd">pqxx::connect_lazy::connect_lazy</a></div><div·class="ttdeci">connect_lazy(const·std::string·&amp;opts)</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:110</div></div>
 140 <div·class="ttc"·id="aa01123_html"><div·class="ttname"><a·href="a01123.html">pqxx::connect_async</a></div><div·class="ttdoc">Asynchronous·connection·policy;·connects·&quot;in·the·background&quot;.</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:127</div></div>
 141 <div·class="ttc"·id="aa01127_html"><div·class="ttname"><a·href="a01127.html">pqxx::connect_null</a></div><div·class="ttdoc">Nonfunctional,·always-down·connection·policy·for·testing/debugging·purposes.</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:153</div></div>
 142 <div·class="ttc"·id="aa01127_html_a0f3aae5285574af29d06abdcb7f2560c"><div·class="ttname"><a·href="a01127.html#a0f3aae5285574af29d06abdcb7f2560c">pqxx::connect_null::connect_null</a></div><div·class="ttdeci">connect_null(const·std::string·&amp;opts)</div><div·class="ttdef"><b>Definition:</b>·connection.hxx:155</div></div>
 143 <div·class="ttc"·id="aa01143_html"><div·class="ttname"><a·href="a01143.html">pqxx::connectionpolicy</a></div><div·class="ttdef"><b>Definition:</b>·connectionpolicy.hxx:32</div></div>
 144 <div·class="ttc"·id="aa01143_html_af84188f72d515ed0df7288d65645ae8d"><div·class="ttname"><a·href="a01143.html#af84188f72d515ed0df7288d65645ae8d">pqxx::connectionpolicy::handle</a></div><div·class="ttdeci">internal::pq::PGconn·*·handle</div><div·class="ttdef"><b>Definition:</b>·connectionpolicy.hxx:34</div></div>
71 </div><!--·fragment·--></div><!--·contents·-->145 </div><!--·fragment·--></div><!--·contents·-->
72 </div><!--·doc-content·-->146 </div><!--·doc-content·-->
73 <!--·start·footer·part·-->147 <!--·start·footer·part·-->
74 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->148 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
75 ··<ul>149 ··<ul>
76 ····<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-compiler.h</b></li>150 ····<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>connection.hxx</b></li>
77 ····<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.4·</li>151 ····<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.4·</li>
78 ··</ul>152 ··</ul>
79 </div>153 </div>
80 </body>154 </body>
81 </html>155 </html>
3.32 KB
html2text {}
    
Offset 1, 18 lines modifiedOffset 1, 113 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-public-compiler.h 
3 ·1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/2 connection.hxx
 3 ·1
 4 ·13#ifndef·PQXX_H_CONNECTION
 5 ·14#define·PQXX_H_CONNECTION
 6 ·15
 7 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·"pqxx/connectionpolicy.hxx"
 11 ·20#include·"pqxx/basic_connection.hxx"
4 ·212 ·21
5 ·3#define·PQXX_HAVE_DEPRECATED·1 
6 ·4#define·PQXX_HAVE_GCC_CONST·1 
7 ·5#define·PQXX_HAVE_GCC_DEPRECATED·1 
8 ·6#define·PQXX_HAVE_GCC_PURE·113 ·22namespace·pqxx
 14 ·23{
 15 ·24
 16 ·77
 17 87class·PQXX_LIBEXPORT·connect_direct·:·public·connectionpolicy
 18 ·88{
 19 ·89public:
 20 92·explicit·connect_direct(const·std::string·&opts)·:·connectionpolicy{opts}·{}
 21 ·93·virtual·handle·do_startconnect(handle)·override;
 22 ·94};
 23 ·95
 24 97using·connection·=·basic_connection_base<connect_direct>;
 25 ·98
 26 ·99
 27 ·101
 28 105class·PQXX_LIBEXPORT·connect_lazy·:·public·connectionpolicy
 29 ·106{
 30 ·107public:
 31 110·explicit·connect_lazy(const·std::string·&opts)·:·connectionpolicy{opts}·{}
 32 ·111·virtual·handle·do_completeconnect(handle)·override;
 33 ·112};
 34 ·113
 35 ·114
 36 116using·lazyconnection·=·basic_connection_base<connect_lazy>;
 37 ·117
 38 ·118
 39 ·120
 40 126class·PQXX_LIBEXPORT·connect_async·:·public·connectionpolicy
 41 ·127{
 42 ·128public:
 43 ·131·explicit·connect_async(const·std::string·&opts);
 44 ·132·virtual·handle·do_startconnect(handle)·override;
 45 ·133·virtual·handle·do_completeconnect(handle)·override;
 46 ·134·virtual·handle·do_dropconnect(handle)·noexcept·override;
 47 ·135·virtual·bool·is_ready(handle)·const·noexcept·override;
 48 ·136
 49 ·137private:
 50 ·139·bool·m_connecting;
 51 ·140};
 52 ·141
 53 ·142
 54 144using·asyncconnection·=·basic_connection_base<connect_async>;
 55 ·145
 56 ·146
 57 ·148
 58 152class·PQXX_LIBEXPORT·connect_null·:·public·connectionpolicy
 59 ·153{
 60 ·154public:
 61 155·explicit·connect_null(const·std::string·&opts)·:·connectionpolicy{opts}·{}
 62 ·156};
 63 ·157
 64 ·158
 65 160using·nullconnection·=·basic_connection_base<connect_null>;
 66 ·161
 67 ·166}
 68 ·167
 69 ·168#include·"pqxx/compiler-internal-post.hxx"
 70 ·169
 71 ·170#endif
 72 pqxx
 73 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 74 Definition:·array.hxx:26
 75 pqxx::basic_connection_base
 76 Base-class·template·for·all·libpqxx·connection·types.
 77 Definition:·basic_connection.hxx:47
 78 pqxx::connect_direct
 79 Connection·policy;·creates·an·immediate·connection·to·a·database.
 80 Definition:·connection.hxx:88
 81 pqxx::connect_direct::connect_direct
 82 connect_direct(const·std::string·&opts)
 83 Definition:·connection.hxx:92
 84 pqxx::connect_lazy
 85 Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use.
 86 Definition:·connection.hxx:106
 87 pqxx::connect_lazy::connect_lazy
 88 connect_lazy(const·std::string·&opts)
 89 Definition:·connection.hxx:110
 90 pqxx::connect_async
 91 Asynchronous·connection·policy;·connects·"in·the·background".
 92 Definition:·connection.hxx:127
 93 pqxx::connect_null
 94 Nonfunctional,·always-down·connection·policy·for·testing/debugging·purposes.
 95 Definition:·connection.hxx:153
 96 pqxx::connect_null::connect_null
 97 connect_null(const·std::string·&opts)
 98 Definition:·connection.hxx:155
 99 pqxx::connectionpolicy
 100 Definition:·connectionpolicy.hxx:32
 101 pqxx::connectionpolicy::handle
 102 internal::pq::PGconn·*·handle
 103 Definition:·connectionpolicy.hxx:34
9 ····*·include104 ····*·include
10 ····*·pqxx105 ····*·pqxx
11 ····*·config-public-compiler.h106 ····*·connection.hxx
12 ····*·Generated·by·[doxygen]·1.9.4107 ····*·Generated·by·[doxygen]·1.9.4
4.21 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00265.html
    
Offset 597, 15 lines modifiedOffset 597, 15 lines modified
597 <p·>Definition·of·the·<a·class="el"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table.">pqxx::stream_from</a>·class.</p>597 <p·>Definition·of·the·<a·class="el"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table.">pqxx::stream_from</a>·class.</p>
598 <p·><a·class="el"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table.">pqxx::stream_from</a>·enables·optimized·batch·reads·from·a·database·table.</p>598 <p·><a·class="el"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table.">pqxx::stream_from</a>·enables·optimized·batch·reads·from·a·database·table.</p>
599 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead.</p>599 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/stream_from·instead.</p>
600 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>600 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
601 <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>601 <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>
602 <p·>Definition·of·the·<a·class="el"·href="a01479.html"·title="Efficiently·write·data·directly·to·a·database·table.">pqxx::stream_to</a>·class.</p>602 <p·>Definition·of·the·<a·class="el"·href="a01479.html"·title="Efficiently·write·data·directly·to·a·database·table.">pqxx::stream_to</a>·class.</p>
603 <p·><a·class="el"·href="a01479.html"·title="Efficiently·write·data·directly·to·a·database·table.">pqxx::stream_to</a>·enables·optimized·batch·updates·to·a·database·table.</p>603 <p·><a·class="el"·href="a01479.html"·title="Efficiently·write·data·directly·to·a·database·table.">pqxx::stream_to</a>·enables·optimized·batch·updates·to·a·database·table.</p>
604 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00095_source.html">pqxx/stream_to.hxx</a>·instead.</p>604 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00050_source.html">pqxx/stream_to.hxx</a>·instead.</p>
605 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>605 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
606 <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>606 <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>
607 <p·>Definition·of·the·<a·class="el"·href="a01487.html"·title="&quot;Transaction&quot;·nested·within·another·transaction">pqxx::subtransaction</a>·class.</p>607 <p·>Definition·of·the·<a·class="el"·href="a01487.html"·title="&quot;Transaction&quot;·nested·within·another·transaction">pqxx::subtransaction</a>·class.</p>
608 <p·><a·class="el"·href="a01487.html"·title="&quot;Transaction&quot;·nested·within·another·transaction">pqxx::subtransaction</a>·is·a·nested·transaction,·i.e.·one·within·a·transaction.</p>608 <p·><a·class="el"·href="a01487.html"·title="&quot;Transaction&quot;·nested·within·another·transaction">pqxx::subtransaction</a>·is·a·nested·transaction,·i.e.·one·within·a·transaction.</p>
609 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</p>609 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/subtransaction·instead.</p>
610 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>610 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
611 <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>611 <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>
Offset 617, 15 lines modifiedOffset 617, 15 lines modified
617 <p·>Definition·of·the·<a·class="el"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes.">pqxx::tablestream</a>·class.</p>617 <p·>Definition·of·the·<a·class="el"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes.">pqxx::tablestream</a>·class.</p>
618 <p·><a·class="el"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes.">pqxx::tablestream</a>·provides·optimized·batch·access·to·a·database·table.</p>618 <p·><a·class="el"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes.">pqxx::tablestream</a>·provides·optimized·batch·access·to·a·database·table.</p>
619 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/tablestream·instead.</p>619 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/tablestream·instead.</p>
620 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>620 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
621 <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>621 <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>
622 <p·>Definition·of·the·<a·class="el"·href="a01499.html">pqxx::tablewriter</a>·class.</p>622 <p·>Definition·of·the·<a·class="el"·href="a01499.html">pqxx::tablewriter</a>·class.</p>
623 <p·><a·class="el"·href="a01499.html">pqxx::tablewriter</a>·enables·optimized·batch·updates·to·a·database·table.</p>623 <p·><a·class="el"·href="a01499.html">pqxx::tablewriter</a>·enables·optimized·batch·updates·to·a·database·table.</p>
624 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00047_source.html">pqxx/tablewriter.hxx</a>·instead.</p>624 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00038_source.html">pqxx/tablewriter.hxx</a>·instead.</p>
625 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>625 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
626 <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>626 <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>
627 <p·>Definition·of·the·<a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·class.·<a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·represents·a·standard·database·transaction.</p>627 <p·>Definition·of·the·<a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·class.·<a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·represents·a·standard·database·transaction.</p>
628 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</p>628 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transaction·instead.</p>
629 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>629 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
630 <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>630 <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>
631 <p·>Common·code·and·definitions·for·the·transaction·classes.</p>631 <p·>Common·code·and·definitions·for·the·transaction·classes.</p>
1.97 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01099.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="a01099.html#details">More...</a></p>70 ·<a·href="a01099.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">array.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_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"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">juncture</a>·{·<br·/>75 <tr·class="memitem:a039577d83d313a6daf35fd7c273e189e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">juncture</a>·{·<br·/>
76 &#160;&#160;<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">row_start</a>76 &#160;&#160;<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">row_start</a>
77 ,·<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">row_end</a>77 ,·<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">row_end</a>
78 ,·<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">null_value</a>78 ,·<a·class="el"·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">null_value</a>
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
189 <p>Parse·the·next·step·in·the·array.·</p>189 <p>Parse·the·next·step·in·the·array.·</p>
190 <p·>Returns·what·it·found.·If·the·juncture·is·<code>string_value</code>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p>190 <p·>Returns·what·it·found.·If·the·juncture·is·<code>string_value</code>,·the·string·will·contain·the·value.·Otherwise,·it·will·be·empty.</p>
191 <p·>Call·this·until·the·<code>juncture</code>·it·returns·is·<code>done</code>.·</p>191 <p·>Call·this·until·the·<code>juncture</code>·it·returns·is·<code>done</code>.·</p>
  
192 </div>192 </div>
193 </div>193 </div>
194 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>194 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
195 <li><a·class="el"·href="a00074_source.html">array.hxx</a></li>195 <li><a·class="el"·href="a00071_source.html">array.hxx</a></li>
196 <li>array.cxx</li>196 <li>array.cxx</li>
197 </ul>197 </ul>
198 </div><!--·contents·-->198 </div><!--·contents·-->
199 </div><!--·doc-content·-->199 </div><!--·doc-content·-->
200 <!--·start·footer·part·-->200 <!--·start·footer·part·-->
201 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->201 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
202 ··<ul>202 ··<ul>
1.92 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01103.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::basic_connection_base&lt;·CONNECTPOLICY·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::basic_connection_base&lt;·CONNECTPOLICY·&gt;·Class·Template·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Base-class·template·for·all·libpqxx·connection·types.··68 <p>Base-class·template·for·all·libpqxx·connection·types.··
69 ·<a·href="a01103.html#details">More...</a></p>69 ·<a·href="a01103.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">basic_connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">basic_connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::basic_connection_base&lt;·CONNECTPOLICY·&gt;:</div>72 Inheritance·diagram·for·pqxx::basic_connection_base&lt;·CONNECTPOLICY·&gt;:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01102.png"·border="0"·usemap="#apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01102.png"·border="0"·usemap="#apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map"·id="apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map">75 <map·name="apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map"·id="apqxx_1_1basic__connection__base_3_01CONNECTPOLICY_01_4_inherit__map">
76 <area·shape="rect"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>76 <area·shape="rect"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>
77 <area·shape="rect"·href="a01107.html"·title="Concrete·connection·type·template."·alt=""·coords="18,169,193,211"/>77 <area·shape="rect"·href="a01107.html"·title="Concrete·connection·type·template."·alt=""·coords="18,169,193,211"/>
Offset 440, 15 lines modifiedOffset 440, 15 lines modified
440 ··</tr>440 ··</tr>
441 </table>441 </table>
442 </div><div·class="memdoc">442 </div><div·class="memdoc">
  
443 </div>443 </div>
444 </div>444 </div>
445 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>445 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
446 <li><a·class="el"·href="a00059_source.html">basic_connection.hxx</a></li>446 <li><a·class="el"·href="a00017_source.html">basic_connection.hxx</a></li>
447 </ul>447 </ul>
448 </div><!--·contents·-->448 </div><!--·contents·-->
449 </div><!--·doc-content·-->449 </div><!--·doc-content·-->
450 <!--·start·footer·part·-->450 <!--·start·footer·part·-->
451 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->451 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
452 ··<ul>452 ··<ul>
453 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01103.html">basic_connection_base</a></li>453 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01103.html">basic_connection_base</a></li>
1.87 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01107.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::basic_connection&lt;·CONNECTPOLICY·&gt;·Struct·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::basic_connection&lt;·CONNECTPOLICY·&gt;·Struct·Template·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Concrete·connection·type·template.··68 <p>Concrete·connection·type·template.··
69 ·<a·href="a01107.html#details">More...</a></p>69 ·<a·href="a01107.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">basic_connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">basic_connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::basic_connection&lt;·CONNECTPOLICY·&gt;:</div>72 Inheritance·diagram·for·pqxx::basic_connection&lt;·CONNECTPOLICY·&gt;:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01106.png"·border="0"·usemap="#apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01106.png"·border="0"·usemap="#apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map"·id="apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map">75 <map·name="apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map"·id="apqxx_1_1basic__connection_3_01CONNECTPOLICY_01_4_inherit__map">
76 <area·shape="rect"·title="Concrete·connection·type·template."·alt=""·coords="18,169,193,211"/>76 <area·shape="rect"·title="Concrete·connection·type·template."·alt=""·coords="18,169,193,211"/>
77 <area·shape="rect"·href="a01103.html"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>77 <area·shape="rect"·href="a01103.html"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>
Offset 391, 15 lines modifiedOffset 391, 15 lines modified
391 ··</tr>391 ··</tr>
392 </table>392 </table>
393 </div><div·class="memdoc">393 </div><div·class="memdoc">
  
394 </div>394 </div>
395 </div>395 </div>
396 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>396 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
397 <li><a·class="el"·href="a00059_source.html">basic_connection.hxx</a></li>397 <li><a·class="el"·href="a00017_source.html">basic_connection.hxx</a></li>
398 </ul>398 </ul>
399 </div><!--·contents·-->399 </div><!--·contents·-->
400 </div><!--·doc-content·-->400 </div><!--·doc-content·-->
401 <!--·start·footer·part·-->401 <!--·start·footer·part·-->
402 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->402 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
403 ··<ul>403 ··<ul>
404 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01107.html">basic_connection</a></li>404 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01107.html">basic_connection</a></li>
2.27 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01111.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="a00255.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="a00255.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="a01111.html#details">More...</a></p>70 ·<a·href="a01111.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00002_source.html">binarystring.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00086_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"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·=·unsigned·char</td></tr>75 <tr·class="memitem:ac8ad29d6a0835c22348e446a6253461f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01111.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"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;·<a·class="el"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·&gt;<a·class="el"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">::char_type</a></td></tr>77 <tr·class="memitem:a6437b862c31586e091d52bac465d1d6c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01111.html#a6437b862c31586e091d52bac465d1d6c">value_type</a>·=·std::char_traits&lt;·<a·class="el"·href="a01111.html#ac8ad29d6a0835c22348e446a6253461f">char_type</a>·&gt;<a·class="el"·href="a01111.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 909, 15 lines modifiedOffset 909, 15 lines modified
909 </div><div·class="memdoc">909 </div><div·class="memdoc">
  
910 <p>Swap·contents·with·other·binarystring.·</p>910 <p>Swap·contents·with·other·binarystring.·</p>
  
911 </div>911 </div>
912 </div>912 </div>
913 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>913 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
914 <li><a·class="el"·href="a00002_source.html">binarystring.hxx</a></li>914 <li><a·class="el"·href="a00086_source.html">binarystring.hxx</a></li>
915 <li>binarystring.cxx</li>915 <li>binarystring.cxx</li>
916 </ul>916 </ul>
917 </div><!--·contents·-->917 </div><!--·contents·-->
918 </div><!--·doc-content·-->918 </div><!--·doc-content·-->
919 <!--·start·footer·part·-->919 <!--·start·footer·part·-->
920 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->920 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
921 ··<ul>921 ··<ul>
1.78 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01115.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::connect_direct·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::connect_direct·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Connection·policy;·creates·an·immediate·connection·to·a·database.··68 <p>Connection·policy;·creates·an·immediate·connection·to·a·database.··
69 ·<a·href="a01115.html#details">More...</a></p>69 ·<a·href="a01115.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::connect_direct:</div>72 Inheritance·diagram·for·pqxx::connect_direct:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01114.png"·border="0"·usemap="#apqxx_1_1connect__direct_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01114.png"·border="0"·usemap="#apqxx_1_1connect__direct_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1connect__direct_inherit__map"·id="apqxx_1_1connect__direct_inherit__map">75 <map·name="apqxx_1_1connect__direct_inherit__map"·id="apqxx_1_1connect__direct_inherit__map">
76 <area·shape="rect"·title="Connection·policy;·creates·an·immediate·connection·to·a·database."·alt=""·coords="13,80,170,107"/>76 <area·shape="rect"·title="Connection·policy;·creates·an·immediate·connection·to·a·database."·alt=""·coords="13,80,170,107"/>
77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>
Offset 171, 15 lines modifiedOffset 171, 15 lines modified
171 </div><div·class="memdoc">171 </div><div·class="memdoc">
  
172 <p>Reimplemented·from·<a·class="el"·href="a01143.html#ab7c76ae54326197bcbe6d35b5bbb246f">pqxx::connectionpolicy</a>.</p>172 <p>Reimplemented·from·<a·class="el"·href="a01143.html#ab7c76ae54326197bcbe6d35b5bbb246f">pqxx::connectionpolicy</a>.</p>
  
173 </div>173 </div>
174 </div>174 </div>
175 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>175 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
176 <li><a·class="el"·href="a00071_source.html">connection.hxx</a></li>176 <li><a·class="el"·href="a00128_source.html">connection.hxx</a></li>
177 <li>connection.cxx</li>177 <li>connection.cxx</li>
178 </ul>178 </ul>
179 </div><!--·contents·-->179 </div><!--·contents·-->
180 </div><!--·doc-content·-->180 </div><!--·doc-content·-->
181 <!--·start·footer·part·-->181 <!--·start·footer·part·-->
182 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->182 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
183 ··<ul>183 ··<ul>
1.79 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01119.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::connect_lazy·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::connect_lazy·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use.··68 <p>Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use.··
69 ·<a·href="a01119.html#details">More...</a></p>69 ·<a·href="a01119.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::connect_lazy:</div>72 Inheritance·diagram·for·pqxx::connect_lazy:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01118.png"·border="0"·usemap="#apqxx_1_1connect__lazy_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01118.png"·border="0"·usemap="#apqxx_1_1connect__lazy_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1connect__lazy_inherit__map"·id="apqxx_1_1connect__lazy_inherit__map">75 <map·name="apqxx_1_1connect__lazy_inherit__map"·id="apqxx_1_1connect__lazy_inherit__map">
76 <area·shape="rect"·title="Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use."·alt=""·coords="18,80,165,107"/>76 <area·shape="rect"·title="Lazy·connection·policy;·causes·connection·to·be·deferred·until·first·use."·alt=""·coords="18,80,165,107"/>
77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>
Offset 170, 15 lines modifiedOffset 170, 15 lines modified
170 </div><div·class="memdoc">170 </div><div·class="memdoc">
  
171 <p>Reimplemented·from·<a·class="el"·href="a01143.html#a0bbbedd08b7f579e5a2577e97b7e09b7">pqxx::connectionpolicy</a>.</p>171 <p>Reimplemented·from·<a·class="el"·href="a01143.html#a0bbbedd08b7f579e5a2577e97b7e09b7">pqxx::connectionpolicy</a>.</p>
  
172 </div>172 </div>
173 </div>173 </div>
174 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>174 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
175 <li><a·class="el"·href="a00071_source.html">connection.hxx</a></li>175 <li><a·class="el"·href="a00128_source.html">connection.hxx</a></li>
176 <li>connection.cxx</li>176 <li>connection.cxx</li>
177 </ul>177 </ul>
178 </div><!--·contents·-->178 </div><!--·contents·-->
179 </div><!--·doc-content·-->179 </div><!--·doc-content·-->
180 <!--·start·footer·part·-->180 <!--·start·footer·part·-->
181 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->181 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
182 ··<ul>182 ··<ul>
1.78 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01123.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::connect_async·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::connect_async·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Asynchronous·connection·policy;·connects·"in·the·background".··68 <p>Asynchronous·connection·policy;·connects·"in·the·background".··
69 ·<a·href="a01123.html#details">More...</a></p>69 ·<a·href="a01123.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::connect_async:</div>72 Inheritance·diagram·for·pqxx::connect_async:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01122.png"·border="0"·usemap="#apqxx_1_1connect__async_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01122.png"·border="0"·usemap="#apqxx_1_1connect__async_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1connect__async_inherit__map"·id="apqxx_1_1connect__async_inherit__map">75 <map·name="apqxx_1_1connect__async_inherit__map"·id="apqxx_1_1connect__async_inherit__map">
76 <area·shape="rect"·title="Asynchronous·connection·policy;·connects·&quot;in·the·background&quot;."·alt=""·coords="12,80,171,107"/>76 <area·shape="rect"·title="Asynchronous·connection·policy;·connects·&quot;in·the·background&quot;."·alt=""·coords="12,80,171,107"/>
77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>
Offset 263, 15 lines modifiedOffset 263, 15 lines modified
263 </div><div·class="memdoc">263 </div><div·class="memdoc">
  
264 <p>Reimplemented·from·<a·class="el"·href="a01143.html#ac584cd2d0aefb7bea639e450d74ac565">pqxx::connectionpolicy</a>.</p>264 <p>Reimplemented·from·<a·class="el"·href="a01143.html#ac584cd2d0aefb7bea639e450d74ac565">pqxx::connectionpolicy</a>.</p>
  
265 </div>265 </div>
266 </div>266 </div>
267 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>267 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
268 <li><a·class="el"·href="a00071_source.html">connection.hxx</a></li>268 <li><a·class="el"·href="a00128_source.html">connection.hxx</a></li>
269 <li>connection.cxx</li>269 <li>connection.cxx</li>
270 </ul>270 </ul>
271 </div><!--·contents·-->271 </div><!--·contents·-->
272 </div><!--·doc-content·-->272 </div><!--·doc-content·-->
273 <!--·start·footer·part·-->273 <!--·start·footer·part·-->
274 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->274 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
275 ··<ul>275 ··<ul>
1.81 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01127.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::connect_null·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::connect_null·Class·Reference<div·class="ingroups"><a·class="el"·href="a00260.html">Connection·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Nonfunctional,·always-down·connection·policy·for·testing/debugging·purposes.··68 <p>Nonfunctional,·always-down·connection·policy·for·testing/debugging·purposes.··
69 ·<a·href="a01127.html#details">More...</a></p>69 ·<a·href="a01127.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00071_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::connect_null:</div>72 Inheritance·diagram·for·pqxx::connect_null:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01126.png"·border="0"·usemap="#apqxx_1_1connect__null_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01126.png"·border="0"·usemap="#apqxx_1_1connect__null_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1connect__null_inherit__map"·id="apqxx_1_1connect__null_inherit__map">75 <map·name="apqxx_1_1connect__null_inherit__map"·id="apqxx_1_1connect__null_inherit__map">
76 <area·shape="rect"·title="Nonfunctional,·always&#45;down·connection·policy·for·testing/debugging·purposes."·alt=""·coords="19,80,163,107"/>76 <area·shape="rect"·title="Nonfunctional,·always&#45;down·connection·policy·for·testing/debugging·purposes."·alt=""·coords="19,80,163,107"/>
77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>77 <area·shape="rect"·href="a01143.html"·title="·"·alt=""·coords="5,5,177,32"/>
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·class·was·generated·from·the·following·file:<ul>143 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
144 <li><a·class="el"·href="a00071_source.html">connection.hxx</a></li>144 <li><a·class="el"·href="a00128_source.html">connection.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01127.html">connect_null</a></li>151 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01127.html">connect_null</a></li>
4.37 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01135.html
    
Offset 303, 15 lines modifiedOffset 303, 15 lines modified
303 <tr·class="memitem:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="memItemLeft"·align="right"·valign="top">int·PQXX_PURE&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a62a8cbed74e3c332fe8d1836d3e358e0">server_version</a>·()·const·noexcept</td></tr>303 <tr·class="memitem:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="memItemLeft"·align="right"·valign="top">int·PQXX_PURE&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a62a8cbed74e3c332fe8d1836d3e358e0">server_version</a>·()·const·noexcept</td></tr>
304 <tr·class="memdesc:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">What·version·of·the·PostgreSQL·server·are·we·connected·to?··<a·href="a01135.html#a62a8cbed74e3c332fe8d1836d3e358e0">More...</a><br·/></td></tr>304 <tr·class="memdesc:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">What·version·of·the·PostgreSQL·server·are·we·connected·to?··<a·href="a01135.html#a62a8cbed74e3c332fe8d1836d3e358e0">More...</a><br·/></td></tr>
305 <tr·class="separator:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>305 <tr·class="separator:a62a8cbed74e3c332fe8d1836d3e358e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
306 </table>306 </table>
307 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>307 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
308 <div·class="textblock"><p·><a·class="el"·href="a01135.html"·title="connection_base·abstract·base·class;·represents·a·connection·to·a·database.">connection_base</a>·abstract·base·class;·represents·a·connection·to·a·database.·</p>308 <div·class="textblock"><p·><a·class="el"·href="a01135.html"·title="connection_base·abstract·base·class;·represents·a·connection·to·a·database.">connection_base</a>·abstract·base·class;·represents·a·connection·to·a·database.·</p>
309 <p·>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·Depending·on·the·implementing·concrete·child·class,·a·connection·can·be·automatically·opened·when·it·is·constructed,·or·when·it·is·first·used,·or·somewhere·inbetween.·The·connection·is·automatically·closed·upon·destruction·(if·it·hasn't·been·closed·already).</p>309 <p·>This·is·the·first·class·to·look·at·when·you·wish·to·work·with·a·database·through·libpqxx.·Depending·on·the·implementing·concrete·child·class,·a·connection·can·be·automatically·opened·when·it·is·constructed,·or·when·it·is·first·used,·or·somewhere·inbetween.·The·connection·is·automatically·closed·upon·destruction·(if·it·hasn't·been·closed·already).</p>
310 <p·>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00083_source.html">pqxx/transaction_base.hxx</a>)·or·preferably·the·transactor·framework·(see·<a·class="el"·href="a00056_source.html">pqxx/transactor.hxx</a>).</p>310 <p·>To·query·or·manipulate·the·database·once·connected,·use·one·of·the·transaction·classes·(see·<a·class="el"·href="a00029_source.html">pqxx/transaction_base.hxx</a>)·or·preferably·the·transactor·framework·(see·<a·class="el"·href="a00041_source.html">pqxx/transactor.hxx</a>).</p>
311 <p·>If·a·network·connection·to·the·database·server·fails,·the·connection·will·be·restored·automatically·(although·any·transaction·going·on·at·the·time·will·have·to·be·aborted).·This·also·means·that·any·information·set·in·previous·transactions·that·is·not·stored·in·the·database,·such·as·temp·tables·or·connection-local·variables·defined·with·PostgreSQL's·SET·command,·will·be·lost.·Whenever·you·create·such·state,·either·keept·it·local·to·one·transaction,·where·possible,·or·inhibit·automatic·reactivation·of·the·connection·using·the·<a·class="el"·href="a01135.html#aedf7ac72658efa92e702a06b1964747a">inhibit_reactivation()</a>·method.</p>311 <p·>If·a·network·connection·to·the·database·server·fails,·the·connection·will·be·restored·automatically·(although·any·transaction·going·on·at·the·time·will·have·to·be·aborted).·This·also·means·that·any·information·set·in·previous·transactions·that·is·not·stored·in·the·database,·such·as·temp·tables·or·connection-local·variables·defined·with·PostgreSQL's·SET·command,·will·be·lost.·Whenever·you·create·such·state,·either·keept·it·local·to·one·transaction,·where·possible,·or·inhibit·automatic·reactivation·of·the·connection·using·the·<a·class="el"·href="a01135.html#aedf7ac72658efa92e702a06b1964747a">inhibit_reactivation()</a>·method.</p>
312 <p·>When·a·connection·breaks,·you·will·typically·get·a·<a·class="el"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection.">broken_connection</a>·exception.·This·can·happen·at·almost·any·point,·and·the·details·may·depend·on·which·connection·class·(all·derived·from·this·one)·you·use.</p>312 <p·>When·a·connection·breaks,·you·will·typically·get·a·<a·class="el"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection.">broken_connection</a>·exception.·This·can·happen·at·almost·any·point,·and·the·details·may·depend·on·which·connection·class·(all·derived·from·this·one)·you·use.</p>
313 <p·>As·a·general·rule,·always·avoid·raw·queries·if·libpqxx·offers·a·dedicated·function·for·the·same·purpose.·There·may·be·hidden·logic·to·hide·certain·complications·from·you,·such·as·reinstating·session·variables·when·a·broken·or·disabled·connection·is·reactivated.</p>313 <p·>As·a·general·rule,·always·avoid·raw·queries·if·libpqxx·offers·a·dedicated·function·for·the·same·purpose.·There·may·be·hidden·logic·to·hide·certain·complications·from·you,·such·as·reinstating·session·variables·when·a·broken·or·disabled·connection·is·reactivated.</p>
314 <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>314 <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>
315 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>315 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>
316 <a·id="a306a884246abc1051bab4fb06393ee71"·name="a306a884246abc1051bab4fb06393ee71"></a>316 <a·id="a306a884246abc1051bab4fb06393ee71"·name="a306a884246abc1051bab4fb06393ee71"></a>
317 <h2·class="memtitle"><span·class="permalink"><a·href="#a306a884246abc1051bab4fb06393ee71">&#9670;&nbsp;</a></span>capability</h2>317 <h2·class="memtitle"><span·class="permalink"><a·href="#a306a884246abc1051bab4fb06393ee71">&#9670;&nbsp;</a></span>capability</h2>
Offset 2057, 15 lines modifiedOffset 2057, 15 lines modified
2057 </table>2057 </table>
2058 </div><div·class="memdoc">2058 </div><div·class="memdoc">
  
2059 </div>2059 </div>
2060 </div>2060 </div>
2061 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2061 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2062 <li><a·class="el"·href="a00077_source.html">connection_base.hxx</a></li>2062 <li><a·class="el"·href="a00077_source.html">connection_base.hxx</a></li>
2063 <li><a·class="el"·href="a00056_source.html">transactor.hxx</a></li>2063 <li><a·class="el"·href="a00041_source.html">transactor.hxx</a></li>
2064 <li>connection_base.cxx</li>2064 <li>connection_base.cxx</li>
2065 </ul>2065 </ul>
2066 </div><!--·contents·-->2066 </div><!--·contents·-->
2067 </div><!--·doc-content·-->2067 </div><!--·doc-content·-->
2068 <!--·start·footer·part·-->2068 <!--·start·footer·part·-->
2069 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->2069 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
2070 ··<ul>2070 ··<ul>
1.69 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01143.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="a01140.html">List·of·all·members</a>··</div>66 <a·href="a01140.html">List·of·all·members</a>··</div>
67 ··<div·class="headertitle"><div·class="title">pqxx::connectionpolicy·Class·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::connectionpolicy·Class·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="a00107_source.html">connectionpolicy.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">connectionpolicy.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::connectionpolicy:</div>72 Inheritance·diagram·for·pqxx::connectionpolicy:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01142.png"·border="0"·usemap="#apqxx_1_1connectionpolicy_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01142.png"·border="0"·usemap="#apqxx_1_1connectionpolicy_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1connectionpolicy_inherit__map"·id="apqxx_1_1connectionpolicy_inherit__map">75 <map·name="apqxx_1_1connectionpolicy_inherit__map"·id="apqxx_1_1connectionpolicy_inherit__map">
76 <area·shape="rect"·title="·"·alt=""·coords="269,5,441,32"/>76 <area·shape="rect"·title="·"·alt=""·coords="269,5,441,32"/>
77 <area·shape="rect"·href="a01123.html"·title="Asynchronous·connection·policy;·connects·&quot;in·the·background&quot;."·alt=""·coords="5,80,164,107"/>77 <area·shape="rect"·href="a01123.html"·title="Asynchronous·connection·policy;·connects·&quot;in·the·background&quot;."·alt=""·coords="5,80,164,107"/>
Offset 373, 15 lines modifiedOffset 373, 15 lines modified
373 ··</tr>373 ··</tr>
374 </table>374 </table>
375 </div><div·class="memdoc">375 </div><div·class="memdoc">
  
376 </div>376 </div>
377 </div>377 </div>
378 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>378 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
379 <li><a·class="el"·href="a00107_source.html">connectionpolicy.hxx</a></li>379 <li><a·class="el"·href="a00014_source.html">connectionpolicy.hxx</a></li>
380 <li>connection.cxx</li>380 <li>connection.cxx</li>
381 </ul>381 </ul>
382 </div><!--·contents·-->382 </div><!--·contents·-->
383 </div><!--·doc-content·-->383 </div><!--·doc-content·-->
384 <!--·start·footer·part·-->384 <!--·start·footer·part·-->
385 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->385 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
386 ··<ul>386 ··<ul>
1.89 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01147.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::cursor_base·Class·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::cursor_base·Class·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Common·definitions·for·cursor·types.··69 <p>Common·definitions·for·cursor·types.··
70 ·<a·href="a01147.html#details">More...</a></p>70 ·<a·href="a01147.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">cursor.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">cursor.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:a591ac7d2302288890c04e6159eb6d30e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">accesspolicy</a>·{·<a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">forward_only</a>75 <tr·class="memitem:a591ac7d2302288890c04e6159eb6d30e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">accesspolicy</a>·{·<a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30eaf440221f717464c87f043899cc117cbf">forward_only</a>
76 ,·<a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30ea7f6c1ed7719885433353a78946b2c5f3">random_access</a>76 ,·<a·class="el"·href="a01147.html#a591ac7d2302288890c04e6159eb6d30ea7f6c1ed7719885433353a78946b2c5f3">random_access</a>
77 ·}</td></tr>77 ·}</td></tr>
78 <tr·class="memdesc:a591ac7d2302288890c04e6159eb6d30e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cursor·access-pattern·policy.··<a·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">More...</a><br·/></td></tr>78 <tr·class="memdesc:a591ac7d2302288890c04e6159eb6d30e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cursor·access-pattern·policy.··<a·href="a01147.html#a591ac7d2302288890c04e6159eb6d30e">More...</a><br·/></td></tr>
Offset 515, 15 lines modifiedOffset 515, 15 lines modified
515 ··</tr>515 ··</tr>
516 </table>516 </table>
517 </div><div·class="memdoc">517 </div><div·class="memdoc">
  
518 </div>518 </div>
519 </div>519 </div>
520 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>520 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
521 <li><a·class="el"·href="a00089_source.html">cursor.hxx</a></li>521 <li><a·class="el"·href="a00047_source.html">cursor.hxx</a></li>
522 <li>cursor.cxx</li>522 <li>cursor.cxx</li>
523 </ul>523 </ul>
524 </div><!--·contents·-->524 </div><!--·contents·-->
525 </div><!--·doc-content·-->525 </div><!--·doc-content·-->
526 <!--·start·footer·part·-->526 <!--·start·footer·part·-->
527 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->527 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
528 ··<ul>528 ··<ul>
2.52 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01151.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::stateless_cursor&lt;·up,·op·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::stateless_cursor&lt;·up,·op·&gt;·Class·Template·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>"Stateless·cursor"·class:·easy·API·for·retrieving·parts·of·result·sets··69 <p>"Stateless·cursor"·class:·easy·API·for·retrieving·parts·of·result·sets··
70 ·<a·href="a01151.html#details">More...</a></p>70 ·<a·href="a01151.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">cursor.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">cursor.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:a8dbf98af7391df15a686bfb9853e8394"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8dbf98af7391df15a686bfb9853e8394">size_type</a>·=·<a·class="el"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a></td></tr>75 <tr·class="memitem:a8dbf98af7391df15a686bfb9853e8394"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8dbf98af7391df15a686bfb9853e8394">size_type</a>·=·<a·class="el"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a></td></tr>
76 <tr·class="separator:a8dbf98af7391df15a686bfb9853e8394"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a8dbf98af7391df15a686bfb9853e8394"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8f3b200166af0e4c2aa2649204df0b2b">difference_type</a>·=·<a·class="el"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a></td></tr>77 <tr·class="memitem:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8f3b200166af0e4c2aa2649204df0b2b">difference_type</a>·=·<a·class="el"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a></td></tr>
78 <tr·class="separator:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:a8f3b200166af0e4c2aa2649204df0b2b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 333, 15 lines modifiedOffset 333, 15 lines modified
333 <dl·class="section·note"><dt>Note</dt><dd>This·function·is·not·const;·it·may·need·to·scroll·to·find·the·size·of·the·result·set.·</dd></dl>333 <dl·class="section·note"><dt>Note</dt><dd>This·function·is·not·const;·it·may·need·to·scroll·to·find·the·size·of·the·result·set.·</dd></dl>
  
334 <p·class="reference">Referenced·by·<a·class="el"·href="a01151.html#a97046479f709ae621473c48ed7a0932d">pqxx::stateless_cursor&lt;·up,·op·&gt;::retrieve()</a>.</p>334 <p·class="reference">Referenced·by·<a·class="el"·href="a01151.html#a97046479f709ae621473c48ed7a0932d">pqxx::stateless_cursor&lt;·up,·op·&gt;::retrieve()</a>.</p>
  
335 </div>335 </div>
336 </div>336 </div>
337 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>337 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
338 <li><a·class="el"·href="a00089_source.html">cursor.hxx</a></li>338 <li><a·class="el"·href="a00047_source.html">cursor.hxx</a></li>
339 </ul>339 </ul>
340 </div><!--·contents·-->340 </div><!--·contents·-->
341 </div><!--·doc-content·-->341 </div><!--·doc-content·-->
342 <!--·start·footer·part·-->342 <!--·start·footer·part·-->
343 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->343 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
344 ··<ul>344 ··<ul>
345 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01151.html">stateless_cursor</a></li>345 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01151.html">stateless_cursor</a></li>
2.11 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01155.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::icursorstream·Class·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::icursorstream·Class·Reference</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p>Simple·read-only·cursor·represented·as·a·stream·of·results.··70 <p>Simple·read-only·cursor·represented·as·a·stream·of·results.··
71 ·<a·href="a01155.html#details">More...</a></p>71 ·<a·href="a01155.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">cursor.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">cursor.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:a11670c73f8c7448882956a059906bb45"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html#a11670c73f8c7448882956a059906bb45">size_type</a>·=·<a·class="el"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">cursor_base::size_type</a></td></tr>76 <tr·class="memitem:a11670c73f8c7448882956a059906bb45"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html#a11670c73f8c7448882956a059906bb45">size_type</a>·=·<a·class="el"·href="a01147.html#a5933f6fed7891b6e7aa9bc43059a0e7b">cursor_base::size_type</a></td></tr>
77 <tr·class="separator:a11670c73f8c7448882956a059906bb45"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a11670c73f8c7448882956a059906bb45"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
78 <tr·class="memitem:a93f9c7921dce69c01af1293c1a21c3bd"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html#a93f9c7921dce69c01af1293c1a21c3bd">difference_type</a>·=·<a·class="el"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">cursor_base::difference_type</a></td></tr>78 <tr·class="memitem:a93f9c7921dce69c01af1293c1a21c3bd"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html#a93f9c7921dce69c01af1293c1a21c3bd">difference_type</a>·=·<a·class="el"·href="a01147.html#ada166a0fb33fe691868dad036d3b2d03">cursor_base::difference_type</a></td></tr>
79 <tr·class="separator:a93f9c7921dce69c01af1293c1a21c3bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>79 <tr·class="separator:a93f9c7921dce69c01af1293c1a21c3bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 420, 15 lines modifiedOffset 420, 15 lines modified
420 ··</tr>420 ··</tr>
421 </table>421 </table>
422 </div><div·class="memdoc">422 </div><div·class="memdoc">
  
423 </div>423 </div>
424 </div>424 </div>
425 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>425 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
426 <li><a·class="el"·href="a00089_source.html">cursor.hxx</a></li>426 <li><a·class="el"·href="a00047_source.html">cursor.hxx</a></li>
427 <li>cursor.cxx</li>427 <li>cursor.cxx</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>
1.98 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01159.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::icursor_iterator·Class·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::icursor_iterator·Class·Reference</div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p>Approximate·istream_iterator·for·icursorstream.··70 <p>Approximate·istream_iterator·for·icursorstream.··
71 ·<a·href="a01159.html#details">More...</a></p>71 ·<a·href="a01159.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">cursor.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">cursor.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:aec58d5d04fa7a9e3f9b64faf5e747e8f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html#aec58d5d04fa7a9e3f9b64faf5e747e8f">iterator_category</a>·=·std::input_iterator_tag</td></tr>76 <tr·class="memitem:aec58d5d04fa7a9e3f9b64faf5e747e8f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html#aec58d5d04fa7a9e3f9b64faf5e747e8f">iterator_category</a>·=·std::input_iterator_tag</td></tr>
77 <tr·class="separator:aec58d5d04fa7a9e3f9b64faf5e747e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:aec58d5d04fa7a9e3f9b64faf5e747e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
78 <tr·class="memitem:a148d4375ee4f926e24796fbd5be53c03"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html#a148d4375ee4f926e24796fbd5be53c03">value_type</a>·=·<a·class="el"·href="a01395.html">result</a></td></tr>78 <tr·class="memitem:a148d4375ee4f926e24796fbd5be53c03"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html#a148d4375ee4f926e24796fbd5be53c03">value_type</a>·=·<a·class="el"·href="a01395.html">result</a></td></tr>
79 <tr·class="separator:a148d4375ee4f926e24796fbd5be53c03"><td·class="memSeparator"·colspan="2">&#160;</td></tr>79 <tr·class="separator:a148d4375ee4f926e24796fbd5be53c03"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 592, 15 lines modifiedOffset 592, 15 lines modified
592 ··</tr>592 ··</tr>
593 </table>593 </table>
594 </div><div·class="memdoc">594 </div><div·class="memdoc">
  
595 </div>595 </div>
596 </div>596 </div>
597 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>597 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
598 <li><a·class="el"·href="a00089_source.html">cursor.hxx</a></li>598 <li><a·class="el"·href="a00047_source.html">cursor.hxx</a></li>
599 <li>cursor.cxx</li>599 <li>cursor.cxx</li>
600 </ul>600 </ul>
601 </div><!--·contents·-->601 </div><!--·contents·-->
602 </div><!--·doc-content·-->602 </div><!--·doc-content·-->
603 <!--·start·footer·part·-->603 <!--·start·footer·part·-->
604 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->604 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
605 ··<ul>605 ··<ul>
1.87 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01163.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::dbtransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p>Abstract·base·class·responsible·for·bracketing·a·backend·transaction.··70 <p>Abstract·base·class·responsible·for·bracketing·a·backend·transaction.··
71 ·<a·href="a01163.html#details">More...</a></p>71 ·<a·href="a01163.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dbtransaction.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dbtransaction.hxx</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·pqxx::dbtransaction:</div>74 Inheritance·diagram·for·pqxx::dbtransaction:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01162.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01162.png"·border="0"·usemap="#apqxx_1_1dbtransaction_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map">77 <map·name="apqxx_1_1dbtransaction_inherit__map"·id="apqxx_1_1dbtransaction_inherit__map">
78 <area·shape="rect"·title="Abstract·base·class·responsible·for·bracketing·a·backend·transaction."·alt=""·coords="473,78,624,105"/>78 <area·shape="rect"·title="Abstract·base·class·responsible·for·bracketing·a·backend·transaction."·alt=""·coords="473,78,624,105"/>
79 <area·shape="rect"·href="a01407.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="674,5,829,47"/>79 <area·shape="rect"·href="a01407.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="674,5,829,47"/>
Offset 577, 15 lines modifiedOffset 577, 15 lines modified
577 </div><div·class="memdoc">577 </div><div·class="memdoc">
  
578 <p>Start·a·transaction·on·the·backend·and·set·desired·isolation·level.·</p>578 <p>Start·a·transaction·on·the·backend·and·set·desired·isolation·level.·</p>
  
579 </div>579 </div>
580 </div>580 </div>
581 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>581 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
582 <li><a·class="el"·href="a00026_source.html">dbtransaction.hxx</a></li>582 <li><a·class="el"·href="a00056_source.html">dbtransaction.hxx</a></li>
583 <li>dbtransaction.cxx</li>583 <li>dbtransaction.cxx</li>
584 </ul>584 </ul>
585 </div><!--·contents·-->585 </div><!--·contents·-->
586 </div><!--·doc-content·-->586 </div><!--·doc-content·-->
587 <!--·start·footer·part·-->587 <!--·start·footer·part·-->
588 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->588 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
589 ··<ul>589 ··<ul>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01167.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·class="ingroups"><a·class="el"·href="a00261.html">Errorhandler</a></div></div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::errorhandler·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00261.html">Errorhandler</a></div></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="a01167.html#details">More...</a></p>70 ·<a·href="a01167.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">errorhandler.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a01166.png"·border="0"·usemap="#apqxx_1_1errorhandler_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01166.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,32"/>77 <area·shape="rect"·title="Base·class·for·error&#45;handler·callbacks."·alt=""·coords="25,5,168,32"/>
78 <area·shape="rect"·href="a01171.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,80,188,107"/>78 <area·shape="rect"·href="a01171.html"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,80,188,107"/>
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·files:<ul>214 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
215 <li><a·class="el"·href="a00119_source.html">errorhandler.hxx</a></li>215 <li><a·class="el"·href="a00095_source.html">errorhandler.hxx</a></li>
216 <li>errorhandler.cxx</li>216 <li>errorhandler.cxx</li>
217 </ul>217 </ul>
218 </div><!--·contents·-->218 </div><!--·contents·-->
219 </div><!--·doc-content·-->219 </div><!--·doc-content·-->
220 <!--·start·footer·part·-->220 <!--·start·footer·part·-->
221 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->221 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
222 ··<ul>222 ··<ul>
2.09 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01171.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::quiet_errorhandler·Class·Reference<div·class="ingroups"><a·class="el"·href="a00261.html">Errorhandler</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::quiet_errorhandler·Class·Reference<div·class="ingroups"><a·class="el"·href="a00261.html">Errorhandler</a></div></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="a01171.html#details">More...</a></p>69 ·<a·href="a01171.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">errorhandler.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a01170.png"·border="0"·usemap="#apqxx_1_1quiet__errorhandler_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01170.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,80,188,107"/>76 <area·shape="rect"·title="An·error·handler·that·suppresses·any·previously·registered·error·handlers."·alt=""·coords="5,80,188,107"/>
77 <area·shape="rect"·href="a01167.html"·title="Base·class·for·error&#45;handler·callbacks."·alt=""·coords="25,5,168,32"/>77 <area·shape="rect"·href="a01167.html"·title="Base·class·for·error&#45;handler·callbacks."·alt=""·coords="25,5,168,32"/>
Offset 146, 15 lines modifiedOffset 146, 15 lines modified
146 <dl·class="section·return"><dt>Returns</dt><dd>Whether·the·same·error·message·should·also·be·passed·to·the·remaining,·older·errorhandlers.·</dd></dl>146 <dl·class="section·return"><dt>Returns</dt><dd>Whether·the·same·error·message·should·also·be·passed·to·the·remaining,·older·errorhandlers.·</dd></dl>
  
147 <p>Implements·<a·class="el"·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">pqxx::errorhandler</a>.</p>147 <p>Implements·<a·class="el"·href="a01167.html#ac0e41896075d40c1c2439c6662ed0799">pqxx::errorhandler</a>.</p>
  
148 </div>148 </div>
149 </div>149 </div>
150 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>150 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
151 <li><a·class="el"·href="a00119_source.html">errorhandler.hxx</a></li>151 <li><a·class="el"·href="a00095_source.html">errorhandler.hxx</a></li>
152 </ul>152 </ul>
153 </div><!--·contents·-->153 </div><!--·contents·-->
154 </div><!--·doc-content·-->154 </div><!--·doc-content·-->
155 <!--·start·footer·part·-->155 <!--·start·footer·part·-->
156 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->156 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
157 ··<ul>157 ··<ul>
158 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01171.html">quiet_errorhandler</a></li>158 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01171.html">quiet_errorhandler</a></li>
2.72 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01175.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::pqxx_exception·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::pqxx_exception·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Mixin·base·class·to·identify·libpqxx-specific·exception·types.··68 <p>Mixin·base·class·to·identify·libpqxx-specific·exception·types.··
69 ·<a·href="a01175.html#details">More...</a></p>69 ·<a·href="a01175.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">except.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::pqxx_exception:</div>72 Inheritance·diagram·for·pqxx::pqxx_exception:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01174.png"·border="0"·usemap="#apqxx_1_1pqxx__exception_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01174.png"·border="0"·usemap="#apqxx_1_1pqxx__exception_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1pqxx__exception_inherit__map"·id="apqxx_1_1pqxx__exception_inherit__map">75 <map·name="apqxx_1_1pqxx__exception_inherit__map"·id="apqxx_1_1pqxx__exception_inherit__map">
76 <area·shape="rect"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,380,171,407"/>76 <area·shape="rect"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,380,171,407"/>
77 <area·shape="rect"·href="a01219.html"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="223,253,385,280"/>77 <area·shape="rect"·href="a01219.html"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="223,253,385,280"/>
Offset 203, 15 lines modifiedOffset 203, 15 lines modified
203 <div·class="ttc"·id="aa01175_html_a014f7d99d0a32d7cb72121f15421f931"><div·class="ttname"><a·href="a01175.html#a014f7d99d0a32d7cb72121f15421f931">pqxx::pqxx_exception::base</a></div><div·class="ttdeci">virtual·PQXX_CONST·const·std::exception·&amp;·base()·const·noexcept=0</div><div·class="ttdoc">Return·std::exception·base-class·object.</div></div>203 <div·class="ttc"·id="aa01175_html_a014f7d99d0a32d7cb72121f15421f931"><div·class="ttname"><a·href="a01175.html#a014f7d99d0a32d7cb72121f15421f931">pqxx::pqxx_exception::base</a></div><div·class="ttdeci">virtual·PQXX_CONST·const·std::exception·&amp;·base()·const·noexcept=0</div><div·class="ttdoc">Return·std::exception·base-class·object.</div></div>
204 <div·class="ttc"·id="aa01187_html"><div·class="ttname"><a·href="a01187.html">pqxx::sql_error</a></div><div·class="ttdoc">Exception·class·for·failed·queries.</div><div·class="ttdef"><b>Definition:</b>·except.hxx:131</div></div>204 <div·class="ttc"·id="aa01187_html"><div·class="ttname"><a·href="a01187.html">pqxx::sql_error</a></div><div·class="ttdoc">Exception·class·for·failed·queries.</div><div·class="ttdef"><b>Definition:</b>·except.hxx:131</div></div>
205 <div·class="ttc"·id="aa01187_html_a0015b251167f819b4455a5738cd0024d"><div·class="ttname"><a·href="a01187.html#a0015b251167f819b4455a5738cd0024d">pqxx::sql_error::query</a></div><div·class="ttdeci">PQXX_PURE·const·std::string·&amp;·query()·const·noexcept</div><div·class="ttdoc">The·query·whose·execution·triggered·the·exception.</div><div·class="ttdef"><b>Definition:</b>·except.cxx:53</div></div>205 <div·class="ttc"·id="aa01187_html_a0015b251167f819b4455a5738cd0024d"><div·class="ttname"><a·href="a01187.html#a0015b251167f819b4455a5738cd0024d">pqxx::sql_error::query</a></div><div·class="ttdeci">PQXX_PURE·const·std::string·&amp;·query()·const·noexcept</div><div·class="ttdoc">The·query·whose·execution·triggered·the·exception.</div><div·class="ttdef"><b>Definition:</b>·except.cxx:53</div></div>
206 </div><!--·fragment·-->·206 </div><!--·fragment·-->·
207 </div>207 </div>
208 </div>208 </div>
209 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>209 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
210 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>210 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
211 <li>except.cxx</li>211 <li>except.cxx</li>
212 </ul>212 </ul>
213 </div><!--·contents·-->213 </div><!--·contents·-->
214 </div><!--·doc-content·-->214 </div><!--·doc-content·-->
215 <!--·start·footer·part·-->215 <!--·start·footer·part·-->
216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
217 ··<ul>217 ··<ul>
1.69 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01179.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::failure·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::failure·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01179.html#details">More...</a></p>69 ·<a·href="a01179.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01178.png"·border="0"·usemap="#apqxx_1_1failure_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01178.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="381,300,485,327"/>76 <area·shape="rect"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="381,300,485,327"/>
77 <area·shape="rect"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="539,100,723,127"/>77 <area·shape="rect"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="539,100,723,127"/>
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·class·was·generated·from·the·following·files:<ul>156 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
157 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
158 <li>except.cxx</li>158 <li>except.cxx</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.65 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01183.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::broken_connection·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01183.html#details">More...</a></p>69 ·<a·href="a01183.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01182.png"·border="0"·usemap="#apqxx_1_1broken__connection_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01182.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="84,229,268,256"/>76 <area·shape="rect"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="84,229,268,256"/>
77 <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="70,304,282,331"/>77 <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="70,304,282,331"/>
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·class·was·generated·from·the·following·files:<ul>157 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
158 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
159 <li>except.cxx</li>159 <li>except.cxx</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>
1.66 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01187.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="a00262.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="a00262.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="a01187.html#details">More...</a></p>69 ·<a·href="a01187.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01186.png"·border="0"·usemap="#apqxx_1_1sql__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01186.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="533,275,652,301"/>76 <area·shape="rect"·title="Exception·class·for·failed·queries."·alt=""·coords="533,275,652,301"/>
77 <area·shape="rect"·href="a01239.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="744,5,907,32"/>77 <area·shape="rect"·href="a01239.html"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="744,5,907,32"/>
Offset 252, 15 lines modifiedOffset 252, 15 lines modified
252 </div><div·class="memdoc">252 </div><div·class="memdoc">
  
253 <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p>253 <p>SQLSTATE·error·code·if·known,·or·empty·string·otherwise.·</p>
  
254 </div>254 </div>
255 </div>255 </div>
256 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>256 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
257 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>257 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
258 <li>except.cxx</li>258 <li>except.cxx</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>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01191.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::in_doubt_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01191.html#details">More...</a></p>69 ·<a·href="a01191.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01190.png"·border="0"·usemap="#apqxx_1_1in__doubt__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01190.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="98,229,254,256"/>76 <area·shape="rect"·title="&quot;Help,·I·don&#39;t·know·whether·transaction·was·committed·successfully!&quot;"·alt=""·coords="98,229,254,256"/>
77 <area·shape="rect"·href="a01179.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="124,155,228,181"/>77 <area·shape="rect"·href="a01179.html"·title="Run&#45;time·failure·encountered·by·libpqxx,·similar·to·std::runtime_error."·alt=""·coords="124,155,228,181"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
128 </div>128 </div>
129 </div>129 </div>
130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
131 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
132 <li>except.cxx</li>132 <li>except.cxx</li>
133 </ul>133 </ul>
134 </div><!--·contents·-->134 </div><!--·contents·-->
135 </div><!--·doc-content·-->135 </div><!--·doc-content·-->
136 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
137 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->137 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
138 ··<ul>138 ··<ul>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01195.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::transaction_rollback·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01195.html#details">More...</a></p>69 ·<a·href="a01195.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01194.png"·border="0"·usemap="#apqxx_1_1transaction__rollback_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01194.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="533,64,728,91"/>76 <area·shape="rect"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="533,64,728,91"/>
77 <area·shape="rect"·href="a01207.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="788,5,973,32"/>77 <area·shape="rect"·href="a01207.html"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="788,5,973,32"/>
Offset 127, 15 lines modifiedOffset 127, 15 lines modified
127 ··</tr>127 ··</tr>
128 </table>128 </table>
129 </div><div·class="memdoc">129 </div><div·class="memdoc">
  
130 </div>130 </div>
131 </div>131 </div>
132 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>132 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
133 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>133 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
134 <li>except.cxx</li>134 <li>except.cxx</li>
135 </ul>135 </ul>
136 </div><!--·contents·-->136 </div><!--·contents·-->
137 </div><!--·doc-content·-->137 </div><!--·doc-content·-->
138 <!--·start·footer·part·-->138 <!--·start·footer·part·-->
139 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->139 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
140 ··<ul>140 ··<ul>
1.73 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01199.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::serialization_failure·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01199.html#details">More...</a></p>69 ·<a·href="a01199.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01198.png"·border="0"·usemap="#apqxx_1_1serialization__failure_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01198.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="105,304,247,345"/>76 <area·shape="rect"·title="Transaction·failed·to·serialize.·Please·retry·it."·alt=""·coords="105,304,247,345"/>
77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>
Offset 130, 15 lines modifiedOffset 130, 15 lines modified
130 ··</tr>130 ··</tr>
131 </table>131 </table>
132 </div><div·class="memdoc">132 </div><div·class="memdoc">
  
133 </div>133 </div>
134 </div>134 </div>
135 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>135 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
136 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>136 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
137 <li>except.cxx</li>137 <li>except.cxx</li>
138 </ul>138 </ul>
139 </div><!--·contents·-->139 </div><!--·contents·-->
140 </div><!--·doc-content·-->140 </div><!--·doc-content·-->
141 <!--·start·footer·part·-->141 <!--·start·footer·part·-->
142 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->142 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
143 ··<ul>143 ··<ul>
1.77 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01203.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::statement_completion_unknown·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01203.html#details">More...</a></p>69 ·<a·href="a01203.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01202.png"·border="0"·usemap="#apqxx_1_1statement__completion__unknown_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01202.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="71,304,281,345"/>76 <area·shape="rect"·title="We·can&#39;t·tell·whether·our·last·statement·succeeded."·alt=""·coords="71,304,281,345"/>
77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>
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·class·was·generated·from·the·following·files:<ul>133 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
134 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>134 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
135 <li>except.cxx</li>135 <li>except.cxx</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.73 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01207.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::deadlock_detected·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01207.html#details">More...</a></p>69 ·<a·href="a01207.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01206.png"·border="0"·usemap="#apqxx_1_1deadlock__detected_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01206.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="83,304,269,331"/>76 <area·shape="rect"·title="The·ongoing·transaction·has·deadlocked.·Retrying·it·may·help."·alt=""·coords="83,304,269,331"/>
77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>77 <area·shape="rect"·href="a01195.html"·title="The·backend·saw·itself·forced·to·roll·back·the·ongoing·transaction."·alt=""·coords="79,229,273,256"/>
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·class·was·generated·from·the·following·files:<ul>133 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
134 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>134 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
135 <li>except.cxx</li>135 <li>except.cxx</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.66 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01211.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01211.html#details">More...</a></p>69 ·<a·href="a01211.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01210.png"·border="0"·usemap="#apqxx_1_1internal__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01210.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="95,155,246,181"/>76 <area·shape="rect"·title="Internal·error·in·libpqxx·library."·alt=""·coords="95,155,246,181"/>
77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,80,171,107"/>77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,80,171,107"/>
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·class·was·generated·from·the·following·files:<ul>125 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
126 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
127 <li>except.cxx</li>127 <li>except.cxx</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.71 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01215.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::usage_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01215.html#details">More...</a></p>69 ·<a·href="a01215.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01214.png"·border="0"·usemap="#apqxx_1_1usage__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01214.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="101,155,240,181"/>76 <area·shape="rect"·title="Error·in·usage·of·libpqxx·library,·similar·to·std::logic_error."·alt=""·coords="101,155,240,181"/>
77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,80,171,107"/>77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,80,171,107"/>
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·class·was·generated·from·the·following·files:<ul>125 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
126 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
127 <li>except.cxx</li>127 <li>except.cxx</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.73 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01219.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::argument_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01219.html#details">More...</a></p>69 ·<a·href="a01219.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01218.png"·border="0"·usemap="#apqxx_1_1argument__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01218.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="101,229,264,256"/>76 <area·shape="rect"·title="Invalid·argument·passed·to·libpqxx,·similar·to·std::invalid_argument."·alt=""·coords="101,229,264,256"/>
77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,155,171,181"/>77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,155,171,181"/>
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·class·was·generated·from·the·following·files:<ul>126 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
127 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
128 <li>except.cxx</li>128 <li>except.cxx</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.74 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01223.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::conversion_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01223.html#details">More...</a></p>69 ·<a·href="a01223.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01222.png"·border="0"·usemap="#apqxx_1_1conversion__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01222.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="91,229,261,256"/>76 <area·shape="rect"·title="Value·conversion·failed,·e.g.·when·converting·&quot;Hello&quot;·to·int."·alt=""·coords="91,229,261,256"/>
77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,155,171,181"/>77 <area·shape="rect"·href="a01175.html"·title="Mixin·base·class·to·identify·libpqxx&#45;specific·exception·types."·alt=""·coords="5,155,171,181"/>
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·class·was·generated·from·the·following·files:<ul>126 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
127 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
128 <li>except.cxx</li>128 <li>except.cxx</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.67 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01227.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::range_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::range_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01227.html#details">More...</a></p>69 ·<a·href="a01227.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01226.png"·border="0"·usemap="#apqxx_1_1range__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01226.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="106,229,243,256"/>76 <area·shape="rect"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="106,229,243,256"/>
77 <area·shape="rect"·href="a01231.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="87,304,263,331"/>77 <area·shape="rect"·href="a01231.html"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="87,304,263,331"/>
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 ··</tr>122 ··</tr>
123 </table>123 </table>
124 </div><div·class="memdoc">124 </div><div·class="memdoc">
  
125 </div>125 </div>
126 </div>126 </div>
127 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>127 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
128 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>128 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
129 <li>except.cxx</li>129 <li>except.cxx</li>
130 </ul>130 </ul>
131 </div><!--·contents·-->131 </div><!--·contents·-->
132 </div><!--·doc-content·-->132 </div><!--·doc-content·-->
133 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
134 <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!·-->
135 ··<ul>135 ··<ul>
1.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01231.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::unexpected_rows·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01231.html#details">More...</a></p>69 ·<a·href="a01231.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01230.png"·border="0"·usemap="#apqxx_1_1unexpected__rows_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01230.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="87,304,263,331"/>76 <area·shape="rect"·title="Query·returned·an·unexpected·number·of·rows."·alt=""·coords="87,304,263,331"/>
77 <area·shape="rect"·href="a01227.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="106,229,243,256"/>77 <area·shape="rect"·href="a01227.html"·title="Something·is·out·of·range,·similar·to·std::out_of_range."·alt=""·coords="106,229,243,256"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
128 </div>128 </div>
129 </div>129 </div>
130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
131 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
132 </ul>132 </ul>
133 </div><!--·contents·-->133 </div><!--·contents·-->
134 </div><!--·doc-content·-->134 </div><!--·doc-content·-->
135 <!--·start·footer·part·-->135 <!--·start·footer·part·-->
136 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->136 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
137 ··<ul>137 ··<ul>
138 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01231.html">unexpected_rows</a></li>138 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01231.html">unexpected_rows</a></li>
1.83 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01235.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::feature_not_supported·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01235.html#details">More...</a></p>69 ·<a·href="a01235.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01234.png"·border="0"·usemap="#apqxx_1_1feature__not__supported_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01234.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="71,304,281,331"/>76 <area·shape="rect"·title="Database·feature·not·supported·in·current·setup."·alt=""·coords="71,304,281,331"/>
77 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>77 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
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·class·was·generated·from·the·following·file:<ul>157 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00026_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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01235.html">feature_not_supported</a></li>165 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01235.html">feature_not_supported</a></li>
1.77 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01239.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::data_exception·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01239.html#details">More...</a></p>69 ·<a·href="a01239.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01238.png"·border="0"·usemap="#apqxx_1_1data__exception_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01238.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="95,304,257,331"/>76 <area·shape="rect"·title="Error·in·data·provided·to·SQL·statement."·alt=""·coords="95,304,257,331"/>
77 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>77 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
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·class·was·generated·from·the·following·file:<ul>157 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00026_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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01239.html">data_exception</a></li>165 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01239.html">data_exception</a></li>
1.83 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01243.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="a01240.html">List·of·all·members</a>··</div>64 <a·href="a01240.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::integrity_constraint_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01242.png"·border="0"·usemap="#apqxx_1_1integrity__constraint__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01242.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="700,99,889,141"/>74 <area·shape="rect"·title="·"·alt=""·coords="700,99,889,141"/>
75 <area·shape="rect"·href="a01263.html"·title="·"·alt=""·coords="957,5,1121,32"/>75 <area·shape="rect"·href="a01263.html"·title="·"·alt=""·coords="957,5,1121,32"/>
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·class·was·generated·from·the·following·file:<ul>157 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00026_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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01243.html">integrity_constraint_violation</a></li>165 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01243.html">integrity_constraint_violation</a></li>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01247.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="a01244.html">List·of·all·members</a>··</div>64 <a·href="a01244.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::restrict_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01246.png"·border="0"·usemap="#apqxx_1_1restrict__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01246.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="90,393,262,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="90,393,262,420"/>
75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01247.html">restrict_violation</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01247.html">restrict_violation</a></li>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01251.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="a01248.html">List·of·all·members</a>··</div>64 <a·href="a01248.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::not_null_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01250.png"·border="0"·usemap="#apqxx_1_1not__null__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01250.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="87,393,265,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="87,393,265,420"/>
75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01251.html">not_null_violation</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01251.html">not_null_violation</a></li>
1.78 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01255.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="a01252.html">List·of·all·members</a>··</div>64 <a·href="a01252.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::foreign_key_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01254.png"·border="0"·usemap="#apqxx_1_1foreign__key__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01254.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="75,393,277,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="75,393,277,420"/>
75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01255.html">foreign_key_violation</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01255.html">foreign_key_violation</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01259.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="a01256.html">List·of·all·members</a>··</div>64 <a·href="a01256.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::unique_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01258.png"·border="0"·usemap="#apqxx_1_1unique__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01258.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="91,393,261,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="91,393,261,420"/>
75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01259.html">unique_violation</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01259.html">unique_violation</a></li>
1.74 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01263.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="a01260.html">List·of·all·members</a>··</div>64 <a·href="a01260.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::check_violation·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01262.png"·border="0"·usemap="#apqxx_1_1check__violation_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01262.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="94,393,258,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="94,393,258,420"/>
75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>75 <area·shape="rect"·href="a01243.html"·title="·"·alt=""·coords="81,304,271,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01263.html">check_violation</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01263.html">check_violation</a></li>
1.81 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01267.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="a01264.html">List·of·all·members</a>··</div>64 <a·href="a01264.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_state·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01266.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__state_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01266.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="99,304,253,345"/>74 <area·shape="rect"·title="·"·alt=""·coords="99,304,253,345"/>
75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ··</tr>147 ··</tr>
148 </table>148 </table>
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 </div>150 </div>
151 </div>151 </div>
152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
153 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
154 </ul>154 </ul>
155 </div><!--·contents·-->155 </div><!--·contents·-->
156 </div><!--·doc-content·-->156 </div><!--·doc-content·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
159 ··<ul>159 ··<ul>
160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01267.html">invalid_cursor_state</a></li>160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01267.html">invalid_cursor_state</a></li>
1.85 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01271.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="a01268.html">List·of·all·members</a>··</div>64 <a·href="a01268.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_sql_statement_name·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01270.png"·border="0"·usemap="#apqxx_1_1invalid__sql__statement__name_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01270.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="51,304,301,331"/>74 <area·shape="rect"·title="·"·alt=""·coords="51,304,301,331"/>
75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ··</tr>147 ··</tr>
148 </table>148 </table>
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 </div>150 </div>
151 </div>151 </div>
152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
153 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
154 </ul>154 </ul>
155 </div><!--·contents·-->155 </div><!--·contents·-->
156 </div><!--·doc-content·-->156 </div><!--·doc-content·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
159 ··<ul>159 ··<ul>
160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01271.html">invalid_sql_statement_name</a></li>160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01271.html">invalid_sql_statement_name</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01275.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="a01272.html">List·of·all·members</a>··</div>64 <a·href="a01272.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::invalid_cursor_name·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01274.png"·border="0"·usemap="#apqxx_1_1invalid__cursor__name_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01274.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="77,304,275,331"/>74 <area·shape="rect"·title="·"·alt=""·coords="77,304,275,331"/>
75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ··</tr>147 ··</tr>
148 </table>148 </table>
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 </div>150 </div>
151 </div>151 </div>
152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
153 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
154 </ul>154 </ul>
155 </div><!--·contents·-->155 </div><!--·contents·-->
156 </div><!--·doc-content·-->156 </div><!--·doc-content·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
159 ··<ul>159 ··<ul>
160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01275.html">invalid_cursor_name</a></li>160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01275.html">invalid_cursor_name</a></li>
1.82 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01279.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="a01276.html">List·of·all·members</a>··</div>65 <a·href="a01276.html">List·of·all·members</a>··</div>
66 ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::syntax_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01278.png"·border="0"·usemap="#apqxx_1_1syntax__error_inherit__map"·alt="Inheritance·graph"/></div>73 <div·class="center"><img·src="a01278.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,304,376,331"/>75 <area·shape="rect"·title="·"·alt=""·coords="232,304,376,331"/>
76 <area·shape="rect"·href="a01283.html"·title="·"·alt=""·coords="5,379,187,405"/>76 <area·shape="rect"·href="a01283.html"·title="·"·alt=""·coords="5,379,187,405"/>
Offset 180, 15 lines modifiedOffset 180, 15 lines modified
180 </div><div·class="memdoc">180 </div><div·class="memdoc">
  
181 <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p>181 <p>Approximate·position·in·string·where·error·occurred,·or·-1·if·unknown.·</p>
  
182 </div>182 </div>
183 </div>183 </div>
184 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>184 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
185 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>185 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
186 </ul>186 </ul>
187 </div><!--·contents·-->187 </div><!--·contents·-->
188 </div><!--·doc-content·-->188 </div><!--·doc-content·-->
189 <!--·start·footer·part·-->189 <!--·start·footer·part·-->
190 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->190 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
191 ··<ul>191 ··<ul>
192 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01279.html">syntax_error</a></li>192 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01279.html">syntax_error</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01283.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="a01280.html">List·of·all·members</a>··</div>64 <a·href="a01280.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_column·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01282.png"·border="0"·usemap="#apqxx_1_1undefined__column_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01282.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="85,379,267,405"/>74 <area·shape="rect"·title="·"·alt=""·coords="85,379,267,405"/>
75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>
Offset 158, 15 lines modifiedOffset 158, 15 lines modified
158 ··</tr>158 ··</tr>
159 </table>159 </table>
160 </div><div·class="memdoc">160 </div><div·class="memdoc">
  
161 </div>161 </div>
162 </div>162 </div>
163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
164 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
165 </ul>165 </ul>
166 </div><!--·contents·-->166 </div><!--·contents·-->
167 </div><!--·doc-content·-->167 </div><!--·doc-content·-->
168 <!--·start·footer·part·-->168 <!--·start·footer·part·-->
169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
170 ··<ul>170 ··<ul>
171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01283.html">undefined_column</a></li>171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01283.html">undefined_column</a></li>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01287.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="a01284.html">List·of·all·members</a>··</div>64 <a·href="a01284.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_function·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01286.png"·border="0"·usemap="#apqxx_1_1undefined__function_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01286.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="83,379,269,405"/>74 <area·shape="rect"·title="·"·alt=""·coords="83,379,269,405"/>
75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>
Offset 158, 15 lines modifiedOffset 158, 15 lines modified
158 ··</tr>158 ··</tr>
159 </table>159 </table>
160 </div><div·class="memdoc">160 </div><div·class="memdoc">
  
161 </div>161 </div>
162 </div>162 </div>
163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
164 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
165 </ul>165 </ul>
166 </div><!--·contents·-->166 </div><!--·contents·-->
167 </div><!--·doc-content·-->167 </div><!--·doc-content·-->
168 <!--·start·footer·part·-->168 <!--·start·footer·part·-->
169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
170 ··<ul>170 ··<ul>
171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01287.html">undefined_function</a></li>171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01287.html">undefined_function</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01291.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="a01288.html">List·of·all·members</a>··</div>64 <a·href="a01288.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::undefined_table·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01290.png"·border="0"·usemap="#apqxx_1_1undefined__table_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01290.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="93,379,259,405"/>74 <area·shape="rect"·title="·"·alt=""·coords="93,379,259,405"/>
75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>75 <area·shape="rect"·href="a01279.html"·title="·"·alt=""·coords="104,304,248,331"/>
Offset 158, 15 lines modifiedOffset 158, 15 lines modified
158 ··</tr>158 ··</tr>
159 </table>159 </table>
160 </div><div·class="memdoc">160 </div><div·class="memdoc">
  
161 </div>161 </div>
162 </div>162 </div>
163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>163 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
164 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
165 </ul>165 </ul>
166 </div><!--·contents·-->166 </div><!--·contents·-->
167 </div><!--·doc-content·-->167 </div><!--·doc-content·-->
168 <!--·start·footer·part·-->168 <!--·start·footer·part·-->
169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->169 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
170 ··<ul>170 ··<ul>
171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01291.html">undefined_table</a></li>171 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01291.html">undefined_table</a></li>
1.82 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01295.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="a01292.html">List·of·all·members</a>··</div>64 <a·href="a01292.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_privilege·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01294.png"·border="0"·usemap="#apqxx_1_1insufficient__privilege_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01294.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="109,304,243,345"/>74 <area·shape="rect"·title="·"·alt=""·coords="109,304,243,345"/>
75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>75 <area·shape="rect"·href="a01187.html"·title="Exception·class·for·failed·queries."·alt=""·coords="117,229,235,256"/>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ··</tr>147 ··</tr>
148 </table>148 </table>
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 </div>150 </div>
151 </div>151 </div>
152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>152 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
153 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
154 </ul>154 </ul>
155 </div><!--·contents·-->155 </div><!--·contents·-->
156 </div><!--·doc-content·-->156 </div><!--·doc-content·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
159 ··<ul>159 ··<ul>
160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01295.html">insufficient_privilege</a></li>160 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01295.html">insufficient_privilege</a></li>
1.77 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01299.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::insufficient_resources·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01299.html#details">More...</a></p>69 ·<a·href="a01299.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01298.png"·border="0"·usemap="#apqxx_1_1insufficient__resources_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01298.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="109,304,243,345"/>76 <area·shape="rect"·title="Resource·shortage·on·the·server."·alt=""·coords="109,304,243,345"/>
77 <area·shape="rect"·href="a01303.html"·title="·"·alt=""·coords="35,393,152,420"/>77 <area·shape="rect"·href="a01303.html"·title="·"·alt=""·coords="35,393,152,420"/>
Offset 154, 15 lines modifiedOffset 154, 15 lines modified
154 ··</tr>154 ··</tr>
155 </table>155 </table>
156 </div><div·class="memdoc">156 </div><div·class="memdoc">
  
157 </div>157 </div>
158 </div>158 </div>
159 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>159 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
160 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>160 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
161 </ul>161 </ul>
162 </div><!--·contents·-->162 </div><!--·contents·-->
163 </div><!--·doc-content·-->163 </div><!--·doc-content·-->
164 <!--·start·footer·part·-->164 <!--·start·footer·part·-->
165 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->165 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
166 ··<ul>166 ··<ul>
167 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01299.html">insufficient_resources</a></li>167 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01299.html">insufficient_resources</a></li>
1.74 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01303.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="a01300.html">List·of·all·members</a>··</div>64 <a·href="a01300.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::disk_full·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01302.png"·border="0"·usemap="#apqxx_1_1disk__full_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01302.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="117,393,235,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="117,393,235,420"/>
75 <area·shape="rect"·href="a01299.html"·title="Resource·shortage·on·the·server."·alt=""·coords="109,304,243,345"/>75 <area·shape="rect"·href="a01299.html"·title="Resource·shortage·on·the·server."·alt=""·coords="109,304,243,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01303.html">disk_full</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01303.html">disk_full</a></li>
1.77 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01307.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="a01304.html">List·of·all·members</a>··</div>64 <a·href="a01304.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::out_of_memory·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01306.png"·border="0"·usemap="#apqxx_1_1out__of__memory_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01306.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="93,393,259,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="93,393,259,420"/>
75 <area·shape="rect"·href="a01299.html"·title="Resource·shortage·on·the·server."·alt=""·coords="109,304,243,345"/>75 <area·shape="rect"·href="a01299.html"·title="Resource·shortage·on·the·server."·alt=""·coords="109,304,243,345"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01307.html">out_of_memory</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01307.html">out_of_memory</a></li>
1.83 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01311.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="a01308.html">List·of·all·members</a>··</div>64 <a·href="a01308.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::too_many_connections·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01310.png"·border="0"·usemap="#apqxx_1_1too__many__connections_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01310.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="70,304,282,331"/>74 <area·shape="rect"·title="·"·alt=""·coords="70,304,282,331"/>
75 <area·shape="rect"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="84,229,268,256"/>75 <area·shape="rect"·href="a01183.html"·title="Exception·class·for·lost·or·failed·backend·connection."·alt=""·coords="84,229,268,256"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
128 </div>128 </div>
129 </div>129 </div>
130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>130 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
131 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00026_source.html">except.hxx</a></li>
132 </ul>132 </ul>
133 </div><!--·contents·-->133 </div><!--·contents·-->
134 </div><!--·doc-content·-->134 </div><!--·doc-content·-->
135 <!--·start·footer·part·-->135 <!--·start·footer·part·-->
136 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->136 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
137 ··<ul>137 ··<ul>
138 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01311.html">too_many_connections</a></li>138 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01311.html">too_many_connections</a></li>
1.68 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01315.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_error·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01315.html#details">More...</a></p>69 ·<a·href="a01315.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01314.png"·border="0"·usemap="#apqxx_1_1plpgsql__error_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01314.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,304,345,331"/>76 <area·shape="rect"·title="PL/pgSQL·error."·alt=""·coords="199,304,345,331"/>
77 <area·shape="rect"·href="a01323.html"·title="·"·alt=""·coords="5,379,173,420"/>77 <area·shape="rect"·href="a01323.html"·title="·"·alt=""·coords="5,379,173,420"/>
Offset 156, 15 lines modifiedOffset 156, 15 lines modified
156 ··</tr>156 ··</tr>
157 </table>157 </table>
158 </div><div·class="memdoc">158 </div><div·class="memdoc">
  
159 </div>159 </div>
160 </div>160 </div>
161 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>161 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
162 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>162 <li><a·class="el"·href="a00026_source.html">except.hxx</a></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>
169 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01315.html">plpgsql_error</a></li>169 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01315.html">plpgsql_error</a></li>
1.74 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01319.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_raise·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a01319.html#details">More...</a></p>69 ·<a·href="a01319.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01318.png"·border="0"·usemap="#apqxx_1_1plpgsql__raise_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01318.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="102,379,250,405"/>76 <area·shape="rect"·title="Exception·raised·in·PL/pgSQL·procedure."·alt=""·coords="102,379,250,405"/>
77 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>77 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>
Offset 156, 15 lines modifiedOffset 156, 15 lines modified
156 ··</tr>156 ··</tr>
157 </table>157 </table>
158 </div><div·class="memdoc">158 </div><div·class="memdoc">
  
159 </div>159 </div>
160 </div>160 </div>
161 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>161 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
162 <li><a·class="el"·href="a00116_source.html">except.hxx</a></li>162 <li><a·class="el"·href="a00026_source.html">except.hxx</a></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>
169 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01319.html">plpgsql_raise</a></li>169 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01319.html">plpgsql_raise</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01323.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="a01320.html">List·of·all·members</a>··</div>64 <a·href="a01320.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_no_data_found·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01322.png"·border="0"·usemap="#apqxx_1_1plpgsql__no__data__found_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01322.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="92,379,260,420"/>74 <area·shape="rect"·title="·"·alt=""·coords="92,379,260,420"/>
75 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>75 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01323.html">plpgsql_no_data_found</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01323.html">plpgsql_no_data_found</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01327.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="a01324.html">List·of·all·members</a>··</div>64 <a·href="a01324.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.html">Exception·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::plpgsql_too_many_rows·Class·Reference<div·class="ingroups"><a·class="el"·href="a00262.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="a00116_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a01326.png"·border="0"·usemap="#apqxx_1_1plpgsql__too__many__rows_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01326.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="67,379,285,405"/>74 <area·shape="rect"·title="·"·alt=""·coords="67,379,285,405"/>
75 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>75 <area·shape="rect"·href="a01315.html"·title="PL/pgSQL·error."·alt=""·coords="103,304,249,331"/>
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·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="a00116_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00026_source.html">except.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01327.html">plpgsql_too_many_rows</a></li>164 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01327.html">plpgsql_too_many_rows</a></li>
1.67 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01331.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="a01331.html#details">More...</a></p>70 ·<a·href="a01331.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a01330.png"·border="0"·usemap="#apqxx_1_1field_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01330.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,32"/>77 <area·shape="rect"·title="Reference·to·a·field·in·a·result·set."·alt=""·coords="51,5,142,32"/>
78 <area·shape="rect"·href="a01419.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,80,188,107"/>78 <area·shape="rect"·href="a01419.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,80,188,107"/>
Offset 762, 15 lines modifiedOffset 762, 15 lines modified
762 </table>762 </table>
763 </div><div·class="memdoc">763 </div><div·class="memdoc">
764 <p·>You'd·expect·this·to·be·a·size_t,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p>764 <p·>You'd·expect·this·to·be·a·size_t,·but·due·to·the·way·reverse·iterators·are·related·to·regular·iterators,·it·must·be·allowed·to·underflow·to·-1.·</p>
  
765 </div>765 </div>
766 </div>766 </div>
767 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>767 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
768 <li><a·class="el"·href="a00068_source.html">field.hxx</a></li>768 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
769 <li>field.cxx</li>769 <li>field.cxx</li>
770 </ul>770 </ul>
771 </div><!--·contents·-->771 </div><!--·contents·-->
772 </div><!--·doc-content·-->772 </div><!--·doc-content·-->
773 <!--·start·footer·part·-->773 <!--·start·footer·part·-->
774 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->774 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
775 ··<ul>775 ··<ul>
1.82 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01335.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="a01332.html">List·of·all·members</a>··</div>66 <a·href="a01332.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="a00068_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="a01334.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="a01334.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,111,173,152"/>76 <area·shape="rect"·title="·"·alt=""·coords="9,111,173,152"/>
77 <area·shape="rect"·href="a01335.html"·title="·"·alt=""·coords="5,229,176,285"/>77 <area·shape="rect"·href="a01335.html"·title="·"·alt=""·coords="5,229,176,285"/>
Offset 419, 15 lines modifiedOffset 419, 15 lines modified
419 ··</tr>419 ··</tr>
420 </table>420 </table>
421 </div><div·class="memdoc">421 </div><div·class="memdoc">
  
422 </div>422 </div>
423 </div>423 </div>
424 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>424 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
425 <li><a·class="el"·href="a00068_source.html">field.hxx</a></li>425 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
426 </ul>426 </ul>
427 </div><!--·contents·-->427 </div><!--·contents·-->
428 </div><!--·doc-content·-->428 </div><!--·doc-content·-->
429 <!--·start·footer·part·-->429 <!--·start·footer·part·-->
430 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->430 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
431 ··<ul>431 ··<ul>
432 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01335.html">field_streambuf</a></li>432 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01335.html">field_streambuf</a></li>
1.81 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01339.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="a01339.html#details">More...</a></p>70 ·<a·href="a01339.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a01338.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="a01338.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,244,183,285"/>77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·result·field."·alt=""·coords="5,244,183,285"/>
78 <area·shape="rect"·title="·"·alt=""·coords="23,155,165,196"/>78 <area·shape="rect"·title="·"·alt=""·coords="23,155,165,196"/>
Offset 205, 15 lines modifiedOffset 205, 15 lines modified
205 ········</tr>205 ········</tr>
206 ······</table>206 ······</table>
207 </div><div·class="memdoc">207 </div><div·class="memdoc">
  
208 </div>208 </div>
209 </div>209 </div>
210 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>210 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
211 <li><a·class="el"·href="a00068_source.html">field.hxx</a></li>211 <li><a·class="el"·href="a00005_source.html">field.hxx</a></li>
212 </ul>212 </ul>
213 </div><!--·contents·-->213 </div><!--·contents·-->
214 </div><!--·doc-content·-->214 </div><!--·doc-content·-->
215 <!--·start·footer·part·-->215 <!--·start·footer·part·-->
216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
217 ··<ul>217 ··<ul>
218 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01339.html">basic_fieldstream</a></li>218 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01339.html">basic_fieldstream</a></li>
2.16 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01343.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::isolation_traits&lt;·LEVEL·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::isolation_traits&lt;·LEVEL·&gt;·Struct·Template·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Traits·class·to·describe·an·isolation·level;·primarly·for·libpqxx's·own·use.··69 <p>Traits·class·to·describe·an·isolation·level;·primarly·for·libpqxx's·own·use.··
70 ·<a·href="a01343.html#details">More...</a></p>70 ·<a·href="a01343.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">isolation.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">isolation.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:a1de2d356e26d418866893adcb2095ada"><td·class="memItemLeft"·align="right"·valign="top">constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01343.html#a1de2d356e26d418866893adcb2095ada">name</a>·()·noexcept</td></tr>75 <tr·class="memitem:a1de2d356e26d418866893adcb2095ada"><td·class="memItemLeft"·align="right"·valign="top">constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01343.html#a1de2d356e26d418866893adcb2095ada">name</a>·()·noexcept</td></tr>
76 <tr·class="separator:a1de2d356e26d418866893adcb2095ada"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a1de2d356e26d418866893adcb2095ada"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a447364667bcd204bc6b117c39c9ecda1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01343.html#a447364667bcd204bc6b117c39c9ecda1">name</a>·()·noexcept</td></tr>77 <tr·class="memitem:a447364667bcd204bc6b117c39c9ecda1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01343.html#a447364667bcd204bc6b117c39c9ecda1">name</a>·()·noexcept</td></tr>
78 <tr·class="separator:a447364667bcd204bc6b117c39c9ecda1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:a447364667bcd204bc6b117c39c9ecda1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 218, 15 lines modifiedOffset 218, 15 lines modified
218 ··</tr>218 ··</tr>
219 </table>219 </table>
220 </div><div·class="memdoc">220 </div><div·class="memdoc">
  
221 </div>221 </div>
222 </div>222 </div>
223 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>223 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
224 <li><a·class="el"·href="a00029_source.html">isolation.hxx</a></li>224 <li><a·class="el"·href="a00116_source.html">isolation.hxx</a></li>
225 </ul>225 </ul>
226 </div><!--·contents·-->226 </div><!--·contents·-->
227 </div><!--·doc-content·-->227 </div><!--·doc-content·-->
228 <!--·start·footer·part·-->228 <!--·start·footer·part·-->
229 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->229 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
230 ··<ul>230 ··<ul>
231 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01343.html">isolation_traits</a></li>231 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01343.html">isolation_traits</a></li>
1.65 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01347.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="a01347.html#details">More...</a></p>70 ·<a·href="a01347.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00113_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="a01346.png"·border="0"·usemap="#apqxx_1_1largeobject_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01346.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,32"/>77 <area·shape="rect"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,32"/>
78 <area·shape="rect"·href="a01351.html"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,80,184,107"/>78 <area·shape="rect"·href="a01351.html"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,80,184,107"/>
Offset 618, 15 lines modifiedOffset 618, 15 lines modified
618 </dl>618 </dl>
  
619 <p·class="reference">Referenced·by·<a·class="el"·href="a01351.html#af4b23a20a59887e503d84ed00066b8ca">pqxx::largeobjectaccess::to_file()</a>.</p>619 <p·class="reference">Referenced·by·<a·class="el"·href="a01351.html#af4b23a20a59887e503d84ed00066b8ca">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="a00104_source.html">largeobject.hxx</a></li>623 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
624 <li>largeobject.cxx</li>624 <li>largeobject.cxx</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.57 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01351.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::largeobjectaccess·Class·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::largeobjectaccess·Class·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Accessor·for·large·object's·contents.··69 <p>Accessor·for·large·object's·contents.··
70 ·<a·href="a01351.html#details">More...</a></p>70 ·<a·href="a01351.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">largeobject.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::largeobjectaccess:</div>73 Inheritance·diagram·for·pqxx::largeobjectaccess:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01350.png"·border="0"·usemap="#apqxx_1_1largeobjectaccess_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01350.png"·border="0"·usemap="#apqxx_1_1largeobjectaccess_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1largeobjectaccess_inherit__map"·id="apqxx_1_1largeobjectaccess_inherit__map">76 <map·name="apqxx_1_1largeobjectaccess_inherit__map"·id="apqxx_1_1largeobjectaccess_inherit__map">
77 <area·shape="rect"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,80,184,107"/>77 <area·shape="rect"·title="Accessor·for·large·object&#39;s·contents."·alt=""·coords="5,80,184,107"/>
78 <area·shape="rect"·href="a01347.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,32"/>78 <area·shape="rect"·href="a01347.html"·title="Identity·of·a·large·object."·alt=""·coords="27,5,162,32"/>
Offset 1066, 15 lines modifiedOffset 1066, 15 lines modified
1066 ··</table>1066 ··</table>
1067 ··</dd>1067 ··</dd>
1068 </dl>1068 </dl>
  
1069 </div>1069 </div>
1070 </div>1070 </div>
1071 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1071 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1072 <li><a·class="el"·href="a00104_source.html">largeobject.hxx</a></li>1072 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
1073 <li>largeobject.cxx</li>1073 <li>largeobject.cxx</li>
1074 </ul>1074 </ul>
1075 </div><!--·contents·-->1075 </div><!--·contents·-->
1076 </div><!--·doc-content·-->1076 </div><!--·doc-content·-->
1077 <!--·start·footer·part·-->1077 <!--·start·footer·part·-->
1078 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1078 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1079 ··<ul>1079 ··<ul>
1.87 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01355.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;·Class·Template·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::largeobject_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>Streambuf·to·use·large·objects·in·standard·I/O·streams.··70 <p>Streambuf·to·use·large·objects·in·standard·I/O·streams.··
71 ·<a·href="a01355.html#details">More...</a></p>71 ·<a·href="a01355.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">largeobject.hxx</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>74 Inheritance·diagram·for·pqxx::largeobject_streambuf&lt;·CHAR,·TRAITS·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01354.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01354.png"·border="0"·usemap="#apqxx_1_1largeobject__streambuf_3_01CHAR_00_01TRAITS_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <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">77 <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 <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,111,215,152"/>78 <area·shape="rect"·title="Streambuf·to·use·large·objects·in·standard·I/O·streams."·alt=""·coords="5,111,215,152"/>
79 <area·shape="rect"·href="a01355.html"·title="·"·alt=""·coords="5,229,215,285"/>79 <area·shape="rect"·href="a01355.html"·title="·"·alt=""·coords="5,229,215,285"/>
Offset 539, 15 lines modifiedOffset 539, 15 lines modified
539 ··</tr>539 ··</tr>
540 </table>540 </table>
541 </div><div·class="memdoc">541 </div><div·class="memdoc">
  
542 </div>542 </div>
543 </div>543 </div>
544 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>544 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
545 <li><a·class="el"·href="a00104_source.html">largeobject.hxx</a></li>545 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
546 </ul>546 </ul>
547 </div><!--·contents·-->547 </div><!--·contents·-->
548 </div><!--·doc-content·-->548 </div><!--·doc-content·-->
549 <!--·start·footer·part·-->549 <!--·start·footer·part·-->
550 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->550 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
551 ··<ul>551 ··<ul>
552 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01355.html">largeobject_streambuf</a></li>552 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01355.html">largeobject_streambuf</a></li>
1.79 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01359.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="a01359.html#details">More...</a></p>70 ·<a·href="a01359.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00113_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="a01358.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="a01358.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,244,173,285"/>77 <area·shape="rect"·title="Input·stream·that·gets·its·data·from·a·large·object."·alt=""·coords="8,244,173,285"/>
78 <area·shape="rect"·title="·"·alt=""·coords="20,155,161,196"/>78 <area·shape="rect"·title="·"·alt=""·coords="20,155,161,196"/>
Offset 281, 15 lines modifiedOffset 281, 15 lines modified
281 ··</table>281 ··</table>
282 ··</dd>282 ··</dd>
283 </dl>283 </dl>
  
284 </div>284 </div>
285 </div>285 </div>
286 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>286 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
287 <li><a·class="el"·href="a00104_source.html">largeobject.hxx</a></li>287 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
288 </ul>288 </ul>
289 </div><!--·contents·-->289 </div><!--·contents·-->
290 </div><!--·doc-content·-->290 </div><!--·doc-content·-->
291 <!--·start·footer·part·-->291 <!--·start·footer·part·-->
292 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->292 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
293 ··<ul>293 ··<ul>
294 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01359.html">basic_ilostream</a></li>294 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01359.html">basic_ilostream</a></li>
1.83 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01363.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="a01363.html#details">More...</a></p>70 ·<a·href="a01363.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00113_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="a01362.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="a01362.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,244,175,285"/>77 <area·shape="rect"·title="Output·stream·that·writes·data·back·to·a·large·object."·alt=""·coords="6,244,175,285"/>
78 <area·shape="rect"·title="·"·alt=""·coords="18,155,163,196"/>78 <area·shape="rect"·title="·"·alt=""·coords="18,155,163,196"/>
Offset 302, 15 lines modifiedOffset 302, 15 lines modified
302 ········</tr>302 ········</tr>
303 ······</table>303 ······</table>
304 </div><div·class="memdoc">304 </div><div·class="memdoc">
  
305 </div>305 </div>
306 </div>306 </div>
307 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>307 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
308 <li><a·class="el"·href="a00104_source.html">largeobject.hxx</a></li>308 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
309 </ul>309 </ul>
310 </div><!--·contents·-->310 </div><!--·contents·-->
311 </div><!--·doc-content·-->311 </div><!--·doc-content·-->
312 <!--·start·footer·part·-->312 <!--·start·footer·part·-->
313 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->313 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
314 ··<ul>314 ··<ul>
315 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01363.html">basic_olostream</a></li>315 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01363.html">basic_olostream</a></li>
1.8 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01367.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="a01367.html#details">More...</a></p>70 ·<a·href="a01367.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00113_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="a01366.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="a01366.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,333,241,375"/>77 <area·shape="rect"·title="Stream·that·reads·and·writes·a·large·object."·alt=""·coords="79,333,241,375"/>
78 <area·shape="rect"·title="·"·alt=""·coords="85,244,235,285"/>78 <area·shape="rect"·title="·"·alt=""·coords="85,244,235,285"/>
Offset 304, 15 lines modifiedOffset 304, 15 lines modified
304 ········</tr>304 ········</tr>
305 ······</table>305 ······</table>
306 </div><div·class="memdoc">306 </div><div·class="memdoc">
  
307 </div>307 </div>
308 </div>308 </div>
309 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>309 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
310 <li><a·class="el"·href="a00104_source.html">largeobject.hxx</a></li>310 <li><a·class="el"·href="a00113_source.html">largeobject.hxx</a></li>
311 </ul>311 </ul>
312 </div><!--·contents·-->312 </div><!--·contents·-->
313 </div><!--·doc-content·-->313 </div><!--·doc-content·-->
314 <!--·start·footer·part·-->314 <!--·start·footer·part·-->
315 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->315 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
316 ··<ul>316 ··<ul>
317 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01367.html">basic_lostream</a></li>317 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01367.html">basic_lostream</a></li>
2.05 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01371.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::nontransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::nontransaction·Class·Reference<div·class="ingroups"><a·class="el"·href="a00257.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="a01371.html#details">More...</a></p>69 ·<a·href="a01371.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00062_source.html">nontransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00080_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="a01370.png"·border="0"·usemap="#apqxx_1_1nontransaction_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01370.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="25,155,184,181"/>76 <area·shape="rect"·title="Simple·&quot;transaction&quot;·class·offering·no·transactional·integrity."·alt=""·coords="25,155,184,181"/>
77 <area·shape="rect"·href="a01527.html"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes."·alt=""·coords="18,80,191,107"/>77 <area·shape="rect"·href="a01527.html"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes."·alt=""·coords="18,80,191,107"/>
Offset 326, 15 lines modifiedOffset 326, 15 lines modified
326 <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>326 <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>
  
327 <p·class="reference">References·<a·class="el"·href="a01527.html#afe72d50677298f6702c34bb860506454">pqxx::transaction_base::End()</a>.</p>327 <p·class="reference">References·<a·class="el"·href="a01527.html#afe72d50677298f6702c34bb860506454">pqxx::transaction_base::End()</a>.</p>
  
328 </div>328 </div>
329 </div>329 </div>
330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
331 <li><a·class="el"·href="a00062_source.html">nontransaction.hxx</a></li>331 <li><a·class="el"·href="a00080_source.html">nontransaction.hxx</a></li>
332 <li>nontransaction.cxx</li>332 <li>nontransaction.cxx</li>
333 </ul>333 </ul>
334 </div><!--·contents·-->334 </div><!--·contents·-->
335 </div><!--·doc-content·-->335 </div><!--·doc-content·-->
336 <!--·start·footer·part·-->336 <!--·start·footer·part·-->
337 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->337 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
338 ··<ul>338 ··<ul>
2.46 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01375.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="a01372.html">List·of·all·members</a>··</div>65 <a·href="a01372.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="a00020_source.html">notification.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00059_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:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01375.html#af1f7329b7989d05272f6ac354fa1ac3e">notification_receiver</a>·(<a·class="el"·href="a01135.html">connection_base</a>·&amp;c,·const·std::string·&amp;<a·class="el"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">channel</a>)</td></tr>73 <tr·class="memitem:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01375.html#af1f7329b7989d05272f6ac354fa1ac3e">notification_receiver</a>·(<a·class="el"·href="a01135.html">connection_base</a>·&amp;c,·const·std::string·&amp;<a·class="el"·href="a01375.html#a8da32054156ce1bc7e683bfd57d018be">channel</a>)</td></tr>
74 <tr·class="memdesc:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<a·href="a01375.html#af1f7329b7989d05272f6ac354fa1ac3e">More...</a><br·/></td></tr>74 <tr·class="memdesc:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Register·the·receiver·with·a·connection.··<a·href="a01375.html#af1f7329b7989d05272f6ac354fa1ac3e">More...</a><br·/></td></tr>
75 <tr·class="separator:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:af1f7329b7989d05272f6ac354fa1ac3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a6f64b03667197bccb77c9fa4a1ecfbe0"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">notification_receiver</a>·(const·<a·class="el"·href="a01375.html">notification_receiver</a>·&amp;)=delete</td></tr>76 <tr·class="memitem:a6f64b03667197bccb77c9fa4a1ecfbe0"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01375.html#a6f64b03667197bccb77c9fa4a1ecfbe0">notification_receiver</a>·(const·<a·class="el"·href="a01375.html">notification_receiver</a>·&amp;)=delete</td></tr>
Offset 294, 15 lines modifiedOffset 294, 15 lines modified
294 ··</tr>294 ··</tr>
295 </table>295 </table>
296 </div><div·class="memdoc">296 </div><div·class="memdoc">
  
297 </div>297 </div>
298 </div>298 </div>
299 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>299 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
300 <li><a·class="el"·href="a00020_source.html">notification.hxx</a></li>300 <li><a·class="el"·href="a00059_source.html">notification.hxx</a></li>
301 <li>notification.cxx</li>301 <li>notification.cxx</li>
302 </ul>302 </ul>
303 </div><!--·contents·-->303 </div><!--·contents·-->
304 </div><!--·doc-content·-->304 </div><!--·doc-content·-->
305 <!--·start·footer·part·-->305 <!--·start·footer·part·-->
306 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->306 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
307 ··<ul>307 ··<ul>
1.92 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01379.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="a01379.html#details">More...</a></p>71 ·<a·href="a01379.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="a00074_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="a01378.png"·border="0"·usemap="#apqxx_1_1pipeline_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01378.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="62,155,177,181"/>78 <area·shape="rect"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="62,155,177,181"/>
79 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="5,80,233,107"/>79 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="5,80,233,107"/>
Offset 519, 15 lines modifiedOffset 519, 15 lines modified
  
519 <p>Retrieve·result·for·given·query.·</p>519 <p>Retrieve·result·for·given·query.·</p>
520 <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>520 <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>
  
521 </div>521 </div>
522 </div>522 </div>
523 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>523 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
524 <li><a·class="el"·href="a00053_source.html">pipeline.hxx</a></li>524 <li><a·class="el"·href="a00074_source.html">pipeline.hxx</a></li>
525 <li>pipeline.cxx</li>525 <li>pipeline.cxx</li>
526 </ul>526 </ul>
527 </div><!--·contents·-->527 </div><!--·contents·-->
528 </div><!--·doc-content·-->528 </div><!--·doc-content·-->
529 <!--·start·footer·part·-->529 <!--·start·footer·part·-->
530 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->530 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
531 ··<ul>531 ··<ul>
1.66 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01387.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::prepare::invocation·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::prepare::invocation·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Helper·class·for·passing·parameters·to,·and·executing,·prepared·statements.··68 <p>Helper·class·for·passing·parameters·to,·and·executing,·prepared·statements.··
69 ·<a·href="a01387.html#details">More...</a></p>69 ·<a·href="a01387.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">prepared_statement.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">prepared_statement.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::prepare::invocation:</div>72 Inheritance·diagram·for·pqxx::prepare::invocation:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01386.png"·border="0"·usemap="#apqxx_1_1prepare_1_1invocation_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01386.png"·border="0"·usemap="#apqxx_1_1prepare_1_1invocation_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1prepare_1_1invocation_inherit__map"·id="apqxx_1_1prepare_1_1invocation_inherit__map">75 <map·name="apqxx_1_1prepare_1_1invocation_inherit__map"·id="apqxx_1_1prepare_1_1invocation_inherit__map">
76 <area·shape="rect"·title="Helper·class·for·passing·parameters·to,·and·executing,·prepared·statements."·alt=""·coords="5,95,193,121"/>76 <area·shape="rect"·title="Helper·class·for·passing·parameters·to,·and·executing,·prepared·statements."·alt=""·coords="5,95,193,121"/>
77 <area·shape="rect"·title="·"·alt=""·coords="26,5,173,47"/>77 <area·shape="rect"·title="·"·alt=""·coords="26,5,173,47"/>
Offset 431, 15 lines modifiedOffset 431, 15 lines modified
431 ··</tr>431 ··</tr>
432 </table>432 </table>
433 </div><div·class="memdoc">433 </div><div·class="memdoc">
  
434 </div>434 </div>
435 </div>435 </div>
436 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>436 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
437 <li><a·class="el"·href="a00110_source.html">prepared_statement.hxx</a></li>437 <li><a·class="el"·href="a00035_source.html">prepared_statement.hxx</a></li>
438 <li>prepared_statement.cxx</li>438 <li>prepared_statement.cxx</li>
439 </ul>439 </ul>
440 </div><!--·contents·-->440 </div><!--·contents·-->
441 </div><!--·doc-content·-->441 </div><!--·doc-content·-->
442 <!--·start·footer·part·-->442 <!--·start·footer·part·-->
443 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->443 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
444 ··<ul>444 ··<ul>
2.09 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01391.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::prepare::internal::prepared_def·Struct·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::prepare::internal::prepared_def·Struct·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Internal·representation·of·a·prepared·statement·definition.··69 <p>Internal·representation·of·a·prepared·statement·definition.··
70 ·<a·href="a01391.html#details">More...</a></p>70 ·<a·href="a01391.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">prepared_statement.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">prepared_statement.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:a671725b69ff5cc13416a964bd60851a9"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01391.html#a671725b69ff5cc13416a964bd60851a9">prepared_def</a>·()=default</td></tr>75 <tr·class="memitem:a671725b69ff5cc13416a964bd60851a9"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01391.html#a671725b69ff5cc13416a964bd60851a9">prepared_def</a>·()=default</td></tr>
76 <tr·class="separator:a671725b69ff5cc13416a964bd60851a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:a671725b69ff5cc13416a964bd60851a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a52a320e063625faf69d1104d7dbfc13a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01391.html#a52a320e063625faf69d1104d7dbfc13a">prepared_def</a>·(const·std::string·&amp;)</td></tr>77 <tr·class="memitem:a52a320e063625faf69d1104d7dbfc13a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01391.html#a52a320e063625faf69d1104d7dbfc13a">prepared_def</a>·(const·std::string·&amp;)</td></tr>
78 <tr·class="separator:a52a320e063625faf69d1104d7dbfc13a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:a52a320e063625faf69d1104d7dbfc13a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 </div><div·class="memdoc">172 </div><div·class="memdoc">
  
173 <p>Has·this·prepared·statement·been·prepared·in·the·current·session?·</p>173 <p>Has·this·prepared·statement·been·prepared·in·the·current·session?·</p>
  
174 </div>174 </div>
175 </div>175 </div>
176 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>176 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
177 <li><a·class="el"·href="a00110_source.html">prepared_statement.hxx</a></li>177 <li><a·class="el"·href="a00035_source.html">prepared_statement.hxx</a></li>
178 <li>prepared_statement.cxx</li>178 <li>prepared_statement.cxx</li>
179 </ul>179 </ul>
180 </div><!--·contents·-->180 </div><!--·contents·-->
181 </div><!--·doc-content·-->181 </div><!--·doc-content·-->
182 <!--·start·footer·part·-->182 <!--·start·footer·part·-->
183 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->183 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
184 ··<ul>184 ··<ul>
2.25 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01395.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="a01395.html#details">More...</a></p>70 ·<a·href="a01395.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">result.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00101_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"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="el"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">result_size_type</a></td></tr>75 <tr·class="memitem:a45143316d9e7b9a658850326732d2786"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a45143316d9e7b9a658850326732d2786">size_type</a>·=·<a·class="el"·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">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"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="el"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">result_difference_type</a></td></tr>77 <tr·class="memitem:a94557b57aa090a8dd2c27bfa923934fd"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a94557b57aa090a8dd2c27bfa923934fd">difference_type</a>·=·<a·class="el"·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">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 1325, 16 lines modifiedOffset 1325, 16 lines modified
1325 ··</tr>1325 ··</tr>
1326 </table>1326 </table>
1327 </div><div·class="memdoc">1327 </div><div·class="memdoc">
  
1328 </div>1328 </div>
1329 </div>1329 </div>
1330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1331 <li><a·class="el"·href="a00122_source.html">result.hxx</a></li>1331 <li><a·class="el"·href="a00101_source.html">result.hxx</a></li>
1332 <li><a·class="el"·href="a00041_source.html">result_iterator.hxx</a></li>1332 <li><a·class="el"·href="a00044_source.html">result_iterator.hxx</a></li>
1333 <li>result.cxx</li>1333 <li>result.cxx</li>
1334 <li>row.cxx</li>1334 <li>row.cxx</li>
1335 </ul>1335 </ul>
1336 </div><!--·contents·-->1336 </div><!--·contents·-->
1337 </div><!--·doc-content·-->1337 </div><!--·doc-content·-->
1338 <!--·start·footer·part·-->1338 <!--·start·footer·part·-->
1339 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1339 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1.78 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01399.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::const_result_iterator·Class·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::const_result_iterator·Class·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Iterator·for·rows·in·a·result.·Use·as·<a·class="el"·href="a01395.html#ae52e3b60c1e512110b1c425e5a36eb7c">result::const_iterator</a>.··69 <p>Iterator·for·rows·in·a·result.·Use·as·<a·class="el"·href="a01395.html#ae52e3b60c1e512110b1c425e5a36eb7c">result::const_iterator</a>.··
70 ·<a·href="a01399.html#details">More...</a></p>70 ·<a·href="a01399.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00041_source.html">result_iterator.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00044_source.html">result_iterator.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::const_result_iterator:</div>73 Inheritance·diagram·for·pqxx::const_result_iterator:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01398.png"·border="0"·usemap="#apqxx_1_1const__result__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01398.png"·border="0"·usemap="#apqxx_1_1const__result__iterator_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1const__result__iterator_inherit__map"·id="apqxx_1_1const__result__iterator_inherit__map">76 <map·name="apqxx_1_1const__result__iterator_inherit__map"·id="apqxx_1_1const__result__iterator_inherit__map">
77 <area·shape="rect"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>77 <area·shape="rect"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>
78 <area·shape="rect"·href="a01403.html"·title="Reverse·iterator·for·result.·Use·as·result::const_reverse_iterator."·alt=""·coords="5,169,159,211"/>78 <area·shape="rect"·href="a01403.html"·title="Reverse·iterator·for·result.·Use·as·result::const_reverse_iterator."·alt=""·coords="5,169,159,211"/>
Offset 783, 15 lines modifiedOffset 783, 15 lines modified
783 ··</tr>783 ··</tr>
784 </table>784 </table>
785 </div><div·class="memdoc">785 </div><div·class="memdoc">
  
786 </div>786 </div>
787 </div>787 </div>
788 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>788 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
789 <li><a·class="el"·href="a00041_source.html">result_iterator.hxx</a></li>789 <li><a·class="el"·href="a00044_source.html">result_iterator.hxx</a></li>
790 <li>result.cxx</li>790 <li>result.cxx</li>
791 </ul>791 </ul>
792 </div><!--·contents·-->792 </div><!--·contents·-->
793 </div><!--·doc-content·-->793 </div><!--·doc-content·-->
794 <!--·start·footer·part·-->794 <!--·start·footer·part·-->
795 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->795 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
796 ··<ul>796 ··<ul>
1.84 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01403.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::const_reverse_result_iterator·Class·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::const_reverse_result_iterator·Class·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Reverse·iterator·for·result.·Use·as·<a·class="el"·href="a01395.html#a1460ff79bb0f7d2a05a24eccece1eb22">result::const_reverse_iterator</a>.··69 <p>Reverse·iterator·for·result.·Use·as·<a·class="el"·href="a01395.html#a1460ff79bb0f7d2a05a24eccece1eb22">result::const_reverse_iterator</a>.··
70 ·<a·href="a01403.html#details">More...</a></p>70 ·<a·href="a01403.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00041_source.html">result_iterator.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00044_source.html">result_iterator.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::const_reverse_result_iterator:</div>73 Inheritance·diagram·for·pqxx::const_reverse_result_iterator:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01402.png"·border="0"·usemap="#apqxx_1_1const__reverse__result__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01402.png"·border="0"·usemap="#apqxx_1_1const__reverse__result__iterator_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1const__reverse__result__iterator_inherit__map"·id="apqxx_1_1const__reverse__result__iterator_inherit__map">76 <map·name="apqxx_1_1const__reverse__result__iterator_inherit__map"·id="apqxx_1_1const__reverse__result__iterator_inherit__map">
77 <area·shape="rect"·title="Reverse·iterator·for·result.·Use·as·result::const_reverse_iterator."·alt=""·coords="5,169,159,211"/>77 <area·shape="rect"·title="Reverse·iterator·for·result.·Use·as·result::const_reverse_iterator."·alt=""·coords="5,169,159,211"/>
78 <area·shape="rect"·href="a01399.html"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>78 <area·shape="rect"·href="a01399.html"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>
Offset 676, 15 lines modifiedOffset 676, 15 lines modified
676 ········</tr>676 ········</tr>
677 ······</table>677 ······</table>
678 </div><div·class="memdoc">678 </div><div·class="memdoc">
  
679 </div>679 </div>
680 </div>680 </div>
681 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>681 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
682 <li><a·class="el"·href="a00041_source.html">result_iterator.hxx</a></li>682 <li><a·class="el"·href="a00044_source.html">result_iterator.hxx</a></li>
683 <li>result.cxx</li>683 <li>result.cxx</li>
684 </ul>684 </ul>
685 </div><!--·contents·-->685 </div><!--·contents·-->
686 </div><!--·doc-content·-->686 </div><!--·doc-content·-->
687 <!--·start·footer·part·-->687 <!--·start·footer·part·-->
688 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->688 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
689 ··<ul>689 ··<ul>
1.86 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01407.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<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·class="headertitle"><div·class="title">pqxx::internal::basic_robusttransaction·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p>Helper·base·class·for·the·<code>robusttransaction</code>·class·template.··70 <p>Helper·base·class·for·the·<code>robusttransaction</code>·class·template.··
71 ·<a·href="a01407.html#details">More...</a></p>71 ·<a·href="a01407.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">robusttransaction.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">robusttransaction.hxx</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div>74 Inheritance·diagram·for·pqxx::internal::basic_robusttransaction:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01406.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01406.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map">77 <map·name="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map"·id="apqxx_1_1internal_1_1basic__robusttransaction_inherit__map">
78 <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="27,229,182,271"/>78 <area·shape="rect"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="27,229,182,271"/>
79 <area·shape="rect"·href="a01411.html"·title="Slightly·slower,·better&#45;fortified·version·of·transaction."·alt=""·coords="17,319,193,360"/>79 <area·shape="rect"·href="a01411.html"·title="Slightly·slower,·better&#45;fortified·version·of·transaction."·alt=""·coords="17,319,193,360"/>
Offset 367, 15 lines modifiedOffset 367, 15 lines modified
367 ··</tr>367 ··</tr>
368 </table>368 </table>
369 </div><div·class="memdoc">369 </div><div·class="memdoc">
  
370 </div>370 </div>
371 </div>371 </div>
372 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>372 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
373 <li><a·class="el"·href="a00098_source.html">robusttransaction.hxx</a></li>373 <li><a·class="el"·href="a00068_source.html">robusttransaction.hxx</a></li>
374 <li>robusttransaction.cxx</li>374 <li>robusttransaction.cxx</li>
375 </ul>375 </ul>
376 </div><!--·contents·-->376 </div><!--·contents·-->
377 </div><!--·doc-content·-->377 </div><!--·doc-content·-->
378 <!--·start·footer·part·-->378 <!--·start·footer·part·-->
379 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->379 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
380 ··<ul>380 ··<ul>
2.01 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01411.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::robusttransaction&lt;·ISOLATIONLEVEL·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::robusttransaction&lt;·ISOLATIONLEVEL·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Slightly·slower,·better-fortified·version·of·transaction.··69 <p>Slightly·slower,·better-fortified·version·of·transaction.··
70 ·<a·href="a01411.html#details">More...</a></p>70 ·<a·href="a01411.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">robusttransaction.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">robusttransaction.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::robusttransaction&lt;·ISOLATIONLEVEL·&gt;:</div>73 Inheritance·diagram·for·pqxx::robusttransaction&lt;·ISOLATIONLEVEL·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01410.png"·border="0"·usemap="#apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01410.png"·border="0"·usemap="#apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map"·id="apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map">76 <map·name="apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map"·id="apqxx_1_1robusttransaction_3_01ISOLATIONLEVEL_01_4_inherit__map">
77 <area·shape="rect"·title="Slightly·slower,·better&#45;fortified·version·of·transaction."·alt=""·coords="17,319,193,360"/>77 <area·shape="rect"·title="Slightly·slower,·better&#45;fortified·version·of·transaction."·alt=""·coords="17,319,193,360"/>
78 <area·shape="rect"·href="a01407.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="27,229,182,271"/>78 <area·shape="rect"·href="a01407.html"·title="Helper·base·class·for·the·robusttransaction·class·template."·alt=""·coords="27,229,182,271"/>
Offset 398, 15 lines modifiedOffset 398, 15 lines modified
398 ··</tr>398 ··</tr>
399 </table>399 </table>
400 </div><div·class="memdoc">400 </div><div·class="memdoc">
  
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="a00098_source.html">robusttransaction.hxx</a></li>404 <li><a·class="el"·href="a00068_source.html">robusttransaction.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01411.html">robusttransaction</a></li>411 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01411.html">robusttransaction</a></li>
1.77 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01415.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="a01415.html#details">More...</a></p>70 ·<a·href="a01415.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">row.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::row:</div>73 Inheritance·diagram·for·pqxx::row:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01414.png"·border="0"·usemap="#apqxx_1_1row_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01414.png"·border="0"·usemap="#apqxx_1_1row_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1row_inherit__map"·id="apqxx_1_1row_inherit__map">76 <map·name="apqxx_1_1row_inherit__map"·id="apqxx_1_1row_inherit__map">
77 <area·shape="rect"·title="Reference·to·one·row·in·a·result."·alt=""·coords="39,5,125,32"/>77 <area·shape="rect"·title="Reference·to·one·row·in·a·result."·alt=""·coords="39,5,125,32"/>
78 <area·shape="rect"·href="a01399.html"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>78 <area·shape="rect"·href="a01399.html"·title="Iterator·for·rows·in·a·result.·Use·as·result::const_iterator."·alt=""·coords="11,80,153,121"/>
Offset 1394, 15 lines modifiedOffset 1394, 15 lines modified
1394 <p>Result·set·of·which·this·is·one·row.·</p>1394 <p>Result·set·of·which·this·is·one·row.·</p>
  
1395 <p·class="reference">Referenced·by·<a·class="el"·href="a01399.html#a491f0a628b6824e651775eb5647ca0a9">pqxx::const_result_iterator::operator+()</a>,·and·<a·class="el"·href="a01399.html#a4ce5bf0280d6dce47212969b614c483a">pqxx::const_result_iterator::operator-()</a>.</p>1395 <p·class="reference">Referenced·by·<a·class="el"·href="a01399.html#a491f0a628b6824e651775eb5647ca0a9">pqxx::const_result_iterator::operator+()</a>,·and·<a·class="el"·href="a01399.html#a4ce5bf0280d6dce47212969b614c483a">pqxx::const_result_iterator::operator-()</a>.</p>
  
1396 </div>1396 </div>
1397 </div>1397 </div>
1398 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1398 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1399 <li><a·class="el"·href="a00023_source.html">row.hxx</a></li>1399 <li><a·class="el"·href="a00065_source.html">row.hxx</a></li>
1400 <li>row.cxx</li>1400 <li>row.cxx</li>
1401 </ul>1401 </ul>
1402 </div><!--·contents·-->1402 </div><!--·contents·-->
1403 </div><!--·doc-content·-->1403 </div><!--·doc-content·-->
1404 <!--·start·footer·part·-->1404 <!--·start·footer·part·-->
1405 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1405 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1406 ··<ul>1406 ··<ul>
1.7 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01419.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="a01415.html#abd640a160c9e039106a51a6a31823caf">row::const_iterator</a>.··69 <p>Iterator·for·fields·in·a·row.·Use·as·<a·class="el"·href="a01415.html#abd640a160c9e039106a51a6a31823caf">row::const_iterator</a>.··
70 ·<a·href="a01419.html#details">More...</a></p>70 ·<a·href="a01419.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a01418.png"·border="0"·usemap="#apqxx_1_1const__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01418.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,80,188,107"/>77 <area·shape="rect"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,80,188,107"/>
78 <area·shape="rect"·href="a01423.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,155,173,196"/>78 <area·shape="rect"·href="a01423.html"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,155,173,196"/>
Offset 714, 15 lines modifiedOffset 714, 15 lines modified
714 ··</tr>714 ··</tr>
715 </table>715 </table>
716 </div><div·class="memdoc">716 </div><div·class="memdoc">
  
717 </div>717 </div>
718 </div>718 </div>
719 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>719 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
720 <li><a·class="el"·href="a00023_source.html">row.hxx</a></li>720 <li><a·class="el"·href="a00065_source.html">row.hxx</a></li>
721 <li>row.cxx</li>721 <li>row.cxx</li>
722 </ul>722 </ul>
723 </div><!--·contents·-->723 </div><!--·contents·-->
724 </div><!--·doc-content·-->724 </div><!--·doc-content·-->
725 <!--·start·footer·part·-->725 <!--·start·footer·part·-->
726 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->726 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
727 ··<ul>727 ··<ul>
1.76 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01423.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="a01415.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">row::const_reverse_iterator</a>.··69 <p>Reverse·iterator·for·a·row.·Use·as·<a·class="el"·href="a01415.html#a8d5b0a5299b03fd5c11e7cc0fce2b8e8">row::const_reverse_iterator</a>.··
70 ·<a·href="a01423.html#details">More...</a></p>70 ·<a·href="a01423.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a01422.png"·border="0"·usemap="#apqxx_1_1const__reverse__row__iterator_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01422.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,155,173,196"/>77 <area·shape="rect"·title="Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator."·alt=""·coords="20,155,173,196"/>
78 <area·shape="rect"·href="a01419.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,80,188,107"/>78 <area·shape="rect"·href="a01419.html"·title="Iterator·for·fields·in·a·row.·Use·as·row::const_iterator."·alt=""·coords="5,80,188,107"/>
Offset 674, 15 lines modifiedOffset 674, 15 lines modified
674 ········</tr>674 ········</tr>
675 ······</table>675 ······</table>
676 </div><div·class="memdoc">676 </div><div·class="memdoc">
  
677 </div>677 </div>
678 </div>678 </div>
679 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>679 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
680 <li><a·class="el"·href="a00023_source.html">row.hxx</a></li>680 <li><a·class="el"·href="a00065_source.html">row.hxx</a></li>
681 <li>row.cxx</li>681 <li>row.cxx</li>
682 </ul>682 </ul>
683 </div><!--·contents·-->683 </div><!--·contents·-->
684 </div><!--·doc-content·-->684 </div><!--·doc-content·-->
685 <!--·start·footer·part·-->685 <!--·start·footer·part·-->
686 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->686 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
687 ··<ul>687 ··<ul>
1.15 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01427.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 <p>Traits·class·for·use·in·string·conversions.··66 <p>Traits·class·for·use·in·string·conversions.··
67 ·<a·href="a01427.html#details">More...</a></p>67 ·<a·href="a01427.html#details">More...</a></p>
68 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>68 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
69 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·=·void&gt;<br·/>69 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·=·void&gt;<br·/>
70 struct·pqxx::string_traits&lt;·T,·typename·&gt;</div><p·>Traits·class·for·use·in·string·conversions.·</p>70 struct·pqxx::string_traits&lt;·T,·typename·&gt;</div><p·>Traits·class·for·use·in·string·conversions.·</p>
71 <p·>Specialize·this·template·for·a·type·that·you·wish·to·add·to_string·and·from_string·support·for.·</p>71 <p·>Specialize·this·template·for·a·type·that·you·wish·to·add·to_string·and·from_string·support·for.·</p>
72 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>72 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
73 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>73 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
74 </ul>74 </ul>
75 </div><!--·contents·-->75 </div><!--·contents·-->
76 </div><!--·doc-content·-->76 </div><!--·doc-content·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->78 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
79 ··<ul>79 ··<ul>
80 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01427.html">string_traits</a></li>80 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01427.html">string_traits</a></li>
1.36 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01431.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ·<a·href="a01431.html#details">More...</a></p>67 ·<a·href="a01431.html#details">More...</a></p>
68 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>68 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
69 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TYPE&gt;<br·/>69 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TYPE&gt;<br·/>
70 struct·pqxx::internal::type_name&lt;·TYPE·&gt;</div><p·>Give·a·human-readable·name·for·a·type,·at·compile·time.·</p>70 struct·pqxx::internal::type_name&lt;·TYPE·&gt;</div><p·>Give·a·human-readable·name·for·a·type,·at·compile·time.·</p>
71 <p·>Each·instantiation·contains·a·static·member·called·<code>value</code>·which·is·the·type's·name,·as·a·string.</p>71 <p·>Each·instantiation·contains·a·static·member·called·<code>value</code>·which·is·the·type's·name,·as·a·string.</p>
72 <p·>This·template·should·not·be·around·for·long.·C++14's·variable·templates·make·it·easier·(eliminating·the·cumbersome·struct)·and·C++20's·introspection·should·obviate·it·completely.·</p>72 <p·>This·template·should·not·be·around·for·long.·C++14's·variable·templates·make·it·easier·(eliminating·the·cumbersome·struct)·and·C++20's·introspection·should·obviate·it·completely.·</p>
73 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>74 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 </div><!--·doc-content·-->77 </div><!--·doc-content·-->
78 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
79 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->79 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
80 ··<ul>80 ··<ul>
81 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01431.html">type_name</a></li>81 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01431.html">type_name</a></li>
1.96 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01435.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;63 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
64 <a·href="a01432.html">List·of·all·members</a>··</div>64 <a·href="a01432.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::type_name&lt;·char[N]&gt;·Struct·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::type_name&lt;·char[N]&gt;·Struct·Template·Reference</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="a00065_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
71 Static·Public·Attributes</h2></td></tr>71 Static·Public·Attributes</h2></td></tr>
72 <tr·class="memitem:a27cb2c9bd2b6fad24badf2a09cc908d4"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01435.html#a27cb2c9bd2b6fad24badf2a09cc908d4">value</a>·=·&quot;char[]&quot;</td></tr>72 <tr·class="memitem:a27cb2c9bd2b6fad24badf2a09cc908d4"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01435.html#a27cb2c9bd2b6fad24badf2a09cc908d4">value</a>·=·&quot;char[]&quot;</td></tr>
73 <tr·class="separator:a27cb2c9bd2b6fad24badf2a09cc908d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:a27cb2c9bd2b6fad24badf2a09cc908d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 </table>74 </table>
75 <h2·class="groupheader">Member·Data·Documentation</h2>75 <h2·class="groupheader">Member·Data·Documentation</h2>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ··</tr>95 ··</tr>
96 </table>96 </table>
97 </div><div·class="memdoc">97 </div><div·class="memdoc">
  
98 </div>98 </div>
99 </div>99 </div>
100 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>101 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 </div><!--·doc-content·-->104 </div><!--·doc-content·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <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!·-->
107 ··<ul>107 ··<ul>
108 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01435.html">type_name&lt;·char[N]&gt;</a></li>108 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01435.html">type_name&lt;·char[N]&gt;</a></li>
2.22 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01439.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::internal::builtin_traits&lt;·TYPE·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::internal::builtin_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>Helper:·string·traits·implementation·for·built-in·types.··69 <p>Helper:·string·traits·implementation·for·built-in·types.··
70 ·<a·href="a01439.html#details">More...</a></p>70 ·<a·href="a01439.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00092_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-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:aa41c229996b14ba3f01448dfcf898f76"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01439.html#aa41c229996b14ba3f01448dfcf898f76">from_string</a>·(const·char·Str[],·short·&amp;Obj)</td></tr>75 <tr·class="memitem:aa41c229996b14ba3f01448dfcf898f76"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01439.html#aa41c229996b14ba3f01448dfcf898f76">from_string</a>·(const·char·Str[],·short·&amp;Obj)</td></tr>
76 <tr·class="separator:aa41c229996b14ba3f01448dfcf898f76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:aa41c229996b14ba3f01448dfcf898f76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:ade854a7d0771f3efa446e3989c6aff0d"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01439.html#ade854a7d0771f3efa446e3989c6aff0d">to_string</a>·(short·Obj)</td></tr>77 <tr·class="memitem:ade854a7d0771f3efa446e3989c6aff0d"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01439.html#ade854a7d0771f3efa446e3989c6aff0d">to_string</a>·(short·Obj)</td></tr>
78 <tr·class="separator:ade854a7d0771f3efa446e3989c6aff0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:ade854a7d0771f3efa446e3989c6aff0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 870, 15 lines modifiedOffset 870, 15 lines modified
870 ········</tr>870 ········</tr>
871 ······</table>871 ······</table>
872 </div><div·class="memdoc">872 </div><div·class="memdoc">
  
873 </div>873 </div>
874 </div>874 </div>
875 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>875 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
876 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>876 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
877 </ul>877 </ul>
878 </div><!--·contents·-->878 </div><!--·contents·-->
879 </div><!--·doc-content·-->879 </div><!--·doc-content·-->
880 <!--·start·footer·part·-->880 <!--·start·footer·part·-->
881 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->881 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
882 ··<ul>882 ··<ul>
883 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01439.html">builtin_traits</a></li>883 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01439.html">builtin_traits</a></li>
2.25 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01443.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::enum_traits&lt;·ENUM·&gt;·Struct·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::enum_traits&lt;·ENUM·&gt;·Struct·Template·Reference</div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Helper·class·for·defining·enum·conversions.··69 <p>Helper·class·for·defining·enum·conversions.··
70 ·<a·href="a01443.html#details">More...</a></p>70 ·<a·href="a01443.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00092_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-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:ab5dc09ec34550363d4e5fe67f27300d0"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">underlying_type</a>·=·typename·std::underlying_type&lt;·ENUM·&gt;::type</td></tr>75 <tr·class="memitem:ab5dc09ec34550363d4e5fe67f27300d0"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">underlying_type</a>·=·typename·std::underlying_type&lt;·ENUM·&gt;::type</td></tr>
76 <tr·class="separator:ab5dc09ec34550363d4e5fe67f27300d0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>76 <tr·class="separator:ab5dc09ec34550363d4e5fe67f27300d0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
77 <tr·class="memitem:a8f0fce56e57130acd95023186192d86b"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01443.html#a8f0fce56e57130acd95023186192d86b">underlying_traits</a>·=·<a·class="el"·href="a01427.html">string_traits</a>&lt;·<a·class="el"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">underlying_type</a>·&gt;</td></tr>77 <tr·class="memitem:a8f0fce56e57130acd95023186192d86b"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01443.html#a8f0fce56e57130acd95023186192d86b">underlying_traits</a>·=·<a·class="el"·href="a01427.html">string_traits</a>&lt;·<a·class="el"·href="a01443.html#ab5dc09ec34550363d4e5fe67f27300d0">underlying_type</a>·&gt;</td></tr>
78 <tr·class="separator:a8f0fce56e57130acd95023186192d86b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>78 <tr·class="separator:a8f0fce56e57130acd95023186192d86b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 ··</tr>249 ··</tr>
250 </table>250 </table>
251 </div><div·class="memdoc">251 </div><div·class="memdoc">
  
252 </div>252 </div>
253 </div>253 </div>
254 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>254 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
255 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>255 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
256 </ul>256 </ul>
257 </div><!--·contents·-->257 </div><!--·contents·-->
258 </div><!--·doc-content·-->258 </div><!--·doc-content·-->
259 <!--·start·footer·part·-->259 <!--·start·footer·part·-->
260 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->260 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
261 ··<ul>261 ··<ul>
262 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01443.html">enum_traits</a></li>262 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01443.html">enum_traits</a></li>
2.17 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01447.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·const·char·*·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·const·char·*·&gt;·Struct·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>String·traits·for·C-style·string·("pointer·to·const·char")··68 <p>String·traits·for·C-style·string·("pointer·to·const·char")··
69 ·<a·href="a01447.html#details">More...</a></p>69 ·<a·href="a01447.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.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:a9579d3366d89576135ced82d0f947bde"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01447.html#a9579d3366d89576135ced82d0f947bde">name</a>·()·noexcept</td></tr>74 <tr·class="memitem:a9579d3366d89576135ced82d0f947bde"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01447.html#a9579d3366d89576135ced82d0f947bde">name</a>·()·noexcept</td></tr>
75 <tr·class="separator:a9579d3366d89576135ced82d0f947bde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a9579d3366d89576135ced82d0f947bde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:ae3cdec2fc8a312fa1d2e645935cbd33d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01447.html#ae3cdec2fc8a312fa1d2e645935cbd33d">has_null</a>·()·noexcept</td></tr>76 <tr·class="memitem:ae3cdec2fc8a312fa1d2e645935cbd33d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01447.html#ae3cdec2fc8a312fa1d2e645935cbd33d">has_null</a>·()·noexcept</td></tr>
77 <tr·class="separator:ae3cdec2fc8a312fa1d2e645935cbd33d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:ae3cdec2fc8a312fa1d2e645935cbd33d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 ··</tr>249 ··</tr>
250 </table>250 </table>
251 </div><div·class="memdoc">251 </div><div·class="memdoc">
  
252 </div>252 </div>
253 </div>253 </div>
254 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>254 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
255 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>255 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
256 </ul>256 </ul>
257 </div><!--·contents·-->257 </div><!--·contents·-->
258 </div><!--·doc-content·-->258 </div><!--·doc-content·-->
259 <!--·start·footer·part·-->259 <!--·start·footer·part·-->
260 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->260 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
261 ··<ul>261 ··<ul>
262 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01447.html">string_traits&lt;·const·char·*·&gt;</a></li>262 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01447.html">string_traits&lt;·const·char·*·&gt;</a></li>
2.17 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01451.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char·*·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char·*·&gt;·Struct·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>String·traits·for·non-const·C-style·string·("pointer·to·char")··68 <p>String·traits·for·non-const·C-style·string·("pointer·to·char")··
69 ·<a·href="a01451.html#details">More...</a></p>69 ·<a·href="a01451.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.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:a57dd29c022e3e031e4c1262fe560bd5c"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01451.html#a57dd29c022e3e031e4c1262fe560bd5c">name</a>·()·noexcept</td></tr>74 <tr·class="memitem:a57dd29c022e3e031e4c1262fe560bd5c"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01451.html#a57dd29c022e3e031e4c1262fe560bd5c">name</a>·()·noexcept</td></tr>
75 <tr·class="separator:a57dd29c022e3e031e4c1262fe560bd5c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a57dd29c022e3e031e4c1262fe560bd5c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a8d40405f06a23f8d76576187ef230692"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01451.html#a8d40405f06a23f8d76576187ef230692">has_null</a>·()·noexcept</td></tr>76 <tr·class="memitem:a8d40405f06a23f8d76576187ef230692"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01451.html#a8d40405f06a23f8d76576187ef230692">has_null</a>·()·noexcept</td></tr>
77 <tr·class="separator:a8d40405f06a23f8d76576187ef230692"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a8d40405f06a23f8d76576187ef230692"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 211, 15 lines modifiedOffset 211, 15 lines modified
211 ··</tr>211 ··</tr>
212 </table>212 </table>
213 </div><div·class="memdoc">213 </div><div·class="memdoc">
  
214 </div>214 </div>
215 </div>215 </div>
216 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>216 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
217 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>217 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
218 </ul>218 </ul>
219 </div><!--·contents·-->219 </div><!--·contents·-->
220 </div><!--·doc-content·-->220 </div><!--·doc-content·-->
221 <!--·start·footer·part·-->221 <!--·start·footer·part·-->
222 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->222 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
223 ··<ul>223 ··<ul>
224 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01451.html">string_traits&lt;·char·*·&gt;</a></li>224 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01451.html">string_traits&lt;·char·*·&gt;</a></li>
2.17 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01455.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char[N]&gt;·Struct·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·char[N]&gt;·Struct·Template·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>String·traits·for·C-style·string·constant·("array·of·char")··68 <p>String·traits·for·C-style·string·constant·("array·of·char")··
69 ·<a·href="a01455.html#details">More...</a></p>69 ·<a·href="a01455.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.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:a3c40d6d61e3036a627c90fd4340b507b"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01455.html#a3c40d6d61e3036a627c90fd4340b507b">name</a>·()·noexcept</td></tr>74 <tr·class="memitem:a3c40d6d61e3036a627c90fd4340b507b"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01455.html#a3c40d6d61e3036a627c90fd4340b507b">name</a>·()·noexcept</td></tr>
75 <tr·class="separator:a3c40d6d61e3036a627c90fd4340b507b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a3c40d6d61e3036a627c90fd4340b507b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a1b9a1d1461f0f7cdcbd722a431fbaa7f"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01455.html#a1b9a1d1461f0f7cdcbd722a431fbaa7f">has_null</a>·()·noexcept</td></tr>76 <tr·class="memitem:a1b9a1d1461f0f7cdcbd722a431fbaa7f"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01455.html#a1b9a1d1461f0f7cdcbd722a431fbaa7f">has_null</a>·()·noexcept</td></tr>
77 <tr·class="separator:a1b9a1d1461f0f7cdcbd722a431fbaa7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a1b9a1d1461f0f7cdcbd722a431fbaa7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 222, 15 lines modifiedOffset 222, 15 lines modified
222 ··</tr>222 ··</tr>
223 </table>223 </table>
224 </div><div·class="memdoc">224 </div><div·class="memdoc">
  
225 </div>225 </div>
226 </div>226 </div>
227 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>227 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
228 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>228 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
229 </ul>229 </ul>
230 </div><!--·contents·-->230 </div><!--·contents·-->
231 </div><!--·doc-content·-->231 </div><!--·doc-content·-->
232 <!--·start·footer·part·-->232 <!--·start·footer·part·-->
233 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->233 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
234 ··<ul>234 ··<ul>
235 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01455.html">string_traits&lt;·char[N]&gt;</a></li>235 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01455.html">string_traits&lt;·char[N]&gt;</a></li>
2.21 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01459.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
64 <a·href="a01456.html">List·of·all·members</a>··</div>64 <a·href="a01456.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::string·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::string·&gt;·Struct·Reference</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="a00065_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
71 Static·Public·Member·Functions</h2></td></tr>71 Static·Public·Member·Functions</h2></td></tr>
72 <tr·class="memitem:ab98efda2a44217710ceb3bdbe9cbac4c"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html#ab98efda2a44217710ceb3bdbe9cbac4c">name</a>·()·noexcept</td></tr>72 <tr·class="memitem:ab98efda2a44217710ceb3bdbe9cbac4c"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html#ab98efda2a44217710ceb3bdbe9cbac4c">name</a>·()·noexcept</td></tr>
73 <tr·class="separator:ab98efda2a44217710ceb3bdbe9cbac4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:ab98efda2a44217710ceb3bdbe9cbac4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 <tr·class="memitem:a9fb048ca2cffcd3fb42fa648599478a2"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html#a9fb048ca2cffcd3fb42fa648599478a2">has_null</a>·()·noexcept</td></tr>74 <tr·class="memitem:a9fb048ca2cffcd3fb42fa648599478a2"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html#a9fb048ca2cffcd3fb42fa648599478a2">has_null</a>·()·noexcept</td></tr>
75 <tr·class="separator:a9fb048ca2cffcd3fb42fa648599478a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a9fb048ca2cffcd3fb42fa648599478a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 246, 15 lines modifiedOffset 246, 15 lines modified
246 ··</tr>246 ··</tr>
247 </table>247 </table>
248 </div><div·class="memdoc">248 </div><div·class="memdoc">
  
249 </div>249 </div>
250 </div>250 </div>
251 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>251 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
252 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>252 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
253 </ul>253 </ul>
254 </div><!--·contents·-->254 </div><!--·contents·-->
255 </div><!--·doc-content·-->255 </div><!--·doc-content·-->
256 <!--·start·footer·part·-->256 <!--·start·footer·part·-->
257 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->257 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
258 ··<ul>258 ··<ul>
259 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01459.html">string_traits&lt;·std::string·&gt;</a></li>259 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01459.html">string_traits&lt;·std::string·&gt;</a></li>
2.22 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01463.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
64 <a·href="a01460.html">List·of·all·members</a>··</div>64 <a·href="a01460.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·const·std::string·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·const·std::string·&gt;·Struct·Reference</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="a00065_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
71 Static·Public·Member·Functions</h2></td></tr>71 Static·Public·Member·Functions</h2></td></tr>
72 <tr·class="memitem:a7a353d587f0bcb9471bab13ed4b02379"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01463.html#a7a353d587f0bcb9471bab13ed4b02379">name</a>·()·noexcept</td></tr>72 <tr·class="memitem:a7a353d587f0bcb9471bab13ed4b02379"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01463.html#a7a353d587f0bcb9471bab13ed4b02379">name</a>·()·noexcept</td></tr>
73 <tr·class="separator:a7a353d587f0bcb9471bab13ed4b02379"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:a7a353d587f0bcb9471bab13ed4b02379"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 <tr·class="memitem:afeb9cf0fbd980f6f992f9654d9d349a7"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01463.html#afeb9cf0fbd980f6f992f9654d9d349a7">has_null</a>·()·noexcept</td></tr>74 <tr·class="memitem:afeb9cf0fbd980f6f992f9654d9d349a7"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01463.html#afeb9cf0fbd980f6f992f9654d9d349a7">has_null</a>·()·noexcept</td></tr>
75 <tr·class="separator:afeb9cf0fbd980f6f992f9654d9d349a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:afeb9cf0fbd980f6f992f9654d9d349a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 208, 15 lines modifiedOffset 208, 15 lines modified
208 ··</tr>208 ··</tr>
209 </table>209 </table>
210 </div><div·class="memdoc">210 </div><div·class="memdoc">
  
211 </div>211 </div>
212 </div>212 </div>
213 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>213 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
214 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>214 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
215 </ul>215 </ul>
216 </div><!--·contents·-->216 </div><!--·contents·-->
217 </div><!--·doc-content·-->217 </div><!--·doc-content·-->
218 <!--·start·footer·part·-->218 <!--·start·footer·part·-->
219 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->219 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
220 ··<ul>220 ··<ul>
221 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01463.html">string_traits&lt;·const·std::string·&gt;</a></li>221 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01463.html">string_traits&lt;·const·std::string·&gt;</a></li>
2.22 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01467.html
    
Offset 62, 15 lines modifiedOffset 62, 15 lines modified
62 ··<div·class="summary">62 ··<div·class="summary">
63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;63 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
64 <a·href="a01464.html">List·of·all·members</a>··</div>64 <a·href="a01464.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::stringstream·&gt;·Struct·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::string_traits&lt;·std::stringstream·&gt;·Struct·Reference</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="a00065_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">strconv.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
71 Static·Public·Member·Functions</h2></td></tr>71 Static·Public·Member·Functions</h2></td></tr>
72 <tr·class="memitem:aece55b508788717d63f99cef62ff0584"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html#aece55b508788717d63f99cef62ff0584">name</a>·()·noexcept</td></tr>72 <tr·class="memitem:aece55b508788717d63f99cef62ff0584"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·const·char·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html#aece55b508788717d63f99cef62ff0584">name</a>·()·noexcept</td></tr>
73 <tr·class="separator:aece55b508788717d63f99cef62ff0584"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:aece55b508788717d63f99cef62ff0584"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 <tr·class="memitem:a22cc784d055527fd75296b8eab145dd1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html#a22cc784d055527fd75296b8eab145dd1">has_null</a>·()·noexcept</td></tr>74 <tr·class="memitem:a22cc784d055527fd75296b8eab145dd1"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html#a22cc784d055527fd75296b8eab145dd1">has_null</a>·()·noexcept</td></tr>
75 <tr·class="separator:a22cc784d055527fd75296b8eab145dd1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a22cc784d055527fd75296b8eab145dd1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 246, 15 lines modifiedOffset 246, 15 lines modified
246 ··</tr>246 ··</tr>
247 </table>247 </table>
248 </div><div·class="memdoc">248 </div><div·class="memdoc">
  
249 </div>249 </div>
250 </div>250 </div>
251 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>251 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
252 <li><a·class="el"·href="a00065_source.html">strconv.hxx</a></li>252 <li><a·class="el"·href="a00092_source.html">strconv.hxx</a></li>
253 </ul>253 </ul>
254 </div><!--·contents·-->254 </div><!--·contents·-->
255 </div><!--·doc-content·-->255 </div><!--·doc-content·-->
256 <!--·start·footer·part·-->256 <!--·start·footer·part·-->
257 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->257 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
258 ··<ul>258 ··<ul>
259 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01467.html">string_traits&lt;·std::stringstream·&gt;</a></li>259 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01467.html">string_traits&lt;·std::stringstream·&gt;</a></li>
1.7 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01471.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;65 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;
66 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;66 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
67 <a·href="a01468.html">List·of·all·members</a>··</div>67 <a·href="a01468.html">List·of·all·members</a>··</div>
68 ··<div·class="headertitle"><div·class="title">pqxx::stream_base·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>68 ··<div·class="headertitle"><div·class="title">pqxx::stream_base·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
  
71 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">stream_base.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">stream_base.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::stream_base:</div>73 Inheritance·diagram·for·pqxx::stream_base:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01470.png"·border="0"·usemap="#apqxx_1_1stream__base_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01470.png"·border="0"·usemap="#apqxx_1_1stream__base_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1stream__base_inherit__map"·id="apqxx_1_1stream__base_inherit__map">76 <map·name="apqxx_1_1stream__base_inherit__map"·id="apqxx_1_1stream__base_inherit__map">
77 <area·shape="rect"·title="·"·alt=""·coords="85,155,232,181"/>77 <area·shape="rect"·title="·"·alt=""·coords="85,155,232,181"/>
78 <area·shape="rect"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table."·alt=""·coords="5,229,152,256"/>78 <area·shape="rect"·href="a01475.html"·title="Efficiently·pull·data·directly·out·of·a·table."·alt=""·coords="5,229,152,256"/>
Offset 403, 15 lines modifiedOffset 403, 15 lines modified
403 ··</tr>403 ··</tr>
404 </table>404 </table>
405 </div><div·class="memdoc">405 </div><div·class="memdoc">
  
406 </div>406 </div>
407 </div>407 </div>
408 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>408 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
409 <li><a·class="el"·href="a00035_source.html">stream_base.hxx</a></li>409 <li><a·class="el"·href="a00020_source.html">stream_base.hxx</a></li>
410 <li>stream_base.cxx</li>410 <li>stream_base.cxx</li>
411 </ul>411 </ul>
412 </div><!--·contents·-->412 </div><!--·contents·-->
413 </div><!--·doc-content·-->413 </div><!--·doc-content·-->
414 <!--·start·footer·part·-->414 <!--·start·footer·part·-->
415 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->415 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
416 ··<ul>416 ··<ul>
1.66 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01475.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::stream_from·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::stream_from·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Efficiently·pull·data·directly·out·of·a·table.··68 <p>Efficiently·pull·data·directly·out·of·a·table.··
69 ·<a·href="a01475.html#details">More...</a></p>69 ·<a·href="a01475.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">stream_from.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">stream_from.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::stream_from:</div>72 Inheritance·diagram·for·pqxx::stream_from:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01474.png"·border="0"·usemap="#apqxx_1_1stream__from_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01474.png"·border="0"·usemap="#apqxx_1_1stream__from_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1stream__from_inherit__map"·id="apqxx_1_1stream__from_inherit__map">75 <map·name="apqxx_1_1stream__from_inherit__map"·id="apqxx_1_1stream__from_inherit__map">
76 <area·shape="rect"·title="Efficiently·pull·data·directly·out·of·a·table."·alt=""·coords="46,229,193,256"/>76 <area·shape="rect"·title="Efficiently·pull·data·directly·out·of·a·table."·alt=""·coords="46,229,193,256"/>
77 <area·shape="rect"·href="a01471.html"·title="·"·alt=""·coords="46,155,193,181"/>77 <area·shape="rect"·href="a01471.html"·title="·"·alt=""·coords="46,155,193,181"/>
Offset 366, 15 lines modifiedOffset 366, 15 lines modified
366 </div><div·class="memdoc">366 </div><div·class="memdoc">
  
367 <p·class="reference">References·<a·class="el"·href="a01475.html#aa3551b9f3d31bc4bafb15318bdf13487">get_raw_line()</a>.</p>367 <p·class="reference">References·<a·class="el"·href="a01475.html#aa3551b9f3d31bc4bafb15318bdf13487">get_raw_line()</a>.</p>
  
368 </div>368 </div>
369 </div>369 </div>
370 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>370 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
371 <li><a·class="el"·href="a00011_source.html">stream_from.hxx</a></li>371 <li><a·class="el"·href="a00107_source.html">stream_from.hxx</a></li>
372 <li>stream_from.cxx</li>372 <li>stream_from.cxx</li>
373 </ul>373 </ul>
374 </div><!--·contents·-->374 </div><!--·contents·-->
375 </div><!--·doc-content·-->375 </div><!--·doc-content·-->
376 <!--·start·footer·part·-->376 <!--·start·footer·part·-->
377 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->377 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
378 ··<ul>378 ··<ul>
1.83 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01479.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::stream_to·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::stream_to·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Efficiently·write·data·directly·to·a·database·table.··68 <p>Efficiently·write·data·directly·to·a·database·table.··
69 ·<a·href="a01479.html#details">More...</a></p>69 ·<a·href="a01479.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00095_source.html">stream_to.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">stream_to.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::stream_to:</div>72 Inheritance·diagram·for·pqxx::stream_to:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01478.png"·border="0"·usemap="#apqxx_1_1stream__to_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01478.png"·border="0"·usemap="#apqxx_1_1stream__to_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1stream__to_inherit__map"·id="apqxx_1_1stream__to_inherit__map">75 <map·name="apqxx_1_1stream__to_inherit__map"·id="apqxx_1_1stream__to_inherit__map">
76 <area·shape="rect"·title="Efficiently·write·data·directly·to·a·database·table."·alt=""·coords="55,229,183,256"/>76 <area·shape="rect"·title="Efficiently·write·data·directly·to·a·database·table."·alt=""·coords="55,229,183,256"/>
77 <area·shape="rect"·href="a01471.html"·title="·"·alt=""·coords="46,155,193,181"/>77 <area·shape="rect"·href="a01471.html"·title="·"·alt=""·coords="46,155,193,181"/>
Offset 401, 15 lines modifiedOffset 401, 15 lines modified
401 <p·>This·can·be·useful·when·copying·between·different·databases.·If·the·source·and·the·destination·are·on·the·same·database,·you'll·get·better·performance·doing·it·all·in·a·regular·query.·</p>401 <p·>This·can·be·useful·when·copying·between·different·databases.·If·the·source·and·the·destination·are·on·the·same·database,·you'll·get·better·performance·doing·it·all·in·a·regular·query.·</p>
  
402 <p·class="reference">References·<a·class="el"·href="a01475.html#aa3551b9f3d31bc4bafb15318bdf13487">pqxx::stream_from::get_raw_line()</a>.</p>402 <p·class="reference">References·<a·class="el"·href="a01475.html#aa3551b9f3d31bc4bafb15318bdf13487">pqxx::stream_from::get_raw_line()</a>.</p>
  
403 </div>403 </div>
404 </div>404 </div>
405 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>405 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
406 <li><a·class="el"·href="a00095_source.html">stream_to.hxx</a></li>406 <li><a·class="el"·href="a00050_source.html">stream_to.hxx</a></li>
407 <li>stream_to.cxx</li>407 <li>stream_to.cxx</li>
408 </ul>408 </ul>
409 </div><!--·contents·-->409 </div><!--·contents·-->
410 </div><!--·doc-content·-->410 </div><!--·doc-content·-->
411 <!--·start·footer·part·-->411 <!--·start·footer·part·-->
412 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->412 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
413 ··<ul>413 ··<ul>
2.12 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01483.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="a01480.html">List·of·all·members</a>··</div>64 <a·href="a01480.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::TypedCopyEscaper·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::TypedCopyEscaper·Class·Reference</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="a00095_source.html">stream_to.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">stream_to.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
71 Public·Member·Functions</h2></td></tr>71 Public·Member·Functions</h2></td></tr>
72 <tr·class="memitem:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>72 <tr·class="memitem:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
73 <tr·class="memitem:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01483.html#a17d787d4a70cbcb7c228da14131ada6f">operator()</a>·(const·T·*t)·const</td></tr>73 <tr·class="memitem:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01483.html#a17d787d4a70cbcb7c228da14131ada6f">operator()</a>·(const·T·*t)·const</td></tr>
74 <tr·class="separator:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>74 <tr·class="separator:a17d787d4a70cbcb7c228da14131ada6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
75 <tr·class="memitem:a123a7262affe18aff9ab4d78b3608fd2"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr>75 <tr·class="memitem:a123a7262affe18aff9ab4d78b3608fd2"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 <p·class="reference">References·<a·class="el"·href="a00266.html#a2034a4c7e1228a07ca8e83f0f0d5677d">pqxx::internal::escape()</a>,·and·<a·class="el"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">pqxx::to_string()</a>.</p>118 <p·class="reference">References·<a·class="el"·href="a00266.html#a2034a4c7e1228a07ca8e83f0f0d5677d">pqxx::internal::escape()</a>,·and·<a·class="el"·href="a00265.html#a4000e0b1288512dd1193b4dd442e6889">pqxx::to_string()</a>.</p>
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
122 <li><a·class="el"·href="a00095_source.html">stream_to.hxx</a></li>122 <li><a·class="el"·href="a00050_source.html">stream_to.hxx</a></li>
123 <li>stream_to.cxx</li>123 <li>stream_to.cxx</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.67 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01487.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="a00257.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="a00257.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="a01487.html#details">More...</a></p>69 ·<a·href="a01487.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00005_source.html">subtransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00011_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="a01486.png"·border="0"·usemap="#apqxx_1_1subtransaction_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01486.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="147,229,305,256"/>76 <area·shape="rect"·title="&quot;Transaction&quot;·nested·within·another·transaction"·alt=""·coords="147,229,305,256"/>
77 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="5,155,233,181"/>77 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="5,155,233,181"/>
Offset 436, 15 lines modifiedOffset 436, 15 lines modified
436 ··</tr>436 ··</tr>
437 </table>437 </table>
438 </div><div·class="memdoc">438 </div><div·class="memdoc">
  
439 </div>439 </div>
440 </div>440 </div>
441 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>441 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
442 <li><a·class="el"·href="a00005_source.html">subtransaction.hxx</a></li>442 <li><a·class="el"·href="a00011_source.html">subtransaction.hxx</a></li>
443 <li>subtransaction.cxx</li>443 <li>subtransaction.cxx</li>
444 </ul>444 </ul>
445 </div><!--·contents·-->445 </div><!--·contents·-->
446 </div><!--·doc-content·-->446 </div><!--·doc-content·-->
447 <!--·start·footer·part·-->447 <!--·start·footer·part·-->
448 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->448 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
449 ··<ul>449 ··<ul>
1.61 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01491.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="a01488.html">List·of·all·members</a>··</div>64 <a·href="a01488.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::tablereader·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::tablereader·Class·Reference</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="a00113_source.html">tablereader.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">tablereader.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::tablereader:</div>70 Inheritance·diagram·for·pqxx::tablereader:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01490.png"·border="0"·usemap="#apqxx_1_1tablereader_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01490.png"·border="0"·usemap="#apqxx_1_1tablereader_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1tablereader_inherit__map"·id="apqxx_1_1tablereader_inherit__map">73 <map·name="apqxx_1_1tablereader_inherit__map"·id="apqxx_1_1tablereader_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="51,229,188,256"/>74 <area·shape="rect"·title="·"·alt=""·coords="51,229,188,256"/>
75 <area·shape="rect"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="49,155,190,181"/>75 <area·shape="rect"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="49,155,190,181"/>
Offset 464, 15 lines modifiedOffset 464, 15 lines modified
464 ········</tr>464 ········</tr>
465 ······</table>465 ······</table>
466 </div><div·class="memdoc">466 </div><div·class="memdoc">
  
467 </div>467 </div>
468 </div>468 </div>
469 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>469 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
470 <li><a·class="el"·href="a00113_source.html">tablereader.hxx</a></li>470 <li><a·class="el"·href="a00122_source.html">tablereader.hxx</a></li>
471 <li>tablereader.cxx</li>471 <li>tablereader.cxx</li>
472 </ul>472 </ul>
473 </div><!--·contents·-->473 </div><!--·contents·-->
474 </div><!--·doc-content·-->474 </div><!--·doc-content·-->
475 <!--·start·footer·part·-->475 <!--·start·footer·part·-->
476 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->476 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
477 ··<ul>477 ··<ul>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01495.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 ··<div·class="headertitle"><div·class="title">pqxx::tablestream·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::tablestream·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
68 </div><!--header-->68 </div><!--header-->
69 <div·class="contents">69 <div·class="contents">
  
70 <p>Base·class·for·obsolete·tablereader/tablewriter·classes.··70 <p>Base·class·for·obsolete·tablereader/tablewriter·classes.··
71 ·<a·href="a01495.html#details">More...</a></p>71 ·<a·href="a01495.html#details">More...</a></p>
  
72 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">tablestream.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">tablestream.hxx</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·pqxx::tablestream:</div>74 Inheritance·diagram·for·pqxx::tablestream:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01494.png"·border="0"·usemap="#apqxx_1_1tablestream_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01494.png"·border="0"·usemap="#apqxx_1_1tablestream_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="apqxx_1_1tablestream_inherit__map"·id="apqxx_1_1tablestream_inherit__map">77 <map·name="apqxx_1_1tablestream_inherit__map"·id="apqxx_1_1tablestream_inherit__map">
78 <area·shape="rect"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="83,155,225,181"/>78 <area·shape="rect"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="83,155,225,181"/>
79 <area·shape="rect"·href="a01491.html"·title="·"·alt=""·coords="5,229,143,256"/>79 <area·shape="rect"·href="a01491.html"·title="·"·alt=""·coords="5,229,143,256"/>
Offset 364, 15 lines modifiedOffset 364, 15 lines modified
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 <p·class="reference">Referenced·by·<a·class="el"·href="a01499.html#a76ab69806d8af956c5fc571074e9abb4">pqxx::tablewriter::generate()</a>.</p>365 <p·class="reference">Referenced·by·<a·class="el"·href="a01499.html#a76ab69806d8af956c5fc571074e9abb4">pqxx::tablewriter::generate()</a>.</p>
  
366 </div>366 </div>
367 </div>367 </div>
368 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>368 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
369 <li><a·class="el"·href="a00050_source.html">tablestream.hxx</a></li>369 <li><a·class="el"·href="a00083_source.html">tablestream.hxx</a></li>
370 <li>tablestream.cxx</li>370 <li>tablestream.cxx</li>
371 </ul>371 </ul>
372 </div><!--·contents·-->372 </div><!--·contents·-->
373 </div><!--·doc-content·-->373 </div><!--·doc-content·-->
374 <!--·start·footer·part·-->374 <!--·start·footer·part·-->
375 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->375 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
376 ··<ul>376 ··<ul>
1.7 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01499.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="a01496.html">List·of·all·members</a>··</div>64 <a·href="a01496.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::tablewriter·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::tablewriter·Class·Reference</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="a00047_source.html">tablewriter.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">tablewriter.hxx</a>&gt;</code></p>
69 <div·class="dynheader">69 <div·class="dynheader">
70 Inheritance·diagram·for·pqxx::tablewriter:</div>70 Inheritance·diagram·for·pqxx::tablewriter:</div>
71 <div·class="dyncontent">71 <div·class="dyncontent">
72 <div·class="center"><img·src="a01498.png"·border="0"·usemap="#apqxx_1_1tablewriter_inherit__map"·alt="Inheritance·graph"/></div>72 <div·class="center"><img·src="a01498.png"·border="0"·usemap="#apqxx_1_1tablewriter_inherit__map"·alt="Inheritance·graph"/></div>
73 <map·name="apqxx_1_1tablewriter_inherit__map"·id="apqxx_1_1tablewriter_inherit__map">73 <map·name="apqxx_1_1tablewriter_inherit__map"·id="apqxx_1_1tablewriter_inherit__map">
74 <area·shape="rect"·title="·"·alt=""·coords="53,229,186,256"/>74 <area·shape="rect"·title="·"·alt=""·coords="53,229,186,256"/>
75 <area·shape="rect"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="49,155,190,181"/>75 <area·shape="rect"·href="a01495.html"·title="Base·class·for·obsolete·tablereader/tablewriter·classes."·alt=""·coords="49,155,190,181"/>
Offset 608, 15 lines modifiedOffset 608, 15 lines modified
608 </div><div·class="memdoc">608 </div><div·class="memdoc">
  
609 <p·class="reference">Referenced·by·<a·class="el"·href="a01499.html#a4cf8a6eb3e06f010ab153666d645d6d1">insert()</a>.</p>609 <p·class="reference">Referenced·by·<a·class="el"·href="a01499.html#a4cf8a6eb3e06f010ab153666d645d6d1">insert()</a>.</p>
  
610 </div>610 </div>
611 </div>611 </div>
612 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>612 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
613 <li><a·class="el"·href="a00047_source.html">tablewriter.hxx</a></li>613 <li><a·class="el"·href="a00038_source.html">tablewriter.hxx</a></li>
614 <li>tablewriter.cxx</li>614 <li>tablewriter.cxx</li>
615 </ul>615 </ul>
616 </div><!--·contents·-->616 </div><!--·contents·-->
617 </div><!--·doc-content·-->617 </div><!--·doc-content·-->
618 <!--·start·footer·part·-->618 <!--·start·footer·part·-->
619 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->619 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
620 ··<ul>620 ··<ul>
1.99 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01503.html
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
63 <a·href="#pub-types">Public·Types</a>·&#124;63 <a·href="#pub-types">Public·Types</a>·&#124;
64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
65 <a·href="a01500.html">List·of·all·members</a>··</div>65 <a·href="a01500.html">List·of·all·members</a>··</div>
66 ··<div·class="headertitle"><div·class="title">std::back_insert_iterator&lt;·pqxx::tablewriter·&gt;·Class·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">std::back_insert_iterator&lt;·pqxx::tablewriter·&gt;·Class·Reference</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="a00047_source.html">tablewriter.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">tablewriter.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-types"·name="pub-types"></a>71 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
72 Public·Types</h2></td></tr>72 Public·Types</h2></td></tr>
73 <tr·class="memitem:ae787b414c0b68dfb34aca55b5e0e88da"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">iterator_category</a>·=·output_iterator_tag</td></tr>73 <tr·class="memitem:ae787b414c0b68dfb34aca55b5e0e88da"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01503.html#ae787b414c0b68dfb34aca55b5e0e88da">iterator_category</a>·=·output_iterator_tag</td></tr>
74 <tr·class="separator:ae787b414c0b68dfb34aca55b5e0e88da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>74 <tr·class="separator:ae787b414c0b68dfb34aca55b5e0e88da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
75 </table><table·class="memberdecls">75 </table><table·class="memberdecls">
76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 228, 15 lines modifiedOffset 228, 15 lines modified
228 ········</tr>228 ········</tr>
229 ······</table>229 ······</table>
230 </div><div·class="memdoc">230 </div><div·class="memdoc">
  
231 </div>231 </div>
232 </div>232 </div>
233 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>233 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
234 <li><a·class="el"·href="a00047_source.html">tablewriter.hxx</a></li>234 <li><a·class="el"·href="a00038_source.html">tablewriter.hxx</a></li>
235 </ul>235 </ul>
236 </div><!--·contents·-->236 </div><!--·contents·-->
237 </div><!--·doc-content·-->237 </div><!--·doc-content·-->
238 <!--·start·footer·part·-->238 <!--·start·footer·part·-->
239 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->239 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
240 ··<ul>240 ··<ul>
241 ····<li·class="navelem"><a·class="el"·href="a00264.html">std</a></li><li·class="navelem"><a·class="el"·href="a01503.html">back_insert_iterator&lt;·pqxx::tablewriter·&gt;</a></li>241 ····<li·class="navelem"><a·class="el"·href="a00264.html">std</a></li><li·class="navelem"><a·class="el"·href="a01503.html">back_insert_iterator&lt;·pqxx::tablewriter·&gt;</a></li>
2.34 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01507.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="a01504.html">List·of·all·members</a>··</div>64 <a·href="a01504.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::Escaper&lt;·IT·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::Escaper&lt;·IT·&gt;·Class·Template·Reference</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="a00047_source.html">tablewriter.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">tablewriter.hxx</a>&gt;</code></p>
69 <table·class="memberdecls">69 <table·class="memberdecls">
70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>70 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
71 Public·Member·Functions</h2></td></tr>71 Public·Member·Functions</h2></td></tr>
72 <tr·class="memitem:ae038cf7f50b925680be254201b2cdeaa"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01507.html#ae038cf7f50b925680be254201b2cdeaa">Escaper</a>·(const·std::string·&amp;null)</td></tr>72 <tr·class="memitem:ae038cf7f50b925680be254201b2cdeaa"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01507.html#ae038cf7f50b925680be254201b2cdeaa">Escaper</a>·(const·std::string·&amp;null)</td></tr>
73 <tr·class="separator:ae038cf7f50b925680be254201b2cdeaa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:ae038cf7f50b925680be254201b2cdeaa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 <tr·class="memitem:a96796a18e044e93918a4f4660d552985"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01507.html#a96796a18e044e93918a4f4660d552985">operator()</a>·(IT·i)·const</td></tr>74 <tr·class="memitem:a96796a18e044e93918a4f4660d552985"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01507.html#a96796a18e044e93918a4f4660d552985">operator()</a>·(IT·i)·const</td></tr>
75 <tr·class="separator:a96796a18e044e93918a4f4660d552985"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a96796a18e044e93918a4f4660d552985"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 </div><div·class="memdoc">124 </div><div·class="memdoc">
  
125 <p·class="reference">References·<a·class="el"·href="a00266.html#ae7280cfb74990180d70c628ef583996d">pqxx::internal::escape_any()</a>.</p>125 <p·class="reference">References·<a·class="el"·href="a00266.html#ae7280cfb74990180d70c628ef583996d">pqxx::internal::escape_any()</a>.</p>
  
126 </div>126 </div>
127 </div>127 </div>
128 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>128 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
129 <li><a·class="el"·href="a00047_source.html">tablewriter.hxx</a></li>129 <li><a·class="el"·href="a00038_source.html">tablewriter.hxx</a></li>
130 </ul>130 </ul>
131 </div><!--·contents·-->131 </div><!--·contents·-->
132 </div><!--·doc-content·-->132 </div><!--·doc-content·-->
133 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
134 <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!·-->
135 ··<ul>135 ··<ul>
136 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01507.html">Escaper</a></li>136 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01507.html">Escaper</a></li>
2.09 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01511.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_transaction·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::basic_transaction·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Helper·base·class·for·the·<code>transaction</code>·class·template.··68 <p>Helper·base·class·for·the·<code>transaction</code>·class·template.··
69 ·<a·href="a01511.html#details">More...</a></p>69 ·<a·href="a01511.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">transaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a01510.png"·border="0"·usemap="#apqxx_1_1internal_1_1basic__transaction_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01510.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="46,229,201,271"/>76 <area·shape="rect"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="46,229,201,271"/>
77 <area·shape="rect"·href="a01515.html"·title="Standard·back&#45;end·transaction,·templatized·on·isolation·level."·alt=""·coords="5,319,241,360"/>77 <area·shape="rect"·href="a01515.html"·title="Standard·back&#45;end·transaction,·templatized·on·isolation·level."·alt=""·coords="5,319,241,360"/>
Offset 316, 15 lines modifiedOffset 316, 15 lines modified
316 <p·><a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·represents·a·regular·database·transaction.</p>316 <p·><a·class="el"·href="a01515.html"·title="Standard·back-end·transaction,·templatized·on·isolation·level.">pqxx::transaction</a>·represents·a·regular·database·transaction.</p>
317 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>317 <p·>Copyright·(c)·2000-2019,·Jeroen·T.·Vermeulen.</p>
318 <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>318 <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>
  
319 </div>319 </div>
320 </div>320 </div>
321 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>321 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
322 <li><a·class="el"·href="a00101_source.html">transaction.hxx</a></li>322 <li><a·class="el"·href="a00119_source.html">transaction.hxx</a></li>
323 <li>transaction.cxx</li>323 <li>transaction.cxx</li>
324 </ul>324 </ul>
325 </div><!--·contents·-->325 </div><!--·contents·-->
326 </div><!--·doc-content·-->326 </div><!--·doc-content·-->
327 <!--·start·footer·part·-->327 <!--·start·footer·part·-->
328 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->328 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
329 ··<ul>329 ··<ul>
4.51 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01515.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<div·class="headertitle"><div·class="title">pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00257.html">Transaction·classes</a></div></div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Standard·back-end·transaction,·templatized·on·isolation·level.··69 <p>Standard·back-end·transaction,·templatized·on·isolation·level.··
70 ·<a·href="a01515.html#details">More...</a></p>70 ·<a·href="a01515.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">transaction.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">transaction.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;:</div>73 Inheritance·diagram·for·pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01514.png"·border="0"·usemap="#apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01514.png"·border="0"·usemap="#apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map"·id="apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map">76 <map·name="apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map"·id="apqxx_1_1transaction_3_01ISOLATIONLEVEL_00_01READWRITE_01_4_inherit__map">
77 <area·shape="rect"·title="Standard·back&#45;end·transaction,·templatized·on·isolation·level."·alt=""·coords="5,319,241,360"/>77 <area·shape="rect"·title="Standard·back&#45;end·transaction,·templatized·on·isolation·level."·alt=""·coords="5,319,241,360"/>
78 <area·shape="rect"·href="a01511.html"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="46,229,201,271"/>78 <area·shape="rect"·href="a01511.html"·title="Helper·base·class·for·the·transaction·class·template."·alt=""·coords="46,229,201,271"/>
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 <tr·class="memdesc:adc48441869caf6a4b84911cd6984c36a·inherit·pro_attribs_a01527"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Resources·allocated·in·this·transaction·that·make·reactivation·impossible.··<a·href="a01527.html#adc48441869caf6a4b84911cd6984c36a">More...</a><br·/></td></tr>284 <tr·class="memdesc:adc48441869caf6a4b84911cd6984c36a·inherit·pro_attribs_a01527"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Resources·allocated·in·this·transaction·that·make·reactivation·impossible.··<a·href="a01527.html#adc48441869caf6a4b84911cd6984c36a">More...</a><br·/></td></tr>
285 <tr·class="separator:adc48441869caf6a4b84911cd6984c36a·inherit·pro_attribs_a01527"><td·class="memSeparator"·colspan="2">&#160;</td></tr>285 <tr·class="separator:adc48441869caf6a4b84911cd6984c36a·inherit·pro_attribs_a01527"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
286 </table>286 </table>
287 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>287 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
288 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL·=·read_committed,·<a·class="el"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·READWRITE·=·read_write&gt;<br·/>288 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8c">isolation_level</a>·ISOLATIONLEVEL·=·read_committed,·<a·class="el"·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cc">readwrite_policy</a>·READWRITE·=·read_write&gt;<br·/>
289 class·pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;</div><p·>Standard·back-end·transaction,·templatized·on·isolation·level.·</p>289 class·pqxx::transaction&lt;·ISOLATIONLEVEL,·READWRITE·&gt;</div><p·>Standard·back-end·transaction,·templatized·on·isolation·level.·</p>
290 <p·>This·is·the·type·you'll·normally·want·to·use·to·represent·a·transaction·on·the·database.</p>290 <p·>This·is·the·type·you'll·normally·want·to·use·to·represent·a·transaction·on·the·database.</p>
291 <p·>While·you·may·choose·to·create·your·own·transaction·object·to·interface·to·the·database·backend,·it·is·recommended·that·you·wrap·your·transaction·code·into·a·transactor·code·instead·and·let·the·transaction·be·created·for·you.·</p><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00056_source.html">pqxx/transactor.hxx</a></dd></dl>291 <p·>While·you·may·choose·to·create·your·own·transaction·object·to·interface·to·the·database·backend,·it·is·recommended·that·you·wrap·your·transaction·code·into·a·transactor·code·instead·and·let·the·transaction·be·created·for·you.·</p><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00041_source.html">pqxx/transactor.hxx</a></dd></dl>
292 <p>If·you·should·find·that·using·a·transactor·makes·your·code·less·portable·or·too·complex,·go·ahead,·create·your·own·transaction·anyway.</p>292 <p>If·you·should·find·that·using·a·transactor·makes·your·code·less·portable·or·too·complex,·go·ahead,·create·your·own·transaction·anyway.</p>
293 <p·>Usage·example:·double·all·wages</p>293 <p·>Usage·example:·double·all·wages</p>
294 <div·class="fragment"><div·class="line"><span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01103.html">connection</a>·C;</div>294 <div·class="fragment"><div·class="line"><span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01103.html">connection</a>·C;</div>
295 <div·class="line"><a·class="code·hl_class"·href="a01515.html">work</a>·T(C);</div>295 <div·class="line"><a·class="code·hl_class"·href="a01515.html">work</a>·T(C);</div>
296 <div·class="line"><span·class="keywordflow">try</span></div>296 <div·class="line"><span·class="keywordflow">try</span></div>
297 <div·class="line">{</div>297 <div·class="line">{</div>
298 <div·class="line">··T.exec(<span·class="stringliteral">&quot;UPDATE·employees·SET·wage=wage*2&quot;</span>);</div>298 <div·class="line">··T.exec(<span·class="stringliteral">&quot;UPDATE·employees·SET·wage=wage*2&quot;</span>);</div>
Offset 426, 15 lines modifiedOffset 426, 15 lines modified
426 </div><div·class="memdoc">426 </div><div·class="memdoc">
  
427 <p·class="reference">References·<a·class="el"·href="a01527.html#afe72d50677298f6702c34bb860506454">pqxx::transaction_base::End()</a>.</p>427 <p·class="reference">References·<a·class="el"·href="a01527.html#afe72d50677298f6702c34bb860506454">pqxx::transaction_base::End()</a>.</p>
  
428 </div>428 </div>
429 </div>429 </div>
430 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>430 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
431 <li><a·class="el"·href="a00101_source.html">transaction.hxx</a></li>431 <li><a·class="el"·href="a00119_source.html">transaction.hxx</a></li>
432 </ul>432 </ul>
433 </div><!--·contents·-->433 </div><!--·contents·-->
434 </div><!--·doc-content·-->434 </div><!--·doc-content·-->
435 <!--·start·footer·part·-->435 <!--·start·footer·part·-->
436 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->436 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
437 ··<ul>437 ··<ul>
438 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01515.html">transaction</a></li>438 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01515.html">transaction</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01519.html
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;64 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
65 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;65 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
66 <a·href="a01516.html">List·of·all·members</a>··</div>66 <a·href="a01516.html">List·of·all·members</a>··</div>
67 ··<div·class="headertitle"><div·class="title">pqxx::internal::transactionfocus·Class·Reference</div></div>67 ··<div·class="headertitle"><div·class="title">pqxx::internal::transactionfocus·Class·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="a00083_source.html">transaction_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">transaction_base.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal::transactionfocus:</div>72 Inheritance·diagram·for·pqxx::internal::transactionfocus:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01518.png"·border="0"·usemap="#apqxx_1_1internal_1_1transactionfocus_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01518.png"·border="0"·usemap="#apqxx_1_1internal_1_1transactionfocus_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal_1_1transactionfocus_inherit__map"·id="apqxx_1_1internal_1_1transactionfocus_inherit__map">75 <map·name="apqxx_1_1internal_1_1transactionfocus_inherit__map"·id="apqxx_1_1internal_1_1transactionfocus_inherit__map">
76 <area·shape="rect"·title="·"·alt=""·coords="191,80,419,107"/>76 <area·shape="rect"·title="·"·alt=""·coords="191,80,419,107"/>
77 <area·shape="rect"·href="a01379.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,155,120,181"/>77 <area·shape="rect"·href="a01379.html"·title="Processes·several·queries·in·FIFO·manner,·optimized·for·high·throughput."·alt=""·coords="5,155,120,181"/>
Offset 354, 15 lines modifiedOffset 354, 15 lines modified
354 ··</tr>354 ··</tr>
355 </table>355 </table>
356 </div><div·class="memdoc">356 </div><div·class="memdoc">
  
357 </div>357 </div>
358 </div>358 </div>
359 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>359 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
360 <li><a·class="el"·href="a00083_source.html">transaction_base.hxx</a></li>360 <li><a·class="el"·href="a00029_source.html">transaction_base.hxx</a></li>
361 <li>transaction_base.cxx</li>361 <li>transaction_base.cxx</li>
362 </ul>362 </ul>
363 </div><!--·contents·-->363 </div><!--·contents·-->
364 </div><!--·doc-content·-->364 </div><!--·doc-content·-->
365 <!--·start·footer·part·-->365 <!--·start·footer·part·-->
366 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->366 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
367 ··<ul>367 ··<ul>
1.73 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01523.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::parameterized_invocation·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::parameterized_invocation·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Helper·class·to·construct·an·invocation·of·a·parameterised·statement.··68 <p>Helper·class·to·construct·an·invocation·of·a·parameterised·statement.··
69 ·<a·href="a01523.html#details">More...</a></p>69 ·<a·href="a01523.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">transaction_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">transaction_base.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal::parameterized_invocation:</div>72 Inheritance·diagram·for·pqxx::internal::parameterized_invocation:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01522.png"·border="0"·usemap="#apqxx_1_1internal_1_1parameterized__invocation_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01522.png"·border="0"·usemap="#apqxx_1_1internal_1_1parameterized__invocation_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal_1_1parameterized__invocation_inherit__map"·id="apqxx_1_1internal_1_1parameterized__invocation_inherit__map">75 <map·name="apqxx_1_1internal_1_1parameterized__invocation_inherit__map"·id="apqxx_1_1internal_1_1parameterized__invocation_inherit__map">
76 <area·shape="rect"·title="Helper·class·to·construct·an·invocation·of·a·parameterised·statement."·alt=""·coords="5,80,220,121"/>76 <area·shape="rect"·title="Helper·class·to·construct·an·invocation·of·a·parameterised·statement."·alt=""·coords="5,80,220,121"/>
77 <area·shape="rect"·title="·"·alt=""·coords="27,5,198,32"/>77 <area·shape="rect"·title="·"·alt=""·coords="27,5,198,32"/>
Offset 259, 15 lines modifiedOffset 259, 15 lines modified
259 ········</tr>259 ········</tr>
260 ······</table>260 ······</table>
261 </div><div·class="memdoc">261 </div><div·class="memdoc">
  
262 </div>262 </div>
263 </div>263 </div>
264 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>264 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
265 <li><a·class="el"·href="a00083_source.html">transaction_base.hxx</a></li>265 <li><a·class="el"·href="a00029_source.html">transaction_base.hxx</a></li>
266 <li>transaction_base.cxx</li>266 <li>transaction_base.cxx</li>
267 </ul>267 </ul>
268 </div><!--·contents·-->268 </div><!--·contents·-->
269 </div><!--·doc-content·-->269 </div><!--·doc-content·-->
270 <!--·start·footer·part·-->270 <!--·start·footer·part·-->
271 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->271 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
272 ··<ul>272 ··<ul>
1.94 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01527.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 ··<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="a00257.html">Transaction·classes</a></div></div></div>66 ··<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="a00257.html">Transaction·classes</a></div></div></div>
67 </div><!--header-->67 </div><!--header-->
68 <div·class="contents">68 <div·class="contents">
  
69 <p>Interface·definition·(and·common·code)·for·"transaction"·classes.··69 <p>Interface·definition·(and·common·code)·for·"transaction"·classes.··
70 ·<a·href="a01527.html#details">More...</a></p>70 ·<a·href="a01527.html#details">More...</a></p>
  
71 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">transaction_base.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">transaction_base.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::transaction_base:</div>73 Inheritance·diagram·for·pqxx::transaction_base:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="a01526.png"·border="0"·usemap="#apqxx_1_1transaction__base_inherit__map"·alt="Inheritance·graph"/></div>75 <div·class="center"><img·src="a01526.png"·border="0"·usemap="#apqxx_1_1transaction__base_inherit__map"·alt="Inheritance·graph"/></div>
76 <map·name="apqxx_1_1transaction__base_inherit__map"·id="apqxx_1_1transaction__base_inherit__map">76 <map·name="apqxx_1_1transaction__base_inherit__map"·id="apqxx_1_1transaction__base_inherit__map">
77 <area·shape="rect"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes."·alt=""·coords="252,103,425,130"/>77 <area·shape="rect"·title="Interface·definition·(and·common·code)·for·&quot;transaction&quot;·classes."·alt=""·coords="252,103,425,130"/>
78 <area·shape="rect"·href="a01163.html"·title="Abstract·base·class·responsible·for·bracketing·a·backend·transaction."·alt=""·coords="477,78,628,105"/>78 <area·shape="rect"·href="a01163.html"·title="Abstract·base·class·responsible·for·bracketing·a·backend·transaction."·alt=""·coords="477,78,628,105"/>
Offset 1839, 15 lines modifiedOffset 1839, 15 lines modified
  
1839 <p>Resources·allocated·in·this·transaction·that·make·reactivation·impossible.·</p>1839 <p>Resources·allocated·in·this·transaction·that·make·reactivation·impossible.·</p>
1840 <p·>This·number·may·be·negative!·</p>1840 <p·>This·number·may·be·negative!·</p>
  
1841 </div>1841 </div>
1842 </div>1842 </div>
1843 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>1843 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
1844 <li><a·class="el"·href="a00083_source.html">transaction_base.hxx</a></li>1844 <li><a·class="el"·href="a00029_source.html">transaction_base.hxx</a></li>
1845 <li>transaction_base.cxx</li>1845 <li>transaction_base.cxx</li>
1846 </ul>1846 </ul>
1847 </div><!--·contents·-->1847 </div><!--·contents·-->
1848 </div><!--·doc-content·-->1848 </div><!--·doc-content·-->
1849 <!--·start·footer·part·-->1849 <!--·start·footer·part·-->
1850 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1850 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1851 ··<ul>1851 ··<ul>
1.9 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01531.html
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
63 <a·href="#pub-types">Public·Types</a>·&#124;63 <a·href="#pub-types">Public·Types</a>·&#124;
64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;64 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
65 <a·href="a01528.html">List·of·all·members</a>··</div>65 <a·href="a01528.html">List·of·all·members</a>··</div>
66 ··<div·class="headertitle"><div·class="title">pqxx::transactor&lt;·TRANSACTION·&gt;·Class·Template·Reference</div></div>66 ··<div·class="headertitle"><div·class="title">pqxx::transactor&lt;·TRANSACTION·&gt;·Class·Template·Reference</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="a00056_source.html">transactor.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00041_source.html">transactor.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-types"·name="pub-types"></a>71 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
72 Public·Types</h2></td></tr>72 Public·Types</h2></td></tr>
73 <tr·class="memitem:ac7459a3079c6c2d9f254f99c55a71be2"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01531.html#ac7459a3079c6c2d9f254f99c55a71be2">argument_type</a>·=·TRANSACTION</td></tr>73 <tr·class="memitem:ac7459a3079c6c2d9f254f99c55a71be2"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01531.html#ac7459a3079c6c2d9f254f99c55a71be2">argument_type</a>·=·TRANSACTION</td></tr>
74 <tr·class="separator:ac7459a3079c6c2d9f254f99c55a71be2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>74 <tr·class="separator:ac7459a3079c6c2d9f254f99c55a71be2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
75 </table><table·class="memberdecls">75 </table><table·class="memberdecls">
76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 279, 15 lines modifiedOffset 279, 15 lines modified
279 ··</table>279 ··</table>
280 ··</dd>280 ··</dd>
281 </dl>281 </dl>
  
282 </div>282 </div>
283 </div>283 </div>
284 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>284 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
285 <li><a·class="el"·href="a00056_source.html">transactor.hxx</a></li>285 <li><a·class="el"·href="a00041_source.html">transactor.hxx</a></li>
286 </ul>286 </ul>
287 </div><!--·contents·-->287 </div><!--·contents·-->
288 </div><!--·doc-content·-->288 </div><!--·doc-content·-->
289 <!--·start·footer·part·-->289 <!--·start·footer·part·-->
290 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->290 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
291 ··<ul>291 ··<ul>
292 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01531.html">transactor</a></li>292 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01531.html">transactor</a></li>
2.35 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01535.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="a01535.html#details">More...</a></p>69 ·<a·href="a01535.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="a00053_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:a76f2924aaefac243d3770f1f4b698211"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01535.html#a76f2924aaefac243d3770f1f4b698211">have_safe_strerror</a>·=·true</td></tr>74 <tr·class="memitem:a76f2924aaefac243d3770f1f4b698211"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01535.html#a76f2924aaefac243d3770f1f4b698211">have_safe_strerror</a>·=·true</td></tr>
75 <tr·class="separator:a76f2924aaefac243d3770f1f4b698211"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:a76f2924aaefac243d3770f1f4b698211"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a3fe3fa8e530712e5228d2b5379871540"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">safe_libpq</a></td></tr>76 <tr·class="memitem:a3fe3fa8e530712e5228d2b5379871540"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">safe_libpq</a></td></tr>
77 <tr·class="memdesc:a3fe3fa8e530712e5228d2b5379871540"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<a·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">More...</a><br·/></td></tr>77 <tr·class="memdesc:a3fe3fa8e530712e5228d2b5379871540"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·the·underlying·libpq·build·thread-safe?··<a·href="a01535.html#a3fe3fa8e530712e5228d2b5379871540">More...</a><br·/></td></tr>
Offset 191, 15 lines modifiedOffset 191, 15 lines modified
191 ······</table>191 ······</table>
192 </div><div·class="memdoc">192 </div><div·class="memdoc">
193 <dl·class="deprecated"><dt><b><a·class="el"·href="a00254.html#_deprecated000021">Deprecated:</a></b></dt><dd>Always·thread-safe·to·copy·a·'result'·or·'binarystring'·now.·</dd></dl>193 <dl·class="deprecated"><dt><b><a·class="el"·href="a00254.html#_deprecated000021">Deprecated:</a></b></dt><dd>Always·thread-safe·to·copy·a·'result'·or·'binarystring'·now.·</dd></dl>
  
194 </div>194 </div>
195 </div>195 </div>
196 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>196 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
197 <li><a·class="el"·href="a00014_source.html">util.hxx</a></li>197 <li><a·class="el"·href="a00053_source.html">util.hxx</a></li>
198 </ul>198 </ul>
199 </div><!--·contents·-->199 </div><!--·contents·-->
200 </div><!--·doc-content·-->200 </div><!--·doc-content·-->
201 <!--·start·footer·part·-->201 <!--·start·footer·part·-->
202 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->202 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
203 ··<ul>203 ··<ul>
204 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01535.html">thread_safety_model</a></li>204 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a01535.html">thread_safety_model</a></li>
1.75 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01539.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::namedclass·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::namedclass·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Helper·base·class:·object·descriptions·for·error·messages·and·such.··68 <p>Helper·base·class:·object·descriptions·for·error·messages·and·such.··
69 ·<a·href="a01539.html#details">More...</a></p>69 ·<a·href="a01539.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="a00053_source.html">util.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal::namedclass:</div>72 Inheritance·diagram·for·pqxx::internal::namedclass:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01538.png"·border="0"·usemap="#apqxx_1_1internal_1_1namedclass_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01538.png"·border="0"·usemap="#apqxx_1_1internal_1_1namedclass_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal_1_1namedclass_inherit__map"·id="apqxx_1_1internal_1_1namedclass_inherit__map">75 <map·name="apqxx_1_1internal_1_1namedclass_inherit__map"·id="apqxx_1_1internal_1_1namedclass_inherit__map">
76 <area·shape="rect"·title="Helper·base·class:·object·descriptions·for·error·messages·and·such."·alt=""·coords="5,160,204,187"/>76 <area·shape="rect"·title="Helper·base·class:·object·descriptions·for·error·messages·and·such."·alt=""·coords="5,160,204,187"/>
77 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="252,108,480,135"/>77 <area·shape="rect"·href="a01519.html"·title="·"·alt=""·coords="252,108,480,135"/>
Offset 250, 15 lines modifiedOffset 250, 15 lines modified
250 <p>Object·name,·or·the·empty·string·if·no·name·was·given.·</p>250 <p>Object·name,·or·the·empty·string·if·no·name·was·given.·</p>
  
251 <p·class="reference">Referenced·by·<a·class="el"·href="a01539.html#acff74613029db4047e9d6e81c0d0d723">description()</a>.</p>251 <p·class="reference">Referenced·by·<a·class="el"·href="a01539.html#acff74613029db4047e9d6e81c0d0d723">description()</a>.</p>
  
252 </div>252 </div>
253 </div>253 </div>
254 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>254 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
255 <li><a·class="el"·href="a00014_source.html">util.hxx</a></li>255 <li><a·class="el"·href="a00053_source.html">util.hxx</a></li>
256 <li>util.cxx</li>256 <li>util.cxx</li>
257 </ul>257 </ul>
258 </div><!--·contents·-->258 </div><!--·contents·-->
259 </div><!--·doc-content·-->259 </div><!--·doc-content·-->
260 <!--·start·footer·part·-->260 <!--·start·footer·part·-->
261 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->261 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
262 ··<ul>262 ··<ul>
2.01 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01543.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::unique&lt;·GUEST·&gt;·Class·Template·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::unique&lt;·GUEST·&gt;·Class·Template·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Ensure·proper·opening/closing·of·GUEST·objects·related·to·a·"host"·object.··68 <p>Ensure·proper·opening/closing·of·GUEST·objects·related·to·a·"host"·object.··
69 ·<a·href="a01543.html#details">More...</a></p>69 ·<a·href="a01543.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="a00053_source.html">util.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::internal::unique&lt;·GUEST·&gt;:</div>72 Inheritance·diagram·for·pqxx::internal::unique&lt;·GUEST·&gt;:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="a01542.png"·border="0"·usemap="#apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map"·alt="Inheritance·graph"/></div>74 <div·class="center"><img·src="a01542.png"·border="0"·usemap="#apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map"·alt="Inheritance·graph"/></div>
75 <map·name="apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map"·id="apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map">75 <map·name="apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map"·id="apqxx_1_1internal_1_1unique_3_01GUEST_01_4_inherit__map">
76 <area·shape="rect"·title="Ensure·proper·opening/closing·of·GUEST·objects·related·to·a·&quot;host&quot;·object."·alt=""·coords="5,39,169,80"/>76 <area·shape="rect"·title="Ensure·proper·opening/closing·of·GUEST·objects·related·to·a·&quot;host&quot;·object."·alt=""·coords="5,39,169,80"/>
77 <area·shape="rect"·href="a01543.html"·title="·"·alt=""·coords="487,5,689,47"/>77 <area·shape="rect"·href="a01543.html"·title="·"·alt=""·coords="487,5,689,47"/>
Offset 253, 15 lines modifiedOffset 253, 15 lines modified
253 </div><div·class="memdoc">253 </div><div·class="memdoc">
  
254 <p·class="reference">References·<a·class="el"·href="a00266.html#a5194ce7692fe9bfe81cb3df3df30b165">pqxx::internal::CheckUniqueUnregistration()</a>.</p>254 <p·class="reference">References·<a·class="el"·href="a00266.html#a5194ce7692fe9bfe81cb3df3df30b165">pqxx::internal::CheckUniqueUnregistration()</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="a00014_source.html">util.hxx</a></li>258 <li><a·class="el"·href="a00053_source.html">util.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="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01543.html">unique</a></li>265 ····<li·class="navelem"><a·class="el"·href="a00265.html">pqxx</a></li><li·class="navelem"><a·class="el"·href="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01543.html">unique</a></li>
21.1 KB
./usr/share/doc/libpqxx-doc/html/Reference/dir_3d7cbfaf9a6edea0a348c9e21a88d076.html
    
Offset 76, 99 lines modifiedOffset 76, 99 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">directory·&#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">directory·&#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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>array.hxx</b>·<a·href="a00074_source.html">[code]</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>array.hxx</b>·<a·href="a00071_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>basic_connection.hxx</b>·<a·href="a00059_source.html">[code]</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>basic_connection.hxx</b>·<a·href="a00017_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>binarystring.hxx</b>·<a·href="a00002_source.html">[code]</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>binarystring.hxx</b>·<a·href="a00086_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal-post.hxx</b>·<a·href="a00038_source.html">[code]</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal-post.hxx</b>·<a·href="a00062_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal-pre.hxx</b>·<a·href="a00017_source.html">[code]</a></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal-pre.hxx</b>·<a·href="a00110_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal.hxx</b>·<a·href="a00086_source.html">[code]</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-internal.hxx</b>·<a·href="a00002_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-public.hxx</b>·<a·href="a00125_source.html">[code]</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>compiler-public.hxx</b>·<a·href="a00098_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-autotools.h</b>·<a·href="a00080_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-autotools.h</b>·<a·href="a00104_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-compiler.h</b>·<a·href="a00032_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-internal-compiler.h</b>·<a·href="a00125_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-compiler.h</b>·<a·href="a00128_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config-public-compiler.h</b>·<a·href="a00023_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config.h</b>·<a·href="a00044_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>config.h</b>·<a·href="a00008_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection.hxx</b>·<a·href="a00071_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection.hxx</b>·<a·href="a00128_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection_base.hxx</b>·<a·href="a00077_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connection_base.hxx</b>·<a·href="a00077_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connectionpolicy.hxx</b>·<a·href="a00107_source.html">[code]</a></td></tr>109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>connectionpolicy.hxx</b>·<a·href="a00014_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>cursor.hxx</b>·<a·href="a00089_source.html">[code]</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>cursor.hxx</b>·<a·href="a00047_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>dbtransaction.hxx</b>·<a·href="a00026_source.html">[code]</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>dbtransaction.hxx</b>·<a·href="a00056_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>errorhandler.hxx</b>·<a·href="a00119_source.html">[code]</a></td></tr>115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>errorhandler.hxx</b>·<a·href="a00095_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>except.hxx</b>·<a·href="a00116_source.html">[code]</a></td></tr>117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>except.hxx</b>·<a·href="a00026_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>field.hxx</b>·<a·href="a00068_source.html">[code]</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>field.hxx</b>·<a·href="a00005_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>isolation.hxx</b>·<a·href="a00029_source.html">[code]</a></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>isolation.hxx</b>·<a·href="a00116_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>largeobject.hxx</b>·<a·href="a00104_source.html">[code]</a></td></tr>123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>largeobject.hxx</b>·<a·href="a00113_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>nontransaction.hxx</b>·<a·href="a00062_source.html">[code]</a></td></tr>125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>nontransaction.hxx</b>·<a·href="a00080_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>notification.hxx</b>·<a·href="a00020_source.html">[code]</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>notification.hxx</b>·<a·href="a00059_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>pipeline.hxx</b>·<a·href="a00053_source.html">[code]</a></td></tr>129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>pipeline.hxx</b>·<a·href="a00074_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>prepared_statement.hxx</b>·<a·href="a00110_source.html">[code]</a></td></tr>131 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>prepared_statement.hxx</b>·<a·href="a00035_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>result.hxx</b>·<a·href="a00122_source.html">[code]</a></td></tr>133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>result.hxx</b>·<a·href="a00101_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>result_iterator.hxx</b>·<a·href="a00041_source.html">[code]</a></td></tr>135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>result_iterator.hxx</b>·<a·href="a00044_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>robusttransaction.hxx</b>·<a·href="a00098_source.html">[code]</a></td></tr>137 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>robusttransaction.hxx</b>·<a·href="a00068_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>row.hxx</b>·<a·href="a00023_source.html">[code]</a></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>row.hxx</b>·<a·href="a00065_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>strconv.hxx</b>·<a·href="a00065_source.html">[code]</a></td></tr>141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>strconv.hxx</b>·<a·href="a00092_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_base.hxx</b>·<a·href="a00035_source.html">[code]</a></td></tr>143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_base.hxx</b>·<a·href="a00020_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_from.hxx</b>·<a·href="a00011_source.html">[code]</a></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_from.hxx</b>·<a·href="a00107_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b>·<a·href="a00095_source.html">[code]</a></td></tr>147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>stream_to.hxx</b>·<a·href="a00050_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>subtransaction.hxx</b>·<a·href="a00005_source.html">[code]</a></td></tr>149 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>subtransaction.hxx</b>·<a·href="a00011_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablereader.hxx</b>·<a·href="a00113_source.html">[code]</a></td></tr>151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablereader.hxx</b>·<a·href="a00122_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablestream.hxx</b>·<a·href="a00050_source.html">[code]</a></td></tr>153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablestream.hxx</b>·<a·href="a00083_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablewriter.hxx</b>·<a·href="a00047_source.html">[code]</a></td></tr>155 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>tablewriter.hxx</b>·<a·href="a00038_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction.hxx</b>·<a·href="a00101_source.html">[code]</a></td></tr>157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction.hxx</b>·<a·href="a00119_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b>·<a·href="a00083_source.html">[code]</a></td></tr>159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transaction_base.hxx</b>·<a·href="a00029_source.html">[code]</a></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">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transactor.hxx</b>·<a·href="a00056_source.html">[code]</a></td></tr>161 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>transactor.hxx</b>·<a·href="a00041_source.html">[code]</a></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 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>types.hxx</b>·<a·href="a00008_source.html">[code]</a></td></tr>163 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>types.hxx</b>·<a·href="a00089_source.html">[code]</a></td></tr>
164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>util.hxx</b>·<a·href="a00014_source.html">[code]</a></td></tr>165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>util.hxx</b>·<a·href="a00053_source.html">[code]</a></td></tr>
166 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
167 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>version.hxx</b>·<a·href="a00092_source.html">[code]</a></td></tr>167 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><b>version.hxx</b>·<a·href="a00032_source.html">[code]</a></td></tr>
168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
169 </table>169 </table>
170 </div><!--·contents·-->170 </div><!--·contents·-->
171 </div><!--·doc-content·-->171 </div><!--·doc-content·-->
172 <!--·start·footer·part·-->172 <!--·start·footer·part·-->
173 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->173 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
174 ··<ul>174 ··<ul>