3.02 MB
/srv/reproducible-results/rbuild-debian/r-b-build.c1F7rWsU/b1/libpqxx_6.4.5-2_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.c1F7rWsU/b2/libpqxx_6.4.5-2_armhf.changes
467 B
Files
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
  
1 ·2db6c7975a2b8ee9c1272200b979deca·2047740·debug·optional·libpqxx-6.4-dbgsym_6.4.5-2_armhf.deb1 ·2db6c7975a2b8ee9c1272200b979deca·2047740·debug·optional·libpqxx-6.4-dbgsym_6.4.5-2_armhf.deb
2 ·231cfd0bd8738caecc0f5c6b370e679f·136816·libs·optional·libpqxx-6.4_6.4.5-2_armhf.deb2 ·231cfd0bd8738caecc0f5c6b370e679f·136816·libs·optional·libpqxx-6.4_6.4.5-2_armhf.deb
3 ·ed847aea48b7c28139dbe44f04b6f92e·256632·libdevel·optional·libpqxx-dev_6.4.5-2_armhf.deb3 ·ed847aea48b7c28139dbe44f04b6f92e·256632·libdevel·optional·libpqxx-dev_6.4.5-2_armhf.deb
4 ·a1729266f10b8f4e1eb43927e70f459d·1862196·doc·optional·libpqxx-doc_6.4.5-2_all.deb4 ·fcd40df87eca172f0f3a7c96508b878e·1862016·doc·optional·libpqxx-doc_6.4.5-2_all.deb
3.02 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····17804·2019-09-26·12:21:28.000000·control.tar.xz2 -rw-r--r--···0········0········0····17796·2019-09-26·12:21:28.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1844200·2019-09-26·12:21:28.000000·data.tar.xz3 -rw-r--r--···0········0········0··1844028·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
3.02 MB
data.tar.xz
3.02 MB
data.tar
14.0 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)·····4098·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)····10851·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)····26731·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00005_source.html85 -rw-r--r--···0·root·········(0)·root·········(0)····17940·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)·····4522·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00008_source.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·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)····10935·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)····64763·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)····13284·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)····13623·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)····16855·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00023_source.html87 -rw-r--r--···0·root·········(0)·root·········(0)····16855·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)·····4522·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)····92975·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00017_source.html
92 -rw-r--r--···0·root·········(0)·root·········(0)····18616·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00026_source.html90 -rw-r--r--···0·root·········(0)·root·········(0)····15403·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00020_source.html
93 -rw-r--r--···0·root·········(0)·root·········(0)···102603·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00029_source.html91 -rw-r--r--···0·root·········(0)·root·········(0)···102603·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)····21972·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)·····4098·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)····45129·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00032_source.html94 -rw-r--r--···0·root·········(0)·root·········(0)·····3959·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)·····4464·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00035_source.html95 -rw-r--r--···0·root·········(0)·root·········(0)····24862·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)····13533·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)····13623·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)····10851·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00041_source.html 
98 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·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)·····6695·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)·····6412·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00050_source.html97 -rw-r--r--···0·root·········(0)·root·········(0)·····6412·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00041_source.html
101 -rw-r--r--···0·root·········(0)·root·········(0)····76233·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00053_source.html98 -rw-r--r--···0·root·········(0)·root·········(0)····76233·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00044_source.html
102 -rw-r--r--···0·root·········(0)·root·········(0)····13643·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)····63410·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00059_source.html99 -rw-r--r--···0·root·········(0)·root·········(0)····20541·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00047_source.html
104 -rw-r--r--···0·root·········(0)·root·········(0)····19295·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)····33579·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00065_source.html100 -rw-r--r--···0·root·········(0)·root·········(0)····33729·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)····20385·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)····64763·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)····45129·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)····84967·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)····18616·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)····10272·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00068_source.html106 -rw-r--r--···0·root·········(0)·root·········(0)····10272·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00068_source.html
 107 -rw-r--r--···0·root·········(0)·root·········(0)····64031·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)····13533·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00074_source.html
107 -rw-r--r--···0·root·········(0)·root·········(0)····25872·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00071_source.html109 -rw-r--r--···0·root·········(0)·root·········(0)····26731·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)·····4464·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)····13643·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00083_source.html
108 -rw-r--r--···0·root·········(0)·root·········(0)····17797·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00074_source.html112 -rw-r--r--···0·root·········(0)·root·········(0)····17797·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00086_source.html
109 -rw-r--r--···0·root·········(0)·root·········(0)····12139·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)····17940·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)····20541·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)····21972·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)····92975·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)····31642·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)····46628·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00095_source.html113 -rw-r--r--···0·root·········(0)·root·········(0)····46628·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)····33579·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)····25872·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)····15403·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00098_source.html116 -rw-r--r--···0·root·········(0)·root·········(0)····63410·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)·····6695·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00101_source.html
 118 -rw-r--r--···0·root·········(0)·root·········(0)····10935·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00104_source.html
117 -rw-r--r--···0·root·········(0)·root·········(0)····15413·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00101_source.html119 -rw-r--r--···0·root·········(0)·root·········(0)····15413·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00107_source.html
118 -rw-r--r--···0·root·········(0)·root·········(0)····33729·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00104_source.html120 -rw-r--r--···0·root·········(0)·root·········(0)····19295·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)····31642·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00113_source.html
 122 -rw-r--r--···0·root·········(0)·root·········(0)····13284·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00116_source.html
119 -rw-r--r--···0·root·········(0)·root·········(0)····89497·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00107_source.html123 -rw-r--r--···0·root·········(0)·root·········(0)····89497·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00119_source.html
120 -rw-r--r--···0·root·········(0)·root·········(0)····82623·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)····20385·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00113_source.html 
122 -rw-r--r--···0·root·········(0)·root·········(0)····64031·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)·····3959·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)····49299·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00122_source.html124 -rw-r--r--···0·root·········(0)·root·········(0)····49299·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00122_source.html
125 -rw-r--r--···0·root·········(0)·root·········(0)····84967·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00125_source.html125 -rw-r--r--···0·root·········(0)·root·········(0)····12139·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00125_source.html
126 -rw-r--r--···0·root·········(0)·root·········(0)····24862·2019-09-26·12:21:28.000000·./usr/share/doc/libpqxx-doc/html/Reference/a00128_source.html126 -rw-r--r--···0·root·········(0)·root·········(0)····82623·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
13.3 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:·config-internal-compiler.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, 28 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('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">config-internal-compiler.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/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_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>
 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>
67 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</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> 
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> 
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>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>
72 </div><!--·fragment·--></div><!--·contents·-->109 </div><!--·fragment·--></div><!--·contents·-->
73 </div><!--·doc-content·-->110 </div><!--·doc-content·-->
74 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
75 <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!·-->
76 ··<ul>113 ··<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>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>
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>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>
79 ··</ul>116 ··</ul>
80 </div>117 </div>
81 </body>118 </body>
82 </html>119 </html>
2.09 KB
html2text {}
    
Offset 1, 19 lines modifiedOffset 1, 67 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-internal-compiler.h 
3 ·1/*·Automatically·generated·from·config.h:·internal/compiler·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·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·114 ·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
10 ····*·include58 ····*·include
11 ····*·pqxx59 ····*·pqxx
12 ····*·config-internal-compiler.h60 ····*·nontransaction.hxx
13 ····*·Generated·by·[doxygen]·1.9.461 ····*·Generated·by·[doxygen]·1.9.4
46.5 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:·stream_to.hxx·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, 162 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('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">stream_to.hxx</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>·</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_CONNECTION</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_CONNECTION</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/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/stream_from.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><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>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><span·class="preprocessor">#include·&lt;string&gt;</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>·</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> 
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> 
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</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_class"·href="a01471.html">stream_base</a></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> 
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> 
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>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>
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>80 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</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>
104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>85 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</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>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="a[·...·truncated·by·diffoscope;·len:·58,·SHA:·f0c14535dcafb94c48f6cdb41752cb271f9dc6ad4895ce45c71d4ef155ae5d5d·...·]>;</div>
106 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>87 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
107 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>88 <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>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>
110 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>91 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</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="a01[·...·truncated·by·diffoscope;·len:·33,·SHA:·adc70fed4ff47eb4c0c1a5a04485cd56ec3ca541d9797ac0162ed817eb5b06cb·...·]</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>
112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</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>
113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">private</span>:</div>99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</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>100 <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>101 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</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>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">connectionp[·...·truncated·by·diffoscope;·len:·9,·SHA:·ec47b4e8cf23a434b13c6b0c96bafeee071fc900fa8d1d5bfb421b785c55a8b1·...·]</div>
124 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>};</div>103 <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>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>
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>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>
137 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>{}</div>113 <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>114 <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>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>
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>118 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</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; 15367/39808 bytes (38.60%) of diff not shown.
7.46 KB
html2text {}
    
Offset 1, 189 lines modifiedOffset 1, 113 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_to.hxx2 connection.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_STREAM_TO 
5 ·14#define·PQXX_H_STREAM_TO4 ·13#ifndef·PQXX_H_CONNECTION
 5 ·14#define·PQXX_H_CONNECTION
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" 
10 ·19#include·"pqxx/stream_base.hxx" 
11 ·20#include·"pqxx/stream_from.hxx" 
12 ·21#include·"pqxx/internal/type_utils.hxx" 
13 ·22 
14 ·23#include·<string>9 ·18
 10 ·19#include·"pqxx/connectionpolicy.hxx"
 11 ·20#include·"pqxx/basic_connection.hxx"
 12 ·21
 13 ·22namespace·pqxx
 14 ·23{
15 ·2415 ·24
 16 ·77
 17 87class·PQXX_LIBEXPORT·connect_direct·:·public·connectionpolicy
16 ·25 
17 ·26namespace·pqxx 
18 ·27{ 
19 ·28 
20 ·30 
21 59class·PQXX_LIBEXPORT·stream_to·:·public·stream_base 
22 ·60{ 
23 ·61public: 
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( 
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 ·8818 ·88{
42 ·90 
43 ·96·void·complete()·override; 
44 ·9719 ·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
45 ·9926 ·99
46 ·106·template<typename·Tuple>·stream_to·&·operator<<(const·Tuple·&); 
47 ·10727 ·101
48 ·109 
49 ·113·stream_to·&operator<<(stream_from·&);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
50 ·11435 ·114
51 ·115private: 
52 ·117·void·write_raw_line(const·std::string·&);36 116using·lazyconnection·=·basic_connection_base<connect_lazy>;
 37 ·117
53 ·11838 ·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 ·12539 ·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;
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{}51 ·140};
76 ·14152 ·141
77 ·14253 ·142
 54 144using·asyncconnection·=·basic_connection_base<connect_async>;
 55 ·145
 56 ·146
 57 ·148
 58 152class·PQXX_LIBEXPORT·connect_null·:·public·connectionpolicy
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}, 
Max diff block lines reached; 4046/7615 bytes (53.13%) of diff not shown.
10.1 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:·config-internal-autotools.h·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, 30 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('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">config-internal-autotools.h</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><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="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_COMPILER_INTERNAL</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>·</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>·</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>
 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><span·class="preprocessor">#undef··PQXX_LIBEXPORT</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>
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</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>
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>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>
 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>
 88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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>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>
 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>
 93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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>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>
 96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif</span></div>
74 </div><!--·fragment·--></div><!--·contents·-->98 </div><!--·fragment·--></div><!--·contents·-->
75 </div><!--·doc-content·-->99 </div><!--·doc-content·-->
76 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
77 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->101 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
78 ··<ul>102 ··<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>103 ····<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.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>104 ····<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>105 ··</ul>
82 </div>106 </div>
83 </body>107 </body>
84 </html>108 </html>
1.48 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 46 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-internal-autotools.h 
3 ·1/*·Automatically·generated·from·config.h:·internal/autotools·config.·*/2 compiler-internal.hxx
 3 ·1
 4 ·11#ifndef·PQXX_H_COMPILER_INTERNAL
 5 ·12#define·PQXX_H_COMPILER_INTERNAL
 6 ·13
 7 ·14
 8 ·15//·Workarounds·&·definitions·needed·to·compile·libpqxx·into·a·library
 9 ·16#include·"pqxx/config-internal-compiler.h"
 10 ·17
 11 ·18#ifdef·_WIN32
 12 ·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_SHARED
4 ·218 ·25
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"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 ().
 24 ·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
 33 ·39
 34 ·40#include·"pqxx/compiler-public.hxx"
 35 ·41
 36 ·42#endif
12 ····*·include37 ····*·include
13 ····*·pqxx38 ····*·pqxx
14 ····*·config-internal-autotools.h39 ····*·compiler-internal.hxx
15 ····*·Generated·by·[doxygen]·1.9.440 ····*·Generated·by·[doxygen]·1.9.4
27.9 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:·subtransaction.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, 69 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('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">subtransaction.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_SUBTRANSACTION</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_SUBTRANSACTION</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·&quot;pqxx/dbtransaction.hxx&quot;</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>
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</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="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="comment">·*/</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="l00028"·name="l00028"></a><span·class="lineno">···28</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="l00033"·name="l00033"></a><span·class="lineno">···33</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>
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>84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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> 
101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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> 
103 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>};</div> 
104 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}</div> 
105 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>85 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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>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>
 105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
107 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="preprocessor">#endif</span></div>107 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif</span></div>
108 <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>108 <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>
 109 <div·class="ttc"·id="aa00265_html_a2771138651a1156ee5039d8b391402b0"><div·class="ttname"><a·href="a00265.html#a2771138651a1156ee5039d8b391402b0">pqxx::row_difference_type</a></div><div·class="ttdeci">signed·int·row_difference_type</div><div·class="ttdoc">Difference·between·row·sizes.</div><div·class="ttdef"><b>Definition:</b>·types.hxx:27</div></div>
 110 <div·class="ttc"·id="aa00265_html_a344a5540d6f83f8b73ccddbeb29ec2ec"><div·class="ttname"><a·href="a00265.html#a344a5540d6f83f8b73ccddbeb29ec2ec">pqxx::large_object_size_type</a></div><div·class="ttdeci">long·large_object_size_type</div><div·class="ttdoc">Number·of·bytes·in·a·large·object.·(Unusual:·it's·signed.)</div><div·class="ttdef"><b>Definition:</b>·types.hxx:33</div></div>
 111 <div·class="ttc"·id="aa00265_html_a4e0a2adb10ee7a702fa5b7e066900e6a"><div·class="ttname"><a·href="a00265.html#a4e0a2adb10ee7a702fa5b7e066900e6a">pqxx::result_difference_type</a></div><div·class="ttdeci">signed·long·result_difference_type</div><div·class="ttdoc">Difference·between·result·sizes.</div><div·class="ttdef"><b>Definition:</b>·types.hxx:21</div></div>
 112 <div·class="ttc"·id="aa00265_html_a5c52b0064b3395b98c6b9a0d3398db98"><div·class="ttname"><a·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">pqxx::field_size_type</a></div><div·class="ttdeci">std::size_t·field_size_type</div><div·class="ttdoc">Number·of·bytes·in·a·field·of·database·data.</div><div·class="ttdef"><b>Definition:</b>·types.hxx:30</div></div>
 113 <div·class="ttc"·id="aa00265_html_a62a6ec110cf595dbf21d1f4d34ff46b3"><div·class="ttname"><a·href="a00265.html#a62a6ec110cf595dbf21d1f4d34ff46b3">pqxx::result_size_type</a></div><div·class="ttdeci">unsigned·long·result_size_type</div><div·class="ttdoc">Number·of·rows·in·a·result·set.</div><div·class="ttdef"><b>Definition:</b>·types.hxx:18</div></div>
 114 <div·class="ttc"·id="aa00265_html_aecdd4e9a0ccdb2049a03637f03f0684f"><div·class="ttname"><a·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">pqxx::row_size_type</a></div><div·class="ttdeci">unsigned·int·row_size_type</div><div·class="ttdoc">Number·of·fields·in·a·row·of·database·data.</div><div·class="ttdef"><b>Definition:</b>·types.hxx:24</div></div>
 115 <div·class="ttc"·id="aa01111_html"><div·class="ttname"><a·href="a01111.html">pqxx::binarystring</a></div><div·class="ttdoc">Binary·data·corresponding·to·PostgreSQL's·&quot;BYTEA&quot;·binary-string·type.</div><div·class="ttdef"><b>Definition:</b>·binarystring.hxx:54</div></div>
 116 <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>
 117 <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>
109 <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>118 <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>
110 <div·class="ttc"·id="aa01487_html"><div·class="ttname"><a·href="a01487.html">pqxx::subtransaction</a></div><div·class="ttdoc">&quot;Transaction&quot;·nested·within·another·transaction</div><div·class="ttdef"><b>Definition:</b>·subtransaction.hxx:82</div></div> 
111 <div·class="ttc"·id="aa01487_html_a50fe87342d56e35e44ad8d2537f8c50e"><div·class="ttname"><a·href="a01487.html#a50fe87342d56e35e44ad8d2537f8c50e">pqxx::subtransaction::~subtransaction</a></div><div·class="ttdeci">virtual·~subtransaction()·noexcept</div><div·class="ttdef"><b>Definit[·...·truncated·by·diffoscope;·len:·30,·SHA:·a5b7ee73d8478a354b3cddecf7a83f3dd739d68f147175148dd6f8c336de77d5·...·]</div></div>119 <div·class="ttc"·id="aa01227_html"><div·class="ttname"><a·href="a01227.html">pqxx::range_error</a></div><div·class="ttdoc">Something·is·out·of·range,·similar·to·std::out_of_range.</div><div·class="ttdef"><b>Definition:</b>·except.hxx:253</div></div>
 120 <div·class="ttc"·id="aa01331_html"><div·class="ttname"><a·href="a01331.html">pqxx::field</a></div><div·class="ttdoc">Reference·to·a·field·in·a·result·set.</div><div·class="ttdef"><b>Definition:</b>·field.hxx:50</div></div>
 121 <div·class="ttc"·id="aa01351_html"><div·class="ttname"><a·href="a01351.html">pqxx::largeobjectaccess</a></div><div·class="ttdoc">Accessor·for·large·object's·contents.</div><div·class="ttdef"><b>Definition:</b>·largeobject.hxx:138</div></div>
 122 <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>
 123 <div·class="ttc"·id="aa01395_html"><div·class="ttname"><a·href="a01395.html">pqxx::result</a></div><div·class="ttdoc">Result·set·containing·data·returned·by·a·query·or·command.</div><div·class="ttdef"><b>Definition:</b>·result.hxx:70</div></div>
 124 <div·class="ttc"·id="aa01399_html"><div·class="ttname"><a·href="a01399.html">pqxx::const_result_iterator</a></div><div·class="ttdoc">Iterator·for·rows·in·a·result.·Use·as·result::const_iterator.</div><div·class="ttdef"><b>Definition:</b>·result_iterator.hxx:36</div></div>
 125 <div·class="ttc"·id="aa01403_html"><div·class="ttname"><a·href="a01403.html">pqxx::const_reverse_result_iterator</a></div><div·class="ttdoc">Reverse·iterator·for·result.·Use·as·result::const_reverse_iterator.</div><div·class="ttdef"><b>Definition:</b>·result_iterator.hxx:122</div></div>
 126 <div·class="ttc"·id="aa01415_html"><div·class="ttname"><a·href="a01415.html">pqxx::row</a></div><div·class="ttdoc">Reference·to·one·row·in·a·result.</div><div·class="ttdef"><b>Definition:</b>·row.hxx:41</div></div>
 127 <div·class="ttc"·id="aa01419_html"><div·class="ttname"><a·href="a01419.html">pqxx::const_row_iterator</a></div><div·class="ttdoc">Iterator·for·fields·in·a·row.·Use·as·row::const_iterator.</div><div·class="ttdef"><b>Definition:</b>·row.hxx:208</div></div>
 128 <div·class="ttc"·id="aa01423_html"><div·class="ttname"><a·href="a01423.html">pqxx::const_reverse_row_iterator</a></div><div·class="ttdoc">Reverse·iterator·for·a·row.·Use·as·row::const_reverse_iterator.</div><div·class="ttdef"><b>Definition:</b>·row.hxx:280</div></div>
112 <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>129 <div·class="ttc"·id="aa01491_html"><div·class="ttname"><a·href="a01491.html">pqxx::tablereader</a></div><div·class="ttdef"><b>Definition:</b>·tablereader.hxx:30</div></div>
 130 <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>
113 </div><!--·fragment·--></div><!--·contents·-->131 </div><!--·fragment·--></div><!--·contents·-->
114 </div><!--·doc-content·-->132 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
116 <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!·-->
117 ··<ul>135 ··<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>subtransaction.hxx</b></li>136 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>types.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>137 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4·</li>
120 ··</ul>138 ··</ul>
Max diff block lines reached; 18/23452 bytes (0.08%) of diff not shown.
4.86 KB
html2text {}
    
Offset 1, 69 lines modifiedOffset 1, 127 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 subtransaction.hxx2 types.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_SUBTRANSACTION 
5 ·14#define·PQXX_H_SUBTRANSACTION 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·"pqxx/dbtransaction.hxx" 
11 ·20 
12 ·21 
13 ·22/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]" 
14 ·23·*/ 
15 ·244 ·10#ifndef·PQXX_H_TYPES
 5 ·11#define·PQXX_H_TYPES
 6 ·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 ·2818 ·28
20 ·33 
21 79class·PQXX_LIBEXPORT·subtransaction·: 
22 ·80·public·internal::transactionfocus, 
23 ·81·public·dbtransaction 
24 ·82{ 
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{}); 
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} 
43 ·103 
44 ·104#include·"pqxx/compiler-internal-post.hxx"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
 43 ·55}·//·namespace·pqxx
 44 ·56
45 ·105#endif45 ·57#endif
46 pqxx46 pqxx
47 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.47 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
48 Definition:·array.hxx:2648 Definition:·array.hxx:26
 49 pqxx::row_difference_type
 50 signed·int·row_difference_type
 51 Difference·between·row·sizes.
 52 Definition:·types.hxx:27
 53 pqxx::large_object_size_type
 54 long·large_object_size_type
 55 Number·of·bytes·in·a·large·object.·(Unusual:·it's·signed.)
 56 Definition:·types.hxx:33
 57 pqxx::result_difference_type
 58 signed·long·result_difference_type
 59 Difference·between·result·sizes.
 60 Definition:·types.hxx:21
 61 pqxx::field_size_type
 62 std::size_t·field_size_type
 63 Number·of·bytes·in·a·field·of·database·data.
 64 Definition:·types.hxx:30
 65 pqxx::result_size_type
 66 unsigned·long·result_size_type
 67 Number·of·rows·in·a·result·set.
 68 Definition:·types.hxx:18
 69 pqxx::row_size_type
 70 unsigned·int·row_size_type
 71 Number·of·fields·in·a·row·of·database·data.
 72 Definition:·types.hxx:24
 73 pqxx::binarystring
 74 Binary·data·corresponding·to·PostgreSQL's·"BYTEA"·binary-string·type.
 75 Definition:·binarystring.hxx:54
 76 pqxx::connection_base
 77 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
 78 Definition:·connection_base.hxx:140
 79 pqxx::connectionpolicy
 80 Definition:·connectionpolicy.hxx:32
49 pqxx::dbtransaction81 pqxx::dbtransaction
50 Abstract·base·class·responsible·for·bracketing·a·backend·transaction.82 Abstract·base·class·responsible·for·bracketing·a·backend·transaction.
51 Definition:·dbtransaction.hxx:6383 Definition:·dbtransaction.hxx:63
 84 pqxx::range_error
Max diff block lines reached; 91/4953 bytes (1.84%) of diff not shown.
76.7 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:·cursor.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, 318 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('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">cursor.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_CURSOR</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> 
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;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> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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><span·class="preprocessor">#include·&quot;pqxx/result.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>
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>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>
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> 
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="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> 
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> 
159 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>····m_cur{trans,·query,·cname,·<a·class="code·hl_class"·href="a01147.html">cursor_base</a>::random_access,·up,·op,·hold}</div> 
160 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>··{</div> 
161 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>··}</div> 
162 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> 
163 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno"><a·class="line"·href="a01151.html#a8231490bf29aa7686c4daa3b1fc97ed1">··178</a></span>··<a·class="code·hl_function"·href="a01151.html#a8231490bf29aa7686c4daa3b1fc97ed1">stateless_cursor</a>(</div> 
Max diff block lines reached; 859/65952 bytes (1.30%) of diff not shown.
12.2 KB
html2text {}
    
Offset 1, 419 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 cursor.hxx 
3 ·1 
4 ·13#ifndef·PQXX_H_CURSOR 
5 ·14#define·PQXX_H_CURSOR 
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 ·214 ·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"
13 ·22#include·"pqxx/result.hxx" 
14 ·23#include·"pqxx/transaction_base.hxx" 
15 ·24 
16 ·25 
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 ·128 
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}; 
76 ·145}·//·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: 
89 164·using·size_type·=·result_size_type; 
90 165·using·difference_type·=·result_difference_type; 
91 ·166 
92 168·stateless_cursor( 
93 ·169·transaction_base·&trans, 
94 ·170·const·std::string·&query, 
95 ·171·const·std::string·&cname, 
96 ·172·bool·hold)·: 
97 ·173·m_cur{trans,·query,·cname,·cursor_base::random_access,·up,·op,·hold} 
98 ·174·{ 
99 ·175·} 
100 ·176 
101 178·stateless_cursor( 
102 ·179·transaction_base·&trans, 
103 ·180·const·std::string·adopted_cursor)·: 
104 ·181·m_cur{trans,·adopted_cursor,·op} 
105 ·182·{ 
106 ·183·//·Put·cursor·in·known·position 
107 ·184·m_cur.move(cursor_base::backward_all()); 
108 ·185·} 
109 ·186 
110 187·void·close()·noexcept·{·m_cur.close();·} 
111 ·188 
112 ·190 
Max diff block lines reached; 101/12456 bytes (0.81%) of diff not shown.
119 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:·stream_base.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, 80 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('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">stream_base.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_STREAM_BASE</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_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_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><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/util.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="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·&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">···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="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"><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>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>
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> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}</div>82 <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> 
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="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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>
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</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>
 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>
Max diff block lines reached; 22009/101481 bytes (21.69%) of diff not shown.
20.1 KB
html2text {}
    
Offset 1, 85 lines modifiedOffset 1, 632 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_base.hxx2 except.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_STREAM_BASE 
5 ·14#define·PQXX_H_STREAM_BASE4 ·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 ·18#include·"pqxx/transaction_base.hxx" 
10 ·19#include·"pqxx/util.hxx"9 ·18
 10 ·19#include·<stdexcept>
11 ·2011 ·20
12 ·21#include·<string>12 ·21#include·"pqxx/util.hxx"
13 ·2213 ·22
14 ·2314 ·23
15 ·24namespace·pqxx15 ·24namespace·pqxx
16 ·25{16 ·25{
17 ·2617 ·26
18 27class·PQXX_LIBEXPORT·PQXX_NOVTABLE·stream_base·: 
19 ·28·public·internal::transactionfocus 
20 ·29{18 ·44
 19 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·pqxx_exception
 20 ·56{
21 ·30public:21 ·57public:
 22 ·59·virtual·~pqxx_exception()·noexcept·=0;
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 
50 ·59 
51 ·6023 ·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};
 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
Max diff block lines reached; 8541/20598 bytes (41.47%) of diff not shown.
27.5 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:·errorhandler.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, 83 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('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">errorhandler.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>·</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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·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_ERRORHANDLER</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>
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/types.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>
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>·</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>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>
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>internal</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>
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>gate</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>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#a1dc4688a8f01e6679b2afa93481836cca4080e8f004649[·...·truncated·by·diffoscope;·len:·35,·SHA:·e3687a4d21874c1e042abc190a12e60bd4db5e41469c36ed004873fa0417e8ef·...·]</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>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>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>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>·<a·class="code·hl_class"·href="a01527.html">transaction_base</a></div>
85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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> 
87 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div> 
88 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div>87 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</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>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>
91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>89 <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>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>
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>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>
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>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>
100 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</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>
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>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>
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>100 <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>101 <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>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>
108 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{</div>103 <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>·&[·...·truncated·by·diffoscope;·len:·81,·SHA:·723100cf005f87a31a531a700027e0f46cd6683888e356c5d5b9aca8190be0fb·...·]</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>
111 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</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>
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> 
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> 
116 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>109 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</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>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>
118 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>112 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 113 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">private</span>:</div>
 114 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··std::string·m_start_cmd;</div>
 115 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div>
 116 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 117 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 118 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</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>
 120 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
119 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif</span></div>121 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</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>122 <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>
 123 <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>
 124 <div·class="ttc"·id="aa00265_html_a1dc4688a8f01e6679b2afa93481836cca4080e8f00464997c4345ddb2a15b3986"><div·class="ttname"><a·href="a00265.html#a1dc4688a8f01e6679b2afa93481836cca4080e8f00464997c4345ddb2a15b3986">pqxx::read_only</a></div><div·class="ttdeci">@·read_only</div><div·class="ttdef"><b>Definition:</b>·dbtransaction.hxx:26</div></div>
 125 <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>
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>126 <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>127 <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>
 128 <div·class="ttc"·id="aa01163_html_a601f599d9c5cca86ce84a77bdac941db"><div·class="ttname"><a·href="a01163.html#a601f599d9c5cca86ce84a77bdac941db">pqxx::dbtransaction::start_backend_transaction</a></div><div·class="ttdeci">void·start_backend_transaction()</div><div·class="ttdoc">Start·a·transaction·on·the·backend·and·set·desired·isolation·level.</div></div>
 129 <div·class="ttc"·id="aa01163_html_a6e7b375bdfb7d7c98ec04a3b333b917b"><div·class="ttname"><a·href="a01163.html#a6e7b375bdfb7d7c98ec04a3b333b917b">pqxx::dbtransaction::do_commit</a></div><div·class="ttdeci">virtual·void·do_commit()·override=0</div><div·class="ttdoc">To·be·implemented·by·derived·class:·commit·backend·transaction.</div></div>
 130 <div·class="ttc"·id="aa01395_html"><div·class="ttname"><a·href="a01395.html">pqxx::result</a></div><div·class="ttdoc">Result·set·containing·data·returned·by·a·query·or·command.</div><div·class="ttdef"><b>Definition:</b>·result.hxx:70</div></div>
 131 <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>
127 </div><!--·fragment·--></div><!--·contents·-->132 </div><!--·fragment·--></div><!--·contents·-->
128 </div><!--·doc-content·-->133 </div><!--·doc-content·-->
129 <!--·start·footer·part·-->134 <!--·start·footer·part·-->
130 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->135 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
131 ··<ul>136 ··<ul>
132 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>errorhandler.hxx</b></li>137 ····<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>dbtransaction.hxx</b></li>
133 ····<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>138 ····<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>
134 ··</ul>139 ··</ul>
135 </div>140 </div>
136 </body>141 </body>
137 </html>142 </html>
Max diff block lines reached; -1/23786 bytes (-0.00%) of diff not shown.
4.18 KB
html2text {}
    
Offset 1, 89 lines modifiedOffset 1, 99 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 errorhandler.hxx2 dbtransaction.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ERRORHANDLER 
5 ·14#define·PQXX_H_ERRORHANDLER4 ·13#ifndef·PQXX_H_DBTRANSACTION
 5 ·14#define·PQXX_H_DBTRANSACTION
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/types.hxx"10 ·19#include·"pqxx/transaction_base.hxx"
11 ·2011 ·20
12 ·21 
13 ·22namespace·pqxx12 ·21namespace·pqxx
 13 ·22{
14 ·23{14 ·23
15 ·24namespace·internal15 24enum·readwrite_policy
16 ·25{16 ·25{
17 ·26namespace·gate 
18 ·27{ 
19 ·28class·errorhandler_connection_base;17 26·read_only,
 18 ·27·read_write
 19 28};
20 ·29}20 ·29
21 ·30}21 ·30
 22 ·32
 23 62class·PQXX_LIBEXPORT·PQXX_NOVTABLE·dbtransaction·:·public·transaction_base
 24 ·63{
22 ·31 
23 ·38 
24 54class·PQXX_LIBEXPORT·errorhandler 
25 ·55{ 
26 ·56public:25 ·64public:
 26 ·65·virtual·~dbtransaction();
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 ·6627 ·66
33 ·67private:28 ·67protected:
 29 ·68·dbtransaction(
34 ·68·connection_base·*m_home;30 ·69·connection_base·&,
 31 ·70·const·std::string·&IsolationString,
 32 ·71·readwrite_policy·rw=read_write);
35 ·69 
36 70·friend·class·internal::gate::errorhandler_connection_base; 
37 ·71·void·unregister()·noexcept; 
38 ·7233 ·72
39 ·73·errorhandler()·=delete; 
40 ·74·errorhandler(const·errorhandler·&)·=delete; 
41 ·75·errorhandler·&operator=(const·errorhandler·&)·=delete; 
42 ·76};34 ·73·explicit·dbtransaction(
 35 ·74·connection_base·&,
 36 ·75·bool·direct=true,
 37 ·76·readwrite_policy·rw=read_write);
43 ·7738 ·77
44 ·7839 ·78
45 80class·quiet_errorhandler·:·public·errorhandler40 80·void·start_backend_transaction();
46 ·81{41 ·81
47 ·82public: 
48 83·quiet_errorhandler(connection_base·&conn)·:·errorhandler{conn}·{} 
49 ·84 
50 85·virtual·bool·operator()(const·char[])·noexcept·override·{·return·false;·} 
51 ·86}; 
52 ·8742 ·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 ·89
 46 ·95·virtual·void·do_abort()·override;·//[t13]
 47 ·96
 48 ·97·static·std::string·fullname(const·std::string·&ttype,
 49 ·98·const·std::string·&isolation);
 50 ·99
 51 ·100private:
 52 ·102·std::string·m_start_cmd;
 53 ·103};
 54 ·104
53 ·92}·//·namespace·pqxx55 ·105}·//·namespace·pqxx
54 ·9356 ·106
55 ·94#include·"pqxx/compiler-internal-post.hxx"57 ·107#include·"pqxx/compiler-internal-post.hxx"
56 ·9558 ·108
57 ·96#endif59 ·109#endif
58 pqxx60 pqxx
59 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.61 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
60 Definition:·array.hxx:2662 Definition:·array.hxx:26
 63 pqxx::readwrite_policy
 64 readwrite_policy
 65 Definition:·dbtransaction.hxx:25
 66 pqxx::read_only
 67 @·read_only
 68 Definition:·dbtransaction.hxx:26
 69 pqxx::read_write
 70 @·read_write
 71 Definition:·dbtransaction.hxx:27
61 pqxx::connection_base72 pqxx::connection_base
62 connection_base·abstract·base·class;·represents·a·connection·to·a·database.73 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
63 Definition:·connection_base.hxx:14074 Definition:·connection_base.hxx:140
 75 pqxx::dbtransaction
 76 Abstract·base·class·responsible·for·bracketing·a·backend·transaction.
 77 Definition:·dbtransaction.hxx:63
 78 pqxx::dbtransaction::start_backend_transaction
 79 void·start_backend_transaction()
 80 Start·a·transaction·on·the·backend·and·set·desired·isolation·level.
 81 pqxx::dbtransaction::do_commit
 82 virtual·void·do_commit()·override=0
 83 To·be·implemented·by·derived·class:·commit·backend·transaction.
 84 pqxx::result
 85 Result·set·containing·data·returned·by·a·query·or·command.
 86 Definition:·result.hxx:70
 87 pqxx::transaction_base
 88 Interface·definition·(and·common·code)·for·"transaction"·classes.
 89 Definition:·transaction_base.hxx:138
64 pqxx::errorhandler 
65 Base·class·for·error-handler·callbacks. 
66 Definition:·errorhandler.hxx:55 
67 pqxx::errorhandler::operator() 
68 virtual·bool·operator()(const·char·msg[])·noexcept=0 
69 Define·in·subclass:·receive·an·error·or·warning·message·from·the·database. 
70 pqxx::quiet_errorhandler 
71 An·error·handler·that·suppresses·any·previously·registered·error·handlers. 
Max diff block lines reached; 97/4258 bytes (2.28%) of diff not shown.
135 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:·types.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, 87 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('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">types.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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·PQXX_H_TYPES</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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·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_LARGEOBJECT</span></div>
68 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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>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="l00014"·name="l00014"></a><span·class="lineno">···14</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>
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>73 <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"><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">s[·...·truncated·by·diffoscope;·len:·18,·SHA:·1944e8d478cfe667ef2d3c3bacdd4806d0b7117a971cc02349194980da173658·...·]</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>
76 <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>
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>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="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> 
80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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="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="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> 
84 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
85 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>81 <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="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>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>
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>86 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·namespace·pqxx</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>
106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>
Max diff block lines reached; 28523/114773 bytes (24.85%) of diff not shown.
22.6 KB
html2text {}
    
Offset 1, 127 lines modifiedOffset 1, 691 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 types.hxx2 largeobject.hxx
3 ·13 ·1
4 ·10#ifndef·PQXX_H_TYPES 
5 ·11#define·PQXX_H_TYPES 
6 ·124 ·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
7 ·13#include·<cstddef>10 ·19#include·<streambuf>
 11 ·20
 12 ·21#include·"pqxx/dbtransaction.hxx"
8 ·14 
9 ·15namespace·pqxx 
10 ·16{ 
11 18using·result_size_type·=·unsigned·long; 
12 ·19 
13 21using·result_difference_type·=·signed·long; 
14 ·2213 ·22
15 24using·row_size_type·=·unsigned·int;14 ·23
 15 ·24namespace·pqxx
16 ·2516 ·25{
 17 ·27
 18 34class·PQXX_LIBEXPORT·largeobject
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 ·3519 ·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;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]
Max diff block lines reached; 10334/23071 bytes (44.79%) of diff not shown.
43.6 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:·config.h·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, 130 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('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">config.h</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><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_TABLEREADER</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_TABLEREADER</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>
 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>
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="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·&quot;pqxx/tablestream.hxx&quot;</span></div>
82 <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>·</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> 
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="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="preprocessor">#define·HAVE_STDINT_H·1</span></div>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</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>
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> 
91 <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> 
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> 
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>79 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</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>80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</span>:</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>
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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> 
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> 
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> 
Max diff block lines reached; 17015/36800 bytes (46.24%) of diff not shown.
7.5 KB
html2text {}
    
Offset 1, 123 lines modifiedOffset 1, 144 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 tablereader.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_TABLEREADER
 5 ·14#define·PQXX_H_TABLEREADER
17 ·156 ·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·17 ·16#include·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18#include·"pqxx/result.hxx"
 10 ·19#include·"pqxx/tablestream.hxx"
 11 ·20
23 ·2112 ·21
 13 ·22namespace·pqxx
 14 ·23{
 15 ·25
 16 29class·PQXX_LIBEXPORT·tablereader·:·public·tablestream
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 ·3017 ·30{
 18 ·31public:
 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
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/" 
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 ·66 
71 ·67/*·Define·to·the·one·symbol·short·name·of·this·package.·*/ 
72 ·68#define·PACKAGE_TARNAME·"libpqxx" 
73 ·6956 ·69
Max diff block lines reached; 1446/7659 bytes (18.88%) of diff not shown.
121 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:·largeobject.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, 537 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('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">largeobject.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="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> 
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> 
164 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div> 
Max diff block lines reached; 863/103585 bytes (0.83%) of diff not shown.
20.0 KB
html2text {}
    
Offset 1, 691 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 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·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
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); 
113 ·200 
114 201·~largeobjectaccess()·noexcept·{·close();·} 
Max diff block lines reached; 105/20443 bytes (0.51%) of diff not shown.
53.5 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:·result.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, 224 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('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">result.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_RESULT</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="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;ios&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;stdexcept&gt;</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><span·class="preprocessor">#include·&quot;pqxx/except.hxx&quot;</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>
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> 
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> 
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> 
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> 
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"·href="a01403.html">const_reverse_iterator</a>;</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> 
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> 
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">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> 
126 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</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> 
131 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</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> 
133 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··const_iterator·cbegin()·const·noexcept;</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> 
136 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</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> 
139 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</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> 
143 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
144 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordtype">void</span>·swap(<a·class="code·hl_class"·href="a01395.html">result</a>·&amp;)·<span·class="keyword">noexcept</span>;·········································<span·class="comment">//[t77]</span></div> 
145 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
146 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·operator[](size_type·i)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>;·····················<span·class="comment">//[t02]</span></div> 
147 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01415.html">row</a>·at(size_type)·<span·class="keyword">const</span>;········································<span·class="comment">//[t10]</span></div> 
148 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
149 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01395.html#a60340a6e20a3b018a296c2e42528198d">··121</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01395.html#a60340a6e20a3b018a296c2e42528198d">clear</a>()·noexcept·{·m_data.reset();·m_query·=·<span·class="keyword">nullptr</span>;·}··········<span·class="comment">//[t20]</span></div> 
150 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
151 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··PQXX_PURE·<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·columns()·const·noexcept;·····················<span·class="comment">//[t11]</span></div> 
152 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
153 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·column_number(const·<span·class="keywordtype">char</span>·ColName[])·const;··············<span·class="comment">//[t11]</span></div> 
154 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> 
155 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a01395.html#a490f28c82d1725c252e842106e15dc79">··134</a></span>··<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·column_number(const·<a·class="code·hl_namespace"·href="a00264.html">std</a>::<span·class="keywordtype">string</span>·&amp;Name)·const············<span·class="comment">//[t11]</span></div> 
156 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>········{<span·class="keywordflow">return</span>·column_number(Name.c_str());}</div> 
157 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
158 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*column_name(<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·Number)·<span·class="keyword">const</span>;··················<span·class="comment">//[t11]</span></div> 
159 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
160 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··oid·column_type(<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>·ColNum)·<span·class="keyword">const</span>;··························<span·class="comment">//[t07]</span></div> 
161 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a01395.html#a48f91fe768f6c2e18cf6457038e8faae">··143</a></span><span·class="comment"></span>··oid·<a·class="code·hl_function"·href="a01395.html#a48f91fe768f6c2e18cf6457038e8faae">column_type</a>(<span·class="keywordtype">int</span>·ColNum)·<span·class="keyword">const</span>·····································<span·class="comment">//[t07]</span></div> 
162 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>········{·<span·class="keywordflow">return</span>·column_type(<a·class="code·hl_typedef"·href="a00265.html#aecdd4e9a0ccdb2049a03637f03f0684f">row_size_type</a>(ColNum));·}</div> 
163 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
164 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01395.html#a40c855b2bf55f2e65a82622228d8f4f3">··147</a></span>··oid·<a·class="code·hl_function"·href="a01395.html#a40c855b2bf55f2e65a82622228d8f4f3">column_type</a>(<span·class="keyword">const</span>·std::string·&amp;ColName)·<span·class="keyword">const</span>·····················<span·class="comment">//[t07]</span></div> 
Max diff block lines reached; 856/45658 bytes (1.87%) of diff not shown.
8.83 KB
html2text {}
    
Offset 1, 276 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 result.hxx 
3 ·1 
4 ·13#ifndef·PQXX_H_RESULT 
5 ·14#define·PQXX_H_RESULT 
6 ·15 
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18 
10 ·19#include·<ios> 
11 ·20#include·<memory> 
12 ·21#include·<stdexcept> 
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#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 
21 ·30//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
22 ·31 
23 ·32namespace·pqxx 
24 ·33{ 
25 ·34namespace·internal 
26 ·35{ 
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: 
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; 
69 ·103 
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; 
74 ·108 
75 ·109·reference·front()·const·noexcept;·//[t74] 
76 ·110·reference·back()·const·noexcept;·//[t75] 
77 ·111 
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] 
81 ·115 
82 ·116·void·swap(result·&)·noexcept;·//[t77] 
83 ·117 
84 ·118·const·row·operator[](size_type·i)·const·noexcept;·//[t02] 
85 ·119·const·row·at(size_type)·const;·//[t10] 
86 ·120 
87 121·void·clear()·noexcept·{·m_data.reset();·m_query·=·nullptr;·}·//[t20] 
88 ·122 
89 ·128·PQXX_PURE·row_size_type·columns()·const·noexcept;·//[t11] 
90 ·129 
91 ·131·row_size_type·column_number(const·char·ColName[])·const;·//[t11] 
92 ·132 
93 134·row_size_type·column_number(const·std::string·&Name)·const·//[t11] 
94 ·135·{return·column_number(Name.c_str());} 
95 ·136 
96 ·138·const·char·*column_name(row_size_type·Number)·const;·//[t11] 
97 ·139 
98 ·141·oid·column_type(row_size_type·ColNum)·const;·//[t07] 
99 143·oid·column_type(int·ColNum)·const·//[t07] 
100 ·144·{·return·column_type(row_size_type(ColNum));·} 
101 ·145 
102 147·oid·column_type(const·std::string·&ColName)·const·//[t07] 
103 ·148·{·return·column_type(column_number(ColName));·} 
104 ·149 
105 151·oid·column_type(const·char·ColName[])·const·//[t07] 
106 ·152·{·return·column_type(column_number(ColName));·} 
107 ·153 
108 ·155·oid·column_table(row_size_type·ColNum)·const;·//[t02] 
109 ·156 
110 158·oid·column_table(int·ColNum)·const·//[t02] 
111 ·159·{·return·column_table(row_size_type(ColNum));·} 
112 ·160 
113 162·oid·column_table(const·std::string·&ColName)·const·//[t02] 
114 ·163·{·return·column_table(column_number(ColName));·} 
115 ·164 
Max diff block lines reached; 98/9017 bytes (1.09%) of diff not shown.
29.7 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:·compiler-internal-post.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, 32 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('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">compiler-internal-post.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="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_PIPELINE</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_PIPELINE</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·&quot;pqxx/compiler-public.hxx&quot;</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>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="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;limits&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>
 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/transaction_base.hxx&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>·</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>
 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_class"·href="a01519.html">internal::transactionfocus</a></div>
 86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>
 87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</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>·=·long;</div>
 89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>
 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>
 98 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>
 101 <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>
 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>
 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>
 107 <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>
 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>
 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="keyword">private</span>:</div>
 139 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····std::string·m_query;</div>
 140 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····result·m_res;</div>
 141 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</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>··<span·class="keyword">using·</span>QueryMap·=·std::map&lt;query_id,Query&gt;;</div>
 144 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div>
 145 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keywordtype">void</span>·attach();</div>
 146 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··<span·class="keywordtype">void</span>·detach();</div>
 147 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
 148 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·query_id·qid_limit()·noexcept</div>
 149 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>··{</div>
 150 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····<span·class="comment">//·Parenthesise·this·to·work·around·an·eternal·Visual·C++·problem:</span></div>
 151 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>····<span·class="comment">//·Without·the·extra·parentheses,·unless·NOMINMAX·is·defined,·the</span></div>
 152 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<span·class="comment">//·preprocessor·will·mistake·this·&quot;max&quot;·for·its·annoying·built-in·macro</span></div>
 153 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>····<span·class="comment">//·of·the·same·name.</span></div>
 154 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>····<span·class="keywordflow">return</span>·(std::numeric_limits&lt;query_id&gt;::max)();</div>
 155 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>··}</div>
 156 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>
 157 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>··PQXX_PRIVATE·query_id·generate_id();</div>
 158 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div>
 159 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>··<span·class="keywordtype">bool</span>·have_pending()·const·noexcept</div>
 160 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>········{·<span·class="keywordflow">return</span>·m_issuedrange.second·!=·m_issuedrange.first;·}</div>
 161 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>·</div>
 162 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·issue();</div>
 163 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div>
Max diff block lines reached; 860/25631 bytes (3.36%) of diff not shown.
4.54 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 169 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal-post.hxx2 pipeline.hxx
3 ·13 ·1
 4 ·13#ifndef·PQXX_H_PIPELINE
 5 ·14#define·PQXX_H_PIPELINE
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·"pqxx/compiler-public.hxx"
 8 ·17#include·"pqxx/compiler-internal-pre.hxx"
 9 ·18
 10 ·19#include·<limits>
 11 ·20#include·<map>
 12 ·21#include·<string>
 13 ·22
 14 ·23#include·"pqxx/transaction_base.hxx"
 15 ·24
 16 ·25
 17 ·26//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 18 ·27
 19 ·28namespace·pqxx
 20 ·29{
 21 ·30
 22 ·32
 23 48class·PQXX_LIBEXPORT·pipeline·:·public·internal::transactionfocus
 24 ·49{
 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 ·59
 35 ·60·~pipeline()·noexcept;
 36 ·61
 37 ·63
 38 ·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
 66 ·135private:
 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·};
11 ·1980 ·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();
 96 ·167
 97 ·168·bool·have_pending()·const·noexcept
 98 ·169·{·return·m_issuedrange.second·!=·m_issuedrange.first;·}
 99 ·170
 100 ·171·PQXX_PRIVATE·void·issue();
 101 ·172
 102 ·174·void·set_error_at(query_id·qid)·noexcept
 103 ·175·{·if·(qid·<·m_error)·m_error·=·qid;·}
 104 ·176
 105 ·178·[[noreturn]]·PQXX_PRIVATE·void·internal_error(const·std::string·&err);
 106 ·179
 107 ·180·PQXX_PRIVATE·bool·obtain_result(bool·expect_none=false);
 108 ·181
 109 ·182·PQXX_PRIVATE·void·obtain_dummy();
 110 ·183·PQXX_PRIVATE·void·get_further_available_results();
 111 ·184·PQXX_PRIVATE·void·check_end_results();
 112 ·185
 113 ·187·PQXX_PRIVATE·void·receive_if_available();
 114 ·188
 115 ·190·PQXX_PRIVATE·void·receive(pipeline::QueryMap::const_iterator·stop);
 116 ·191·std::pair<pipeline::query_id,·result>
Max diff block lines reached; 102/4628 bytes (2.20%) of diff not shown.
26.6 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:·tablestream.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, 76 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('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">tablestream.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_TABLESTREAM</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_TABLESTREAM</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> 
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>
 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>·</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="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>
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="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>
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> 
79 <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>
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">public</span>:</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>gate</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>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>
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>82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div>
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>83 <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·colbegin,·ITER·colend)</div> 
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div>84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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,[·...·truncated·by·diffoscope;·len:·9,·SHA:·24c6345bf4517b51dd8e4e1b7971b411b37f42e17add68712d3d9bd990b24886·...·]</div>85 <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>
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>87 <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>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>
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>91 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>
 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>
 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>
 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>
 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>
 116 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</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>
 118 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#endif</span></div>119 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">#endif</span></div>
111 <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>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>
 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>
 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="ttdef"><b>Definition:</b>·errorhandler.hxx:83</div></div>
112 <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·access)</div><div·class="ttdoc">Represent·sequence·of·values·as·a·string,·joined·by·a·given·separator.</div><div·class="ttdef"><b>Definition:</b>·util.hxx:95</div></div> 
113 <div·class="ttc"·id="aa01495_html"><div·class="ttname"><a·href="a01495.html">pqxx::tablestream</a></div><div·class="ttdoc">Base·class·for·obsolete·tablereader/tablewriter·classes.</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:28</div></div> 
114 <div·class="ttc"·id="aa01495_html_a0241100d03b034b8e7b59201a6a1b88f"><div·class="ttname"><a·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">pqxx::tablestream::complete</a></div><div·class="ttdeci">virtual·void·complete()=0</div></div> 
115 <div·class="ttc"·id="aa01495_html_a34f9b2e0a113837813edc52133ebbcf9"><div·class="ttname"><a·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">pqxx::tablestream::NullStr</a></div><div·class="ttdeci">const·std::string·&amp;·NullStr()·const</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:36</div></div> 
116 <div·class="ttc"·id="aa01495_html_a4f0723693cf935e9523f74dd1988be5c"><div·class="ttname"><a·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">pqxx::tablestream::is_finished</a></div><div·class="ttdeci">bool·is_finished()·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:37</div></div> 
117 <div·class="ttc"·id="aa01495_html_ae36c9e2bd18b6ed8a6c942ba616154b2"><div·class="ttname"><a·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">pqxx::tablestream::columnlist</a></div><div·class="ttdeci">static·std::string·columnlist(ITER·colbegin,·ITER·colend)</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:52</div></div> 
118 <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> 
119 <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> 
120 </div><!--·fragment·--></div><!--·contents·-->127 </div><!--·fragment·--></div><!--·contents·-->
121 </div><!--·doc-content·-->128 </div><!--·doc-content·-->
122 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
123 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->130 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
124 ··<ul>131 ··<ul>
125 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>tablestream.hxx</b></li>132 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>errorhandler.hxx</b></li>
126 ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4·</li>133 ····<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>
127 ··</ul>134 ··</ul>
Max diff block lines reached; 18/22745 bytes (0.08%) of diff not shown.
4.27 KB
html2text {}
    
Offset 1, 85 lines modifiedOffset 1, 89 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablestream.hxx2 errorhandler.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_TABLESTREAM 
5 ·14#define·PQXX_H_TABLESTREAM4 ·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" 
10 ·199 ·18
 10 ·19#include·"pqxx/types.hxx"
11 ·2011 ·20
 12 ·21
12 ·21namespace·pqxx13 ·22namespace·pqxx
13 ·22{14 ·23{
 15 ·24namespace·internal
14 ·24 
15 26class·PQXX_LIBEXPORT·PQXX_NOVTABLE·tablestream·: 
16 ·27·public·internal::transactionfocus 
17 ·28{16 ·25{
 17 ·26namespace·gate
 18 ·27{
 19 ·28class·errorhandler_connection_base;
 20 ·29}
 21 ·30}
 22 ·31
 23 ·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:
 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{
18 ·29public:47 ·82public:
 48 83·quiet_errorhandler(connection_base·&conn)·:·errorhandler{conn}·{}
 49 ·84
 50 85·virtual·bool·operator()(const·char[])·noexcept·override·{·return·false;·}
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; 
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); 
30 ·41private: 
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};51 ·86};
 52 ·87
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} 
45 ·56}·//·namespace·pqxx53 ·92}·//·namespace·pqxx
46 ·5754 ·93
47 ·58#include·"pqxx/compiler-internal-post.hxx"55 ·94#include·"pqxx/compiler-internal-post.hxx"
 56 ·95
48 ·59#endif57 ·96#endif
49 pqxx58 pqxx
50 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.59 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
51 Definition:·array.hxx:2660 Definition:·array.hxx:26
 61 pqxx::connection_base
 62 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
52 pqxx::separated_list 
53 std::string·separated_list(const·std::string·&sep,·ITER·begin,·ITER·end,·ACCESS 
54 access) 
55 Represent·sequence·of·values·as·a·string,·joined·by·a·given·separator. 
56 Definition:·util.hxx:95 
57 pqxx::tablestream 
58 Base·class·for·obsolete·tablereader/tablewriter·classes. 
59 Definition:·tablestream.hxx:28 
60 pqxx::tablestream::complete 
61 virtual·void·complete()=0 
62 pqxx::tablestream::NullStr 
63 const·std::string·&·NullStr()·const 
64 Definition:·tablestream.hxx:36 
65 pqxx::tablestream::is_finished 
66 bool·is_finished()·const·noexcept 
67 Definition:·tablestream.hxx:37 
68 pqxx::tablestream::columnlist 
69 static·std::string·columnlist(ITER·colbegin,·ITER·colend) 
70 Definition:·tablestream.hxx:52 
71 pqxx::internal::transactionfocus 
72 Definition:·transaction_base.hxx:4463 Definition:·connection_base.hxx:140
73 pqxx::transaction_base 
74 Interface·definition·(and·common·code)·for·"transaction"·classes. 
75 Definition:·transaction_base.hxx:13864 pqxx::errorhandler
 65 Base·class·for·error-handler·callbacks.
 66 Definition:·errorhandler.hxx:55
 67 pqxx::errorhandler::operator()
 68 virtual·bool·operator()(const·char·msg[])·noexcept=0
 69 Define·in·subclass:·receive·an·error·or·warning·message·from·the·database.
Max diff block lines reached; 95/4351 bytes (2.18%) of diff not shown.
15.9 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:·nontransaction.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, 65 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('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">nontransaction.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="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>67 <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> 
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>68 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·_WIN32</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>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>70 <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/connection_base.hxx&quot;</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>
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="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·&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>75 <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>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>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>
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="l00035"·name="l00035"></a><span·class="lineno">···35</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> 
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·-->87 </div><!--·fragment·--></div><!--·contents·-->
110 </div><!--·doc-content·-->88 </div><!--·doc-content·-->
111 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
112 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->90 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
113 ··<ul>91 ··<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>92 ····<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-pre.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>93 ····<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>94 ··</ul>
117 </div>95 </div>
118 </body>96 </body>
119 </html>97 </html>
2.63 KB
html2text {}
    
Offset 1, 67 lines modifiedOffset 1, 36 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 nontransaction.hxx2 compiler-internal-pre.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_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" 
13 ·22 
14 ·23//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
15 ·2413 ·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
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 
58 ····*·include27 ····*·include
59 ····*·pqxx28 ····*·pqxx
60 ····*·nontransaction.hxx29 ····*·compiler-internal-pre.hxx
61 ····*·Generated·by·[doxygen]·1.9.430 ····*·Generated·by·[doxygen]·1.9.4
94.2 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:·compiler-internal.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, 54 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('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">compiler-internal.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_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_STRINGCONV</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_STRINGCONV</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>
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>·</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>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>·</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">#ifdef·_WIN32</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>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> 
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><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>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>
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>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
86 <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>
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> 
88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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> 
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>79 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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> 
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</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>
 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>
 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>
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>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>
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>
Max diff block lines reached; 854/80360 bytes (1.06%) of diff not shown.
15.6 KB
html2text {}
    
Offset 1, 46 lines modifiedOffset 1, 428 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal.hxx2 strconv.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_COMPILER_INTERNAL 
5 ·12#define·PQXX_H_COMPILER_INTERNAL4 ·11#ifndef·PQXX_H_STRINGCONV
 5 ·12#define·PQXX_H_STRINGCONV
6 ·136 ·13
7 ·14 
8 ·15//·Workarounds·&·definitions·needed·to·compile·libpqxx·into·a·library 
9 ·16#include·"pqxx/config-internal-compiler.h" 
10 ·17 
11 ·18#ifdef·_WIN327 ·14#include·"pqxx/compiler-public.hxx"
 8 ·15
 9 ·16#include·<limits>
 10 ·17#include·<sstream>
 11 ·18#include·<stdexcept>
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_SHARED 
18 ·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 (). 
24 ·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")))13 ·20
 14 ·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
30 ·3689 ·136
 90 ·137
31 ·37#endif·//·__GNUC__·&&·PQXX_HAVE_GCC_VISIBILITY 
32 ·38 
33 ·3991 ·139
34 ·40#include·"pqxx/compiler-public.hxx" 
35 ·4192 ·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
Max diff block lines reached; 96/15975 bytes (0.60%) of diff not shown.
27.0 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:·version.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, 45 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('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">version.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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_VERSION</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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·PQXX_H_TRANSACTION</span></div>
67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>68 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="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="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="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="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>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="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·PQXX_VERSION_MAJOR·6</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="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="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="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="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>
78 <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>
79 <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="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>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>
 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>
81 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>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>
83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</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>
 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>
 107 <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="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>
 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>
 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>
 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>
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>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>
86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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>
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>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>
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·ve[·...·truncated·by·diffoscope;·len:·17,·SHA:·b395367538b80589ec4636173ccfe9788c7d6780897b06bd663b0568cfd010cc·...·]</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>
 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>
 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>
 141 <div·class="ttc"·id="aa01515_html"><div·class="ttname"><a·href="a01515.html">pqxx::transaction</a></div><div·class="ttdoc">Standard·back-end·transaction,·templatized·on·isolation·level.</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:83</div></div>
 142 <div·class="ttc"·id="aa01515_html_a5ad879f746d13f51e469c67665b5d3f9"><div·class="ttname"><a·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">pqxx::transaction::transaction</a></div><div·class="ttdeci">transaction(connection_base·&amp;C,·const·std::string·&amp;TName)</div><div·class="ttdoc">Create·a·transaction.</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:93</div></div>
 143 <div·class="ttc"·id="aa01515_html_a664bdb9c889f946c162cac14bdbe6b7b"><div·class="ttname"><a·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">pqxx::transaction::transaction</a></div><div·class="ttdeci">transaction(connection_base·&amp;C)</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:98</div></div>
 144 <div·class="ttc"·id="aa01515_html_a69ab36d20e4b04500a094cae9954c97f"><div·class="ttname"><a·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">pqxx::transaction::~transaction</a></div><div·class="ttdeci">virtual·~transaction()·noexcept</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:101</div></div>
 145 <div·class="ttc"·id="aa01527_html_a1d2a8554499cbd93ff8c2bf5c15843ff"><div·class="ttname"><a·href="a01527.html#a1d2a8554499cbd93ff8c2bf5c15843ff">pqxx::transaction_base::Begin</a></div><div·class="ttdeci">void·Begin()</div><div·class="ttdoc">Begin·transaction·(to·be·called·by·implementing·class)</div><div·class="ttdef"><b>Definition:</b>·transaction_base.cxx:386</div></div>
 146 <div·class="ttc"·id="aa01527_html_afe72d50677298f6702c34bb860506454"><div·class="ttname"><a·href="a01527.html#afe72d50677298f6702c34bb860506454">pqxx::transaction_base::End</a></div><div·class="ttdeci">void·End()·noexcept</div><div·class="ttdoc">End·transaction.·To·be·called·by·implementing·class'·destructor.</div><div·class="ttdef"><b>Definition:</b>·transaction_base.cxx:408</div></div>
 147 <div·class="ttc"·id="aa01539_html_a3962cd8000c76fd68466510577a0e452"><div·class="ttname"><a·href="a01539.html#a3962cd8000c76fd68466510577a0e452">pqxx::internal::namedclass::namedclass</a></div><div·class="ttdeci">namedclass(const·std::string·&amp;Classname)</div><div·class="ttdef"><b>Definition:</b>·util.hxx:236</div></div>
 148 <div·class="ttc"·id="aa01539_html_a6aa4ca1f1708dfd5f6595884347cc093"><div·class="ttname"><a·href="a01539.html#a6aa4ca1f1708dfd5f6595884347cc093">pqxx::internal::namedclass::name</a></div><div·class="ttdeci">const·std::string·&amp;·name()·const·noexcept</div><div·class="ttdoc">Object·name,·or·the·empty·string·if·no·name·was·given.</div><div·class="ttdef"><b>Definition:</b>·util.hxx:249</div></div>
89 </div><!--·fragment·--></div><!--·contents·-->149 </div><!--·fragment·--></div><!--·contents·-->
90 </div><!--·doc-content·-->150 </div><!--·doc-content·-->
91 <!--·start·footer·part·-->151 <!--·start·footer·part·-->
92 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->152 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
93 ··<ul>153 ··<ul>
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>154 ····<li·class="navelem"><a·class="el"·href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li·class="navelem"><a·class="el"·href="dir_3d7cbfaf9a6edea0a348c9e21a88d076.html">pqxx</a></li><li·class="navelem"><b>transaction.hxx</b></li>
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>155 ····<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>
96 ··</ul>156 ··</ul>
97 </div>157 </div>
98 </body>158 </body>
99 </html>159 </html>
4.44 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 141 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 version.hxx2 transaction.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_VERSION4 ·12#ifndef·PQXX_H_TRANSACTION
5 ·125 ·13#define·PQXX_H_TRANSACTION
 6 ·14
6 ·13#include·"pqxx/compiler-public.hxx"7 ·15#include·"pqxx/compiler-public.hxx"
7 ·14#include·"pqxx/compiler-internal-pre.hxx"8 ·16#include·"pqxx/compiler-internal-pre.hxx"
8 ·15 
9 ·17#define·PQXX_VERSION·"6.4.4" 
10 ·19#define·PQXX_ABI·"6.4"9 ·17
 10 ·18#include·"pqxx/dbtransaction.hxx"
 11 ·19
11 ·2012 ·20
12 ·22#define·PQXX_VERSION_MAJOR·6 
13 ·24#define·PQXX_VERSION_MINOR·4 
14 ·2513 ·21/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"
 14 ·22·*/
 15 ·23
 16 ·24
15 ·26namespace·pqxx17 ·25namespace·pqxx
 18 ·26{
16 ·27{19 ·27
17 ·28namespace·internal20 ·28namespace·internal
18 ·29{21 ·29{
19 ·31 
20 53template<int,·int>·PQXX_LIBEXPORT·int·check_library_version()·noexcept; 
21 ·54} 
22 ·55}22 31class·PQXX_LIBEXPORT·basic_transaction·:·public·dbtransaction
 23 ·32{
 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};
 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
 42 ·83{
 43 ·84public:
 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();·}
 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
23 ·56#include·"pqxx/compiler-internal-post.hxx"66 ·115#include·"pqxx/compiler-internal-post.hxx"
24 ·57#endif67 ·116#endif
25 pqxx68 pqxx
26 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.69 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
27 Definition:·array.hxx:2670 Definition:·array.hxx:26
28 pqxx::internal::check_library_version 
29 int·check_library_version()·noexcept 
30 Library·version·check·stub.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
 84 pqxx::connection_base
 85 connection_base·abstract·base·class;·represents·a·connection·to·a·database.
 86 Definition:·connection_base.hxx:140
 87 pqxx::dbtransaction
 88 Abstract·base·class·responsible·for·bracketing·a·backend·transaction.
 89 Definition:·dbtransaction.hxx:63
 90 pqxx::dbtransaction::fullname
 91 static·std::string·fullname(const·std::string·&ttype,·const·std::string
 92 &isolation)
 93 Definition:·dbtransaction.cxx:95
 94 pqxx::isolation_traits
 95 Traits·class·to·describe·an·isolation·level;·primarly·for·libpqxx's·own·use.
 96 Definition:·isolation.hxx:66
 97 pqxx::internal::basic_transaction
 98 Helper·base·class·for·the·transaction·class·template.
 99 Definition:·transaction.hxx:32
 100 pqxx::internal::basic_transaction::basic_transaction
 101 basic_transaction(connection_base·&C,·const·std::string·&IsolationLevel,
 102 readwrite_policy)
 103 Definition:·transaction.cxx:20
 104 pqxx::transaction
 105 Standard·back-end·transaction,·templatized·on·isolation·level.
 106 Definition:·transaction.hxx:83
 107 pqxx::transaction::transaction
 108 transaction(connection_base·&C,·const·std::string·&TName)
 109 Create·a·transaction.
 110 Definition:·transaction.hxx:93
 111 pqxx::transaction::transaction
 112 transaction(connection_base·&C)
Max diff block lines reached; 90/4523 bytes (1.99%) of diff not shown.
42.5 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:·compiler-internal-pre.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, 43 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('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">compiler-internal-pre.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="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_BINARYSTRING</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>
 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>
67 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
68 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·_WIN32</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>
69 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifdef·_MSC_VER</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>
70 <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>
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><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>·</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>
75 <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>
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>80 <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>81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>
 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>
 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>
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</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>
 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>
Max diff block lines reached; 863/36350 bytes (2.37%) of diff not shown.
6.92 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 200 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-internal-pre.hxx2 binarystring.hxx
3 ·13 ·1
4 ·15//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!4 ·11#ifndef·PQXX_H_BINARYSTRING
 5 ·12#define·PQXX_H_BINARYSTRING
 6 ·13
 7 ·14#include·"pqxx/compiler-public.hxx"
 8 ·15#include·"pqxx/compiler-internal-pre.hxx"
5 ·169 ·16
6 ·17#ifdef·_WIN32 
7 ·18#ifdef·_MSC_VER10 ·17#include·<memory>
 11 ·18#include·<string>
8 ·1912 ·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 ·20#include·"pqxx/result.hxx"
 14 ·21
 15 ·22
 16 ·23namespace·pqxx
13 ·2417 ·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 ·3518 ·25
 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#endif
 101 pqxx
 102 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
 103 Definition:·array.hxx:26
 104 pqxx::binarystring
 105 Binary·data·corresponding·to·PostgreSQL's·"BYTEA"·binary-string·type.
Max diff block lines reached; 105/7060 bytes (1.49%) of diff not shown.
109 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:·strconv.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, 322 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('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">strconv.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="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_BASIC_CONNECTION</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_BASIC_CONNECTION</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>
 72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
75 <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><span·class="preprocessor">#include·&lt;memory&gt;</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>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>{</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>
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="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>
 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>
 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>
83 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">namespace·</span>internal</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>
84 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>92 <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>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">co[·...·truncated·by·diffoscope;·len:·34,·SHA:·8e789ca00d1e6c9aeaa6463d3dba2f67a048d2262dab24a91edb3dd94d17d67b·...·]</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>
87 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</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>
88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>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_c[·...·truncated·by·diffoscope;·len:·100,·SHA:·35e0fe19deaa3f692f662d49aa9e2a278d9fe568c9962d3a1724940bdc63a8cc·...·]</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>
93 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</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>
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>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>
112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>119 <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>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·[·...·truncated·by·diffoscope;·len:·35,·SHA:·fd75162130b8f04564266ac108e12fe7ca627a3547d5a3d9ba3e288e667163e1·...·]</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>
117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>125 <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_stru[·...·truncated·by·diffoscope;·len:·41,·SHA:·b15d550b7620d5d4463b49697d3861fc7dbd99343833b76af75b5c3f6448dbba·...·]</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#a864a689820abb61e79482142[·...·truncated·by·diffoscope;·len:·48,·SHA:·68924f810b2eef0d67aabe5b607ea1cb1d0aaf56625c5bc0cf8c39c04aef7a90·...·]</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>
119 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>{</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>
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> 
Max diff block lines reached; 23754/92600 bytes (25.65%) of diff not shown.
18.2 KB
html2text {}
    
Offset 1, 428 lines modifiedOffset 1, 134 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 strconv.hxx2 basic_connection.hxx
3 ·13 ·1
 4 ·13#ifndef·PQXX_H_BASIC_CONNECTION
 5 ·14#define·PQXX_H_BASIC_CONNECTION
4 ·11#ifndef·PQXX_H_STRINGCONV 
5 ·12#define·PQXX_H_STRINGCONV 
6 ·13 
7 ·14#include·"pqxx/compiler-public.hxx" 
8 ·156 ·15
9 ·16#include·<limits>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>
10 ·17#include·<sstream>12 ·21#include·<string>
11 ·18#include·<stdexcept> 
12 ·19 
13 ·2013 ·22
 14 ·23#include·"pqxx/connection_base.hxx"
 15 ·24
 16 ·25
14 ·21namespace·pqxx17 ·26namespace·pqxx
15 ·22{18 ·27{
16 ·23 
17 ·46 
18 ·48 
19 51template<typename·T,·typename·=·void>·struct·string_traits; 
20 ·52 
21 ·53namespace·internal19 ·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();·}
22 ·54{30 ·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 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();·}
31 ·7144 ·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>
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 ·9057 ·90{
51 91template<size_t·N>·struct·type_name<char[N]> 
52 92{·static·constexpr·const·char·*value·=·"char[]";·}; 
53 ·93 
54 ·9458 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)·{}
55 ·9663 ·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;
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 ·101};
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>·:·\ 
Max diff block lines reached; 8206/18598 bytes (44.12%) of diff not shown.
85.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:·isolation.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, 73 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('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">isolation.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_ISOLATION</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_ISOLATION</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·&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/util.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>
 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="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><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>
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>
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>
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_[·...·truncated·by·diffoscope;·len:·5,·SHA:·0081779c287d567d9ca622f4c0cc2ede819b0cc7f286a5f01d8c3c0178191ad6·...·]</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>
 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="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>
79 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>94 <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>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="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>97 <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>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>
87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</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>
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="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>101 <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>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>
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>104 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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>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#a8d5f8214ede2ab27dd588defc2847330a3ace6a7a5c[·...·truncated·by·diffoscope;·len:·34,·SHA:·9e140bae0c6d0aae80686c4ecb2df1423828b8cc8b80d9359b79defe2031dab4·...·]</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>
100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</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>
101 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span>&lt;&gt;</div>112 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</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>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>
104 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</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>
105 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}</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>
Max diff block lines reached; 18356/74042 bytes (24.79%) of diff not shown.
13.4 KB
html2text {}
    
Offset 1, 82 lines modifiedOffset 1, 419 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 isolation.hxx2 cursor.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ISOLATION4 ·13#ifndef·PQXX_H_CURSOR
5 ·14#define·PQXX_H_ISOLATION5 ·14#define·PQXX_H_CURSOR
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·<limits>
 11 ·20#include·<stdexcept>
 12 ·21
10 ·19#include·"pqxx/util.hxx"13 ·22#include·"pqxx/result.hxx"
 14 ·23#include·"pqxx/transaction_base.hxx"
 15 ·24
11 ·20 
12 ·21namespace·pqxx 
13 ·22{ 
14 ·23 
15 ·2516 ·25
16 56enum·isolation_level17 ·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·};
17 ·57{32 ·57
 33 ·59
 34 62·enum·updatepolicy
18 ·58·//·read_uncommitted, 
19 59·read_committed, 
20 60·repeatable_read, 
21 ·61·serializable 
22 62}; 
23 ·6335 ·63·{
 36 65·read_only,
 37 ·67·update
 38 68·};
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; 
28 ·69};39 ·69
29 ·70 
30 ·7140 ·71
31 ·72template<> 
32 73inline·constexpr·const·char·*isolation_traits<read_committed>::name() 
33 noexcept 
34 ·74·{·return·"READ·COMMITTED";·}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 ·128
 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};
 76 ·145}·//·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:
 89 164·using·size_type·=·result_size_type;
 90 165·using·difference_type·=·result_difference_type;
 91 ·166
 92 168·stateless_cursor(
 93 ·169·transaction_base·&trans,
 94 ·170·const·std::string·&query,
 95 ·171·const·std::string·&cname,
 96 ·172·bool·hold)·:
 97 ·173·m_cur{trans,·query,·cname,·cursor_base::random_access,·up,·op,·hold}
 98 ·174·{
 99 ·175·}
 100 ·176
 101 178·stateless_cursor(
 102 ·179·transaction_base·&trans,
 103 ·180·const·std::string·adopted_cursor)·:
 104 ·181·m_cur{trans,·adopted_cursor,·op}
Max diff block lines reached; 6083/13648 bytes (44.57%) of diff not shown.
120 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:·result_iterator.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, 249 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('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">result_iterator.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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_RESULT_ITERATOR</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="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_RESULT_ITERATOR</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="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/row.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="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>
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="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>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>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>
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>·</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>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>
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>84 <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·cl[·...·truncated·by·diffoscope;·len:·42,·SHA:·32b0dcbf0e4ed5ddfd8e6478072fcd0df5d03aff7085a221750dc11afc7919a8·...·]</a></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>
85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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>
86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>gate</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_[·...·truncated·by·diffoscope;·len:·118,·SHA:·3b2ae66acf6c7b528377ed601fdae3e4b897eecd737e43e092bf0f318f067160·...·]</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>
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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>100 <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> 
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>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>
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>103 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</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>104 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</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>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:·107,·SHA:·490a5aa0983e5ed259c4e99edb1d0c958240ee9aebe9a9b29861dce9a6da03b4·...·]</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>
 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>
 120 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
Max diff block lines reached; 68274/101644 bytes (67.17%) of diff not shown.
20.4 KB
html2text {}
    
Offset 1, 347 lines modifiedOffset 1, 276 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 result_iterator.hxx2 result.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_RESULT_ITERATOR4 ·13#ifndef·PQXX_H_RESULT
5 ·14#define·PQXX_H_RESULT_ITERATOR5 ·14#define·PQXX_H_RESULT
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·<ios>
 11 ·20#include·<memory>
 12 ·21#include·<stdexcept>
 13 ·22
 14 ·23#include·"pqxx/except.hxx"
 15 ·24#include·"pqxx/types.hxx"
10 ·19#include·"pqxx/row.hxx"16 ·25#include·"pqxx/util.hxx"
 17 ·26
 18 ·27#include·"pqxx/internal/encodings.hxx"
 19 ·28
11 ·20 
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·pqxx 
21 ·29{20 ·29
 21 ·30//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
22 ·3122 ·31
23 35class·PQXX_LIBEXPORT·const_result_iterator·:·public·row23 ·32namespace·pqxx
24 ·36{24 ·33{
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}·{}25 ·34namespace·internal
 26 ·35{
 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
35 ·4738 ·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]39 ·49
 40 69class·PQXX_LIBEXPORT·result
 41 ·70{
 42 ·71public:
 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;
 69 ·103
 70 ·104·const_iterator·begin()·const·noexcept;·//[t01]
 71 ·105·const_iterator·cbegin()·const·noexcept;
Max diff block lines reached; 16342/20844 bytes (78.40%) of diff not shown.
118 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:·compiler-public.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, 133 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('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">compiler-public.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="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·PQXX_H_COMPILER_PUBLIC</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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#define·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_ROW</span></div>
68 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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>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="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>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>
75 <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>
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>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>
79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</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>
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>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>
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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>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>
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> 
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>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>
97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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> 
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>84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</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>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</[·...·truncated·by·diffoscope;·len:·103,·SHA:·6fc473542097bf959508110da148804dc36950feff2e8136ef33a67dfc3619f3·...·]</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>
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</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>
109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>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>
111 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#ifdef·_MSC_VER</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>
112 <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>
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>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>
115 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</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>
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>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>
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>111 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</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>
135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>116 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</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>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>
Max diff block lines reached; 72155/100674 bytes (71.67%) of diff not shown.
19.8 KB
html2text {}
    
Offset 1, 129 lines modifiedOffset 1, 477 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 compiler-public.hxx2 row.hxx
3 ·13 ·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"
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 ·189 ·18
 10 ·19#include·"pqxx/except.hxx"
 11 ·20#include·"pqxx/field.hxx"
 12 ·21#include·"pqxx/result.hxx"
 13 ·22
 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]
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 ·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 
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 ·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]
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 
Max diff block lines reached; 15048/20268 bytes (74.25%) of diff not shown.
56.6 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:·stream_from.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, 229 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('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">stream_from.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>
 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>
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>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>
 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>
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>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>
68 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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>
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><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/stream_base.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>
 82 <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>
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>84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_POLL·1</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>85 <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="preprocessor">#include·&lt;string&gt;</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>·</div> 
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>88 <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>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>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>91 <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:·43,·SHA:·d6d1f93322c1c42cf4ff867c625b1743b8177b46858140e6d7d574c5a83ec04f·...·]></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="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</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>
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</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="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>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>
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>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>
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>100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</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>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>
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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>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>
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>115 <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>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>
106 <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>
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">private</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>
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>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>
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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>
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> 
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>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>
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>130 <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>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>
120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>
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>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>
126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>136 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
Max diff block lines reached; 20697/48130 bytes (43.00%) of diff not shown.
9.52 KB
html2text {}
    
Offset 1, 238 lines modifiedOffset 1, 123 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 stream_from.hxx2 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
3 ·114 ·12
4 ·13#ifndef·PQXX_H_STREAM_FROM 
5 ·14#define·PQXX_H_STREAM_FROM15 ·13/*·Define·to·1·if·you·have·the·<inttypes.h>·header·file.·*/
 16 ·14#define·HAVE_INTTYPES_H·1
6 ·1517 ·15
7 ·16#include·"pqxx/compiler-public.hxx" 
8 ·17#include·"pqxx/compiler-internal-pre.hxx" 
9 ·18#include·"pqxx/transaction_base.hxx" 
10 ·19#include·"pqxx/stream_base.hxx" 
11 ·20#include·"pqxx/internal/type_utils.hxx"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
12 ·2123 ·21
13 ·22#include·<string> 
14 ·2324 ·22/*·Define·to·1·if·you·have·the·<stdint.h>·header·file.·*/
 25 ·23#define·HAVE_STDINT_H·1
15 ·2426 ·24
16 ·25namespace·pqxx 
17 ·26{27 ·25/*·Define·to·1·if·you·have·the·<stdio.h>·header·file.·*/
 28 ·26#define·HAVE_STDIO_H·1
18 ·2729 ·27
19 29class·PQXX_LIBEXPORT·stream_from·:·public·stream_base30 ·28/*·Define·to·1·if·you·have·the·<stdlib.h>·header·file.·*/
 31 ·29#define·HAVE_STDLIB_H·1
20 ·30{32 ·30
21 ·31public: 
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;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
41 ·5153 ·51
42 ·52·bool·get_raw_line(std::string·&); 
43 ·53·template<typename·Tuple>·stream_from·&·operator>>(Tuple·&);54 ·52/*·Define·to·the·sub-directory·where·libtool·stores·uninstalled·libraries.
 55 */
 56 ·53#define·LT_OBJDIR·".libs/"
44 ·5457 ·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·);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"
56 ·6670 ·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<( 
Max diff block lines reached; 4260/9729 bytes (43.79%) of diff not shown.
100 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:·prepared_statement.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, 138 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('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">prepared_statement.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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_PREPARED_STATEMENT</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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·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_FIELD</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> 
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>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>
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>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>
 74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>
75 <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>
76 <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>
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>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>
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</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>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>
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#endif</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>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>
88 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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> 
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>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>
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>95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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>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>
100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{</div>97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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>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>
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</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#aedc82caeb739bf2[·...·truncated·by·diffoscope;·len:·128,·SHA:·26d069278596a762632c04c51d5023331b75f94a17b44bcefb1dc173fe589b17·...·]</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>
115 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</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>
 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>
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</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"><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>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>
120 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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="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>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="l00111"·name="l00111"></a><span·class="lineno">··111</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>
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>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="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>128 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
132 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</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>
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> 
Max diff block lines reached; 56174/85795 bytes (65.47%) of diff not shown.
16.3 KB
html2text {}
    
Offset 1, 172 lines modifiedOffset 1, 418 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 prepared_statement.hxx2 field.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_PREPARED_STATEMENT 
5 ·12#define·PQXX_H_PREPARED_STATEMENT 
6 ·134 ·13#ifndef·PQXX_H_FIELD
 5 ·14#define·PQXX_H_FIELD
 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 ·16 
10 ·17#include·"pqxx/types.hxx"9 ·18#include·"pqxx/internal/type_utils.hxx"
11 ·18#include·"pqxx/internal/statement_parameters.hxx" 
12 ·1910 ·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"
 29 ·38#include·"pqxx/types.hxx"
 30 ·39
 31 ·40
 32 ·41//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 33 ·42
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·pqxx34 ·43namespace·pqxx
 35 ·44{
 36 ·46
 37 49class·PQXX_LIBEXPORT·field
39 ·75{38 ·50{
40 ·76namespace·prepare 
41 ·77{ 
42 ·79 
43 81class·PQXX_LIBEXPORT·invocation·:·internal::statement_parameters 
44 ·82{ 
45 ·83public:39 ·51public:
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 ·9540 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]
56 ·9753 ·97
 54 ·99·oid·type()·const;·//[t07]
57 100·template<typename·T>·invocation·&operator()(const·T·&v) 
58 ·101·{·add_param(v,·true);·return·*this;·} 
59 ·10255 ·100
 56 ·102·oid·table()·const;·//[t02]
60 ·10457 ·103
61 107·invocation·&operator()(const·binarystring·&v) 
62 ·108·{·add_binary_param(v,·true);·return·*this;·}58 104·row_size_type·num()·const·{·return·col();·}·//[t82]
 59 ·105
 60 ·107·row_size_type·table_column()·const;·//[t93]
63 ·10961 ·109
64 ·11162 ·115
 63 ·120·const·char·*c_str()·const;·//[t02]
65 115·template<typename·T>·invocation·&operator()(const·T·&v,·bool·nonnull) 
66 ·116·{·add_param(v,·nonnull);·return·*this;·} 
67 ·11764 ·121
 65 ·123·bool·is_null()·const·noexcept;·//[t12]
68 ·119 
69 123·invocation·&operator()(const·binarystring·&v,·bool·nonnull) 
70 ·124·{·add_binary_param(v,·nonnull);·return·*this;·} 
71 ·12566 ·124
72 ·12767 ·126
 68 ·129·size_type·size()·const·noexcept;·//[t11]
73 134·template<typename·T>·invocation·&operator()(T·*v,·bool·nonnull=true) 
74 ·135·{·add_param(v,·nonnull);·return·*this;·} 
Max diff block lines reached; 12225/16653 bytes (73.41%) of diff not shown.
31.7 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:·robusttransaction.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, 106 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('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">robusttransaction.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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_ROBUSTTRANSACTION</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="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·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_TABLESTREAM</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>·</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>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> 
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> 
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>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>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>76 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>internal</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>
81 <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>
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>80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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>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>
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">protected</span>:</div>86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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>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#a34f9b2e0a113837813edc52133e[·...·truncated·by·diffoscope;·len:·107,·SHA:·1420f845f5ee1cd2babab47c819abfac1341b8fa72a9be6e52f1ac27b87ad5d9·...·]</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="l00042"·name="l00042"></a><span·class="lineno">···42</span>········<span·class="keyword">const</span>·std::string·&amp;IsolationLevel,</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="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>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>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><span·class="keyword">private</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>
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>99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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>100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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>
 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>
117 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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> 
121 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="keyword">public</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"·href="a01343.html">isolation_traits&lt;ISOLATIONLEVEL&gt;</a>;</div> 
123 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> 
124 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
125 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a01411.html#aa9dbdfdc33ba3dc0b86cfc684b08073d">··150</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01411.html#aa9dbdfdc33ba3dc0b86cfc684b08073d">robusttransaction</a>(</div> 
126 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>········<a·class="code·hl_class"·href="a01135.html">connection_base</a>·&amp;C,</div> 
127 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>········<span·class="keyword">const</span>·std::string·&amp;Name=std::string{})·:</div> 
128 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>····namedclass{fullname(<span·class="stringliteral">&quot;robusttransaction&quot;</span>,isolation_tag::name()),·Name},</div> 
129 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····internal::basic_robusttransaction(C,·isolation_tag::name())</div> 
130 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>········{·Begin();·}</div> 
131 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
132 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno"><a·class="line"·href="a01411.html#a3e9ecf63ef572f795387c3daedd6574e">··157</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01411.html#a3e9ecf63ef572f795387c3daedd6574e">~robusttransaction</a>()·noexcept</div> 
133 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>········{·End();·}</div> 
134 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>};</div> 
135 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>·</div> 
136 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
137 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
138 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
139 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="preprocessor">#endif</span></div>110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#endif</span></div>
140 <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>111 <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>
 112 <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·access)</div><div·class="ttdoc">Represent·sequence·of·values·as·a·string,·joined·by·a·given·separator.</div><div·class="ttdef"><b>Definition:</b>·util.hxx:95</div></div>
 113 <div·class="ttc"·id="aa01495_html"><div·class="ttname"><a·href="a01495.html">pqxx::tablestream</a></div><div·class="ttdoc">Base·class·for·obsolete·tablereader/tablewriter·classes.</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:28</div></div>
 114 <div·class="ttc"·id="aa01495_html_a0241100d03b034b8e7b59201a6a1b88f"><div·class="ttname"><a·href="a01495.html#a0241100d03b034b8e7b59201a6a1b88f">pqxx::tablestream::complete</a></div><div·class="ttdeci">virtual·void·complete()=0</div></div>
 115 <div·class="ttc"·id="aa01495_html_a34f9b2e0a113837813edc52133ebbcf9"><div·class="ttname"><a·href="a01495.html#a34f9b2e0a113837813edc52133ebbcf9">pqxx::tablestream::NullStr</a></div><div·class="ttdeci">const·std::string·&amp;·NullStr()·const</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:36</div></div>
 116 <div·class="ttc"·id="aa01495_html_a4f0723693cf935e9523f74dd1988be5c"><div·class="ttname"><a·href="a01495.html#a4f0723693cf935e9523f74dd1988be5c">pqxx::tablestream::is_finished</a></div><div·class="ttdeci">bool·is_finished()·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:37</div></div>
 117 <div·class="ttc"·id="aa01495_html_ae36c9e2bd18b6ed8a6c942ba616154b2"><div·class="ttname"><a·href="a01495.html#ae36c9e2bd18b6ed8a6c942ba616154b2">pqxx::tablestream::columnlist</a></div><div·class="ttdeci">static·std::string·columnlist(ITER·colbegin,·ITER·colend)</div><div·class="ttdef"><b>Definition:</b>·tablestream.hxx:52</div></div>
Max diff block lines reached; 858/26757 bytes (3.21%) of diff not shown.
5.41 KB
html2text {}
    
Offset 1, 119 lines modifiedOffset 1, 85 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 robusttransaction.hxx2 tablestream.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ROBUSTTRANSACTION 
5 ·14#define·PQXX_H_ROBUSTTRANSACTION4 ·13#ifndef·PQXX_H_TABLESTREAM
 5 ·14#define·PQXX_H_TABLESTREAM
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·"pqxx/dbtransaction.hxx"9 ·18#include·"pqxx/transaction_base.hxx"
 10 ·19
11 ·2011 ·20
12 ·21 
13 ·22//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
14 ·23 
15 ·24namespace·pqxx12 ·21namespace·pqxx
16 ·25{13 ·22{
17 ·26 
18 ·27namespace·internal14 ·24
 15 26class·PQXX_LIBEXPORT·PQXX_NOVTABLE·tablestream·:
 16 ·27·public·internal::transactionfocus
19 ·28{17 ·28{
20 30class·PQXX_LIBEXPORT·PQXX_NOVTABLE·basic_robusttransaction·: 
21 ·31·public·dbtransaction 
22 ·32{ 
23 ·33public:18 ·29public:
24 35·using·isolation_tag·=·isolation_traits<read_committed>; 
25 ·36 
26 ·37·virtual·~basic_robusttransaction()·=0;·//[t16] 
27 ·3819 ·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;
28 ·39protected:24 ·35protected:
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]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);
 30 ·41private:
 31 ·42·std::string·m_null;
 32 ·43·bool·m_finished·=·false;
33 ·4433 ·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}
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 ·146 
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();·} 
69 ·156 
70 157·virtual·~robusttransaction()·noexcept 
71 ·158·{·End();·} 
72 ·159}; 
73 ·160 
74 ·165}·//·namespace·pqxx45 ·56}·//·namespace·pqxx
75 ·16646 ·57
76 ·167#include·"pqxx/compiler-internal-post.hxx"47 ·58#include·"pqxx/compiler-internal-post.hxx"
77 ·168#endif48 ·59#endif
78 pqxx49 pqxx
79 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.50 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
80 Definition:·array.hxx:2651 Definition:·array.hxx:26
81 pqxx::isolation_level 
82 isolation_level 
83 Transaction·isolation·levels.52 pqxx::separated_list
 53 std::string·separated_list(const·std::string·&sep,·ITER·begin,·ITER·end,·ACCESS
 54 access)
 55 Represent·sequence·of·values·as·a·string,·joined·by·a·given·separator.
84 Definition:·isolation.hxx:5756 Definition:·util.hxx:95
85 pqxx::read_committed 
86 @·read_committed 
87 Definition:·isolation.hxx:59 
88 pqxx::connection_base 
89 connection_base·abstract·base·class;·represents·a·connection·to·a·database.57 pqxx::tablestream
 58 Base·class·for·obsolete·tablereader/tablewriter·classes.
 59 Definition:·tablestream.hxx:28
 60 pqxx::tablestream::complete
Max diff block lines reached; 100/5512 bytes (1.81%) of diff not shown.
40.3 KB
./usr/share/doc/libpqxx-doc/html/Reference/a00077_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">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_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, 69 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('a00077_source.html','');·initResizable();·});57 $(document).ready(function(){initNavTree('a00077_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_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_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_TO</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_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>·</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/stream_base.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><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/types.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="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>
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>
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="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> 
82 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</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> 
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> 
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>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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>82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</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_class"·href="a01471.html">stream_base</a></div>
 84 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div>
94 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">protected</span>:</div>85 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</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>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>
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>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>
101 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}</div>103 <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>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>
 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>
 145 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>)·:</div>
 146 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··namedclass{<span·class="stringliteral">&quot;stream_from&quot;</span>,·table_name},</div>
 147 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>··<a·class="code·hl_class"·href="a01471.html">stream_base</a>{tb}</div>
 148 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>{</div>
Max diff block lines reached; 7516/34532 bytes (21.77%) of diff not shown.
6.5 KB
html2text {}
    
Offset 1, 74 lines modifiedOffset 1, 189 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 notification.hxx2 stream_to.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_NOTIFICATION 
5 ·14#define·PQXX_H_NOTIFICATION4 ·13#ifndef·PQXX_H_STREAM_TO
 5 ·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 
10 ·19#include·<string> 
11 ·20 
12 ·21#include·"pqxx/types.hxx"10 ·19#include·"pqxx/stream_base.hxx"
 11 ·20#include·"pqxx/stream_from.hxx"
 12 ·21#include·"pqxx/internal/type_utils.hxx"
13 ·2213 ·22
14 ·2314 ·23#include·<string>
 15 ·24
 16 ·25
15 ·24namespace·pqxx17 ·26namespace·pqxx
16 ·25{ 
17 ·2718 ·27{
18 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·notification_receiver19 ·28
 20 ·30
 21 59class·PQXX_LIBEXPORT·stream_to·:·public·stream_base
19 ·56{22 ·60{
20 ·57public:23 ·61public:
 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(
 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;
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 
35 ·84private: 
36 ·85·connection_base·&m_conn; 
37 ·86·std::string·m_channel; 
38 ·87}; 
39 ·88}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}
 93 ·158
 94 ·159
 95 ·160namespace·internal
 96 ·161{
 97 ·162
 98 163class·PQXX_LIBEXPORT·TypedCopyEscaper
Max diff block lines reached; 2731/6632 bytes (41.18%) of diff not shown.
21.5 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:·connection.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, 101 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('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">connection.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="l00012"·name="l00012"></a><span·class="lineno">···12</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_CONNECTION</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_CONNECTION</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="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>
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>72 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#endif</span></div>
71 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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/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>74 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#endif</span></div>
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>75 <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>·</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> 
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> 
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> 
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> 
145 </div><!--·fragment·--></div><!--·contents·-->76 </div><!--·fragment·--></div><!--·contents·-->
146 </div><!--·doc-content·-->77 </div><!--·doc-content·-->
147 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
148 <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!·-->
149 ··<ul>80 ··<ul>
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>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>
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>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>
152 ··</ul>83 ··</ul>
153 </div>84 </div>
154 </body>85 </body>
155 </html>86 </html>
3.31 KB
html2text {}
    
Offset 1, 113 lines modifiedOffset 1, 23 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 connection.hxx2 compiler-internal-post.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_CONNECTION 
5 ·14#define·PQXX_H_CONNECTION4 ·12//·NO·GUARDS·HERE!·This·code·should·be·executed·every·time!
 5 ·13
 6 ·14#ifdef·_WIN32
6 ·157 ·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"8 ·16#ifdef·_MSC_VER
 9 ·17#pragma·warning·(pop)·//·Restore·client·program's·warning·state
 10 ·18#endif
 11 ·19
 12 ·20#endif
12 ·2113 ·21
13 ·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 
104 ····*·include14 ····*·include
105 ····*·pqxx15 ····*·pqxx
106 ····*·connection.hxx16 ····*·compiler-internal-post.hxx
107 ····*·Generated·by·[doxygen]·1.9.417 ····*·Generated·by·[doxygen]·1.9.4
33.8 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.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, 105 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('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.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="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_ISOLATION</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_ISOLATION</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·&quot;pqxx/util.hxx&quot;</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>·</div>73 <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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></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>{</div>
77 <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>
78 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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="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> 
81 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>79 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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> 
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>80 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·read_uncommitted,</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>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#a8f05a60f9e1f7dc4e4af5dce6b987c8cabedeb7c33721[·...·truncated·by·diffoscope;·len:·41,·SHA:·3f7ce8636e50c48d6244f64235c5ad9590525714e91595a603c4cacf2e412210·...·]</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>
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>
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> 
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>87 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div>
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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#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>
98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</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>
99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>
100 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">template</span>&lt;</div>97 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span>&lt;&gt;</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[·...·truncated·by·diffoscope;·len:·46,·SHA:·e02e9db944da1d3750586bfda5089c076d4a79928fde181f345724e8e045c57a·...·]</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="keywo[·...·truncated·by·diffoscope;·len:·162,·SHA:·95737c59065f3a52a8ec2ad759fe5c0e7ddffcdeb8dbf72a8526678cb76e2c33·...·]</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>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><span·class="keyword">public</span>:</div>105 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</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> 
107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>106 <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> 
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> 
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> 
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> 
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>107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</span></div>
129 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="preprocessor">#endif</span></div>108 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#endif</span></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>109 <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>110 <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>
 111 <div·class="ttc"·id="aa00265_html_a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569"><div·class="ttname"><a·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8ca022ad2c1a5b247f6cc5790909e708569">pqxx::serializable</a></div><div·class="ttdeci">@·serializable</div><div·class="ttdef"><b>Definition:</b>·isolation.hxx:61</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>112 <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>
 113 <div·class="ttc"·id="aa00265_html_a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053"><div·class="ttname"><a·href="a00265.html#a8f05a60f9e1f7dc4e4af5dce6b987c8caf572b93303ab779fc1b22a42b5ae6053">pqxx::repeatable_read</a></div><div·class="ttdeci">@·repeatable_read</div><div·class="ttdef"><b>Definition:</b>·isolation.hxx:60</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> 
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>114 <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>
 115 <div·class="ttc"·id="aa01343_html_a0d565612c9dc79bb32bb7077a9029e41"><div·class="ttname"><a·href="a01343.html#a0d565612c9dc79bb32bb7077a9029e41">pqxx::isolation_traits::name</a></div><div·class="ttdeci">static·constexpr·const·char·*·name()·noexcept</div></div>
 116 <div·class="ttc"·id="aa01343_html_aa41ee1cc3225f7dcee1b2d8562b121d7"><div·class="ttname"><a·href="a01343.html#aa41ee1cc3225f7dcee1b2d8562b121d7">pqxx::isolation_traits::level</a></div><div·class="ttdeci">static·constexpr·isolation_level·level()·noexcept</div><div·class="ttdef"><b>Definition:</b>·isolation.hxx:67</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> 
141 <div·class="ttc"·id="aa01515_html"><div·class="ttname"><a·href="a01515.html">pqxx::transaction</a></div><div·class="ttdoc">Standard·back-end·transaction,·templatized·on·isolation·level.</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:83</div></div> 
142 <div·class="ttc"·id="aa01515_html_a5ad879f746d13f51e469c67665b5d3f9"><div·class="ttname"><a·href="a01515.html#a5ad879f746d13f51e469c67665b5d3f9">pqxx::transaction::transaction</a></div><div·class="ttdeci">transaction(connection_base·&amp;C,·const·std::string·&amp;TName)</div><div·class="ttdoc">Create·a·transaction.</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:93</div></div> 
143 <div·class="ttc"·id="aa01515_html_a664bdb9c889f946c162cac14bdbe6b7b"><div·class="ttname"><a·href="a01515.html#a664bdb9c889f946c162cac14bdbe6b7b">pqxx::transaction::transaction</a></div><div·class="ttdeci">transaction(connection_base·&amp;C)</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:98</div></div> 
144 <div·class="ttc"·id="aa01515_html_a69ab36d20e4b04500a094cae9954c97f"><div·class="ttname"><a·href="a01515.html#a69ab36d20e4b04500a094cae9954c97f">pqxx::transaction::~transaction</a></div><div·class="ttdeci">virtual·~transaction()·noexcept</div><div·class="ttdef"><b>Definition:</b>·transaction.hxx:101</div></div> 
145 <div·class="ttc"·id="aa01527_html_a1d2a8554499cbd93ff8c2bf5c15843ff"><div·class="ttname"><a·href="a01527.html#a1d2a8554499cbd93ff8c2bf5c15843ff">pqxx::transaction_base::Begin</a></div><div·class="ttdeci">void·Begin()</div><div·class="ttdoc">Begin·transaction·(to·be·called·by·implementing·class)</div><div·class="ttdef"><b>Definition:</b>·transaction_base.cxx:386</div></div> 
Max diff block lines reached; 850/29173 bytes (2.91%) of diff not shown.
5.24 KB
html2text {}
    
Offset 1, 141 lines modifiedOffset 1, 82 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 transaction.hxx2 isolation.hxx
3 ·13 ·1
4 ·12#ifndef·PQXX_H_TRANSACTION4 ·13#ifndef·PQXX_H_ISOLATION
5 ·13#define·PQXX_H_TRANSACTION5 ·14#define·PQXX_H_ISOLATION
6 ·146 ·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 ·179 ·18
10 ·18#include·"pqxx/dbtransaction.hxx"10 ·19#include·"pqxx/util.hxx"
11 ·19 
12 ·2011 ·20
13 ·21/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]" 
14 ·22·*/12 ·21namespace·pqxx
 13 ·22{
15 ·2314 ·23
16 ·24 
17 ·25namespace·pqxx15 ·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
18 ·26{25 ·66{
 26 67·static·constexpr·isolation_level·level()·noexcept·{·return·LEVEL;·}
 27 68·static·constexpr·const·char·*name()·noexcept;
 28 ·69};
 29 ·70
 30 ·71
19 ·27 
20 ·28namespace·internal 
21 ·29{ 
22 31class·PQXX_LIBEXPORT·basic_transaction·:·public·dbtransaction 
23 ·32{ 
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}; 
33 ·42}·//·namespace·internal 
34 ·43 
35 ·44 
36 ·49 
37 ·51 
38 ·79template<31 ·72template<>
39 ·80·isolation_level·ISOLATIONLEVEL=read_committed, 
40 ·81·readwrite_policy·READWRITE=read_write> 
41 82class·transaction·:·public·internal::basic_transaction32 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";·}
42 ·83{44 ·83
 45 ·84}
 46 ·85
43 ·84public: 
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();·} 
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 
66 ·115#include·"pqxx/compiler-internal-post.hxx"47 ·86#include·"pqxx/compiler-internal-post.hxx"
67 ·116#endif48 ·87#endif
68 pqxx49 pqxx
69 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.50 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
70 Definition:·array.hxx:2651 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_level52 pqxx::isolation_level
78 isolation_level53 isolation_level
79 Transaction·isolation·levels.54 Transaction·isolation·levels.
80 Definition:·isolation.hxx:5755 Definition:·isolation.hxx:57
 56 pqxx::serializable
 57 @·serializable
 58 Definition:·isolation.hxx:61
81 pqxx::read_committed59 pqxx::read_committed
82 @·read_committed60 @·read_committed
83 Definition:·isolation.hxx:5961 Definition:·isolation.hxx:59
 62 pqxx::repeatable_read
 63 @·repeatable_read
84 pqxx::connection_base 
85 connection_base·abstract·base·class;·represents·a·connection·to·a·database. 
86 Definition:·connection_base.hxx:140 
87 pqxx::dbtransaction 
88 Abstract·base·class·responsible·for·bracketing·a·backend·transaction. 
Max diff block lines reached; 1722/5339 bytes (32.25%) of diff not shown.
41.6 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:·tablereader.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, 134 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('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">tablereader.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_TABLEREADER</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_TABLEREADER</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/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·&quot;pqxx/dbtransaction.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>·</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>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>
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>
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:·44,·SHA:·9fecfe28d77ae244c9d16104815b4ec4a451f40a44da4964d6058fba02009b2c·...·]</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>
79 <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>
80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">public</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>
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>90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">protected</span>:</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>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>
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>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>
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>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="l00046"·name="l00046"></a><span·class="lineno">···46</span>········ITER·begincolumns,</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>
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········ITER·endcolumns,</div>95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>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>
107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">void</span>·set_up(</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>
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>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>
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>108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateLogTable();</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>109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··PQXX_PRIVATE·<span·class="keywordtype">void</span>·CreateTransactionRecord();</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>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>
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_done;</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>
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>};</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>
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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> 
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> 
132 <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>
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> 
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> 
Max diff block lines reached; 6150/35348 bytes (17.40%) of diff not shown.
6.94 KB
html2text {}
    
Offset 1, 144 lines modifiedOffset 1, 119 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablereader.hxx2 robusttransaction.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_TABLEREADER 
5 ·14#define·PQXX_H_TABLEREADER4 ·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#include·"pqxx/result.hxx"9 ·18
10 ·19#include·"pqxx/tablestream.hxx"10 ·19#include·"pqxx/dbtransaction.hxx"
11 ·2011 ·20
12 ·2112 ·21
 13 ·22//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
 14 ·23
13 ·22namespace·pqxx15 ·24namespace·pqxx
14 ·23{ 
15 ·2516 ·25{
16 29class·PQXX_LIBEXPORT·tablereader·:·public·tablestream17 ·26
 18 ·27namespace·internal
 19 ·28{
 20 30class·PQXX_LIBEXPORT·PQXX_NOVTABLE·basic_robusttransaction·:
 21 ·31·public·dbtransaction
17 ·30{22 ·32{
18 ·31public:23 ·33public:
19 ·32·PQXX_DEPRECATED·tablereader( 
20 ·33·transaction_base·&,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,
21 ·34·const·std::string·&Name,31 ·42·const·std::string·&IsolationLevel,
22 ·35·const·std::string·&Null=std::string{});32 ·43·const·std::string·&table_name=std::string{});·//[t16]
 33 ·44
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:34 ·45private:
45 ·58·void·set_up( 
46 ·59·transaction_base·&T, 
47 ·60·const·std::string·&RName,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 ·146
 63 150·explicit·robusttransaction(
 64 ·151·connection_base·&C,
48 ·61·const·std::string·&Columns=std::string{});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();·}
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, 
74 ·87·const·std::string·&Name, 
75 ·88·ITER·begincolumns, 
Max diff block lines reached; 2201/7078 bytes (31.10%) of diff not shown.
159 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:·except.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, 500 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('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">except.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="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_TABLEWRITER</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_TABLEWRITER</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>
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="l00018"·name="l00018"></a><span·class="lineno">···18</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>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>
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> 
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="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>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="l00026"·name="l00026"></a><span·class="lineno">···26</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>
80 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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>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>
82 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div>126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>{</div>
83 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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>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_ca[·...·truncated·by·diffoscope;·len:·32,·SHA:·3ba63611a584eca81e7376492df00a17dc20923dc14c08ba42768084d21b15e7·...·];</div>
85 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</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>
86 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····m_writer{&amp;W}·{}</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>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>
89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</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>
90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</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>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>
93 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div>142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</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">overri[·...·truncated·by·diffoscope;·len:·9,·SHA:·6a0a93e1043589ad793bf183ec14881bc9bc202077e8865a1ad2855fc2a19940·...·]</div>143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····m_writer-&gt;insert(T);</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>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>
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>145 <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>146 <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>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>·*<s[·...·truncated·by·diffoscope;·len:·34,·SHA:·fc6235d9d2118a0e46805aaa483171742d04c18b77a34415bd0be8898d2fb0c7·...·]</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>
101 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>150 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</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[·...·truncated·by·diffoscope;·len:·47,·SHA:·be9b6e4e9e586a33918100673eabbb4ca6285dc7d056b46f867bead906c6834c·...·]</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>
Max diff block lines reached; 101917/135059 bytes (75.46%) of diff not shown.
26.6 KB
html2text {}
    
Offset 1, 632 lines modifiedOffset 1, 298 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 except.hxx2 tablewriter.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_EXCEPT4 ·13#ifndef·PQXX_H_TABLEWRITER
5 ·14#define·PQXX_H_EXCEPT5 ·14#define·PQXX_H_TABLEWRITER
6 ·156 ·15
 7 ·16#include·<iterator>
 8 ·17
7 ·16#include·"pqxx/compiler-public.hxx"9 ·18#include·"pqxx/compiler-public.hxx"
8 ·17#include·"pqxx/compiler-internal-pre.hxx"10 ·19#include·"pqxx/compiler-internal-pre.hxx"
9 ·18 
10 ·19#include·<stdexcept> 
11 ·2011 ·20
12 ·21#include·"pqxx/util.hxx"12 ·21#include·"pqxx/tablestream.hxx"
13 ·2213 ·22
14 ·2314 ·23
15 ·24namespace·pqxx15 ·24namespace·pqxx
16 ·25{16 ·25{
17 ·26 
18 ·44 
19 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·pqxx_exception 
20 ·56{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{
21 ·57public:65 ·78public:
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};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
27 ·8673 ·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·override74 ·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);
33 ·93·{·return·*this;·}82 ·95·return·*this;
34 ·94public: 
35 ·95·explicit·failure(const·std::string·&); 
36 ·96};83 ·96·}
37 ·9784 ·97
38 ·9885 98·back_insert_iterator·&operator++()·{·return·*this;·}
 86 99·back_insert_iterator·&operator++(int)·{·return·*this;·}
 87 100·back_insert_iterator·&operator*()·{·return·*this;·}
39 ·10088 ·101
40 118class·PQXX_LIBEXPORT·broken_connection·:·public·failure89 ·102private:
 90 ·103·pqxx::tablewriter·*m_writer;
 91 ·104};
 92 ·105}·//·namespace·std
 93 ·106
 94 ·107
 95 ·108namespace·pqxx
41 ·119{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{}}
42 ·120public: 
43 ·121·broken_connection(); 
44 ·122·explicit·broken_connection(const·std::string·&); 
Max diff block lines reached; 22162/27254 bytes (81.32%) of diff not shown.
72.0 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:·transactor.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, 190 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('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">transactor.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><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_STREAM_FROM</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_STREAM_FROM</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> 
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>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/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>
83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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>
84 <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>·</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> 
86 <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>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>
89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>
 82 <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><span·class="keyword">public</span>:</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>
 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>
90 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</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>
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>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>
 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>
95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordflow">if</span>·(attempts·&lt;=·0)</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>
96 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">throw</span>·std::invalid_argument{</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>
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>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>
Max diff block lines reached; 26311/61535 bytes (42.76%) of diff not shown.
11.8 KB
html2text {}
    
Offset 1, 222 lines modifiedOffset 1, 238 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
 2 stream_from.hxx
2 transactor.hxx 
3 ·1/*·Transactor·framework,·a·wrapper·for·safely·retryable·transactions. 
4 ·2·* 
5 ·3·*·DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·pqxx/transactor·instead. 
6 ·4·* 
7 ·5·*·Copyright·(c)·2000-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 
16 ·133 ·1
 4 ·13#ifndef·PQXX_H_STREAM_FROM
 5 ·14#define·PQXX_H_STREAM_FROM
 6 ·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"
19 ·16 
20 ·17#include·"pqxx/connection_base.hxx" 
21 ·18#include·"pqxx/transaction.hxx"9 ·18#include·"pqxx/transaction_base.hxx"
22 ·19 
23 ·20 
24 ·21//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
25 ·2210 ·19#include·"pqxx/stream_base.hxx"
 11 ·20#include·"pqxx/internal/type_utils.hxx"
 12 ·21
 13 ·22#include·<string>
 14 ·23
 15 ·24
26 ·23namespace·pqxx16 ·25namespace·pqxx
27 ·24{17 ·26{
 18 ·27
 19 29class·PQXX_LIBEXPORT·stream_from·:·public·stream_base
 20 ·30{
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:21 ·31public:
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}·{·}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(
Max diff block lines reached; 6120/12091 bytes (50.62%) of diff not shown.
80.0 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:·tablewriter.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, 245 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('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">tablewriter.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_TABLEWRITER</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_TABLEWRITER</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·&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="l00014"·name="l00014"></a><span·class="lineno">···14</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="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>
 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·&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="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>
 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>
 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>
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>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>
78 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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>101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">namespace·</span>prepare</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>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>
127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</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>
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>109 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
Max diff block lines reached; 45182/68192 bytes (66.26%) of diff not shown.
13.3 KB
html2text {}
    
Offset 1, 298 lines modifiedOffset 1, 172 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 tablewriter.hxx2 prepared_statement.hxx
3 ·13 ·1
 4 ·11#ifndef·PQXX_H_PREPARED_STATEMENT
 5 ·12#define·PQXX_H_PREPARED_STATEMENT
 6 ·13
4 ·13#ifndef·PQXX_H_TABLEWRITER 
5 ·14#define·PQXX_H_TABLEWRITER 
6 ·15 
7 ·16#include·<iterator> 
8 ·17 
9 ·18#include·"pqxx/compiler-public.hxx"7 ·14#include·"pqxx/compiler-public.hxx"
10 ·19#include·"pqxx/compiler-internal-pre.hxx"8 ·15#include·"pqxx/compiler-internal-pre.hxx"
 9 ·16
 10 ·17#include·"pqxx/types.hxx"
 11 ·18#include·"pqxx/internal/statement_parameters.hxx"
 12 ·19
11 ·2013 ·20
 14 ·21
12 ·21#include·"pqxx/tablestream.hxx" 
13 ·22 
14 ·23 
15 ·24namespace·pqxx15 ·22namespace·pqxx
16 ·25{16 ·23{
 17 25namespace·prepare
17 ·27 
18 31class·PQXX_LIBEXPORT·tablewriter·:·public·tablestream 
19 ·32{18 ·26{
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{});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
25 ·38·template<typename·ITER>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
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·pqxx36 ·72}·//·namespace·pqxx
 37 ·73
 38 ·74namespace·pqxx
58 ·71 
59 ·72 
60 ·73namespace·std 
61 ·74{39 ·75{
 40 ·76namespace·prepare
62 ·75template<> 
63 76·class·back_insert_iterator<pqxx::tablewriter> 
64 ·77{41 ·77{
 42 ·79
 43 81class·PQXX_LIBEXPORT·invocation·:·internal::statement_parameters
 44 ·82{
65 ·78public:45 ·83public:
 46 ·84·PQXX_DEPRECATED·invocation(transaction_base·&,·const·std::string
 47 &statement);
 48 85·invocation·&operator=(const·invocation·&)·=delete;
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·{49 ·86
 50 ·88·result·exec()·const;
74 ·87·m_writer·=·rhs.m_writer; 
75 ·88·return·*this; 
76 ·89·}51 ·89
 52 ·91·bool·exists()·const;
 53 ·92
 54 94·invocation·&operator()()·{·add_param();·return·*this;·}
 55 ·95
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·} 
Max diff block lines reached; 10052/13629 bytes (73.75%) of diff not shown.
87.4 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:·dbtransaction.hxx·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, 88 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('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">dbtransaction.hxx</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>·</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_RESULT_ITERATOR</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_RESULT_ITERATOR</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·&quot;pqxx/row.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>·</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>
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>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>
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"><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> 
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>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>83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>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·c[·...·truncated·by·diffoscope;·len:·43,·SHA:·8939bbdf1247f765848c630a401b0237f0c37f8842af8c1120c8846e8a4bab2b·...·]</a></div>
86 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div>85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div>
87 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div>86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>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:·44,·SHA:·360763b28f75410583574eacca636fc9b091fad2e4a4cae48d43007f49d6ed7a·...·];</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>
89 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</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>
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="l00047"·name="l00047"></a><span·class="lineno">···47</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#a1dc4688a8f01e6679b2afa93481836cca7fbb[·...·truncated·by·diffoscope;·len:·46,·SHA:·4d8c6fa6f64d5fc2755018c9250242b36afdaa6ff0deaa67345d124a6a1cb8c2·...·]</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#a858d47eebdb1b6055a9f75c[·...·truncated·by·diffoscope;·len:·207,·SHA:·9a503148c2750a7bf02d02d77b201894a07e70ac720c12d5769a51e881580046·...·]</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>
100 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>104 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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_b[·...·truncated·by·diffoscope;·len:·25,·SHA:·11bc62cbca6956fb26c7c0653d4b84c271afb80919601b222a48eb6d6f2094f8·...·]</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#a84b2[·...·truncated·by·diffoscope;·len:·201,·SHA:·a6a11c7530e02ba697fa29381c1d0b347055d4fc18383e07c565bacedc9a28d2·...·]</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>
103 <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>
 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>
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> 
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>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>
112 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>122 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</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>
113 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">private</span>:</div>130 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">private</span>:</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>
114 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··std::string·m_start_cmd;</div> 
115 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div> 
116 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
117 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
118 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>134 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</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>135 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
120 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>136 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 137 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01403.html">··120</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01403.html">const_reverse_result_iterator</a>·:</div>
Max diff block lines reached; 20150/74055 bytes (27.21%) of diff not shown.
14.9 KB
html2text {}
    
Offset 1, 99 lines modifiedOffset 1, 347 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 dbtransaction.hxx2 result_iterator.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_DBTRANSACTION 
5 ·14#define·PQXX_H_DBTRANSACTION4 ·13#ifndef·PQXX_H_RESULT_ITERATOR
 5 ·14#define·PQXX_H_RESULT_ITERATOR
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·"pqxx/row.hxx"
11 ·2011 ·20
 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
12 ·21namespace·pqxx20 ·28namespace·pqxx
13 ·22{ 
14 ·23 
15 24enum·readwrite_policy 
16 ·25{ 
17 26·read_only, 
18 ·27·read_write 
19 28}; 
20 ·2921 ·29{
 22 ·31
 23 35class·PQXX_LIBEXPORT·const_result_iterator·:·public·row
21 ·30 
22 ·32 
23 62class·PQXX_LIBEXPORT·PQXX_NOVTABLE·dbtransaction·:·public·transaction_base 
24 ·63{24 ·36{
25 ·64public:25 ·37public:
26 ·65·virtual·~dbtransaction();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]
27 ·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]
 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;·}
28 ·67protected: 
29 ·68·dbtransaction( 
30 ·69·connection_base·&, 
31 ·70·const·std::string·&IsolationString, 
32 ·71·readwrite_policy·rw=read_write); 
33 ·72 
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 ·8148 ·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 ·89 
46 ·95·virtual·void·do_abort()·override;·//[t13] 
47 ·96 
48 ·97·static·std::string·fullname(const·std::string·&ttype, 
49 ·98·const·std::string·&isolation);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;}
50 ·9961 ·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 ·111
51 ·100private:69 ·112private:
52 ·102·std::string·m_start_cmd; 
53 ·103};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 ·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;
 85 ·128·using·iterator_type::pointer;
 86 129·using·value_type·=·iterator_type::value_type;
 87 130·using·reference·=·iterator_type::reference;
 88 ·131
 89 132·const_reverse_result_iterator(·//[t75]
Max diff block lines reached; 7305/15260 bytes (47.87%) of diff not shown.
20.9 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:·array.hxx·Source·File</title>8 <title>libpqxx:·version.hxx·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>12 <link·href="navtree.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="resize.js"></script>13 <script·type="text/javascript"·src="resize.js"></script>
14 <script·type="text/javascript"·src="navtreedata.js"></script>14 <script·type="text/javascript"·src="navtreedata.js"></script>
15 <script·type="text/javascript"·src="navtree.js"></script>15 <script·type="text/javascript"·src="navtree.js"></script>
Offset 55, 90 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('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">array.hxx</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>·</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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_VERSION</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="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>67 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="l00013"·name="l00013"></a><span·class="lineno">···13</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><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>70 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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>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>
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> 
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> 
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="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#define·PQXX_ABI·&quot;6.4&quot;</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>73 <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>
79 <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>·</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>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>
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</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>
82 <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>{</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>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>
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> 
102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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="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> 
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>83 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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> 
121 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>};</div>84 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>
122 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>}·<span·class="comment">//·namespace·pqxx</span></div> 
123 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
124 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#include·&quot;pqxx/compiler-internal-post.hxx&quot;</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>
125 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">#endif</span></div>86 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif</span></div>
126 <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>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>
127 <div·class="ttc"·id="aa01099_html"><div·class="ttname"><a·href="a01099.html">pqxx::array_parser</a></div><div·class="ttdoc">Low-level·array·parser.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:47</div></div> 
128 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189e"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189e">pqxx::array_parser::juncture</a></div><div·class="ttdeci">juncture</div><div·class="ttdoc">What's·the·latest·thing·found·in·the·array?</div><div·class="ttdef"><b>Definition:</b>·array.hxx:51</div></div> 
129 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea01f9439484cc9ef178b02c8388484ace">pqxx::array_parser::string_value</a></div><div·class="ttdeci">@·string_value</div><div·class="ttdoc">Found·a·string·value.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:59</div></div> 
130 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea3eeeb0fa9ac4aa38809089dee7c0d879">pqxx::array_parser::row_end</a></div><div·class="ttdeci">@·row_end</div><div·class="ttdoc">Ending·the·current·row.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:55</div></div> 
131 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189ea46ec51c6920747094c2f6c757d78b3f6"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea46ec51c6920747094c2f6c757d78b3f6">pqxx::array_parser::done</a></div><div·class="ttdeci">@·done</div><div·class="ttdoc">Parsing·has·completed.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:61</div></div> 
132 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189ea61a1264caabd3fb22d3aaba393661e97">pqxx::array_parser::row_start</a></div><div·class="ttdeci">@·row_start</div><div·class="ttdoc">Starting·a·new·row.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:53</div></div> 
133 <div·class="ttc"·id="aa01099_html_a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4"><div·class="ttname"><a·href="a01099.html#a039577d83d313a6daf35fd7c273e189eacfc01607c500e3cce7684d4342f6e1c4">pqxx::array_parser::null_value</a></div><div·class="ttdeci">@·null_value</div><div·class="ttdoc">Found·a·NULL·value.</div><div·class="ttdef"><b>Definition:</b>·array.hxx:57</div></div> 
134 </div><!--·fragment·--></div><!--·contents·-->89 </div><!--·fragment·--></div><!--·contents·-->
135 </div><!--·doc-content·-->90 </div><!--·doc-content·-->
136 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
137 <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!·-->
138 ··<ul>93 ··<ul>
139 ····<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>array.hxx</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>
140 ····<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>
141 ··</ul>96 ··</ul>
142 </div>97 </div>
143 </body>98 </body>
144 </html>99 </html>
3.05 KB
html2text {}
    
Offset 1, 103 lines modifiedOffset 1, 40 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 array.hxx2 version.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_ARRAY4 ·11#ifndef·PQXX_H_VERSION
 5 ·12
5 ·12#define·PQXX_H_ARRAY 
6 ·13 
7 ·14#include·"pqxx/compiler-public.hxx"6 ·13#include·"pqxx/compiler-public.hxx"
8 ·15#include·"pqxx/compiler-internal-pre.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
9 ·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> 
16 ·23 
17 ·24 
18 25namespace·pqxx15 ·26namespace·pqxx
19 ·26{16 ·27{
 17 ·28namespace·internal
 18 ·29{
 19 ·31
 20 53template<int,·int>·PQXX_LIBEXPORT·int·check_library_version()·noexcept;
 21 ·54}
 22 ·55}
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(); 
40 ·77 
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; 
59 ·97}; 
60 ·98}·//·namespace·pqxx 
61 ·99 
62 ·100#include·"pqxx/compiler-internal-post.hxx"23 ·56#include·"pqxx/compiler-internal-post.hxx"
63 ·101#endif24 ·57#endif
64 pqxx25 pqxx
65 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.26 The·home·of·all·libpqxx·classes,·functions,·templates,·etc.
66 Definition:·array.hxx:2627 Definition:·array.hxx:26
 28 pqxx::internal::check_library_version
 29 int·check_library_version()·noexcept
 30 Library·version·check·stub.
67 pqxx::array_parser 
68 Low-level·array·parser. 
69 Definition:·array.hxx:47 
70 pqxx::array_parser::juncture 
71 juncture 
72 What's·the·latest·thing·found·in·the·array? 
73 Definition:·array.hxx:51 
74 pqxx::array_parser::string_value 
75 @·string_value 
76 Found·a·string·value. 
77 Definition:·array.hxx:59 
78 pqxx::array_parser::row_end 
79 @·row_end 
80 Ending·the·current·row. 
81 Definition:·array.hxx:55 
82 pqxx::array_parser::done 
83 @·done 
84 Parsing·has·completed. 
85 Definition:·array.hxx:61 
86 pqxx::array_parser::row_start 
87 @·row_start 
88 Starting·a·new·row. 
89 Definition:·array.hxx:53 
90 pqxx::array_parser::null_value 
91 @·null_value 
92 Found·a·NULL·value. 
93 Definition:·array.hxx:57 
94 ····*·include31 ····*·include
95 ····*·pqxx32 ····*·pqxx
96 ····*·array.hxx33 ····*·version.hxx
97 ····*·Generated·by·[doxygen]·1.9.434 ····*·Generated·by·[doxygen]·1.9.4
47.3 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:·binarystring.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, 148 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('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">binarystring.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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_BINARYSTRING</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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_BINARYSTRING</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="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·&lt;memory&gt;</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>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="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><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>·</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="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>
77 <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">·*/</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="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>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>
81 <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>
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> 
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> 
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>81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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>82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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_f[·...·truncated·by·diffoscope;·len:·160,·SHA:·b98bca58a65daeca5fca2c8dfb3ff6b89d57b2e4a6da51cb6a2bb34bc14c654c·...·]</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>
 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>
 101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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>
 103 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>};</div>
122 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>104 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</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>105 <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> 
Max diff block lines reached; 10900/40567 bytes (26.87%) of diff not shown.
7.52 KB
html2text {}
    
Offset 1, 200 lines modifiedOffset 1, 69 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 binarystring.hxx2 subtransaction.hxx
3 ·13 ·1
4 ·11#ifndef·PQXX_H_BINARYSTRING 
5 ·12#define·PQXX_H_BINARYSTRING 
6 ·134 ·13#ifndef·PQXX_H_SUBTRANSACTION
 5 ·14#define·PQXX_H_SUBTRANSACTION
 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·"pqxx/dbtransaction.hxx"
 11 ·20
9 ·16 
10 ·17#include·<memory> 
11 ·18#include·<string> 
12 ·19 
13 ·20#include·"pqxx/result.hxx" 
14 ·2112 ·21
15 ·22 
16 ·23namespace·pqxx13 ·22/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"
 14 ·23·*/
17 ·24{15 ·24
18 ·2516 ·25
 17 ·26namespace·pqxx
19 ·2718 ·27{
20 53class·PQXX_LIBEXPORT·binarystring 
21 ·54{19 ·28
 20 ·33
 21 79class·PQXX_LIBEXPORT·subtransaction·:
 22 ·80·public·internal::transactionfocus,
 23 ·81·public·dbtransaction
 24 ·82{
22 ·55public: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{});
 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}
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 ·10343 ·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 
Max diff block lines reached; 3578/7677 bytes (46.61%) of diff not shown.
121 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:·transaction_base.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, 461 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('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">transaction_base.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="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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·PQXX_H_ARRAY</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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·PQXX_H_ARRAY</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>
68 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>71 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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>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>
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>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>
71 <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>
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>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="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>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="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*·to·do.</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>
75 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*</span></div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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> 
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</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>
80 <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>·</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>
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> 
92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div>84 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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> 
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>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>
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>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>
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> 
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>93 <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>94 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">private</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>
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·m_registered;</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>
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>99 <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>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>
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>102 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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>103 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</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.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>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>
139 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>107 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</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>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>
141 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>116 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
Max diff block lines reached; 21575/100961 bytes (21.37%) of diff not shown.
22.1 KB
html2text {}
    
Offset 1, 582 lines modifiedOffset 1, 103 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 transaction_base.hxx2 array.hxx
3 ·13 ·1
4 ·14#ifndef·PQXX_H_TRANSACTION_BASE 
5 ·15#define·PQXX_H_TRANSACTION_BASE4 ·11#ifndef·PQXX_H_ARRAY
 5 ·12#define·PQXX_H_ARRAY
 6 ·13
 7 ·14#include·"pqxx/compiler-public.hxx"
 8 ·15#include·"pqxx/compiler-internal-pre.hxx"
6 ·169 ·16
7 ·17#include·"pqxx/compiler-public.hxx"10 ·17#include·"pqxx/internal/encoding_group.hxx"
8 ·18#include·"pqxx/compiler-internal-pre.hxx"11 ·18#include·"pqxx/internal/encodings.hxx"
9 ·1912 ·19
 13 ·20#include·<stdexcept>
 14 ·21#include·<string>
 15 ·22#include·<utility>
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 ·23
 17 ·24
 18 25namespace·pqxx
 19 ·26{
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 ·2820 ·28
 21 46class·PQXX_LIBEXPORT·array_parser
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·pqxx 
30 ·38{ 
31 ·39namespace·internal 
32 ·40{22 ·47{
33 ·41class·sql_cursor; 
34 ·42 
35 43class·PQXX_LIBEXPORT·transactionfocus·:·public·virtual·namedclass 
36 ·44{ 
37 ·45public:23 ·48public:
 24 50·enum·juncture
38 46·explicit·transactionfocus(transaction_base·&t)·: 
39 ·47·namedclass{"transactionfocus"}, 
40 ·48·m_trans{t}, 
41 ·49·m_registered{false} 
42 ·50·{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);
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; 
59 ·67}; 
60 ·68 
61 ·6937 ·69
62 ·7138 ·71
 39 ·76·std::pair<juncture,·std::string>·get_next();
 40 ·77
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:41 ·78private:
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;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;
Max diff block lines reached; 8349/22602 bytes (36.94%) of diff not shown.
116 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:·connection_base.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, 485 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('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">connection_base.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_CONNECTION_BASE</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_CONNECTION_BASE</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·&lt;bitset&gt;</span></div> 
73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;list&gt;</span></div> 
74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;memory&gt;</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="preprocessor">#include·&quot;pqxx/errorhandler.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/except.hxx&quot;</span></div> 
79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/prepared_statement.hxx&quot;</span></div> 
80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div> 
81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div> 
82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/version.hxx&quot;</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>76 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">/*·Use·of·the·libpqxx·library·starts·here.</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>
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*</span></div>79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div>
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">·*·Everything·that·can·be·done·with·a·database·through·libpqxx·must·go·through</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>
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">·*·a·connection·object·derived·from·connection_base.</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>
 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>
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">·*/</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="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</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>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">·*/</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>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</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="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00266.html">···43</a></span><span·class="keyword">namespace·</span>internal</div> 
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> 
98 <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="a01139.html">reactivation_avoidance_exemption</a>;</div> 
99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>sql_cursor;</div> 
100 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>
101 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01131.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01131.html">reactivation_avoidance_counter</a></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="keyword">public</span>:</div>99 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#ifdef·_WIN32</span></div>
104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">···51</a></span>··<a·class="code·hl_function"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">reactivation_avoidance_counter</a>()·=<span·class="keywordflow">default</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="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">···53</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">add</a>(<span·class="keywordtype">int</span>·n)·<span·class="keyword">noexcept</span>·{·m_counter·+=·n;·}</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01131.html#a3d67761fe7a6ea6f0aa5dbe0950a84e0">···54</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01131.html#a3d67761fe7a6ea6f0aa5dbe0950a84e0">clear</a>()·noexcept·{·m_counter·=·0;·}</div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01131.html#a0677be8c2516021122f9671ae175c469">···55</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01131.html#a0677be8c2516021122f9671ae175c469">get</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_counter;·}</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">private</span>:</div>104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·*/</span></div>
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">int</span>·m_counter·=·0;</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>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>};</div>108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</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>
 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>
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>
115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="preprocessor">#endif</span></div>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#else</span></div>
118 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>std::string·PQXX_LIBEXPORT·<a·class="code·hl_function"·href="a00265.html#aad07bde6f6d1012bc1fbd66e2339a213">encrypt_password</a>(····························<span·class="comment">//[t00]</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>
119 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keyword">const</span>·std::string·&amp;user,</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>
120 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">const</span>·std::string·&amp;password);</div>134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#endif</span></div>
121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</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>
122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</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>
123 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">namespace·</span>internal</div>140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div>
124 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>{</div> 
Max diff block lines reached; 860/98648 bytes (0.87%) of diff not shown.
19.6 KB
html2text {}
    
Offset 1, 554 lines modifiedOffset 1, 129 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 connection_base.hxx2 compiler-public.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_CONNECTION_BASE 
5 ·14#define·PQXX_H_CONNECTION_BASE 
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
10 ·19#include·<bitset> 
11 ·20#include·<list> 
12 ·21#include·<map> 
13 ·22#include·<memory> 
14 ·23 
15 ·24#include·"pqxx/errorhandler.hxx" 
16 ·25#include·"pqxx/except.hxx" 
17 ·26#include·"pqxx/prepared_statement.hxx" 
18 ·27#include·"pqxx/strconv.hxx" 
19 ·28#include·"pqxx/util.hxx" 
20 ·29#include·"pqxx/version.hxx" 
21 ·30 
22 ·31 
23 ·32/*·Use·of·the·libpqxx·library·starts·here. 
24 ·33·* 
25 ·34·*·Everything·that·can·be·done·with·a·database·through·libpqxx·must·go 
26 through 
27 ·35·*·a·connection·object·derived·from·connection_base. 
28 ·36·*/ 
29 ·37 
30 ·38/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]" 
31 ·39·*/ 
32 ·40 
33 ·41namespace·pqxx 
34 ·42{ 
35 43namespace·internal 
36 ·44{ 
37 ·45class·reactivation_avoidance_exemption; 
38 ·46class·sql_cursor; 
39 ·47 
40 48class·reactivation_avoidance_counter 
41 ·49{ 
42 ·50public: 
43 51·reactivation_avoidance_counter()·=default; 
44 ·52 
45 53·void·add(int·n)·noexcept·{·m_counter·+=·n;·} 
46 54·void·clear()·noexcept·{·m_counter·=·0;·} 
47 55·int·get()·const·noexcept·{·return·m_counter;·} 
48 ·56 
49 ·57private: 
50 ·58·int·m_counter·=·0; 
51 ·59}; 
52 ·60 
53 ·61} 
54 ·62 
55 ·63 
56 ·65 
57 ·81std::string·PQXX_LIBEXPORT·encrypt_password(·//[t00] 
58 ·82·const·std::string·&user, 
59 ·83·const·std::string·&password); 
60 ·84 
61 ·85 
62 ·86namespace·internal 
63 ·87{ 
64 88namespace·gate 
65 ·89{ 
66 ·90class·connection_dbtransaction; 
67 ·91class·connection_errorhandler; 
68 ·92class·connection_largeobject; 
69 ·93class·connection_notification_receiver; 
70 ·94class·connection_parameterized_invocation; 
71 ·95class·connection_pipeline; 
72 ·96class·connection_prepare_invocation; 
73 ·97class·connection_reactivation_avoidance_exemption; 
74 ·98class·connection_sql_cursor; 
75 ·99class·connection_transaction; 
76 ·100class·const_connection_largeobject; 
77 ·101}·//·namespace·pqxx::internal::gate 
78 ·102}·//·namespace·pqxx::internal 
79 ·103 
80 ·104 
81 ·106 
82 139class·PQXX_LIBEXPORT·connection_base 
83 ·140{ 
84 ·141public: 
85 ·143·void·disconnect()·noexcept;·//[t02] 
86 ·144 
87 ·146 
88 ·150·bool·PQXX_PURE·is_open()·const·noexcept;·//[t01] 
89 ·151 
90 ·168 
91 ·178·PQXX_DEPRECATED·void·activate();·//[t12] 
92 ·17915 ·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
93 ·181 
94 ·189·PQXX_DEPRECATED·void·deactivate();·//[t12] 
95 ·190 
96 ·192 
97 236·PQXX_DEPRECATED·void·inhibit_reactivation(bool·inhibit)·//[t86] 
98 ·237·{·m_inhibit_reactivation=inhibit;·} 
99 ·238 
100 ·240 
101 ·245·void·simulate_failure();·//[t94] 
102 ·247 
103 ·249·void·process_notice(const·char[])·noexcept;·//[t14] 
104 ·251·void·process_notice(const·std::string·&)·noexcept;·//[t14] 
105 ·252 
106 ·254·void·trace(std::FILE·*)·noexcept;·//[t03] 
107 ·255 
Max diff block lines reached; 10750/19999 bytes (53.75%) of diff not shown.
57.0 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:·basic_connection.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, 110 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('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">basic_connection.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_BASIC_CONNECTION</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_BASIC_CONNECTION</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>
72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstddef&gt;</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>
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>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>
 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>
75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>86 <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>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>
77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>88 <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> 
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> 
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>89 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>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>
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>93 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··-&gt;·<span·class="keyword">decltype</span>(callback())</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>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>
131 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</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>
132 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace</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>
Max diff block lines reached; 10448/48315 bytes (21.62%) of diff not shown.
9.7 KB
html2text {}
    
Offset 1, 134 lines modifiedOffset 1, 222 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 basic_connection.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_BASIC_CONNECTION 
5 ·14#define·PQXX_H_BASIC_CONNECTION 
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 ·18 
10 ·19#include·<cstddef> 
11 ·20#include·<memory> 
12 ·21#include·<string>19 ·16
 20 ·17#include·"pqxx/connection_base.hxx"
 21 ·18#include·"pqxx/transaction.hxx"
 22 ·19
 23 ·20
 24 ·21//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]".
13 ·2225 ·22
14 ·23#include·"pqxx/connection_base.hxx" 
15 ·24 
16 ·25 
17 ·26namespace·pqxx26 ·23namespace·pqxx
18 ·27{27 ·24{
19 ·28 
20 ·30 
21 45template<typename·CONNECTPOLICY>·class·basic_connection_base·: 
22 ·46·public·connection_base 
23 ·47{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{
24 ·48public: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
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[])·: 
Max diff block lines reached; 3774/9910 bytes (38.08%) of diff not shown.
84.8 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:·field.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, 314 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('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">field.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_FIELD</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_FIELD</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><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/internal/type_utils.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/util.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>
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>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><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>76 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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>
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>·</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>
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>99 <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="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>
100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div>104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</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</a>·=·<a·class="code·hl_typedef"·href="a00265.html#a5c52b0064b3395b98c6b9a0d3398db98">field_size_type</a>;</div> 
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>
 109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}</div>
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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:·141,·SHA:·0447a0e2a2b25c719f0b40837d26fb67b96524cb5cdd6815c360fcfccb7f70f9·...·]</span></div>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>}·<span·class="comment">//·namespace·pqxx</span></div>
 112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>113 <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> 
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> 
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> 
Max diff block lines reached; 17843/72910 bytes (24.47%) of diff not shown.
13.5 KB
html2text {}
    
Offset 1, 418 lines modifiedOffset 1, 85 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 field.hxx2 stream_base.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_FIELD 
5 ·14#define·PQXX_H_FIELD4 ·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#include·"pqxx/transaction_base.hxx"
9 ·18#include·"pqxx/internal/type_utils.hxx"10 ·19#include·"pqxx/util.hxx"
 11 ·20
10 ·19 
11 ·20#if·defined(PQXX_HAVE_OPTIONAL) 
12 ·21#include·<optional>12 ·21#include·<string>
13 ·2213 ·22
 14 ·23
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" 
29 ·38#include·"pqxx/types.hxx" 
30 ·39 
31 ·40 
32 ·41//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
33 ·42 
34 ·43namespace·pqxx15 ·24namespace·pqxx
35 ·44{ 
36 ·46 
37 49class·PQXX_LIBEXPORT·field 
38 ·50{16 ·25{
 17 ·26
 18 27class·PQXX_LIBEXPORT·PQXX_NOVTABLE·stream_base·:
 19 ·28·public·internal::transactionfocus
 20 ·29{
39 ·51public:21 ·30public:
40 52·using·size_type·=·field_size_type; 
41 ·53 
42 ·55 
43 ·59·field(const·row·&R,·row_size_type·C)·noexcept;·//[t01]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
 50 ·59
44 ·6051 ·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 ·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 
Max diff block lines reached; 5811/13771 bytes (42.20%) of diff not shown.
108 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:·config-public-compiler.h·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, 27 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('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">config-public-compiler.h</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><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="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="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="l00016"·name="l00016"></a><span·class="lineno">···16</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="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="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>
 79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</span></div>
66 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</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>
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>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>
 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>
 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>
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>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>
 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>
 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>
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>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>
 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>
 154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="keyword">namespace·</span>gate</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><span·class="keyword">class·</span>transaction_subtransaction;</div>
 157 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="keyword">class·</span>transaction_tablereader;</div>
 158 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">class·</span>transaction_sql_cursor;</div>
 159 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">class·</span>transaction_stream_from;</div>
 160 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="keyword">class·</span>transaction_tablewriter;</div>
 161 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">class·</span>transaction_stream_to;</div>
 162 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>transaction_transactionfocus;</div>
 163 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}·<span·class="comment">//·namespace·internal::gate</span></div>
 164 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>}·<span·class="comment">//·namespace·internal</span></div>
 165 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
Max diff block lines reached; 866/90263 bytes (0.96%) of diff not shown.
20.1 KB
html2text {}
    
Offset 1, 18 lines modifiedOffset 1, 582 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 config-public-compiler.h 
3 ·1/*·Automatically·generated·from·config.h:·public/compiler·config.·*/2 transaction_base.hxx
 3 ·1
 4 ·14#ifndef·PQXX_H_TRANSACTION_BASE
 5 ·15#define·PQXX_H_TRANSACTION_BASE
 6 ·16
 7 ·17#include·"pqxx/compiler-public.hxx"
 8 ·18#include·"pqxx/compiler-internal-pre.hxx"
 9 ·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·*/
4 ·220 ·28
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·121 ·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·pqxx
 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;
 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>
 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{
 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
 104 ·115}·//·namespace·internal
 105 ·116
 106 ·117
 107 ·131
 108 136class·PQXX_LIBEXPORT·PQXX_NOVTABLE·transaction_base·:
 109 ·137·public·virtual·internal::namedclass
 110 ·138{
 111 ·139public:
 112 141·using·isolation_tag·=·isolation_traits<read_committed>;
 113 ·142
 114 143·transaction_base()·=delete;
 115 144·transaction_base(const·transaction_base·&)·=delete;
 116 145·transaction_base·&operator=(const·transaction_base·&)·=delete;
 117 ·146
Max diff block lines reached; 108/20600 bytes (0.52%) of diff not shown.
109 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:·row.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, 353 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('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">row.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_ROW</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_ROW</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·&quot;pqxx/except.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>
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>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/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/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>·</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>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>
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>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>
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>81 <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·abso[·...·truncated·by·diffoscope;·len:·22,·SHA:·b78f78306eca8b778f67970a12b2a79ecb42f47e2a8236dd9e3ff116e35a6421·...·]</div>82 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>83 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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>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;channe[·...·truncated·by·diffoscope;·len:·3,·SHA:·a3f5de86c3751da99fcabae898c0b11f1f1d7d8c71511191ae1630a96d57edf2·...·]</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>
103 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>
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>90 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
108 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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>
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>93 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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> 
Max diff block lines reached; 21902/92587 bytes (23.66%) of diff not shown.
18.3 KB
html2text {}
    
Offset 1, 477 lines modifiedOffset 1, 74 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 row.hxx2 notification.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_ROW 
5 ·14#define·PQXX_H_ROW4 ·13#ifndef·PQXX_H_NOTIFICATION
 5 ·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·"pqxx/except.hxx" 
11 ·20#include·"pqxx/field.hxx"10 ·19#include·<string>
 11 ·20
12 ·21#include·"pqxx/result.hxx"12 ·21#include·"pqxx/types.hxx"
13 ·2213 ·22
14 ·2314 ·23
15 ·24//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
16 ·25 
17 ·26namespace·pqxx15 ·24namespace·pqxx
 16 ·25{
18 ·27{17 ·27
 18 55class·PQXX_LIBEXPORT·PQXX_NOVTABLE·notification_receiver
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 ·5619 ·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);·}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();
41 ·6726 ·67
 27 69·const·std::string·&channel()·const·{·return·m_channel;·}
 28 ·70
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 ·7229 ·72
 30 79·virtual·void·operator()(const·std::string·&payload,·int·backend_pid)·=0;
 31 ·80
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; 
Max diff block lines reached; 7606/18706 bytes (40.66%) of diff not shown.
120 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:·pipeline.hxx·Source·File</title>8 <title>libpqxx:·connection_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, 162 lines modifiedOffset 55, 485 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">pipeline.hxx</div></div>62 ··<div·class="headertitle"><div·class="title">connection_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_PIPELINE</span></div>66 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·PQXX_H_CONNECTION_BASE</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="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·PQXX_H_CONNECTION_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>·</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>72 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
 73 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;list&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>74 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;map&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>75 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;memory&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>·</div>
 77 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&quot;pqxx/errorhandler.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/except.hxx&quot;</span></div>
 79 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&quot;pqxx/prepared_statement.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>80 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;pqxx/strconv.hxx&quot;</span></div>
 81 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;pqxx/util.hxx&quot;</span></div>
 82 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;pqxx/version.hxx&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>·</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>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>84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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:·56,·SHA:·d0a8bf6176e32e623df4460ddbc3397fe42ab136b127b5f8ce2d05ce7df238ed·...·]></div>85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">/*·Use·of·the·libpqxx·library·starts·here.</span></div>
 86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*</span></div>
 87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">·*·Everything·that·can·be·done·with·a·database·through·libpqxx·must·go·through</span></div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">·*·a·connection·object·derived·from·connection_base.</span></div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">·*/</span></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="comment">/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·&quot;//[t01]&quot;</span></div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">·*/</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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00265.html">pqxx</a></div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00266.html">···43</a></span><span·class="keyword">namespace·</span>internal</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div>
 98 <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="a01139.html">reactivation_avoidance_exemption</a>;</div>
 99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>sql_cursor;</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="a01131.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01131.html">reactivation_avoidance_counter</a></div>
86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>102 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div>
87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>103 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</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>·=·long;</div>104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">···51</a></span>··<a·class="code·hl_function"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">reactivation_avoidance_counter</a>()·=<span·class="keywordflow">default</span>;</div>
89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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#a1c3b55c5212f8954c2[·...·truncated·by·diffoscope;·len:·166,·SHA:·301a0a1fa303f1bb03ea9df880a2f0b2787b45ca8b9b8ac9316787405ff48f44·...·]</div>106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">···53</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">add</a>([·...·truncated·by·diffoscope;·len:·97,·SHA:·7a43c5e04f5fbfc87a55c62a3d2a95a7388072606d5f2b912acc1cc84bdd820b·...·]</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01131.html#a3d67761fe7a6ea6f0aa5dbe0950a84e0">···54</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01131.html#a3d67761fe7a6ea6f0aa5dbe0950a84e0">clear</a>()·noexcept·{·m_counter·=·0;·}</div>
 108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01131.html#a0677be8c2516021122f9671ae175c469">···55</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01131.html#a0677be8c2516021122f9671ae175c469">get</a>()·const·noexcept·{·<span·class="keywordflow">return</span>·m_counter;·}</div>
92 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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><span·class="keyword">private</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>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keywordtype">int</span>·m_counter·=·0;</div>
96 <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>
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>113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
98 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}</div>
 115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
99 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
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> 
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> 
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>117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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>118 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>std::string·PQXX_LIBEXPORT·<a·class="code·hl_function"·href="a00265.html#aad07bde6f6d1012bc1fbd66e2339a213">encrypt_password</a>(····························<span·class="comment">//[t00]</span></div>
 119 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keyword">const</span>·std::string·&amp;user,</div>
 120 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">const</span>·std::string·&amp;password);</div>
107 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
108 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>122 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
109 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordtype">void</span>·cancel();</div>123 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">namespace·</span>internal</div>
110 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>124 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</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>125 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00267.html">···88</a></span><span·class="keyword">namespace·</span>gate</div>
 126 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{</div>
 127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">class·</span>connection_dbtransaction;</div>
 128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="keyword">class·</span>connection_errorhandler;</div>
 129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">class·</span>connection_largeobject;</div>
 130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">class·</span>connection_notification_receiver;</div>
 131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">class·</span>connection_parameterized_invocation;</div>
 132 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">class·</span>connection_pipeline;</div>
 133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">class·</span>connection_prepare_invocation;</div>
 134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">class·</span>connection_reactivation_avoidance_exemption;</div>
 135 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">class·</span>connection_sql_cursor;</div>
 136 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">class·</span>connection_transaction;</div>
 137 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">class·</span>const_connection_largeobject;</div>
 138 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>}·<span·class="comment">//·namespace·pqxx::internal::gate</span></div>
 139 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}·<span·class="comment">//·namespace·pqxx::internal</span></div>
112 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>140 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
113 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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>142 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 143 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno"><a·class="line"·href="a01135.html">··139</a></span><span·class="keyword">class·</span>PQXX_LIBEXPORT·<a·class="code·hl_class"·href="a01135.html">connection_base</a></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> 
Max diff block lines reached; 77778/102023 bytes (76.24%) of diff not shown.
20.0 KB
html2text {}
    
Offset 1, 169 lines modifiedOffset 1, 554 lines modified
  
  
  
  
  
1 libpqxx1 libpqxx
  
2 pipeline.hxx2 connection_base.hxx
3 ·13 ·1
4 ·13#ifndef·PQXX_H_PIPELINE 
5 ·14#define·PQXX_H_PIPELINE4 ·13#ifndef·PQXX_H_CONNECTION_BASE
 5 ·14#define·PQXX_H_CONNECTION_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 ·189 ·18
10 ·19#include·<limits>10 ·19#include·<bitset>
 11 ·20#include·<list>
11 ·20#include·<map>12 ·21#include·<map>
12 ·21#include·<string> 
13 ·2213 ·22#include·<memory>
 14 ·23
 15 ·24#include·"pqxx/errorhandler.hxx"
 16 ·25#include·"pqxx/except.hxx"
 17 ·26#include·"pqxx/prepared_statement.hxx"
14 ·23#include·"pqxx/transaction_base.hxx"18 ·27#include·"pqxx/strconv.hxx"
 19 ·28#include·"pqxx/util.hxx"
 20 ·29#include·"pqxx/version.hxx"
15 ·24 
16 ·25 
17 ·26//·Methods·tested·in·eg.·test·module·test01·are·marked·with·"//[t01]". 
18 ·27 
19 ·28namespace·pqxx 
20 ·29{ 
21 ·3021 ·30
22 ·32 
23 48class·PQXX_LIBEXPORT·pipeline·:·public·internal::transactionfocus22 ·31
 23 ·32/*·Use·of·the·libpqxx·library·starts·here.
 24 ·33·*
 25 ·34·*·Everything·that·can·be·done·with·a·database·through·libpqxx·must·go
 26 through
 27 ·35·*·a·connection·object·derived·from·connection_base.
 28 ·36·*/
 29 ·37
 30 ·38/*·Methods·tested·in·eg.·self-test·program·test1·are·marked·with·"//[t01]"
 31 ·39·*/
 32 ·40
 33 ·41namespace·pqxx
 34 ·42{
 35 43namespace·internal
 36 ·44{
 37 ·45class·reactivation_avoidance_exemption;
 38 ·46class·sql_cursor;
 39 ·47
 40 48class·reactivation_avoidance_counter
24 ·49{41 ·49{
25 ·50public:42 ·50public:
26 51·using·query_id·=·long;43 51·reactivation_avoidance_counter()·=default;
27 ·5244 ·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{});45 53·void·add(int·n)·noexcept·{·m_counter·+=·n;·}
 46 54·void·clear()·noexcept·{·m_counter·=·0;·}
 47 55·int·get()·const·noexcept·{·return·m_counter;·}
 48 ·56
 49 ·57private:
 50 ·58·int·m_counter·=·0;
34 ·5951 ·59};
35 ·60·~pipeline()·noexcept;52 ·60
36 ·6153 ·61}
 54 ·62
37 ·6355 ·63
38 ·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]56 ·65
 57 ·81std::string·PQXX_LIBEXPORT·encrypt_password(·//[t00]
 58 ·82·const·std::string·&user,
 59 ·83·const·std::string·&password);
 60 ·84
 61 ·85
 62 ·86namespace·internal
 63 ·87{
 64 88namespace·gate
 65 ·89{
 66 ·90class·connection_dbtransaction;
 67 ·91class·connection_errorhandler;
 68 ·92class·connection_largeobject;
 69 ·93class·connection_notification_receiver;
 70 ·94class·connection_parameterized_invocation;
 71 ·95class·connection_pipeline;
 72 ·96class·connection_prepare_invocation;
 73 ·97class·connection_reactivation_avoidance_exemption;
 74 ·98class·connection_sql_cursor;
 75 ·99class·connection_transaction;
 76 ·100class·const_connection_largeobject;
 77 ·101}·//·namespace·pqxx::internal::gate
 78 ·102}·//·namespace·pqxx::internal
50 ·10079 ·103
51 ·10280 ·104
52 108·result·retrieve(query_id·qid)·//[t71] 
53 ·109·{·return·retrieve(m_queries.find(qid)).second;·} 
54 ·11081 ·106
 82 139class·PQXX_LIBEXPORT·connection_base
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 
66 ·135private: 
Max diff block lines reached; 16775/20420 bytes (82.15%) of diff not shown.
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="a00005_source.html">pqxx/stream_to.hxx</a>·instead.</p>604 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00077_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="a00095_source.html">pqxx/tablewriter.hxx</a>·instead.</p>624 <p·>DO·NOT·INCLUDE·THIS·FILE·DIRECTLY;·include·<a·class="el"·href="a00089_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="a00101_source.html">array.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00107_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="a00101_source.html">array.hxx</a></li>195 <li><a·class="el"·href="a00107_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="a00113_source.html">basic_connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00053_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="a00113_source.html">basic_connection.hxx</a></li>446 <li><a·class="el"·href="a00053_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="a00113_source.html">basic_connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00053_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="a00113_source.html">basic_connection.hxx</a></li>397 <li><a·class="el"·href="a00053_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="a00104_source.html">binarystring.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00050_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="a00104_source.html">binarystring.hxx</a></li>914 <li><a·class="el"·href="a00050_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="a00080_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a></li>176 <li><a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a></li>175 <li><a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a></li>268 <li><a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00005_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="a00080_source.html">connection.hxx</a></li>144 <li><a·class="el"·href="a00005_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>
2.25 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01131.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="a01128.html">List·of·all·members</a>··</div>64 <a·href="a01128.html">List·of·all·members</a>··</div>
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::reactivation_avoidance_counter·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::reactivation_avoidance_counter·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="a00110_source.html">connection_base.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection_base.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:a80f8a1826d3602adbc4cda22cd42d9cf"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">reactivation_avoidance_counter</a>·()=default</td></tr>72 <tr·class="memitem:a80f8a1826d3602adbc4cda22cd42d9cf"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#a80f8a1826d3602adbc4cda22cd42d9cf">reactivation_avoidance_counter</a>·()=default</td></tr>
73 <tr·class="separator:a80f8a1826d3602adbc4cda22cd42d9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>73 <tr·class="separator:a80f8a1826d3602adbc4cda22cd42d9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
74 <tr·class="memitem:aeb2dfb56258a2da6948a69aba71ea319"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">add</a>·(int·n)·noexcept</td></tr>74 <tr·class="memitem:aeb2dfb56258a2da6948a69aba71ea319"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#aeb2dfb56258a2da6948a69aba71ea319">add</a>·(int·n)·noexcept</td></tr>
75 <tr·class="separator:aeb2dfb56258a2da6948a69aba71ea319"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:aeb2dfb56258a2da6948a69aba71ea319"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
179 ··</tr>179 ··</tr>
180 </table>180 </table>
181 </div><div·class="memdoc">181 </div><div·class="memdoc">
  
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="a00110_source.html">connection_base.hxx</a></li>185 <li><a·class="el"·href="a00128_source.html">connection_base.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="a00266.html">internal</a></li><li·class="navelem"><a·class="el"·href="a01131.html">reactivation_avoidance_counter</a></li>192 ····<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="a01131.html">reactivation_avoidance_counter</a></li>
5.65 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01135.html
    
Offset 68, 15 lines modifiedOffset 68, 15 lines modified
68 ··<div·class="headertitle"><div·class="title">pqxx::connection_base·Class·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">pqxx::connection_base·Class·Reference</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
  
71 <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.··71 <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.··
72 ·<a·href="a01135.html#details">More...</a></p>72 ·<a·href="a01135.html#details">More...</a></p>
  
73 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">connection_base.hxx</a>&gt;</code></p>73 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection_base.hxx</a>&gt;</code></p>
74 <div·class="dynheader">74 <div·class="dynheader">
75 Inheritance·diagram·for·pqxx::connection_base:</div>75 Inheritance·diagram·for·pqxx::connection_base:</div>
76 <div·class="dyncontent">76 <div·class="dyncontent">
77 <div·class="center"><img·src="a01134.png"·border="0"·usemap="#apqxx_1_1connection__base_inherit__map"·alt="Inheritance·graph"/></div>77 <div·class="center"><img·src="a01134.png"·border="0"·usemap="#apqxx_1_1connection__base_inherit__map"·alt="Inheritance·graph"/></div>
78 <map·name="apqxx_1_1connection__base_inherit__map"·id="apqxx_1_1connection__base_inherit__map">78 <map·name="apqxx_1_1connection__base_inherit__map"·id="apqxx_1_1connection__base_inherit__map">
79 <area·shape="rect"·title="connection_base·abstract·base·class;·represents·a·connection·to·a·database."·alt=""·coords="20,5,191,32"/>79 <area·shape="rect"·title="connection_base·abstract·base·class;·represents·a·connection·to·a·database."·alt=""·coords="20,5,191,32"/>
80 <area·shape="rect"·href="a01103.html"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>80 <area·shape="rect"·href="a01103.html"·title="Base&#45;class·template·for·all·libpqxx·connection·types."·alt=""·coords="5,80,205,121"/>
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="a00107_source.html">pqxx/transaction_base.hxx</a>)·or·preferably·the·transactor·framework·(see·<a·class="el"·href="a00092_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="a00119_source.html">pqxx/transaction_base.hxx</a>)·or·preferably·the·transactor·framework·(see·<a·class="el"·href="a00113_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 2056, 16 lines modifiedOffset 2056, 16 lines modified
2056 ··</tr>2056 ··</tr>
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="a00110_source.html">connection_base.hxx</a></li>2062 <li><a·class="el"·href="a00128_source.html">connection_base.hxx</a></li>
2063 <li><a·class="el"·href="a00092_source.html">transactor.hxx</a></li>2063 <li><a·class="el"·href="a00113_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>
2.08 KB
./usr/share/doc/libpqxx-doc/html/Reference/a01139.html
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 ··<div·class="headertitle"><div·class="title">pqxx::internal::reactivation_avoidance_exemption·Class·Reference</div></div>65 ··<div·class="headertitle"><div·class="title">pqxx::internal::reactivation_avoidance_exemption·Class·Reference</div></div>
66 </div><!--header-->66 </div><!--header-->
67 <div·class="contents">67 <div·class="contents">
  
68 <p>Scoped·exemption·to·reactivation·avoidance.··68 <p>Scoped·exemption·to·reactivation·avoidance.··
69 ·<a·href="a01139.html#details">More...</a></p>69 ·<a·href="a01139.html#details">More...</a></p>
  
70 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">connection_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">connection_base.hxx</a>&gt;</code></p>
71 <table·class="memberdecls">71 <table·class="memberdecls">
72 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>72 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
73 Public·Member·Functions</h2></td></tr>73 Public·Member·Functions</h2></td></tr>
74 <tr·class="memitem:ae0b6ca7a0a7d33b88a0e0a3fb61ac240"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01139.html#ae0b6ca7a0a7d33b88a0e0a3fb61ac240">reactivation_avoidance_exemption</a>·(<a·class="el"·href="a01135.html">connection_base</a>·&amp;C)</td></tr>74 <tr·class="memitem:ae0b6ca7a0a7d33b88a0e0a3fb61ac240"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01139.html#ae0b6ca7a0a7d33b88a0e0a3fb61ac240">reactivation_avoidance_exemption</a>·(<a·class="el"·href="a01135.html">connection_base</a>·&amp;C)</td></tr>
75 <tr·class="separator:ae0b6ca7a0a7d33b88a0e0a3fb61ac240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>75 <tr·class="separator:ae0b6ca7a0a7d33b88a0e0a3fb61ac240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
76 <tr·class="memitem:a3669e53c578ba7935d5b7bdaad0d5e0b"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01139.html#a3669e53c578ba7935d5b7bdaad0d5e0b">~reactivation_avoidance_exemption</a>·()</td></tr>76 <tr·class="memitem:a3669e53c578ba7935d5b7bdaad0d5e0b"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01139.html#a3669e53c578ba7935d5b7bdaad0d5e0b">~reactivation_avoidance_exemption</a>·()</td></tr>
77 <tr·class="separator:a3669e53c578ba7935d5b7bdaad0d5e0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>77 <tr·class="separator:a3669e53c578ba7935d5b7bdaad0d5e0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 149, 15 lines modifiedOffset 149, 15 lines modified
149 ··</tr>149 ··</tr>
150 </table>150 </table>
151 </div><div·class="memdoc">151 </div><div·class="memdoc">
  
152 </div>152 </div>
153 </div>153 </div>
154 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>154 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
155 <li><a·class="el"·href="a00110_source.html">connection_base.hxx</a></li>155 <li><a·class="el"·href="a00128_source.html">connection_base.hxx</a></li>
156 <li>connection_base.cxx</li>156 <li>connection_base.cxx</li>
157 </ul>157 </ul>
158 </div><!--·contents·-->158 </div><!--·contents·-->
159 </div><!--·doc-content·-->159 </div><!--·doc-content·-->
160 <!--·start·footer·part·-->160 <!--·start·footer·part·-->
161 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->161 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
162 ··<ul>162 ··<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="a00014_source.html">cursor.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a></li>521 <li><a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a></li>338 <li><a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a></li>426 <li><a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00014_source.html">cursor.hxx</a></li>598 <li><a·class="el"·href="a00056_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="a00098_source.html">dbtransaction.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00098_source.html">dbtransaction.hxx</a></li>582 <li><a·class="el"·href="a00020_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="a00020_source.html">errorhandler.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">errorhandler.hxx</a>&gt;</code></p>
72 <div·class="dynheader">72 <div·class="dynheader">
73 Inheritance·diagram·for·pqxx::errorhandler:</div>73 Inheritance·diagram·for·pqxx::errorhandler:</div>
74 <div·class="dyncontent">74 <div·class="dyncontent">
75 <div·class="center"><img·src="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="a00020_source.html">errorhandler.hxx</a></li>215 <li><a·class="el"·href="a00038_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="a00020_source.html">errorhandler.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">errorhandler.hxx</a>&gt;</code></p>
71 <div·class="dynheader">71 <div·class="dynheader">
72 Inheritance·diagram·for·pqxx::quiet_errorhandler:</div>72 Inheritance·diagram·for·pqxx::quiet_errorhandler:</div>
73 <div·class="dyncontent">73 <div·class="dyncontent">
74 <div·class="center"><img·src="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="a00020_source.html">errorhandler.hxx</a></li>151 <li><a·class="el"·href="a00038_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>210 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>257 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>133 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>136 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>134 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>134 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>126 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>127 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>128 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00017_source.html">except.hxx</a></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 </div><!--·doc-content·-->161 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>164 ··<ul>
165 ····<li·class="navelem"><a·class="el"·href="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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00017_source.html">except.hxx</a></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 </div><!--·doc-content·-->161 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>164 ··<ul>
165 ····<li·class="navelem"><a·class="el"·href="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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>158 <li><a·class="el"·href="a00017_source.html">except.hxx</a></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 </div><!--·doc-content·-->161 </div><!--·doc-content·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->163 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
164 ··<ul>164 ··<ul>
165 ····<li·class="navelem"><a·class="el"·href="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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>185 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>164 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>153 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>160 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>131 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>162 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>162 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00017_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="a00089_source.html">except.hxx</a></li>157 <li><a·class="el"·href="a00017_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="a00116_source.html">field.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_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="a00116_source.html">field.hxx</a></li>768 <li><a·class="el"·href="a00071_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="a00116_source.html">field.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00071_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="a00116_source.html">field.hxx</a></li>425 <li><a·class="el"·href="a00071_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="a00116_source.html">field.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00071_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="a00116_source.html">field.hxx</a></li>211 <li><a·class="el"·href="a00071_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="a00056_source.html">isolation.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00083_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="a00056_source.html">isolation.hxx</a></li>224 <li><a·class="el"·href="a00083_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>623 <li><a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>1072 <li><a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>545 <li><a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>287 <li><a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>308 <li><a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00023_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="a00029_source.html">largeobject.hxx</a></li>310 <li><a·class="el"·href="a00023_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="a00041_source.html">nontransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00002_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="a00041_source.html">nontransaction.hxx</a></li>331 <li><a·class="el"·href="a00002_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="a00077_source.html">notification.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00125_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="a00077_source.html">notification.hxx</a></li>300 <li><a·class="el"·href="a00125_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="a00128_source.html">pipeline.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00035_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="a00128_source.html">pipeline.hxx</a></li>524 <li><a·class="el"·href="a00035_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="a00071_source.html">prepared_statement.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00071_source.html">prepared_statement.hxx</a></li>437 <li><a·class="el"·href="a00095_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="a00071_source.html">prepared_statement.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00071_source.html">prepared_statement.hxx</a></li>177 <li><a·class="el"·href="a00095_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="a00032_source.html">result.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00059_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="a00032_source.html">result.hxx</a></li>1331 <li><a·class="el"·href="a00059_source.html">result.hxx</a></li>
1332 <li><a·class="el"·href="a00059_source.html">result_iterator.hxx</a></li>1332 <li><a·class="el"·href="a00098_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="a00059_source.html">result_iterator.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00098_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="a00059_source.html">result_iterator.hxx</a></li>789 <li><a·class="el"·href="a00098_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="a00059_source.html">result_iterator.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00098_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="a00059_source.html">result_iterator.hxx</a></li>682 <li><a·class="el"·href="a00098_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="a00074_source.html">robusttransaction.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00086_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="a00074_source.html">robusttransaction.hxx</a></li>373 <li><a·class="el"·href="a00086_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="a00074_source.html">robusttransaction.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00086_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="a00074_source.html">robusttransaction.hxx</a></li>404 <li><a·class="el"·href="a00086_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="a00125_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00125_source.html">row.hxx</a></li>1399 <li><a·class="el"·href="a00062_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="a00125_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00125_source.html">row.hxx</a></li>720 <li><a·class="el"·href="a00062_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="a00125_source.html">row.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00125_source.html">row.hxx</a></li>680 <li><a·class="el"·href="a00062_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="a00053_source.html">strconv.hxx</a></li>73 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>74 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>101 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>876 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>255 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>255 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>217 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>228 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>252 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>214 <li><a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00044_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="a00053_source.html">strconv.hxx</a></li>252 <li><a·class="el"·href="a00044_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="a00017_source.html">stream_base.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00116_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="a00017_source.html">stream_base.hxx</a></li>409 <li><a·class="el"·href="a00116_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="a00065_source.html">stream_from.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00092_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="a00065_source.html">stream_from.hxx</a></li>371 <li><a·class="el"·href="a00092_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="a00005_source.html">stream_to.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00077_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="a00005_source.html">stream_to.hxx</a></li>406 <li><a·class="el"·href="a00077_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="a00005_source.html">stream_to.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00077_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="a00005_source.html">stream_to.hxx</a></li>122 <li><a·class="el"·href="a00077_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="a00011_source.html">subtransaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00104_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="a00011_source.html">subtransaction.hxx</a></li>442 <li><a·class="el"·href="a00104_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="a00086_source.html">tablereader.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00026_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="a00086_source.html">tablereader.hxx</a></li>470 <li><a·class="el"·href="a00026_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="a00038_source.html">tablestream.hxx</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00074_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="a00038_source.html">tablestream.hxx</a></li>369 <li><a·class="el"·href="a00074_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="a00095_source.html">tablewriter.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00089_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="a00095_source.html">tablewriter.hxx</a></li>613 <li><a·class="el"·href="a00089_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="a00095_source.html">tablewriter.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00089_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="a00095_source.html">tablewriter.hxx</a></li>234 <li><a·class="el"·href="a00089_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="a00095_source.html">tablewriter.hxx</a>&gt;</code></p>68 <p><code>#include·&lt;<a·class="el"·href="a00089_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="a00095_source.html">tablewriter.hxx</a></li>129 <li><a·class="el"·href="a00089_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="a00083_source.html">transaction.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00047_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="a00083_source.html">transaction.hxx</a></li>322 <li><a·class="el"·href="a00047_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="a00083_source.html">transaction.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00047_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="a00092_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="a00113_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="a00083_source.html">transaction.hxx</a></li>431 <li><a·class="el"·href="a00047_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="a00107_source.html">transaction_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00107_source.html">transaction_base.hxx</a></li>360 <li><a·class="el"·href="a00119_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="a00107_source.html">transaction_base.hxx</a>&gt;</code></p>70 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00107_source.html">transaction_base.hxx</a></li>265 <li><a·class="el"·href="a00119_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="a00107_source.html">transaction_base.hxx</a>&gt;</code></p>71 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00107_source.html">transaction_base.hxx</a></li>1844 <li><a·class="el"·href="a00119_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="a00092_source.html">transactor.hxx</a>&gt;</code></p>69 <p><code>#include·&lt;<a·class="el"·href="a00113_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="a00092_source.html">transactor.hxx</a></li>285 <li><a·class="el"·href="a00113_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>
20.9 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="a00101_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="a00107_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="a00113_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="a00053_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="a00104_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="a00050_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="a00035_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="a00080_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="a00050_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="a00041_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="a00044_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="a00008_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="a00062_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="a00110_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="a00008_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="a00014_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="a00002_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="a00029_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="a00119_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="a00032_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="a00026_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="a00065_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="a00080_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="a00005_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="a00110_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="a00128_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="a00068_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="a00068_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="a00014_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="a00056_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="a00098_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="a00020_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="a00020_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="a00038_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="a00089_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="a00017_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="a00116_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="a00071_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="a00056_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="a00083_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="a00029_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="a00023_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="a00041_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="a00002_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="a00077_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="a00125_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="a00128_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="a00035_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="a00071_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="a00095_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="a00032_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="a00059_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="a00059_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="a00098_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="a00074_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="a00086_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="a00125_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="a00062_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="a00053_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="a00044_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="a00017_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="a00116_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="a00065_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="a00092_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="a00005_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="a00077_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="a00011_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="a00104_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="a00086_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="a00026_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="a00038_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="a00074_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="a00095_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="a00089_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="a00083_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="a00047_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="a00107_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="a00119_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="a00092_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="a00113_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="a00023_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="a00011_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="a00122_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="a00122_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="a00047_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="a00101_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>