--- /srv/reproducible-results/rbuild-debian/r-b-build.sqZ4y3hz/b1/ucommon_7.0.1-0.4_armhf.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.sqZ4y3hz/b2/ucommon_7.0.1-0.4_armhf.changes ├── Files │ @@ -1,7 +1,7 @@ │ │ e0486597610d0f3dbd6df3a19822b3b1 408804 libdevel optional libucommon-dev_7.0.1-0.4_armhf.deb │ 0f75ccc0cbaaecf28457c93f17347143 1417136 debug optional libucommon8t64-dbgsym_7.0.1-0.4_armhf.deb │ 8a61d6b28b3e4d17a30c3fae119668f8 244748 libs optional libucommon8t64_7.0.1-0.4_armhf.deb │ - c349be5d69a79926f256422618e8c2c5 705048 doc optional ucommon-doc_7.0.1-0.4_all.deb │ + 2842dadd4773fd318826f5c56d5b379a 706044 doc optional ucommon-doc_7.0.1-0.4_all.deb │ 68fc8ceabce46dbc835ab5cdbefa8afd 225420 debug optional ucommon-utils-dbgsym_7.0.1-0.4_armhf.deb │ 31de484b782bcb2c35338931e2ef3180 53648 utils optional ucommon-utils_7.0.1-0.4_armhf.deb ├── ucommon-doc_7.0.1-0.4_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2024-09-18 13:32:10.000000 debian-binary │ │ --rw-r--r-- 0 0 0 7980 2024-09-18 13:32:10.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 696876 2024-09-18 13:32:10.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 8008 2024-09-18 13:32:10.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 697844 2024-09-18 13:32:10.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ │ │ │ ├── line order │ │ │ │ │ @@ -1,15 +1,15 @@ │ │ │ │ │ usr/share/doc-base/ucommon-doc.ucommon │ │ │ │ │ usr/share/doc/ucommon-doc/changelog.Debian.gz │ │ │ │ │ usr/share/doc/ucommon-doc/changelog.gz │ │ │ │ │ usr/share/doc/ucommon-doc/copyright │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00143.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00143_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00144.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00145.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00293.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00293_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00294.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00295.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00392_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00393.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00394.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00395.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00395_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00396.svg │ │ │ │ │ @@ -18,33 +18,38 @@ │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00398_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00399.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00400.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00401.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00401_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00402.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00403.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00404.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00404_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00405.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00406.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00407.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00407_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00408.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00409.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00410.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00410_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00411.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00412.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00413.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00413_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00414.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00419.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00419_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00420.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00421.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00415.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00416.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00416_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00417.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00418.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00422.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00422_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00423.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00424.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00425.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00425_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00426.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00427.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00428.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00428_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00429.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00430.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00431.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00431_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00432.svg │ │ │ │ │ @@ -57,26 +62,25 @@ │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00437_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00438.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00439.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00440.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00440_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00441.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00442.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00446.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00446_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00447.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00448.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00443.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00443_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00444.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00445.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00449.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00449_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00450.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00451.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00455.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00455_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00456.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00457.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00458.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00458_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00459.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00460.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00461.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00461_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00462.svg │ │ │ │ │ @@ -93,38 +97,37 @@ │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00470_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00471.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00472.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00473.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00473_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00474.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00475.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00476.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00476_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00477.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00478.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00479.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00479_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00480.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00481.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00482.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00482_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00483.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00484.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00485.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00485_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00485_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00485_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00486.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00487.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00488.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00488_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00489.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00490.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00491.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00491_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00492.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00493.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00494.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00494_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00494_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00494_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00495.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00496.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00497.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00497_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00498.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00499.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00500.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00500_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00501.svg │ │ │ │ │ @@ -133,33 +136,30 @@ │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00504.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00505.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00506.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00506_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00507.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00508.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00509.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00509_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00510.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00511.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00512.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00512_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00513.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00514.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00515_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00518.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00518_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00519.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00520.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00521.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00521_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00522.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00523.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00524.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00524_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00527.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00525.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00526.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00527_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00528.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00529.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00530.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00530_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00531.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00532.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00533.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00533_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00534.svg │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -3,180 +3,180 @@ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-09-18 13:32:10.000000 ./usr/share/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-09-18 13:32:10.000000 ./usr/share/doc/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1036 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/changelog.Debian.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 11347 2021-08-28 12:28:09.000000 ./usr/share/doc/ucommon-doc/changelog.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10691 2022-04-09 00:13:50.000000 ./usr/share/doc/ucommon-doc/copyright │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9127 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00143.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 77944 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00143_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25834 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00144.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 69410 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00145.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 55266 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 34620 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00393.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44132 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00394.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21970 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12982 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00396.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 99208 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00397.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 20723 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 72398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41248 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00399.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 46670 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00400.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4629 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27150 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27611 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00402.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44145 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00403.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4321 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8852 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13395 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00408.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44145 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00409.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 106591 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92054 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00414.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7201 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 30479 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00420.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 66606 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00421.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25006 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 68275 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15377 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00423.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 87310 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00424.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7214 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 70662 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 40353 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00426.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44140 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00427.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10481 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 80178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27059 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00429.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 45495 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00430.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7435 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25081 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12564 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00432.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00433.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6820 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22818 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12540 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00435.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 57847 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00436.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8453 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 126034 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 19910 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00438.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 74764 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00439.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9676 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 28423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15528 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00441.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44154 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00442.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 51017 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 46348 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00447.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44135 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00448.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6055 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00449.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 51725 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00449_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 39940 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00450.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00451.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 62901 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 30500 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00456.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 63075 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00457.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11490 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 23221 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00459.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44121 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00460.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6293 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 33429 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00462.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44138 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00463.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 83570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00464.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 93077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00464_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11748 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00465.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 100899 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00466.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6577 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 17446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 91014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00468.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 43310 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00469.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 14251 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 96270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 36635 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00471.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 55269 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00472.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 59422 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 53902 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00474.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44192 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00475.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00476.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 42320 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00476_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 47180 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00477.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44132 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00478.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16999 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 65767 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41229 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00480.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44187 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00481.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 5936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21979 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13812 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00483.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 91190 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00484.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 156088 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1363 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 71163 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94695 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00486.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9052 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00487.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 52758 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 135106 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41049 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 93242 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00492.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1660 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00493.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130774 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 26249 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00498.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00499.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130664 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 24050 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 93935 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00501.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9127 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00293.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 77944 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00293_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 25834 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00294.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 69410 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00295.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6820 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22818 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12540 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00393.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 57847 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00394.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16999 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 65767 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41229 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00396.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44187 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00397.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 42320 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 47180 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00399.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44132 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00400.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8453 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 126034 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 19910 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00402.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 74764 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00403.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 51017 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 46348 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00405.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44135 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00406.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 25006 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 68275 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15377 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00408.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 87310 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00409.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7435 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00410.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 25081 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00410_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12564 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00411.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00412.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10481 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 80178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27059 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00414.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 45495 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00415.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00416.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21979 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00416_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13812 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00417.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 91190 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00418.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 83570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11748 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00423.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 100899 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00424.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 59422 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 53902 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00429.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44192 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00430.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 55266 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 34620 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00432.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44132 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00433.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7201 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 30479 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00435.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 66606 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00436.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4321 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8852 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13395 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00438.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44145 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00439.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7214 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 70662 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 40353 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00441.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44140 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00442.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6293 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 33429 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00444.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44138 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00445.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6577 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00449.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 17446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00449_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 91014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00450.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 43310 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00451.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 106591 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92054 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00456.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 20723 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 72398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41248 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00459.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 46670 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00460.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6055 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 51725 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 39940 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00462.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00463.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14251 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00464.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 96270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00464_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 36635 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00465.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 55269 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00466.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11490 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 23221 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00468.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44121 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00469.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9676 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 28423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15528 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00471.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44154 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00472.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4629 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27150 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27611 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00474.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44145 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00475.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 62901 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 30500 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00480.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 63075 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00481.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21970 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12982 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00483.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 99208 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00484.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15183 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 136710 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 80452 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92288 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00489.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1645 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00490.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 18570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92493 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00492.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15860 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00493.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 156088 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1363 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 71163 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94695 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00495.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9052 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00496.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3861 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41604 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 95456 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00498.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1635 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00499.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130768 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 54391 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94656 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00501.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1637 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00502.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3861 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 47996 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 95447 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00504.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1625 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00505.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130768 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 54391 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94656 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00507.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1637 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00508.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 134077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22322 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92037 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00510.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1659 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00511.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16708 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15183 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00515_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00518.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 18570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00518_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92493 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00519.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15860 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00520.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21605 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 96102 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00522.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00523.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12882 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00524_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 136710 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 80452 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92288 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00528.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1645 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00529.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4327 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92059 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00531.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1681 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00532.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130836 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27945 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94288 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00534.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2910 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00535.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4327 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92059 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00504.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1681 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00505.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21605 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 96102 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00507.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00508.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16708 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130664 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 24050 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93935 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00513.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1637 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00514.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00515_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 52758 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00518_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130836 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27945 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94288 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00522.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2910 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00523.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130774 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00524.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 26249 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00524_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00525.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00526.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12882 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 134077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22322 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92037 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00531.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1659 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00532.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 135106 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41049 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93242 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00534.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1660 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00535.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3861 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41604 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 95456 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00537.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1635 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00538.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 47996 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 95447 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00537.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1625 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00538.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 575837 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00539.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15952 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00566.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1872 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00566_a819038c0e9d88ac11692c2b391a968ff_cgraph.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 27183 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00570.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 29001 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00574.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7666 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00578.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 28039 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00582.html │ │ │ │ @@ -286,16 +286,16 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 19079 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/functions_func.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3218 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/globals.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2613 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/globals_defs.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2848 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/globals_func.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2734 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/globals_type.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6307 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/graph_legend.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6563 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/graph_legend.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 17669 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhc.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 14350 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhk.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 17671 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhc.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14356 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhk.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1685 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5905 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5066 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/menudata.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 582 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/minus.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 582 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/minusd.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 11233 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/namespacemembers.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6824 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/namespacemembers_func.html │ │ │ ├── ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ @@ -1,15 +1,15 @@ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -Support for memory mapped objects. │ │ │ │ +
Atomic pointers and locks. │ │ │ │ More...
│ │ │ │ -#include <ucommon/linked.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <signal.h>
#include <ucommon/platform.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Data Structures | |
class | ucommon::mapped_array< T > |
Map a reusable allocator over a named shared memory segment. More... | |
class | ucommon::mapped_reuse< T > |
Template class to map typed reusable objects into shared memory heap. More... | |
class | ucommon::mapped_view< T > |
Class to access a named mapped segment published from another process. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Typedefs | |
typedef int | atomic_t |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
Support for memory mapped objects.
│ │ │ │ -Memory mapped objects can be used to publish information so that it may be accessible directly by external programs. The mapped memory objects will usually be built as a vector vector or reusable type factory, in the latter case using the allocated shared memory block itself as a local heap. A simple template can be used to view the mapped contents that have been published by another process.
│ │ │ │ +Atomic pointers and locks.
│ │ │ │ +These are meant to use atomic CPU operations and hence offer maximum performance.
│ │ │ │ + │ │ │ │ │ │ │ │ -Definition in file mapped.h.
│ │ │ │ -Definition in file atomic.h.
│ │ │ │ +typedef int atomic_t | │ │ │ │ +
.
.
.Runtime functions. │ │ │ │ +
Basic classes for manipulating time and date based data, particularly that may be in strings. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/platform.h>
#include <ucommon/numbers.h>
#include <ucommon/typeref.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ +Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Macros | |
#define | DATE_BUFFER_SIZE 11 |
#define | DATE_STRING_SIZE 10 |
#define | DATETIME_BUFFER_SIZE 20 |
#define | DATETIME_STRING_SIZE 19 |
#define | TIME_BUFFER_SIZE 9 |
#define | TIME_STRING_SIZE 8 |
│ │ │ │ +Typedefs | |
typedef Date | ucommon::date_t |
Convenience type for using Date object. | |
typedef DateTimeString | ucommon::datetimestring_t |
Convenience type for using DateTimeString object. | |
typedef struct tm | tm_t |
Convenience type for struct tm. | |
typedef Time | ucommon::tod_t |
Convenience type for using Time object. | |
│ │ │ │ Functions | |
__attribute__ ((visibility("default"))) void cpr_runtime_error(const char *text) = NULL) | |
Function to handle runtime errors. | |
template<typename T > | |
void | freep (T **handle) |
template<typename T > | |
T * | newp (T **handle) |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ Variables | |
caddr_t | address |
caddr_t size_t | known |
void * | mem2 |
const char * | s2 |
size_t | size |
uint16_t | v |
class __attribute__((visibility("default"))) DateTime class __attribute__((visibility("default"))) DateTimeString class __attribute__((visibility("default"))) DateNumber class __attribute__((visibility("default"))) isotime typedef DateTime | ucommon::datetime_t |
The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time. | |
Runtime functions.
│ │ │ │ -This includes common runtime library functions we may need portably.
│ │ │ │ - │ │ │ │ - │ │ │ │ -Definition in file cpr.h.
│ │ │ │ -Basic classes for manipulating time and date based data, particularly that may be in strings.
│ │ │ │ │ │ │ │ -__attribute__ | │ │ │ │ -( | │ │ │ │ -(visibility("default")) | │ │ │ │ -) | │ │ │ │ -const = NULL) | │ │ │ │ -
Function to handle runtime errors.
│ │ │ │ -Portable swap code.
│ │ │ │ -Portable memory placement helper function.
│ │ │ │ -Portable memory allocation helper function.
│ │ │ │ -When using the standard C library, runtime errors are handled by a simple abort. When using the stdc++ library with stdexcept, then std::runtime_error will be thrown.
text | of runtime error. |
Handles out of heap error as a runtime error.
size | of memory block to allocate from heap. |
This is used to process "placement" new operators where a new object is constructed over a pre-allocated area of memory. This handles invalid values through runtime error.
size | of object being constructed. |
address | where the object is being placed. |
known | size of the location we are constructing the object in. |
mem1 | to swap. |
mem2 | to swap. |
size | of swap area. |
Definition in file datetime.h.
│ │ │ │ +void freep | │ │ │ │ -( | │ │ │ │ -T ** | │ │ │ │ -handle | ) | │ │ │ │ -│ │ │ │ + | #define DATE_BUFFER_SIZE 11 | │ │ │ │
Definition at line 181 of file cpr.h.
│ │ │ │ +Definition at line 53 of file datetime.h.
│ │ │ │ │ │ │ │T * newp | │ │ │ │ -( | │ │ │ │ -T ** | │ │ │ │ -handle | ) | │ │ │ │ -│ │ │ │ + | #define DATE_STRING_SIZE 10 | │ │ │ │
Definition at line 176 of file cpr.h.
│ │ │ │ +Definition at line 52 of file datetime.h.
│ │ │ │ │ │ │ │caddr_t address | │ │ │ │ +#define DATETIME_BUFFER_SIZE 20 | │ │ │ │
Definition at line 75 of file cpr.h.
│ │ │ │ +Definition at line 57 of file datetime.h.
│ │ │ │ │ │ │ │caddr_t size_t known | │ │ │ │ +#define DATETIME_STRING_SIZE 19 | │ │ │ │
Definition at line 75 of file cpr.h.
│ │ │ │ +Definition at line 56 of file datetime.h.
│ │ │ │ │ │ │ │void* mem2 | │ │ │ │ +#define TIME_BUFFER_SIZE 9 | │ │ │ │
Definition at line 83 of file cpr.h.
│ │ │ │ +Definition at line 55 of file datetime.h.
│ │ │ │ │ │ │ │const char * s2 | │ │ │ │ +#define TIME_STRING_SIZE 8 | │ │ │ │
Definition at line 148 of file cpr.h.
│ │ │ │ +Definition at line 54 of file datetime.h.
│ │ │ │ │ │ │ │const char size_t size | │ │ │ │ +typedef struct tm tm_t | │ │ │ │
uint32_t v | │ │ │ │ -
Convenience type for struct tm.
│ │ │ │ │ │ │ │ -Definition at line 167 of file cpr.h.
│ │ │ │ +Definition at line 62 of file datetime.h.
│ │ │ │ │ │ │ │Thread-aware file system manipulation class. │ │ │ │ +
Common thread shared data types we will use. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/thread.h>
#include <ucommon/typeref.h>
#include <ucommon/memory.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
#include <ucommon/socket.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Macros | |
#define | __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask)) |
#define | S_ISBLK(mode) 0 |
#define | S_ISCHR(mode) 0 |
#define | S_ISFIFO(mode) (0) |
#define | S_ISLNK(mode) (0) |
#define | S_ISREG(mode) 1 |
#define | S_ISSOCK(mode) (0) |
│ │ │ │ -Typedefs | |
typedef dir | ucommon::dir_t |
typedef dso | ucommon::dso_t |
typedef void * | ucommon::mem_t |
Convenience type for loader operations. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
bool | ucommon::is_device (const char *path) |
bool | ucommon::is_dir (const char *path) |
bool | ucommon::is_executable (const char *path) |
bool | ucommon::is_exists (const char *path) |
bool | ucommon::is_file (const char *path) |
bool | ucommon::is_link (const char *path) |
bool | ucommon::is_readable (const char *path) |
bool | ucommon::is_writable (const char *path) |
│ │ │ │ -Variables | |
class __attribute__((visibility("default"))) dir typedef fsys | ucommon::fsys_t |
Convenience class for directories. | |
template<typename T > | |
bool | ucommon::mapped_keyequal (const T *key1, const T *key2) |
template<> | |
bool | ucommon::mapped_keyequal< char > (const char *k1, const char *k2) |
template<> | |
bool | ucommon::mapped_keyequal< struct sockaddr > (const struct sockaddr *s1, const struct sockaddr *s2) |
template<typename T > | |
size_t | ucommon::mapped_keypath (const T *addr) |
template<> | |
size_t | ucommon::mapped_keypath< char > (const char *addr) |
template<> | |
size_t | ucommon::mapped_keypath< struct sockaddr > (const struct sockaddr *addr) |
Thread-aware file system manipulation class.
│ │ │ │ -This is used to provide generic file operations that are OS independent and thread-safe in behavior. This is used in particular to wrap posix calls internally to pth, and to create portable code between MSWINDOWS and Posix low-level file I/O operations.
│ │ │ │ - │ │ │ │ -Definition in file fsys.h.
│ │ │ │ -#define __S_ISTYPE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | mask | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -(((mode) & S_IFMT) == (mask)) | │ │ │ │ -
#define S_ISBLK | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -0 | │ │ │ │ -
#define S_ISCHR | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -0 | │ │ │ │ -
Common thread shared data types we will use.
│ │ │ │ +This is for specialized data types that include locking to be thread-safe.
│ │ │ │ │ │ │ │ -#define S_ISFIFO | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -(0) | │ │ │ │ -
#define S_ISLNK | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -(0) | │ │ │ │ -
#define S_ISREG | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -1 | │ │ │ │ -
Definition in file shared.h.
│ │ │ │ +.
.
.
..
..
.
.Parsing of config files that have keyword/value pairs. │ │ │ │ +
Linked objects, lists, templates, and containers. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/linked.h>
#include <ucommon/memory.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ +Data Structures | |
class | ucommon::linked_pointer< T > |
A smart pointer template for iterating linked lists. More... | |
class | ucommon::linked_value< T, O > |
A linked object base class for ordered objects. More... | |
class | ucommon::treemap< T > |
Embed data objects into a tree structured memory database. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Typedefs | |
typedef LinkedObject * | ucommon::LinkedIndex |
Convenience typedef for root pointers of single linked lists. | |
typedef DLinkedObject | ucommon::LinkedList |
│ │ │ │ +Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
Parsing of config files that have keyword/value pairs.
│ │ │ │ -This includes supporting classes to extract basic config data from files that are stored as []'s, and uses several supporting classes.
│ │ │ │ +Linked objects, lists, templates, and containers.
│ │ │ │ +Common support for objects that might be organized as single and double linked lists, rings and queues, and tree oriented data structures. These generic classes may be used to help form anything from callback registration systems and indexed memory hashes to xml parsed tree nodes.
│ │ │ │ │ │ │ │ -Definition in file keydata.h.
│ │ │ │ +Definition in file linked.h.
│ │ │ │.
..
.
.
.
.
..
.Placeholder for future classes that require stl support. │ │ │ │ +
Generic templates for C++. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <list>
#include <ucommon/cpr.h>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
Go to the source code of this file.
│ │ │ ││ │ │ │ +Data Structures | |
class | ucommon::array_pointer< T > |
Generic smart array class. More... | |
class | ucommon::pointer< T > |
Generic smart pointer class. More... | |
class | ucommon::save_restore< T > |
Save and restore global objects in function call stack frames. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Macros | |
#define | THROW(x) throw x |
#define | THROWS(x) throw(x) |
#define | THROWS_ANY throw() |
│ │ │ │ +Functions | |
template<typename T > | |
bool | ucommon::bound (const T *pointer, const T *base, size_t count) |
Convenience function to check memory arrays. | |
template<typename T > | |
T & | ucommon::clear (T &o) |
template<typename T > | |
T | ucommon::copy (const T &src) |
Convenience function to copy objects. | |
template<typename T > | |
T & | ucommon::copy (const T &src, T &to) |
template<typename T > | |
void | ucommon::copy_unsafe (T *target, const T *source) |
Convenience function to copy class. | |
template<typename T > | |
T & | ucommon::deref_pointer (T *pointer) |
Convert a pointer to a reference with type checking. | |
template<typename T > | |
T * | ucommon::dup (const T &object) |
Convenience function to duplicate object pointer to heap. | |
template<> | |
char * | ucommon::dup< char > (const char &object) |
template<typename T > | |
void | ucommon::dupfree (T object) |
template<> | |
void | ucommon::dupfree< char * > (char *object) |
template<typename T > | |
bool | ucommon::is (T &object) |
Convenience function to validate object assuming it is castable to bool. | |
template<typename T > | |
bool | ucommon::isnull (T &object) |
Convenience function to test pointer object. | |
template<typename T > | |
bool | ucommon::isnullp (T *object) |
Convenience function to test pointer-pointer object. | |
template<typename T > | |
T &() | ucommon::limit (T &value, T &low, T &high) |
Convenience macro to range restrict values. | |
template<typename T > | |
T &() | ucommon::max (T &o1, T &o2) |
Convenience function to return max of two objects. | |
template<typename T > | |
T &() | ucommon::min (T &o1, T &o2) |
Convenience function to return min of two objects. | |
template<typename T > | |
T & | ucommon::move (T &src, T &to) |
Convenience function to move objects. | |
template<typename T > | |
void | ucommon::reset_unsafe (T &object) |
Convenience function to reset an existing object. | |
template<typename T > | |
void | ucommon::store_unsafe (T &target, const T *source) |
Convenience function to store object pointer into object. | |
template<typename T > | |
void | ucommon::swap (T &o1, T &o2) |
Convenience function to swap objects. | |
template<typename T > | |
void | ucommon::zero_unsafe (T &object) |
Convenience function to zero an object and restore type info. | |
Placeholder for future classes that require stl support.
│ │ │ │ +Generic templates for C++.
│ │ │ │ +These are templates that do not depend on any ucommon classes. They can be used for generic C++ programming.
│ │ │ │ + │ │ │ │ +Definition in file generics.h.
│ │ │ │ +#define THROW | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +throw x | │ │ │ │ +
Definition at line 37 of file generics.h.
│ │ │ │ + │ │ │ │ +Definition in file stl.h.
│ │ │ │ -#define THROWS | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +throw(x) | │ │ │ │ +
Definition at line 42 of file generics.h.
│ │ │ │ + │ │ │ │ +#define THROWS_ANY throw() | │ │ │ │ +
Definition at line 43 of file generics.h.
│ │ │ │ + │ │ │ │ +.
..
..
.
.This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. │ │ │ │ +
Generic shell parsing and application services. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/ucommon.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Macros | |
#define | MAX_CIPHER_KEYSIZE 512 |
#define | MAX_DIGEST_HASHSIZE 512 |
│ │ │ │ -Typedefs | |
typedef Cipher | ucommon::cipher_t |
Convenience type for generic ciphers. | |
typedef Digest | ucommon::digest_t |
Convenience type for generic digests. | |
typedef HMAC | ucommon::hmac_t |
Convenience type for generic digests. | |
typedef secure::string | ucommon::keystring_t |
typedef Cipher::Key | ucommon::skey_t |
Convenience type for generic cipher key. | |
#define | __STR(x) (static_cast<const char *>(x)) |
#define | _STR(x) ((const char *)(x)) |
Abusive compilers... | |
#define | INVALID_PID_VALUE -1 |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<typename T > | |
class __attribute__((visibility("default"))) sstream void | ucommon::clearmem (T &var) |
Secure socket using std::iostream. | |
void | ucommon::zerofill (void *addr, size_t size) |
const char * | ucommon::__TEXT (const char *s) |
Invoke translation lookup if available. | |
const char * | ucommon::_TEXT (const char *s) |
│ │ │ │ +Variables | |
class __attribute__((visibility("default"))) shell typedef shell | ucommon::shell_t |
A utility class for generic shell operations. | |
This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++.
│ │ │ │ -This library might be used in conjunction with openssl, gnutls, etc. If no secure socket library is available, then a stub library may be used with very basic cryptographic support.
│ │ │ │ +Generic shell parsing and application services.
│ │ │ │ │ │ │ │ -Definition in file secure.h.
│ │ │ │ +Definition in file shell.h.
│ │ │ │#define __STR | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +(static_cast<const char *>(x)) | │ │ │ │ +
#define MAX_CIPHER_KEYSIZE 512 | │ │ │ │ +#define _STR | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +((const char *)(x)) | │ │ │ │
.
..
..
..
..
.Generic templates for C++. │ │ │ │ +
Various miscellaneous platform specific headers and defines. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <cstdlib>
#include <cstring>
#include <cstdlib>
#include <cstddef>
#include <stdexcept>
#include <pthread.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <cctype>
#include <climits>
#include <cerrno>
#include <new>
#include <assert.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Data Structures | |
class | ucommon::array_pointer< T > |
Generic smart array class. More... | |
class | ucommon::pointer< T > |
Generic smart pointer class. More... | |
class | ucommon::save_restore< T > |
Save and restore global objects in function call stack frames. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Macros | |
#define | THROW(x) throw x |
#define | THROWS(x) throw(x) |
#define | THROWS_ANY throw() |
#define | __ALIGNED(x) __attribute__(align(x)) |
#define | __DELETE_COPY(x) |
#define | __DELETE_DEFAULTS(x) |
#define | __DELETED |
#define | __EXPORT __attribute__ ((visibility("default"))) |
#define | __FINAL |
#define | __GNUC_PREREQ__(maj, min) 0 |
#define | __LOCAL __attribute__ ((visibility("hidden"))) |
#define | __MALLOC |
#define | __OVERRIDE |
#define | __PRINTF(x, y) |
#define | __PROGRAM(c, v) extern "C" int main(int c, char **v) |
#define | __PROTOCOL virtual |
#define | __SCANF(x, y) |
#define | __SERVICE(id, c, v) void service_##id(int c, char **v) |
#define | __SHARED __attribute__ ((visibility("default"))) |
#define | __THROW_ALLOC() throw std::bad_alloc() |
#define | __THROW_DEREF(v) |
#define | __THROW_RANGE(x) throw std::out_of_range(x) |
#define | __THROW_RUNTIME(x) throw std::runtime_error(x) |
#define | __THROW_SIZE(x) throw std::length_error(x) |
#define | __THROW_UNDEF(v, x) if(v == nullptr) throw std::runtime_error(x) |
#define | __UNUSED(x) (void)x |
#define | _POSIX_PTHREAD_SEMANTICS |
#define | _REENTRANT 1 |
#define | _THREADSAFE 1 |
#define | _UCOMMON_EXTENDED_ |
#define | _UCOMMON_PLATFORM_H_ |
#define | crit(x, text) if(!(x)) cpr_runtime_error(text) |
#define | END_NAMESPACE } |
#define | INVALID_HANDLE_VALUE -1 |
#define | INVALID_SOCKET -1 |
#define | NAMESPACE_UCOMMON namespace ucommon { |
#define | NDEBUG |
#define | PROGRAM_EXIT(code) return code |
#define | PROGRAM_MAIN(argc, argv) extern "C" int main(int argc, char **argv) |
#define | SERVICE_MAIN(id, argc, argv) void service_##id(int argc, char **argv) |
#define | UCOMMON_ABI 7 |
#define | UCOMMON_NAMESPACE ucommon |
#define | UCOMMON_RTTI 1 |
│ │ │ │ +Typedefs | |
typedef void(* | cpr_service_t) (int argc, char **argv) |
typedef int | fd_t |
typedef long | Integer |
typedef double | Real |
typedef void(* | sighandler_t) (int) |
Convenient typedef for signal handlers. | |
typedef int | socket_t |
typedef size_t | socksize_t |
typedef size_t | stacksize_t |
typedef unsigned long | timeout_t |
typedef uint8_t | ubyte_t |
typedef unsigned long | Unsigned |
│ │ │ │ Functions | |
template<typename T > | |
bool | ucommon::bound (const T *pointer, const T *base, size_t count) |
Convenience function to check memory arrays. | |
template<typename T > | |
T & | ucommon::clear (T &o) |
template<typename T > | |
T | ucommon::copy (const T &src) |
Convenience function to copy objects. | |
template<typename T > | |
T & | ucommon::copy (const T &src, T &to) |
template<typename T > | |
void | ucommon::copy_unsafe (T *target, const T *source) |
Convenience function to copy class. | |
template<typename T > | |
T & | ucommon::deref_pointer (T *pointer) |
Convert a pointer to a reference with type checking. | |
template<typename T > | |
T * | ucommon::dup (const T &object) |
Convenience function to duplicate object pointer to heap. | |
template<> | |
char * | ucommon::dup< char > (const char &object) |
template<typename T > | |
void | ucommon::dupfree (T object) |
template<> | |
void | ucommon::dupfree< char * > (char *object) |
template<typename T > | |
bool | ucommon::is (T &object) |
Convenience function to validate object assuming it is castable to bool. | |
template<typename T > | |
bool | ucommon::isnull (T &object) |
Convenience function to test pointer object. | |
template<typename T > | |
bool | ucommon::isnullp (T *object) |
Convenience function to test pointer-pointer object. | |
template<typename T > | |
T &() | ucommon::limit (T &value, T &low, T &high) |
Convenience macro to range restrict values. | |
template<typename T > | |
T &() | ucommon::max (T &o1, T &o2) |
Convenience function to return max of two objects. | |
template<typename T > | |
T &() | ucommon::min (T &o1, T &o2) |
Convenience function to return min of two objects. | |
template<typename T > | |
T & | ucommon::move (T &src, T &to) |
Convenience function to move objects. | |
template<typename T > | |
void | ucommon::reset_unsafe (T &object) |
Convenience function to reset an existing object. | |
template<typename T > | |
void | ucommon::store_unsafe (T &target, const T *source) |
Convenience function to store object pointer into object. | |
template<typename T > | |
void | ucommon::swap (T &o1, T &o2) |
Convenience function to swap objects. | |
template<typename T > | |
void | ucommon::zero_unsafe (T &object) |
Convenience function to zero an object and restore type info. | |
template<typename T > | |
const T | immutable_cast (T p) |
template<class T > | |
T * | init (T *memory) |
Template function to initialize memory by invoking default constructor. | |
template<class T , class S > | |
T | polyconst_cast (S *s) |
template<class T , class S > | |
T | polydynamic_cast (S *s) |
template<class T , class S > | |
T | polypointer_cast (S *s) |
template<class T , class S > | |
T & | polyreference_cast (S *s) |
template<class T , class S > | |
T | polystatic_cast (S *s) |
template<typename T , typename S > | |
T | protocol_cast (S *s) |
template<typename T > | |
T & | reference_cast (T *pointer) |
void | strfree (char *str) |
Matching function for strdup(). | |
│ │ │ │ +Variables | |
│ │ │ │ +const class nullptr_t | nullptr = {} |
Generic templates for C++.
│ │ │ │ -These are templates that do not depend on any ucommon classes. They can be used for generic C++ programming.
│ │ │ │ +Various miscellaneous platform specific headers and defines.
│ │ │ │ +This is used to support ucommon on different platforms. The ucommon library assumes at least a real posix threading library is present or will build thread support native on Microsoft Windows legacy platform. This header also deals with issues related to common base types.
│ │ │ │ │ │ │ │ -Definition in file generics.h.
│ │ │ │ +Definition in file platform.h.
│ │ │ │#define __ALIGNED | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +__attribute__(align(x)) | │ │ │ │ +
Definition at line 167 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __DELETE_COPY | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 175 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __DELETE_DEFAULTS | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 177 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __DELETED | │ │ │ │ +
Definition at line 174 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __EXPORT __attribute__ ((visibility("default"))) | │ │ │ │ +
Definition at line 312 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __FINAL | │ │ │ │ +
Definition at line 172 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __GNUC_PREREQ__ | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | maj, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | min | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +0 | │ │ │ │ +
Definition at line 148 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __LOCAL __attribute__ ((visibility("hidden"))) | │ │ │ │ +
Definition at line 313 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __MALLOC | │ │ │ │ +
Definition at line 216 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __OVERRIDE | │ │ │ │ +
Definition at line 173 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __PRINTF | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | y | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 214 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __PROGRAM | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | c, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | v | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +extern "C" int main(int c, char **v) | │ │ │ │ +
Definition at line 541 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __PROTOCOL virtual | │ │ │ │ +
Definition at line 127 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __SCANF | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | y | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 215 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __SERVICE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | id, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | c, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | v | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +void service_##id(int c, char **v) | │ │ │ │ +
Definition at line 547 of file platform.h.
│ │ │ │ + │ │ │ │ +#define THROW | │ │ │ │ +#define __SHARED __attribute__ ((visibility("default"))) | │ │ │ │ +
Definition at line 314 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __THROW_ALLOC | │ │ │ │ +( | │ │ │ │ +) | │ │ │ │ +throw std::bad_alloc() | │ │ │ │ +
Definition at line 67 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __THROW_DEREF | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | v | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 68 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __THROW_RANGE | │ │ │ │( | │ │ │ ││ │ │ │ | x | ) | │ │ │ │ -throw x | │ │ │ │ +throw std::out_of_range(x) | │ │ │ │
Definition at line 37 of file generics.h.
│ │ │ │ +Definition at line 65 of file platform.h.
│ │ │ │ │ │ │ │#define THROWS | │ │ │ │ +#define __THROW_RUNTIME | │ │ │ │( | │ │ │ ││ │ │ │ | x | ) | │ │ │ │ -throw(x) | │ │ │ │ +throw std::runtime_error(x) | │ │ │ │
Definition at line 42 of file generics.h.
│ │ │ │ +Definition at line 66 of file platform.h.
│ │ │ │ │ │ │ │#define THROWS_ANY throw() | │ │ │ │ +#define __THROW_SIZE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +throw std::length_error(x) | │ │ │ │
Definition at line 43 of file generics.h.
│ │ │ │ +Definition at line 64 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __THROW_UNDEF | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | v, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | x | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +if(v == nullptr) throw std::runtime_error(x) | │ │ │ │ +
Definition at line 70 of file platform.h.
│ │ │ │ + │ │ │ │ +#define __UNUSED | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +(void)x | │ │ │ │ +
Definition at line 159 of file platform.h.
│ │ │ │ + │ │ │ │ +#define _POSIX_PTHREAD_SEMANTICS | │ │ │ │ +
Definition at line 104 of file platform.h.
│ │ │ │ + │ │ │ │ +#define _REENTRANT 1 | │ │ │ │ +
Definition at line 95 of file platform.h.
│ │ │ │ + │ │ │ │ +#define _THREADSAFE 1 | │ │ │ │ +
Definition at line 100 of file platform.h.
│ │ │ │ + │ │ │ │ +#define _UCOMMON_EXTENDED_ | │ │ │ │ +
Definition at line 62 of file platform.h.
│ │ │ │ + │ │ │ │ +#define _UCOMMON_PLATFORM_H_ | │ │ │ │ +
Definition at line 55 of file platform.h.
│ │ │ │ + │ │ │ │ +#define crit | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | text | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +if(!(x)) cpr_runtime_error(text) | │ │ │ │ +
Definition at line 556 of file platform.h.
│ │ │ │ + │ │ │ │ +#define END_NAMESPACE } | │ │ │ │ +
Definition at line 92 of file platform.h.
│ │ │ │ + │ │ │ │ +#define INVALID_HANDLE_VALUE -1 | │ │ │ │ +
Definition at line 432 of file platform.h.
│ │ │ │ + │ │ │ │ +#define INVALID_SOCKET -1 | │ │ │ │ +
Definition at line 431 of file platform.h.
│ │ │ │ + │ │ │ │ +#define NAMESPACE_UCOMMON namespace ucommon { | │ │ │ │ +
Definition at line 91 of file platform.h.
│ │ │ │ + │ │ │ │ +#define NDEBUG | │ │ │ │ +
Definition at line 221 of file platform.h.
│ │ │ │ + │ │ │ │ +#define PROGRAM_EXIT | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | code | ) | │ │ │ │ +return code | │ │ │ │ +
Definition at line 543 of file platform.h.
│ │ │ │ + │ │ │ │ +#define PROGRAM_MAIN | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | argc, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | argv | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +extern "C" int main(int argc, char **argv) | │ │ │ │ +
Definition at line 542 of file platform.h.
│ │ │ │ + │ │ │ │ +#define SERVICE_MAIN | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | id, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | argc, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | argv | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +void service_##id(int argc, char **argv) | │ │ │ │ +
Definition at line 548 of file platform.h.
│ │ │ │ + │ │ │ │ +#define UCOMMON_ABI 7 | │ │ │ │ +
Definition at line 56 of file platform.h.
│ │ │ │ + │ │ │ │ +#define UCOMMON_NAMESPACE ucommon | │ │ │ │ +
Definition at line 90 of file platform.h.
│ │ │ │ + │ │ │ │ +#define UCOMMON_RTTI 1 | │ │ │ │ +
Definition at line 109 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef void(* cpr_service_t) (int argc, char **argv) | │ │ │ │ +
Definition at line 549 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef int fd_t | │ │ │ │ +
Definition at line 430 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef long Integer | │ │ │ │ +
Definition at line 569 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef double Real | │ │ │ │ +
Definition at line 571 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef void(* sighandler_t) (int) | │ │ │ │ +
Convenient typedef for signal handlers.
│ │ │ │ + │ │ │ │ +Definition at line 466 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef int socket_t | │ │ │ │ +
Definition at line 429 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef size_t socksize_t | │ │ │ │ +
Definition at line 311 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef size_t stacksize_t | │ │ │ │ +
Definition at line 428 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef unsigned long timeout_t | │ │ │ │ +
Definition at line 468 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef uint8_t ubyte_t | │ │ │ │ +
Definition at line 572 of file platform.h.
│ │ │ │ + │ │ │ │ +typedef unsigned long Unsigned | │ │ │ │ +
Definition at line 570 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 631 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Template function to initialize memory by invoking default constructor.
│ │ │ │ +If NULL is passed, then NULL is returned without any constructor called.
memory | to initialize. |
Definition at line 566 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 596 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 608 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 582 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 618 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 602 of file platform.h.
│ │ │ │ + │ │ │ │ +T protocol_cast | │ │ │ │ +( | │ │ │ │ +S * | │ │ │ │ +s | ) | │ │ │ │ +│ │ │ │ + |
Definition at line 129 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Definition at line 625 of file platform.h.
│ │ │ │ + │ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +inline | │ │ │ │ +
Matching function for strdup().
│ │ │ │ +string | to release from allocated memory. |
Definition at line 578 of file platform.h.
│ │ │ │ │ │ │ │.
..
.
..
..
.
..
Generic shell parsing and application services. │ │ │ │ +
Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators. │ │ │ │ More...
│ │ │ │ -#include <ucommon/string.h>
#include <ucommon/memory.h>
#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/socket.h>
#include <ucommon/fsys.h>
#include <ucommon/shell.h>
#include <iostream>
#include <fstream>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Macros | |
#define | __STR(x) (static_cast<const char *>(x)) |
#define | _STR(x) ((const char *)(x)) |
Abusive compilers... | |
#define | INVALID_PID_VALUE -1 |
│ │ │ │ Functions | |
const char * | ucommon::__TEXT (const char *s) |
Invoke translation lookup if available. | |
const char * | ucommon::_TEXT (const char *s) |
│ │ │ │ -Variables | |
class __attribute__((visibility("default"))) shell typedef shell | ucommon::shell_t |
A utility class for generic shell operations. | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ + | std::__attribute__ ((visibility("default"))) iostream &null |
std::string & | ucommon::operator+ (std::string &target, String &source) |
std::string & | ucommon::operator+= (std::string &target, String &source) |
std::ostream & | ucommon::operator<< (std::ostream &os, Socket::address &addr) |
std::ostream & | ucommon::operator<< (std::ostream &out, const PrintProtocol &format) |
std::ostream & | ucommon::operator<< (std::ostream &out, const string_t &str) |
std::ostream & | ucommon::operator<< (std::ostream &out, const stringlist_t &list) |
std::istream & | ucommon::operator>> (std::istream &in, stringlist_t &list) |
std::istream & | ucommon::operator>> (std::istream &inp, InputProtocol &format) |
std::istream & | ucommon::operator>> (std::istream &inp, string_t &str) |
Generic shell parsing and application services.
│ │ │ │ - │ │ │ │ -Definition in file shell.h.
│ │ │ │ -#define __STR | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -(static_cast<const char *>(x)) | │ │ │ │ -
#define _STR | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -((const char *)(x)) | │ │ │ │ -
Definition in file stream.h.
│ │ │ │ +.
Support for various automatic counting objects. │ │ │ │ +
Support for memory mapped objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/linked.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <signal.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Data Structures | |
class | ucommon::sequence< T > |
A template to return a sequence of objects of a specified type. More... | |
class | ucommon::mapped_array< T > |
Map a reusable allocator over a named shared memory segment. More... | |
class | ucommon::mapped_reuse< T > |
Template class to map typed reusable objects into shared memory heap. More... | |
class | ucommon::mapped_view< T > |
Class to access a named mapped segment published from another process. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Typedefs | |
typedef counter | ucommon::counter_t |
A convenience typecast for integer counters. | |
typedef toggle | ucommon::toggle_t |
A convenience typecast for auto-toggled bools. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
Support for various automatic counting objects.
│ │ │ │ -This header defines templates for various kinds of automatic counting and sequencing objects. Templates are used to allow manipulation of various numerical-like types.
│ │ │ │ +Support for memory mapped objects.
│ │ │ │ +Memory mapped objects can be used to publish information so that it may be accessible directly by external programs. The mapped memory objects will usually be built as a vector vector or reusable type factory, in the latter case using the allocated shared memory block itself as a local heap. A simple template can be used to view the mapped contents that have been published by another process.
│ │ │ │ │ │ │ │ -Definition in file counter.h.
│ │ │ │ +Definition in file mapped.h.
│ │ │ │.
.
.
..
.
.Atomic pointers and locks. │ │ │ │ +
Realtime timers and timer queues. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/linked.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Typedefs | |
typedef int | atomic_t |
typedef Timer | ucommon::timer_t |
A convenience type for timers. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ +Variables | |
class __attribute__((visibility("default"))) TimerQueue typedef TimerQueue::event | ucommon::TQEvent |
A timer queue for timer events. | |
Atomic pointers and locks.
│ │ │ │ -These are meant to use atomic CPU operations and hence offer maximum performance.
│ │ │ │ - │ │ │ │ - │ │ │ │ -Definition in file atomic.h.
│ │ │ │ -typedef int atomic_t | │ │ │ │ -
Realtime timers and timer queues.
│ │ │ │ +This offers ucommon support for realtime high-resolution threadsafe timers and timer queues. Threads may be scheduled by timers and timer queues may be used to inject timer events into callback objects or through virtuals.
│ │ │ │ │ │ │ │ - │ │ │ │ - │ │ │ │ -Definition in file timers.h.
│ │ │ │ +.
.
..
Linked objects, lists, templates, and containers. │ │ │ │ +
Placeholder for future classes that require stl support. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/object.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Data Structures | |
class | ucommon::linked_pointer< T > |
A smart pointer template for iterating linked lists. More... | |
class | ucommon::linked_value< T, O > |
A linked object base class for ordered objects. More... | |
class | ucommon::treemap< T > |
Embed data objects into a tree structured memory database. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Typedefs | |
typedef LinkedObject * | ucommon::LinkedIndex |
Convenience typedef for root pointers of single linked lists. | |
typedef DLinkedObject | ucommon::LinkedList |
│ │ │ │ -Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
Linked objects, lists, templates, and containers.
│ │ │ │ -Common support for objects that might be organized as single and double linked lists, rings and queues, and tree oriented data structures. These generic classes may be used to help form anything from callback registration systems and indexed memory hashes to xml parsed tree nodes.
│ │ │ │ +.
.
.
.
.
..
..
.Locking protocol classes for member function automatic operations. │ │ │ │ +
Maps of thread-safe strongly typed heap objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/protocols.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/linked.h>
#include <ucommon/thread.h>
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Macros | |
#define | __EXCLUSIVE(x) exclusive_access __autolock__ = x |
#define | __SHARE(x) shared_access __autolock__ = x |
#define | _UCOMMON_ACCESS_H_ |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<typename T > | |
class __attribute__((visibility("default"))) MapRef size_t | ucommon::mapkeypath (typeref< T > &object) |
template<> | |
size_t | ucommon::mapkeypath< const char * > (typeref< const char * > &object) |
template<> | |
size_t | ucommon::mapkeypath< const uint8_t * > (typeref< const uint8_t * > &object) |
Locking protocol classes for member function automatic operations.
│ │ │ │ -This header covers ucommon access related classes. These are used to provide automatic management of locks and synchronization objects through common virtual base classes which can be used with automatic objects. These classes are related to "protocols" and are used in conjunction with smart pointer/referencing classes. The access interface supports member functions to acquire a lock when entered and automatically release the lock when the member function returns that are used in conjunction with special referencing smart pointers.
│ │ │ │ - │ │ │ │ -Definition in file access.h.
│ │ │ │ -#define __EXCLUSIVE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -exclusive_access __autolock__ = x | │ │ │ │ -
#define __SHARE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -shared_access __autolock__ = x | │ │ │ │ -
Definition in file mapref.h.
│ │ │ │ +.
..
.
.Arrays of thread-safe strongly typed heap objects. │ │ │ │ +
Top level include file for the GNU uCommon C++ core library. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/generics.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/typeref.h>
#include <ucommon/string.h>
#include <ucommon/counter.h>
#include <ucommon/numbers.h>
#include <ucommon/reuse.h>
#include <ucommon/linked.h>
#include <ucommon/timers.h>
#include <ucommon/access.h>
#include <ucommon/memory.h>
#include <ucommon/mapped.h>
#include <ucommon/unicode.h>
#include <ucommon/datetime.h>
#include <ucommon/keydata.h>
#include <ucommon/socket.h>
#include <ucommon/condition.h>
#include <ucommon/thread.h>
#include <ucommon/arrayref.h>
#include <ucommon/mapref.h>
#include <ucommon/shared.h>
#include <ucommon/fsys.h>
#include <ucommon/temporary.h>
#include <ucommon/shell.h>
#include <ucommon/stream.h>
#include <ucommon/stl.h>
Go to the source code of this file.
│ │ │ │ -│ │ │ │ -Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Typedefs | |
typedef arrayref< Type::Bytes > | ucommon::bytearray_t |
typedef arrayref< Type::Chars > | ucommon::stringarray_t |
Arrays of thread-safe strongly typed heap objects.
│ │ │ │ -This is used for arrays of smart pointers to immutable heap instances of object types that are reference counted and automatically deleted when no longer used.
│ │ │ │ +Top level include file for the GNU uCommon C++ core library.
│ │ │ │ +This is the only include file you need to have in your sources; it includes the remaining header files.
│ │ │ │ │ │ │ │ -Definition in file arrayref.h.
│ │ │ │ +Definition in file ucommon.h.
│ │ │ │.
..
..
.
.
.Condition classes for thread sychronization and timing. │ │ │ │ +
This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/timers.h>
#include <ucommon/memory.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Macros | |
#define | MAX_CIPHER_KEYSIZE 512 |
#define | MAX_DIGEST_HASHSIZE 512 |
│ │ │ │ Typedefs | |
typedef ConditionalAccess | ucommon::accesslock_t |
Convenience type for scheduling access. | |
typedef Barrier | ucommon::barrier_t |
Convenience type for using thread barriers. | |
typedef Semaphore | ucommon::semaphore_t |
Convenience type for using counting semaphores. | |
typedef Cipher | ucommon::cipher_t |
Convenience type for generic ciphers. | |
typedef Digest | ucommon::digest_t |
Convenience type for generic digests. | |
typedef HMAC | ucommon::hmac_t |
Convenience type for generic digests. | |
typedef secure::string | ucommon::keystring_t |
typedef Cipher::Key | ucommon::skey_t |
Convenience type for generic cipher key. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ -Variables | |
class __attribute__((visibility("default"))) Conditional class __attribute__((visibility("default"))) ConditionalAccess class __attribute__((visibility("default"))) ConditionalLock class __attribute__((visibility("default"))) Barrier class __attribute__((visibility("default"))) Semaphore typedef ConditionalLock | ucommon::condlock_t |
The conditional is a common base for other thread synchronizing classes. | |
template<typename T > | |
class __attribute__((visibility("default"))) sstream void | ucommon::clearmem (T &var) |
Secure socket using std::iostream. | |
void | ucommon::zerofill (void *addr, size_t size) |
Condition classes for thread sychronization and timing.
│ │ │ │ -The theory behind ucommon sychronization objects is that all upper level sychronization objects can be formed directly from a mutex and conditional. This includes semaphores, barriers, rwlock, our own specialized conditional lock, resource-bound locking, and recursive exclusive locks. Using only conditionals means we are not dependent on platform specific pthread implementations that may not implement some of these, and hence improves portability and consistency. Given that our rwlocks are recursive access locks, one can safely create read/write threading pairs where the read threads need not worry about deadlocks and the writers need not either if they only write-lock one instance at a time to change state.
│ │ │ │ +This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++.
│ │ │ │ +This library might be used in conjunction with openssl, gnutls, etc. If no secure socket library is available, then a stub library may be used with very basic cryptographic support.
│ │ │ │ + │ │ │ │ +Definition in file secure.h.
│ │ │ │ +#define MAX_CIPHER_KEYSIZE 512 | │ │ │ │ +
Definition at line 53 of file secure.h.
│ │ │ │ │ │ │ │ -Definition in file condition.h.
│ │ │ │ -#define MAX_DIGEST_HASHSIZE 512 | │ │ │ │ +
.
..
..
..
..
.Basic UCommon Unicode support. │ │ │ │ +
Thread-aware file system manipulation class. │ │ │ │ More...
│ │ │ │ -#include <ucommon/string.h>
#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/typeref.h>
#include <ucommon/memory.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Macros | |
#define | __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask)) |
#define | S_ISBLK(mode) 0 |
#define | S_ISCHR(mode) 0 |
#define | S_ISFIFO(mode) (0) |
#define | S_ISLNK(mode) (0) |
#define | S_ISREG(mode) 1 |
#define | S_ISSOCK(mode) (0) |
│ │ │ │ Typedefs | |
typedef int16_t | ucommon::ucs2_t |
16 bit unicode character code. | |
typedef int32_t | ucommon::ucs4_t |
32 bit unicode character code. | |
typedef void * | ucommon::unicode_t |
Resolves issues where wchar_t is not defined. | |
typedef UString | ucommon::ustring_t |
Convenience type for utf8 encoded strings. | |
typedef utf8_pointer | ucommon::utf8_t |
Convenience type for utf8_pointer strings. | |
typedef dir | ucommon::dir_t |
typedef dso | ucommon::dso_t |
typedef void * | ucommon::mem_t |
Convenience type for loader operations. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<> | |
void | ucommon::dupfree< ucs2_t * > (ucs2_t *string) |
template<> | |
void | ucommon::dupfree< ucs4_t * > (ucs4_t *string) |
template<> | |
void | ucommon::dupfree< unicode_t > (unicode_t string) |
ucs4_t * | ucommon::strudup (const char *string) |
ucs2_t * | ucommon::strwdup (const char *string) |
bool | ucommon::is_device (const char *path) |
bool | ucommon::is_dir (const char *path) |
bool | ucommon::is_executable (const char *path) |
bool | ucommon::is_exists (const char *path) |
bool | ucommon::is_file (const char *path) |
bool | ucommon::is_link (const char *path) |
bool | ucommon::is_readable (const char *path) |
bool | ucommon::is_writable (const char *path) |
│ │ │ │ +Variables | |
class __attribute__((visibility("default"))) dir typedef fsys | ucommon::fsys_t |
Convenience class for directories. | |
Basic UCommon Unicode support.
│ │ │ │ -This includes computing unicode transcoding and supporting a UTF8-aware string class (UString). We may add support for a wchar_t aware string class as well, as some external api libraries may require ucs-2 or 4 encoded strings.
│ │ │ │ +Thread-aware file system manipulation class.
│ │ │ │ +This is used to provide generic file operations that are OS independent and thread-safe in behavior. This is used in particular to wrap posix calls internally to pth, and to create portable code between MSWINDOWS and Posix low-level file I/O operations.
│ │ │ │ + │ │ │ │ +Definition in file fsys.h.
│ │ │ │ +#define __S_ISTYPE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode, | │ │ │ │ +
│ │ │ │ + | │ │ │ │ + | │ │ │ │ + | mask | │ │ │ │ +
│ │ │ │ + | ) | │ │ │ │ +(((mode) & S_IFMT) == (mask)) | │ │ │ │ +
#define S_ISBLK | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +0 | │ │ │ │ +
#define S_ISCHR | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +0 | │ │ │ │ +
#define S_ISFIFO | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +(0) | │ │ │ │ +
Definition in file unicode.h.
│ │ │ │ -#define S_ISLNK | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +(0) | │ │ │ │ +
#define S_ISREG | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +1 | │ │ │ │ +
#define S_ISSOCK | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | mode | ) | │ │ │ │ +(0) | │ │ │ │ +
.
.
.
.
.
..
.Basic array and reusable object factory heap support. │ │ │ │ +
Arrays of thread-safe strongly typed heap objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/thread.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/thread.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Data Structures | |
class | ucommon::array_reuse< T > |
An array of reusable objects. More... | |
class | ucommon::paged_reuse< T > |
A reusable private pool of reusable types. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Typedefs | |
typedef unsigned short | ucommon::vectorsize_t |
typedef arrayref< Type::Bytes > | ucommon::bytearray_t |
typedef arrayref< Type::Chars > | ucommon::stringarray_t |
Basic array and reusable object factory heap support.
│ │ │ │ -This offers ucommon support for forming reusable object pools. Reusable object pools can be tied to local heaps and offer a means to create type factories that do not require global locking through malloc.
│ │ │ │ +Arrays of thread-safe strongly typed heap objects.
│ │ │ │ +This is used for arrays of smart pointers to immutable heap instances of object types that are reference counted and automatically deleted when no longer used.
│ │ │ │ │ │ │ │ -Definition in file reuse.h.
│ │ │ │ +Definition in file arrayref.h.
│ │ │ │.
.
.
.
.
.Various miscellaneous platform specific headers and defines. │ │ │ │ +
A thread-safe atomic heap management system. │ │ │ │ More...
│ │ │ │ -#include <cstdlib>
#include <cstddef>
#include <stdexcept>
#include <pthread.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <cctype>
#include <climits>
#include <cerrno>
#include <new>
#include <assert.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/object.h>
#include <ucommon/thread.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Macros | |
#define | __ALIGNED(x) __attribute__(align(x)) |
#define | __DELETE_COPY(x) |
#define | __DELETE_DEFAULTS(x) |
#define | __DELETED |
#define | __EXPORT __attribute__ ((visibility("default"))) |
#define | __FINAL |
#define | __GNUC_PREREQ__(maj, min) 0 |
#define | __LOCAL __attribute__ ((visibility("hidden"))) |
#define | __MALLOC |
#define | __OVERRIDE |
#define | __PRINTF(x, y) |
#define | __PROGRAM(c, v) extern "C" int main(int c, char **v) |
#define | __PROTOCOL virtual |
#define | __SCANF(x, y) |
#define | __SERVICE(id, c, v) void service_##id(int c, char **v) |
#define | __SHARED __attribute__ ((visibility("default"))) |
#define | __THROW_ALLOC() throw std::bad_alloc() |
#define | __THROW_DEREF(v) |
#define | __THROW_RANGE(x) throw std::out_of_range(x) |
#define | __THROW_RUNTIME(x) throw std::runtime_error(x) |
#define | __THROW_SIZE(x) throw std::length_error(x) |
#define | __THROW_UNDEF(v, x) if(v == nullptr) throw std::runtime_error(x) |
#define | __UNUSED(x) (void)x |
#define | _POSIX_PTHREAD_SEMANTICS |
#define | _REENTRANT 1 |
#define | _THREADSAFE 1 |
#define | _UCOMMON_EXTENDED_ |
#define | _UCOMMON_PLATFORM_H_ |
#define | crit(x, text) if(!(x)) cpr_runtime_error(text) |
#define | END_NAMESPACE } |
#define | INVALID_HANDLE_VALUE -1 |
#define | INVALID_SOCKET -1 |
#define | NAMESPACE_UCOMMON namespace ucommon { |
#define | NDEBUG |
#define | PROGRAM_EXIT(code) return code |
#define | PROGRAM_MAIN(argc, argv) extern "C" int main(int argc, char **argv) |
#define | SERVICE_MAIN(id, argc, argv) void service_##id(int argc, char **argv) |
#define | UCOMMON_ABI 7 |
#define | UCOMMON_NAMESPACE ucommon |
#define | UCOMMON_RTTI 1 |
│ │ │ │ Typedefs | |
typedef void(* | cpr_service_t) (int argc, char **argv) |
typedef int | fd_t |
typedef long | Integer |
typedef double | Real |
typedef void(* | sighandler_t) (int) |
Convenient typedef for signal handlers. | |
typedef int | socket_t |
typedef size_t | socksize_t |
typedef size_t | stacksize_t |
typedef unsigned long | timeout_t |
typedef uint8_t | ubyte_t |
typedef unsigned long | Unsigned |
typedef typeref< Type::Bools > | ucommon::boolref_t |
typedef const uint8_t * | ucommon::Type::Bools |
typedef typeref< Type::Bytes > | ucommon::byteref_t |
typedef const uint8_t * | ucommon::Type::Bytes |
typedef typeref< Type::Bytes >::value * | ucommon::bytevalues_t |
typedef const char * | ucommon::Type::Chars |
typedef typeref< Type::Chars >::value * | ucommon::charvalues_t |
typedef int32_t | ucommon::Type::Integer |
typedef double | ucommon::Type::Real |
typedef typeref< Type::Chars > | ucommon::stringref_t |
│ │ │ │ Functions | |
template<typename T > | |
const T | immutable_cast (T p) |
template<class T > | |
T * | init (T *memory) |
Template function to initialize memory by invoking default constructor. | |
template<class T , class S > | |
T | polyconst_cast (S *s) |
template<class T , class S > | |
T | polydynamic_cast (S *s) |
template<class T , class S > | |
T | polypointer_cast (S *s) |
template<class T , class S > | |
T & | polyreference_cast (S *s) |
template<class T , class S > | |
T | polystatic_cast (S *s) |
template<typename T , typename S > | |
T | protocol_cast (S *s) |
template<typename T > | |
T & | reference_cast (T *pointer) |
void | strfree (char *str) |
Matching function for strdup(). | |
│ │ │ │ -Variables | |
│ │ │ │ -const class nullptr_t | nullptr = {} |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<typename T > | |
typeref< T > | ucommon::typeref_cast (T x) |
Various miscellaneous platform specific headers and defines.
│ │ │ │ -This is used to support ucommon on different platforms. The ucommon library assumes at least a real posix threading library is present or will build thread support native on Microsoft Windows legacy platform. This header also deals with issues related to common base types.
│ │ │ │ - │ │ │ │ -Definition in file platform.h.
│ │ │ │ -#define __ALIGNED | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -__attribute__(align(x)) | │ │ │ │ -
Definition at line 167 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __DELETE_COPY | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 175 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __DELETE_DEFAULTS | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 177 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __DELETED | │ │ │ │ -
Definition at line 174 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __EXPORT __attribute__ ((visibility("default"))) | │ │ │ │ -
Definition at line 312 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __FINAL | │ │ │ │ -
Definition at line 172 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __GNUC_PREREQ__ | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | maj, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | min | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -0 | │ │ │ │ -
Definition at line 148 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __LOCAL __attribute__ ((visibility("hidden"))) | │ │ │ │ -
Definition at line 313 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __MALLOC | │ │ │ │ -
Definition at line 216 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __OVERRIDE | │ │ │ │ -
Definition at line 173 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __PRINTF | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | y | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 214 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __PROGRAM | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | c, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | v | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -extern "C" int main(int c, char **v) | │ │ │ │ -
Definition at line 541 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __PROTOCOL virtual | │ │ │ │ -
Definition at line 127 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __SCANF | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | y | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 215 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __SERVICE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | id, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | c, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | v | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -void service_##id(int c, char **v) | │ │ │ │ -
Definition at line 547 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __SHARED __attribute__ ((visibility("default"))) | │ │ │ │ -
Definition at line 314 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_ALLOC | │ │ │ │ -( | │ │ │ │ -) | │ │ │ │ -throw std::bad_alloc() | │ │ │ │ -
Definition at line 67 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_DEREF | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | v | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 68 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_RANGE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -throw std::out_of_range(x) | │ │ │ │ -
Definition at line 65 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_RUNTIME | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -throw std::runtime_error(x) | │ │ │ │ -
Definition at line 66 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_SIZE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -throw std::length_error(x) | │ │ │ │ -
Definition at line 64 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __THROW_UNDEF | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | v, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | x | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -if(v == nullptr) throw std::runtime_error(x) | │ │ │ │ -
Definition at line 70 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __UNUSED | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -(void)x | │ │ │ │ -
Definition at line 159 of file platform.h.
│ │ │ │ - │ │ │ │ -#define _POSIX_PTHREAD_SEMANTICS | │ │ │ │ -
Definition at line 104 of file platform.h.
│ │ │ │ - │ │ │ │ -#define _REENTRANT 1 | │ │ │ │ -
Definition at line 95 of file platform.h.
│ │ │ │ - │ │ │ │ -#define _THREADSAFE 1 | │ │ │ │ -
Definition at line 100 of file platform.h.
│ │ │ │ - │ │ │ │ -#define _UCOMMON_EXTENDED_ | │ │ │ │ -
Definition at line 62 of file platform.h.
│ │ │ │ - │ │ │ │ -#define _UCOMMON_PLATFORM_H_ | │ │ │ │ -
Definition at line 55 of file platform.h.
│ │ │ │ - │ │ │ │ -#define crit | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | text | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -if(!(x)) cpr_runtime_error(text) | │ │ │ │ -
Definition at line 556 of file platform.h.
│ │ │ │ - │ │ │ │ -#define END_NAMESPACE } | │ │ │ │ -
Definition at line 92 of file platform.h.
│ │ │ │ - │ │ │ │ -#define INVALID_HANDLE_VALUE -1 | │ │ │ │ -
Definition at line 432 of file platform.h.
│ │ │ │ - │ │ │ │ -#define INVALID_SOCKET -1 | │ │ │ │ -
Definition at line 431 of file platform.h.
│ │ │ │ - │ │ │ │ -#define NAMESPACE_UCOMMON namespace ucommon { | │ │ │ │ -
Definition at line 91 of file platform.h.
│ │ │ │ - │ │ │ │ -#define NDEBUG | │ │ │ │ -
Definition at line 221 of file platform.h.
│ │ │ │ - │ │ │ │ -#define PROGRAM_EXIT | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | code | ) | │ │ │ │ -return code | │ │ │ │ -
Definition at line 543 of file platform.h.
│ │ │ │ - │ │ │ │ -#define PROGRAM_MAIN | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | argc, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | argv | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -extern "C" int main(int argc, char **argv) | │ │ │ │ -
Definition at line 542 of file platform.h.
│ │ │ │ - │ │ │ │ -#define SERVICE_MAIN | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | id, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | argc, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | argv | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -void service_##id(int argc, char **argv) | │ │ │ │ -
Definition at line 548 of file platform.h.
│ │ │ │ - │ │ │ │ -#define UCOMMON_ABI 7 | │ │ │ │ -
Definition at line 56 of file platform.h.
│ │ │ │ - │ │ │ │ -#define UCOMMON_NAMESPACE ucommon | │ │ │ │ -
Definition at line 90 of file platform.h.
│ │ │ │ - │ │ │ │ -#define UCOMMON_RTTI 1 | │ │ │ │ -
Definition at line 109 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef void(* cpr_service_t) (int argc, char **argv) | │ │ │ │ -
Definition at line 549 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef int fd_t | │ │ │ │ -
Definition at line 430 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef long Integer | │ │ │ │ -
Definition at line 569 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef double Real | │ │ │ │ -
Definition at line 571 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef void(* sighandler_t) (int) | │ │ │ │ -
Convenient typedef for signal handlers.
│ │ │ │ - │ │ │ │ -Definition at line 466 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef int socket_t | │ │ │ │ -
Definition at line 429 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef size_t socksize_t | │ │ │ │ -
Definition at line 311 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef size_t stacksize_t | │ │ │ │ -
Definition at line 428 of file platform.h.
│ │ │ │ - │ │ │ │ -typedef unsigned long timeout_t | │ │ │ │ -
Definition at line 468 of file platform.h.
│ │ │ │ +A thread-safe atomic heap management system.
│ │ │ │ +This is used to manage immutable heap instances of object types that are reference counted and automatically deleted when no longer used. All references to the object are through smart typeref pointers. Both specific classes for strings and byte arrays, and generic templates to support generic types in the heap are offered.
│ │ │ │ │ │ │ │ -Definition in file typeref.h.
│ │ │ │ +typedef uint8_t ubyte_t | │ │ │ │ +typedef const uint8_t* ucommon::Type::Bools | │ │ │ │
Definition at line 572 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │typedef unsigned long Unsigned | │ │ │ │ +typedef const uint8_t* ucommon::Type::Bytes | │ │ │ │
Definition at line 570 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │
│ │ │ │
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 631 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │
│ │ │ │
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Template function to initialize memory by invoking default constructor.
│ │ │ │ -If NULL is passed, then NULL is returned without any constructor called.
memory | to initialize. |
Definition at line 566 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │
│ │ │ │
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 596 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 608 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 582 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 618 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 602 of file platform.h.
│ │ │ │ - │ │ │ │ -T protocol_cast | │ │ │ │ -( | │ │ │ │ -S * | │ │ │ │ -s | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 129 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Definition at line 625 of file platform.h.
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -inline | │ │ │ │ -
Matching function for strdup().
│ │ │ │ -string | to release from allocated memory. |
Definition at line 578 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │.
..
.
..
Top level include file for the GNU uCommon C++ core library. │ │ │ │ +
Basic UCommon Unicode support. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/generics.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/string.h>
#include <ucommon/counter.h>
#include <ucommon/numbers.h>
#include <ucommon/reuse.h>
#include <ucommon/linked.h>
#include <ucommon/timers.h>
#include <ucommon/access.h>
#include <ucommon/memory.h>
#include <ucommon/mapped.h>
#include <ucommon/unicode.h>
#include <ucommon/datetime.h>
#include <ucommon/keydata.h>
#include <ucommon/socket.h>
#include <ucommon/condition.h>
#include <ucommon/thread.h>
#include <ucommon/arrayref.h>
#include <ucommon/mapref.h>
#include <ucommon/shared.h>
#include <ucommon/fsys.h>
#include <ucommon/temporary.h>
#include <ucommon/shell.h>
#include <ucommon/stream.h>
#include <ucommon/stl.h>
#include <ucommon/string.h>
Go to the source code of this file.
│ │ │ │ +│ │ │ │ +Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ +Typedefs | |
typedef int16_t | ucommon::ucs2_t |
16 bit unicode character code. | |
typedef int32_t | ucommon::ucs4_t |
32 bit unicode character code. | |
typedef void * | ucommon::unicode_t |
Resolves issues where wchar_t is not defined. | |
typedef UString | ucommon::ustring_t |
Convenience type for utf8 encoded strings. | |
typedef utf8_pointer | ucommon::utf8_t |
Convenience type for utf8_pointer strings. | |
│ │ │ │ +Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<> | |
void | ucommon::dupfree< ucs2_t * > (ucs2_t *string) |
template<> | |
void | ucommon::dupfree< ucs4_t * > (ucs4_t *string) |
template<> | |
void | ucommon::dupfree< unicode_t > (unicode_t string) |
ucs4_t * | ucommon::strudup (const char *string) |
ucs2_t * | ucommon::strwdup (const char *string) |
Top level include file for the GNU uCommon C++ core library.
│ │ │ │ -This is the only include file you need to have in your sources; it includes the remaining header files.
│ │ │ │ +Basic UCommon Unicode support.
│ │ │ │ +This includes computing unicode transcoding and supporting a UTF8-aware string class (UString). We may add support for a wchar_t aware string class as well, as some external api libraries may require ucs-2 or 4 encoded strings.
│ │ │ │ │ │ │ │ -Definition in file ucommon.h.
│ │ │ │ +Definition in file unicode.h.
│ │ │ │.
..
..
.
.
A thread-safe atomic heap management system. │ │ │ │ +
Locking protocol classes for member function automatic operations. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/object.h>
#include <ucommon/thread.h>
#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/protocols.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Typedefs | |
typedef typeref< Type::Bools > | ucommon::boolref_t |
typedef const uint8_t * | ucommon::Type::Bools |
typedef typeref< Type::Bytes > | ucommon::byteref_t |
typedef const uint8_t * | ucommon::Type::Bytes |
typedef typeref< Type::Bytes >::value * | ucommon::bytevalues_t |
typedef const char * | ucommon::Type::Chars |
typedef typeref< Type::Chars >::value * | ucommon::charvalues_t |
typedef int32_t | ucommon::Type::Integer |
typedef double | ucommon::Type::Real |
typedef typeref< Type::Chars > | ucommon::stringref_t |
│ │ │ │ +Macros | |
#define | __EXCLUSIVE(x) exclusive_access __autolock__ = x |
#define | __SHARE(x) shared_access __autolock__ = x |
#define | _UCOMMON_ACCESS_H_ |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
template<typename T > | |
typeref< T > | ucommon::typeref_cast (T x) |
A thread-safe atomic heap management system.
│ │ │ │ -This is used to manage immutable heap instances of object types that are reference counted and automatically deleted when no longer used. All references to the object are through smart typeref pointers. Both specific classes for strings and byte arrays, and generic templates to support generic types in the heap are offered.
│ │ │ │ +Locking protocol classes for member function automatic operations.
│ │ │ │ +This header covers ucommon access related classes. These are used to provide automatic management of locks and synchronization objects through common virtual base classes which can be used with automatic objects. These classes are related to "protocols" and are used in conjunction with smart pointer/referencing classes. The access interface supports member functions to acquire a lock when entered and automatically release the lock when the member function returns that are used in conjunction with special referencing smart pointers.
│ │ │ │ │ │ │ │ -Definition in file typeref.h.
│ │ │ │ -Definition in file access.h.
│ │ │ │ +typedef const uint8_t* ucommon::Type::Bools | │ │ │ │ +#define __EXCLUSIVE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +exclusive_access __autolock__ = x | │ │ │ │
typedef const uint8_t* ucommon::Type::Bytes | │ │ │ │ +#define __SHARE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +shared_access __autolock__ = x | │ │ │ │
typedef const char* ucommon::Type::Chars | │ │ │ │ +#define _UCOMMON_ACCESS_H_ | │ │ │ │
typedef int32_t ucommon::Type::Integer | │ │ │ │ -
.
Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators. │ │ │ │ +
Parsing of config files that have keyword/value pairs. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/socket.h>
#include <ucommon/fsys.h>
#include <ucommon/shell.h>
#include <iostream>
#include <fstream>
#include <ucommon/platform.h>
#include <ucommon/linked.h>
#include <ucommon/memory.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ - | std::__attribute__ ((visibility("default"))) iostream &null |
std::string & | ucommon::operator+ (std::string &target, String &source) |
std::string & | ucommon::operator+= (std::string &target, String &source) |
std::ostream & | ucommon::operator<< (std::ostream &os, Socket::address &addr) |
std::ostream & | ucommon::operator<< (std::ostream &out, const PrintProtocol &format) |
std::ostream & | ucommon::operator<< (std::ostream &out, const string_t &str) |
std::ostream & | ucommon::operator<< (std::ostream &out, const stringlist_t &list) |
std::istream & | ucommon::operator>> (std::istream &in, stringlist_t &list) |
std::istream & | ucommon::operator>> (std::istream &inp, InputProtocol &format) |
std::istream & | ucommon::operator>> (std::istream &inp, string_t &str) |
Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators.
│ │ │ │ +.
.
.Basic classes for manipulating time and date based data, particularly that may be in strings. │ │ │ │ +
Condition classes for thread sychronization and timing. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/numbers.h>
#include <ucommon/typeref.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <ucommon/cpr.h>
#include <ucommon/timers.h>
#include <ucommon/memory.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Macros | |
#define | DATE_BUFFER_SIZE 11 |
#define | DATE_STRING_SIZE 10 |
#define | DATETIME_BUFFER_SIZE 20 |
#define | DATETIME_STRING_SIZE 19 |
#define | TIME_BUFFER_SIZE 9 |
#define | TIME_STRING_SIZE 8 |
│ │ │ │ Typedefs | |
typedef Date | ucommon::date_t |
Convenience type for using Date object. | |
typedef DateTimeString | ucommon::datetimestring_t |
Convenience type for using DateTimeString object. | |
typedef struct tm | tm_t |
Convenience type for struct tm. | |
typedef Time | ucommon::tod_t |
Convenience type for using Time object. | |
typedef ConditionalAccess | ucommon::accesslock_t |
Convenience type for scheduling access. | |
typedef Barrier | ucommon::barrier_t |
Convenience type for using thread barriers. | |
typedef Semaphore | ucommon::semaphore_t |
Convenience type for using counting semaphores. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
│ │ │ │ Variables | |
class __attribute__((visibility("default"))) DateTime class __attribute__((visibility("default"))) DateTimeString class __attribute__((visibility("default"))) DateNumber class __attribute__((visibility("default"))) isotime typedef DateTime | ucommon::datetime_t |
The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time. | |
class __attribute__((visibility("default"))) Conditional class __attribute__((visibility("default"))) ConditionalAccess class __attribute__((visibility("default"))) ConditionalLock class __attribute__((visibility("default"))) Barrier class __attribute__((visibility("default"))) Semaphore typedef ConditionalLock | ucommon::condlock_t |
The conditional is a common base for other thread synchronizing classes. | |
Basic classes for manipulating time and date based data, particularly that may be in strings.
│ │ │ │ - │ │ │ │ -Definition in file datetime.h.
│ │ │ │ -#define DATE_BUFFER_SIZE 11 | │ │ │ │ -
Definition at line 53 of file datetime.h.
│ │ │ │ - │ │ │ │ -#define DATE_STRING_SIZE 10 | │ │ │ │ -
Definition at line 52 of file datetime.h.
│ │ │ │ - │ │ │ │ -#define DATETIME_BUFFER_SIZE 20 | │ │ │ │ -
Definition at line 57 of file datetime.h.
│ │ │ │ - │ │ │ │ -#define DATETIME_STRING_SIZE 19 | │ │ │ │ -
Definition at line 56 of file datetime.h.
│ │ │ │ +Condition classes for thread sychronization and timing.
│ │ │ │ +The theory behind ucommon sychronization objects is that all upper level sychronization objects can be formed directly from a mutex and conditional. This includes semaphores, barriers, rwlock, our own specialized conditional lock, resource-bound locking, and recursive exclusive locks. Using only conditionals means we are not dependent on platform specific pthread implementations that may not implement some of these, and hence improves portability and consistency. Given that our rwlocks are recursive access locks, one can safely create read/write threading pairs where the read threads need not worry about deadlocks and the writers need not either if they only write-lock one instance at a time to change state.
│ │ │ │ │ │ │ │ -#define TIME_BUFFER_SIZE 9 | │ │ │ │ -
Definition at line 55 of file datetime.h.
│ │ │ │ - │ │ │ │ -#define TIME_STRING_SIZE 8 | │ │ │ │ -
Definition at line 54 of file datetime.h.
│ │ │ │ - │ │ │ │ -typedef struct tm tm_t | │ │ │ │ -
Convenience type for struct tm.
│ │ │ │ - │ │ │ │ -Definition at line 62 of file datetime.h.
│ │ │ │ - │ │ │ │ -Definition in file condition.h.
│ │ │ │ +.
.
.
..
Abstract interfaces and support. │ │ │ │ +
Runtime functions. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
__attribute__ ((visibility("default"))) void cpr_runtime_error(const char *text) = NULL) | |
Function to handle runtime errors. | |
template<typename T > | |
void | freep (T **handle) |
template<typename T > | |
T * | newp (T **handle) |
│ │ │ │ +Variables | |
caddr_t | address |
caddr_t size_t | known |
void * | mem2 |
const char * | s2 |
size_t | size |
uint16_t | v |
Abstract interfaces and support.
│ │ │ │ -This is a set of "protocols", a concept borrowed from other object oriented languages, to define interfaces for low level services. By using a protocol base class which offers both virtuals and support methods only, one can easily stack and share these as common base classes without having to consider when the final derived object implements them. Core protocol methods always are tagged with a _ prefix to make it easier to track their derivation.
│ │ │ │ +Runtime functions.
│ │ │ │ +This includes common runtime library functions we may need portably.
│ │ │ │ │ │ │ │ │ │ │ │ -Definition in file protocols.h.
│ │ │ │ -Definition in file cpr.h.
│ │ │ │ +__attribute__ | │ │ │ │ +( | │ │ │ │ +(visibility("default")) | │ │ │ │ +) | │ │ │ │ +const = NULL) | │ │ │ │ +
Function to handle runtime errors.
│ │ │ │ +Portable swap code.
│ │ │ │ +Portable memory placement helper function.
│ │ │ │ +Portable memory allocation helper function.
│ │ │ │ +When using the standard C library, runtime errors are handled by a simple abort. When using the stdc++ library with stdexcept, then std::runtime_error will be thrown.
text | of runtime error. |
Handles out of heap error as a runtime error.
size | of memory block to allocate from heap. |
This is used to process "placement" new operators where a new object is constructed over a pre-allocated area of memory. This handles invalid values through runtime error.
size | of object being constructed. |
address | where the object is being placed. |
known | size of the location we are constructing the object in. |
mem1 | to swap. |
mem2 | to swap. |
size | of swap area. |
void freep | │ │ │ │ +( | │ │ │ │ +T ** | │ │ │ │ +handle | ) | │ │ │ │ +│ │ │ │ + |
T * newp | │ │ │ │ +( | │ │ │ │ +T ** | │ │ │ │ +handle | ) | │ │ │ │ +│ │ │ │ + |
caddr_t address | │ │ │ │ +
caddr_t size_t known | │ │ │ │ +
void* mem2 | │ │ │ │ +
const char * s2 | │ │ │ │ +
const char size_t size | │ │ │ │ +
uint32_t v | │ │ │ │ +
.
..
..
.Application logging facilities abstraction. │ │ │ │ +
GNU Common C++ exception model base classes. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/slog.h>
#include <commoncpp/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
#include <commoncpp/string.h>
#include <exception>
#include <stdexcept>
Go to the source code of this file.
│ │ │ │ -│ │ │ │ -Functions | |
class __attribute__((visibility("default"))) AppLog | ost::__attribute__ ((visibility("default"))) inline AppLog &debug(AppLog &sl) |
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system. | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
│ │ │ │ -class __attribute__((visibility("default"))) AppLogException class | ost::__attribute__ ((visibility("hidden"))) AppLogPrivate |
Applog exception, used for memory problems at the moment. | |
Application logging facilities abstraction.
│ │ │ │ +GNU Common C++ exception model base classes.
│ │ │ │ │ │ │ │ -Definition in file applog.h.
│ │ │ │ -Definition in file exception.h.
│ │ │ │ +ost::__attribute__ | │ │ │ │ -( | │ │ │ │ -(visibility("default")) | │ │ │ │ -) | │ │ │ │ -& | │ │ │ │ +#define COMMONCPP_EXCEPTIONS | │ │ │ │
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system.
│ │ │ │ -Manipulator for info level.
│ │ │ │ -Manipulator for notice level.
│ │ │ │ -Manipulator for critical level.
│ │ │ │ -Manipulator for alert level.
│ │ │ │ -Manipulator for emerg level.
│ │ │ │ -Manipulator for error level.
│ │ │ │ -Manipulator for warn level.
│ │ │ │ -It uses ost::slog to write to syslog and std::clog to write to standard output.
│ │ │ │ -It provides either a stream oriented logger or a old printf style one.
│ │ │ │ -It can be used to log directly on a file or in a spooler like way. Latter uses a ost::ThreadQueue to implement a thread safe access to logger.
│ │ │ │ -It provides a global stream variable called ost::alog.
│ │ │ │ -It provides an AppLog::Ident class that represents a module name for instance that can be used to tag logs. Logging levels are the same defined into ost::Slog: Slog::levelEmergency Slog::levelAlert Slog::levelCritical Slog::levelError Slog::levelWarning Slog::levelNotice Slog::levelInfo Slog::levelDebugfrom.
│ │ │ │ -Example of usage: alog << mod_name << debug << "Hello world!" << std::endl; Manipulator for debug level
sl | application logger stream |
sl | application logger stream |
class ost::__attribute__ | │ │ │ │ -( | │ │ │ │ -(visibility("default")) | │ │ │ │ -) | │ │ │ │ -│ │ │ │ - |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor.
│ │ │ │ -XML streaming parser.
│ │ │ │ -Splits delimited string into tokens.
│ │ │ │ -Timer ports are used to provide synchronized timing events when managed under a "service thread" such as SocketService.
│ │ │ │ -This class is used to access non-reentrant date and time functions in the standard C library.
│ │ │ │ -The SemaphoreLock class is used to protect a section of code through a semaphore so that only x instances of the member function may execute concurrently.
│ │ │ │ -The WriteLock class is used to protect a section of code through a ThreadLock for "write" access to the member function.
│ │ │ │ -The ReadLock class is used to protect a section of code through a ThreadLock for "read" access to the member function.
│ │ │ │ -The Mutex Counter is a counter variable which can safely be incremented or decremented by multiple threads.
│ │ │ │ -The slog class is used to stream messages to the system's logging facility (syslogd).
│ │ │ │ -The Serial class is used as the base for all serial I/O services under APE.
│ │ │ │ -This class is used to create a "named" lock entity that can be used to control access to a resource between multiple processes.
│ │ │ │ -A class for containing portable process related functions that help create portable code.
│ │ │ │ -Stream serialization of persistent classes.
│ │ │ │ -PersistObject.
│ │ │ │ -Type manager for persistence engine.
│ │ │ │ -The MapObject is a base class which can be used to make a derived class operate on a MapTable.
│ │ │ │ -A map table allows for entities to be mapped (hash index) onto it.
│ │ │ │ -Self managed double linked list object chain.
│ │ │ │ -Self managed single linked list object chain.
│ │ │ │ -Pointer to reference counted objects.
│ │ │ │ -A reference countable object.
│ │ │ │ -The shared mempager uses a mutex to protect key access methods.
│ │ │ │ -The Multipart form is a MIME multipart document specific for the construction and delivery of form data to a web server through a post method.
│ │ │ │ -A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
│ │ │ │ -The purpose of this class is to define a base class for low level random file access that is portable between Win32 and Posix systems.
│ │ │ │ -A low level portable directory class.
│ │ │ │ -alog global log stream definition
│ │ │ │ -Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address.
│ │ │ │ -Classes derived from IPV6Address would require an specific validator to pass to the IPV6Address constructor.
│ │ │ │ -The network name and address objects are all derived from a common IPV4Address base class.
│ │ │ │ -The CIDR class is used to support routing tables and validate address policies.
│ │ │ │ -Class for the function object that validates multicast addresses.
│ │ │ │ -This is a base class for classes of function objects used by such derived classes.
│ │ │ │ - │ │ │ │ -Abstract base class for derived inet addresses validators.
│ │ │ │ -Implements a specific application operator to validate multicast addresses.
│ │ │ │ - │ │ │ │ -Validating class specialized for multicast addresses. The CIDR class is used to support routing tables and validate address policies.
│ │ │ │ - │ │ │ │ -Classless Internet Domain Routing
│ │ │ │ - │ │ │ │ -Classless Internet Domain Routing
│ │ │ │ -Specific classes, such as IPV4Host, IPV4Mask, etc, are defined from IPV4Address entirely so that the manner a network address is being used can easily be documented and understood from the code and to avoid common errors and accidental misuse of the wrong address object. For example, a "connection" to something that is declared as a "IPV4Host" can be kept type-safe from a "connection" accidently being made to something that was declared a "IPV4Broadcast".
│ │ │ │ - │ │ │ │ -Internet Address binary data type.
│ │ │ │ -Implements a specific application operator to validate multicast addresses.
│ │ │ │ - │ │ │ │ -Validating class specialized for multicast addresses. The network name and address objects are all derived from a common IPV6Address base class. Specific classes, such as IPV4Host, IPV6Mask, etc, are defined from IPV6Address entirely so that the manner a network address is being used can easily be documented and understood from the code and to avoid common errors and accidental misuse of the wrong address object. For example, a "connection" to something that is declared as a "IPV6Host" can be kept type-safe from a "connection" accidently being made to something that was declared a "IPV6Broadcast".
│ │ │ │ - │ │ │ │ -Internet Address binary data type.
│ │ │ │ -For instance: 0000000 - 77 98 21 49 0e 00 05 00 40 1c 01 1c 2f 00 00 00 w.!I......./...
│ │ │ │ -Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.
│ │ │ │ - │ │ │ │ -low level directory access class. A generic class to walk a hierarchical directory structure.
│ │ │ │ - │ │ │ │ -Directory tree walking.
│ │ │ │ -This class is a foundation both for optimized thread shared and traditional locked file access that is commonly used to build database services, rather than the standard C++ streaming file classes.
│ │ │ │ - │ │ │ │ -Portable random disk file access. This class defines a database I/O file service that can be shared by multiple processes. Each thread should access a dup of the database object, and mutex locks can be used to preserve transaction integrety if multiple threads are used.
│ │ │ │ -SharedFile is used when a database may be shared between multiple processes. SharedFile automatically applies low level byte-range "file │ │ │ │ -locks", and provides an interface to fetch and release byte-range locked portions of a file.
│ │ │ │ - │ │ │ │ -This class defines a database I/O file service that can be shared by multiple processes. Create and map a disk file into memory. This portable class works under both Posix via mmap and under the win32 API. A mapped file can be referenced directly by it's memory segment. One can map and unmap portions of a file on demand, and update changed memory pages mapped from files immediately through sync().
│ │ │ │ - │ │ │ │ -Map a named disk file into memory. The DSO dynamic loader class is used to load object files. On elf based systems this is typically done with dlopen. A dummy stub class is generated for non-dl capable systems.
│ │ │ │ - │ │ │ │ -Dynamic class file loader.
│ │ │ │ - │ │ │ │ -container for streamable multi-part MIME documents.
│ │ │ │ - │ │ │ │ -deliver form results as multipart document. This is used to attach an item part to a MIME multipart document that is being streamed. The base item part class is used by all derived items.
│ │ │ │ - │ │ │ │ -item or part of a multi-part object.
│ │ │ │ -This class is used when a mempager will be shared by multiple threads.
│ │ │ │ - │ │ │ │ -mutex protected memory pager. This class is used to associate (object) pointers with named strings. A virtual is used to allocate memory which can be overriden in the derived class.
│ │ │ │ - │ │ │ │ -associate names with pointers.
│ │ │ │ -This is used in association with smart pointers (RefPointer).
│ │ │ │ - │ │ │ │ -Object managed by smart pointer reference count.
│ │ │ │ -This is a non-template form of a reference count smart pointer, and so uses common code. This can be subclassed to return explicit object types.
│ │ │ │ - │ │ │ │ -Pointer to reference count managed objects.
│ │ │ │ -This is used for accumulating lists by using as a base class for a derived subclass.
│ │ │ │ - │ │ │ │ -Accumulating single linked list.
│ │ │ │ -This is used for accumulating lists by using as a base class for a derived subclass.
│ │ │ │ - │ │ │ │ -Accumulating double linked list.
│ │ │ │ -Unlike with Assoc, This form of map table also allows objects to be removed from the table. This table also includes a mutex lock for thread safety. A free list is also optionally maintained for reusable maps.
│ │ │ │ - │ │ │ │ -Table to hold hash indexed objects. The MapIndex allows linear access into a MapTable, that otherwise could have its elements being retrieved only by key. It can be increased, checked and dereferenced like a pointer, by means of suitable operators.
│ │ │ │ - │ │ │ │ -Index object to access MapTable elements
│ │ │ │ -Derived classes may override new and delete operators to use managed free list from a MapTable.
│ │ │ │ - │ │ │ │ -Mappable object.
│ │ │ │ -This class manages the types for generation of the persistent objects. Its data structures are managed automatically by the system. They are implicitly filled by the constructors who declare classes to the system.
│ │ │ │ - │ │ │ │ -Base class for classes that will be persistent. This object is the base for all Persistent data which is not natively serialized by the persistence::engine
│ │ │ │ -It registers itself with the persistence::TypeManager using a global constructor function. A matching deregister call is made in a global destructor, to allow DLL's to use the persistence::engine in a main executable.
│ │ │ │ -Persistable objects must never maintain bad pointers. If a pointer doesn't point to something valid, it must be NULL. This is so the persistence engine knows whether to allocate memory for an object or whether the memory has been pre-allocated.
│ │ │ │ - │ │ │ │ -This class constructs on a standard C++ STL stream and then operates in the mode specified. The stream passed into the constructor must be a binary mode to function properly.
│ │ │ │ - │ │ │ │ -These are typically referenced thru Process::xxx static member functions. Many of these members are used both for win32 and posix systems although some may be platform specific.
│ │ │ │ -Peocess wrapper class.
│ │ │ │ -The posix implimentation uses a pidfile and the win32 version uses a globally visible mutex.
│ │ │ │ - │ │ │ │ -System-wide named lock
│ │ │ │ -A serial is a system serial port that is used either for line or packet based data input. Serial ports may also be "streamable" in a derived form.
│ │ │ │ -Common C++ serial I/O classes are used to manage serial devices and implement serial device protocols. From the point of view of Common C++, serial devices are supported by the underlying Posix specified "termios" call interface.
│ │ │ │ -The serial I/O base class is used to hold a descriptor to a serial device and to provide an exception handling interface for all serial I/O classes. The base class is also used to specify serial I/O properties such as communication speed, flow control, data size, and parity. The "Serial" base class is not itself directly used in application development, however.
│ │ │ │ -Common C++ Serial I/O is itself divided into two conceptual modes; frame oriented and line oriented I/O. Both frame and line oriented I/O makes use of the ability of the underlying tty driver to buffer data and return "ready" status from when select either a specified number of bytes or newline record has been reached by manipulating termios c_cc fields appropriately. This provides some advantage in that a given thread servicing a serial port can block and wait rather than have to continually poll or read each and every byte as soon as it appears at the serial port.
│ │ │ │ - │ │ │ │ -base class for all serial I/O services.
│ │ │ │ -A default slog
object is used to avoid confusion with the native syslog facility and to imply a logical relationship to the C++ clog()
.
The key difference is that the slog
object sends it's output to the system logging daemon (typically syslogd) rather than through stderr. slog
can be streamed with the <<
operator just like clog
; a default slog object is pre-initialized, and you stream character data to it.
The slog
allows one to specify logging levels and other properties through the ()
operators. Hence, once can do:
│ │ │ │ -slog("mydaemon", SLOG_DAEMON, SLOG_EMERGENCY) << I just died << endl;│ │ │ │ -
or things like:
│ │ │ │ -│ │ │ │ -slog("mydaemon", SLOG_DAEMON); │ │ │ │ -slog(SLOG_INFO) << "daemon initalized" << endl;│ │ │ │ -
The intent is to be as common-place and as convenient to use as the stderr based clog facility found in C++, and this is especially useful for C++ daemons.
│ │ │ │ -The std::flush
manipulator doesn't work. Either the std::endl
or std::ends
manipulators must be used to cause the output to be sent to the daemon.
When this class is used on a system that doesn't have the syslog headers (i.e. a non-posix win32 box), the output goes to the a file with the same name as the syslog identifier string with '.log' appended to it. If the identifier string ends in '.exe', the '.exe' is removed before the '.log' is appened. (e.g. the identifier foo.exe will generate a log file named foo.log)
│ │ │ │ - │ │ │ │ -system logging facility class.
│ │ │ │ -A Mutex is used to protect access to the counter variable (an integer). An initial value can be specified for the counter, and it can be manipulated with the ++ and – operators.
│ │ │ │ - │ │ │ │ -Thread protected integer counter. The MutexLock class is used to protect a section of code so that at any given time only a single thread can perform the protected operation.
│ │ │ │ -It use Mutex to protect operation. Using this class is usefull and exception safe. The mutex that has been locked is automatically released when the function call stack falls out of scope, so one doesnt have to remember to unlock the mutex at each function return.
│ │ │ │ -A common use is
│ │ │ │ -void func_to_protect() { MutexLock lock(mutex); ... operation ... }
│ │ │ │ -NOTE: do not declare variable as "MutexLock (mutex)", the mutex will be released at statement end.
│ │ │ │ - │ │ │ │ -Mutex automatic locker for protected access.
│ │ │ │ -The ThreadLock is automatically released when the object falls out of scope.
│ │ │ │ -A common use is
│ │ │ │ -void func_to_protect() { ReadLock lock(threadlock); ... operation ... }
│ │ │ │ -NOTE: do not declare variable as "ReadLock (threadlock)", the mutex will be released at statement end.
│ │ │ │ - │ │ │ │ -Read mode automatic locker for protected access.
│ │ │ │ -The ThreadLock is automatically released when the object falls out of scope.
│ │ │ │ -A common use is
│ │ │ │ -void func_to_protect() { WriteLock lock(threadlock); ... operation ... }
│ │ │ │ -NOTE: do not declare variable as "WriteLock (threadlock)", the mutex will be released at statement end.
│ │ │ │ - │ │ │ │ -Read mode automatic locker for protected access.
│ │ │ │ -A common use is
│ │ │ │ -void func_to_protect() { SemaphoreLock lock(semaphore); ... operation ... }
│ │ │ │ -NOTE: do not declare variable as "SemaohoreLock (semaphore)", the mutex will be released at statement end.
│ │ │ │ - │ │ │ │ -Semaphore automatic locker for protected access.
│ │ │ │ -The class has two purposes:
Thread safe date and time functions.
│ │ │ │ -This is made into a stand-alone base class since other derived libraries (such as the serial handlers) may also use the pooled "service thread" model and hence also require this code for managing timing.
│ │ │ │ - │ │ │ │ -synchronized millisecond timing for service threads.
│ │ │ │ -The StringTokenizer takes a pointer to a string and a pointer to a string containing a number of possible delimiters. The StringTokenizer provides an input forward iterator which allows to iterate through all tokens. An iterator behaves like a logical pointer to the tokens, i.e. to shift to the next token, you've to increment the iterator, you get the token by dereferencing the iterator.
│ │ │ │ -Memory consumption: This class operates on the original string and only allocates memory for the individual tokens actually requested, so this class allocates at maximum the space required for the longest token in the given string. Since for each iteration, memory is reclaimed for the last token, you MAY NOT store pointers to them; if you need them afterwards, copy them. You may not modify the original string while you operate on it with the StringTokenizer; the behaviour is undefined in that case.
│ │ │ │ -The iterator has one special method 'nextDelimiter()' which returns a character containing the next delimiter following this tokenization process or '\0', if there are no following delimiters. In case of skipAllDelim, it returns the FIRST delimiter.
│ │ │ │ -With the method 'setDelimiters(const char*)' you may change the set of delimiters. It affects all running iterators.
│ │ │ │ -Example:
│ │ │ │ - StringTokenizer st("mary had a little lamb;its fleece was..", " ;"); │ │ │ │ - StringTokenizer::iterator i; │ │ │ │ - for (i = st.begin() ; i != st.end() ; ++i) { │ │ │ │ - cout << "Token: '" << *i << "'\t"; │ │ │ │ - cout << " next Delim: '" << i.nextDelimiter() << "'" << endl; │ │ │ │ - } │ │ │ │ -│ │ │ │ - │ │ │ │ -
This class implements a basic XML stream parser that can be used to examine an XML resource thru virtual I/O methods. This class must be derived into one that can implement the physical I/O required to parse actual data. A mixer class using XMLParser and tcpstream would be one example of this. This can also be used to parse xml content in memory buffers easily. This parser is only concerned with well-formedness, and does not perform validation.
│ │ │ │ - │ │ │ │ -Constructor. Does not deal with any state.
│ │ │ │ -keeps compilers happy.
│ │ │ │ -Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ -Get network address associated with this cidr.
│ │ │ │ -Get network mask associated with this cidr.
│ │ │ │ -Compute the broadcast address associated with this cidr.
│ │ │ │ -Set the cidr from a full or partial hostname, or from an address/mask, or a host/bits specification.
│ │ │ │ -cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ -cidr | string to use. |
Construct an empty cidr.
│ │ │ │ -Construct a copy of a cidr.
│ │ │ │ -cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ -saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ -inaddr | object to test. |
Get network address associated with this cidr.
│ │ │ │ -Get network mask associated with this cidr.
│ │ │ │ -Compute the broadcast address associated with this cidr.
│ │ │ │ -Set the cidr from a full or partial hostname, or from a host/bits specification.
│ │ │ │ -cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ -cidr | string to use. |
Construct an empty cidr.
│ │ │ │ -Construct a copy of a cidr.
│ │ │ │ -cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ -saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ -inaddr | object to test. |
Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ -host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ -host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ -validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Address object.
│ │ │ │ -addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV4Address object.
│ │ │ │ -address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ -Destructor
│ │ │ │ -Provide a string representation of the value (Internet Address) held in the IPV4Address object.
│ │ │ │ -May be used to verify if a given IPV4Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV4Address values.
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ -i | for IPV4Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV4Address object contains. This usually only happens with IPV4Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ -Allows assignment from the return of functions like inet_addr() or htonl()
│ │ │ │ -Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ -If there is more than one IP address in either IPV4Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ -Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ -This is implimented in terms of operator==
│ │ │ │ -Constructor. Does not deal with any state.
│ │ │ │ -Keeps compilers happy.
│ │ │ │ -Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ -Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ -host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ -host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ -validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV6Address object.
│ │ │ │ -addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV6Address object.
│ │ │ │ -address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ -Destructor
│ │ │ │ -Provide a string representation of the value (Internet Address) held in the IPV6Address object.
│ │ │ │ -May be used to verify if a given IPV6Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV6Address values.
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ -i | for IPV6Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV6Address object contains. This usually only happens with IPV6Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ -Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ -If there is more than one IP address in either IPV6Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ -Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ -This is implimented in terms of operator==
│ │ │ │ -output string
│ │ │ │ -HEXdump constructor.
│ │ │ │ -buffer | buffer to be "hexdumped" |
buff_len | buffer length |
max_len | max number of bytes to be "hexdumped". Usefull to truncate output. mas_len=0 does prints all. |
HEXdump destructor.
│ │ │ │ -const char* cast provided for conveneince.
│ │ │ │ -string cast provided for conveneince.
│ │ │ │ -operator <<
hd | hexdump. |
Virtual method to filter results. Virtual override methods should call baseclass method to assure . and .. names are stripped out.
│ │ │ │ -file | path to examine |
ino | info of type, date, etc. |
Construct a directory tree walk starting at the specified prefix. A maximum subdirectory depth is also specified.
│ │ │ │ -prefix | to start walk. |
maxdepth | subdirectory depth to examine. |
Construct an un-opened directory tree of a known maximum depth
│ │ │ │ -maxdepth | subdirectory subdirectory depth. |
Open a directory tree path.
│ │ │ │ -prefix | directory path to open. |
Close the directory path.
│ │ │ │ -Extract the next full pathname from the directory walk. When returning directories, a '/' is appended. The returned string is a buffer of MAX_PATH size.
│ │ │ │ -This is used to step through the filter virtual for an entire subtree, and is used for cases where a derived DirTree class performs it's primary operations through filter rather than externally by calling getPath().
│ │ │ │ -prefix | directory path to examine. |
Construct and load a DSO object file.
│ │ │ │ -filename | pathname of object file to load. |
Retrieve error indicator associated with DSO failure. This is often used in catch handlers.
│ │ │ │ -Detach a DSO object from running memory.
│ │ │ │ -Lookup a symbol in the loaded file.
│ │ │ │ -Find a specific DSO object by filename.
│ │ │ │ -name | of DSO object file (partial). |
See if DSO object is valid.
│ │ │ │ -Install debug handler...
│ │ │ │ -Contruct a multi-part document, and describe it's type.
│ │ │ │ -document | (content) type. |
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
│ │ │ │ -output | to stream document header into. |
Stream the "body" of the multi-part document. This involves streaming the headers and body of each document part.
│ │ │ │ -output | to stream document body into. |
Get a string array of the headers to use. This is used to assist URLStream::post.
│ │ │ │ -Stream the header(s) for the current document part.
│ │ │ │ -output | to stream header into. |
Stream the content of this document part.
│ │ │ │ -output | to stream document body into. |
Construct and attach a document part to a multipart document.
│ │ │ │ -top | multipart document to attach to. |
ct | Content-Type to use. |
The constructor simply initializes the count.
│ │ │ │ -The destructor is called when the reference count returns to zero. This is done through a virtual destructor.
│ │ │ │ -The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies.
│ │ │ │ -Detach current object, for example, when changing pointer.
│ │ │ │ -Patch point for mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ -Patch point for a mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ -Create an unattached pointer.
│ │ │ │ -Create a pointer attached to a reference counted object.
│ │ │ │ -Object being referenced.
│ │ │ │ -A copy constructor.
│ │ │ │ -Pointer being copied.
│ │ │ │ -Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it simply returns the current object. In a "free" list, this may not only return the first object, but also set the first to next.
│ │ │ │ -Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ -Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ -Insert object into chain. This is a virtual because derived class may choose instead to perform an insert at head or tail, may manage bookmarks, and may add mutex lock.
│ │ │ │ -object | being inserted. |
Requested in overloaded insert() method to indicate how to insert data into list
│ │ │ │ -< insert at first position in list pointed by current object
│ │ │ │ -< insert at last position in list pointed by current object
│ │ │ │ -< insert in list before current object
│ │ │ │ -< insert in list after current object
│ │ │ │ -Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it follows list to front.
│ │ │ │ -Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ -Virtual to get the insert point to use when adding new members. This may be current, or always head or always tail. As a virtual, this allows derived class to establish "policy".
│ │ │ │ -Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ -Get prev object in the list.
│ │ │ │ -Insert object into chain at given pos, as indicated by InsertMode; If no pos is given, it defaults to modeAtLast, inserting element at list's end.
│ │ │ │ -object | being inserted. |
position | where object is inserted. |
Remove object from chain.
│ │ │ │ -Creates an empty map index (pointing to nothing).
│ │ │ │ -Creates a map index pointing to a specific map object
│ │ │ │ -the | indexed object |
Creates a copy of a given map index
│ │ │ │ -the | source index object |
Dereference operator: the pointed object it is returned as void * for easy re-cast.
│ │ │ │ -Assignment operator to avoid implicit cast.
│ │ │ │ -Prefix increment operator, to be used in loops and such.
│ │ │ │ -Postfix increment operator, to be used in loops and such.
│ │ │ │ -Comparison operator, between two MapIndex's.
│ │ │ │ -Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness.
│ │ │ │ -Remove the object from it's current table.
│ │ │ │ -Save id, mark as not using any table.
│ │ │ │ -id | string for this object. |
This manages a registration to the typemanager - attempting to remove problems with the optimizers
│ │ │ │ -This adds a new construction function to the type manager
│ │ │ │ -And this one removes a type from the managers lists
│ │ │ │ -This function creates a new object of the required type and returns a pointer to it. NULL is returned if we couldn't find the type
│ │ │ │ -This constructor is used in serialization processes. It is called in CreateNewInstance in order to create an instance of the class to have Read() called on it.
│ │ │ │ -Default destructor
│ │ │ │ -This returns the ID of the persistent object (Its type)
│ │ │ │ -This method is used to write to the Persistence::Engine It is not equivalent to the << operator as it writes only the data and not the object type etc.
│ │ │ │ -This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.
│ │ │ │ -These are the modes the Persistence::Engine can work in
│ │ │ │ -Constructs a Persistence::Engine with the specified stream in the given mode. The stream must be initialized properly prior to this call or problems will ensue.
│ │ │ │ -writes a PersistObject from a reference.
│ │ │ │ -writes a PersistObject from a pointer.
│ │ │ │ -reads a PersistObject into a reference overwriting the object.
│ │ │ │ -reads a PersistObject into a pointer allocating memory for the object if necessary.
│ │ │ │ -reads the actual object data into a pre-instantiated object pointer by calling the read function of the derived class.
│ │ │ │ -reads in a class name, and caches it into the ClassMap.
│ │ │ │ -The underlying stream
│ │ │ │ -The mode of the engine. read or write
│ │ │ │ -Typedefs for the Persistence::PersistObject support
│ │ │ │ -Detach current process into a daemon, posix only. Perhaps a similar method can be used for creating win32 "services"?
│ │ │ │ -Attach the current process to another device or i/o session. It is deamonified and dissasociated with the prior parent process and controlling terminal.
│ │ │ │ -devname | path to attach to. |
Set a posix compliant signal handler.
│ │ │ │ -signo | signal no. |
handler | trap handler. |
Set system call interuptable signal handler.
│ │ │ │ -#return previous handler.
signo | signal no. |
handler | trap handler. |
Lock a process in memory. Ideally you should be deep enough where additional memallocs for functions will not kill you, or use false for future.
│ │ │ │ -future | pages as well... |
Unlock process pages.
│ │ │ │ -Spawn a process and wait for it's exit code. In win32 this is done with the spawn system call. In posix, this is done with a fork, an execvp, and a waitpid.
│ │ │ │ -exec | name of executable. |
argv | list of command arguments. |
wait | for process to exit before return. |
Get the exit status of another process, waiting for it to exit.
│ │ │ │ -pid | process id. |
Cancel a running child process.
│ │ │ │ -pid | process id. |
sig | cancel signal to apply. |
Get system environment.
│ │ │ │ -name | of symbol. |
Set system environment in a standard manner.
│ │ │ │ -name | of environment symbol to set. |
value | of environment symbol. |
overwrite | true if replace existing symbol. |
Get etc prefix path.
│ │ │ │ -Get home directory.
│ │ │ │ -Get user name.
│ │ │ │ -Set user id by name.
│ │ │ │ -Set the effective group id by name.
│ │ │ │ -Return the effective operating system page size.
│ │ │ │ -Used to set process priority and optionally enable realtime.
│ │ │ │ -Used to set process scheduling policy.
│ │ │ │ -Portable shortcut for setting realtime...
│ │ │ │ -Return true if scheduler settable.
│ │ │ │ -Return true if realtime scheduling.
│ │ │ │ -Create a lock under a known name.
│ │ │ │ -name | of system-wide lock to create. |
Create a new lock object that can be used to make locks.
│ │ │ │ -Destroy the current lock and release it.
│ │ │ │ -Lock a system-wide name for this process. If the lock is successful, return true. If an existing lock was already acquired, release it first.
│ │ │ │ -name | system-wide lock to use. |
Release an acquired lock.
│ │ │ │ -Flag if the current process has aqcuired a lock.
│ │ │ │ -Used to properly initialize serial object.
│ │ │ │ -Opens the serial device.
│ │ │ │ -fname | Pathname of device to open |
Closes the serial device.
│ │ │ │ -Reads from serial device.
│ │ │ │ -Data | Point to character buffer to receive data. Buffers MUST be at least Length + 1 bytes in size. |
Length | Number of bytes to read. |
Writes to serial device.
│ │ │ │ -Data | Point to character buffer containing data to write. Buffers MUST |
Length | Number of bytes to write. |
This service is used to throw all serial errors which usually occur during the serial constructor.
│ │ │ │ -error | defined serial error id. |
errstr | string or message to optionally pass. |
This service is used to thow application defined serial errors where the application specific error code is a string.
│ │ │ │ -err | string or message to pass. |
This method is used to turn the error handler on or off for "throwing" execptions by manipulating the thrown flag.
│ │ │ │ -enable | true to enable handler. |
Set packet read mode and "size" of packet read buffer. This sets VMIN to x. VTIM is normally set to "0" so that "isPending()" can wait for an entire packet rather than just the first byte.
│ │ │ │ -size | of packet read request. |
btimer | optional inter-byte data packet timeout. |
Set "line buffering" read mode and specifies the newline character to be used in seperating line records. isPending can then be used to wait for an entire line of input.
│ │ │ │ -newline | newline character. |
nl1 | EOL2 control character. |
Restore serial device to the original settings at time of open.
│ │ │ │ -Used to flush the input waiting queue.
│ │ │ │ -Used to flush any pending output data.
│ │ │ │ -Used to wait until all output has been sent.
│ │ │ │ -Used as the default destructor for ending serial I/O services. It will restore the port to it's original state.
│ │ │ │ -Used to initialize a newly opened serial file handle. You should set serial properties and DTR manually before first use.
│ │ │ │ -This allows later ttystream class to open and close a serial device.
│ │ │ │ -A serial object may be constructed from a named file on the file system. This named device must be "isatty()".
│ │ │ │ -name | of file. |
The serial base class may be "thrown" as a result on an error, and the "catcher" may then choose to destory the object. By assuring the socket base class is a virtual destructor, we can assure the full object is properly terminated.
│ │ │ │ -Serial ports may also be duplecated by the assignment operator.
│ │ │ │ -Set serial port speed for both input and output.
│ │ │ │ -speed | to select. 0 signifies modem "hang up". |
Set character size.
│ │ │ │ -bits | character size to use (usually 7 or 8). |
Set parity mode.
│ │ │ │ -parity | mode. |
Set number of stop bits.
│ │ │ │ -bits | stop bits. |
Set flow control.
│ │ │ │ -flow | control mode. |
Set the DTR mode off momentarily.
│ │ │ │ -millisec | number of milliseconds. |
Send the "break" signal.
│ │ │ │ -Often used by a "catch" to fetch the last error of a thrown serial.
│ │ │ │ -Often used by a "catch" to fetch the user set error string of a thrown serial.
│ │ │ │ -Get the "buffer" size for buffered operations. This can be used when setting packet or line read modes to determine how many bytes to wait for in a given read call.
│ │ │ │ -Get the status of pending operations. This can be used to examine if input or output is waiting, or if an error has occured on the serial device.
│ │ │ │ -pend | ready check to perform. |
timeout | in milliseconds. |
Acquire the mutex
│ │ │ │ -_mutex | reference to mutex to aquire. |
Release the mutex automatically
│ │ │ │ -Wait for read access
│ │ │ │ -_tl | reference to lock to aquire. |
Post the semaphore automatically
│ │ │ │ -Wait for write access
│ │ │ │ -_tl | reference to threadlock to aquire. |
Post the semaphore automatically
│ │ │ │ -Wait for the semaphore
│ │ │ │ -Post the semaphore automatically
│ │ │ │ -Create a timer, mark it as inactive, and set the initial "start" time to the creation time of the timer object. This allows "incTimer" to initially refer to time delays relative to the original start time of the object.
│ │ │ │ -Set a new start time for the object based on when this call is made and optionally activate the timer for a specified number of milliseconds. This can be used to set the starting time of a realtime session.
│ │ │ │ -timeout | delay in milliseconds from "now" |
Set a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ -timeout | delay in milliseconds from reference. |
Adjust a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ -timeout | delay in milliseconds from reference. |
Sleep until the current timer expires. This is useful in time syncing realtime periodic tasks.
│ │ │ │ -This is used to "disable" the service thread from expiring the timer object. It does not effect the reference time from either creation or a setTimer().
│ │ │ │ -This is used by service threads to determine how much time remains before the timer expires based on a timeout specified in setTimer() or incTimer(). It can also be called after setting a timeout with incTimer() to see if the current timeout has already expired and hence that the application is already delayed and should skip frame(s).
│ │ │ │ -return time remaining in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ -This is used to determine how much time has elapsed since a timer port setTimer benchmark time was initially set. This allows one to use setTimer() to set the timer to the current time and then measure elapsed time from that point forward.
│ │ │ │ -return time elapsed in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ -a delimiter string containing all usual whitespace delimiters. These are space, tab, newline, carriage return, formfeed and vertical tab. (see isspace() manpage).
│ │ │ │ -Exception thrown, if someone tried to read beyond the end of the tokens. Will not happen if you use it the 'clean' way with comparison against end(), but if you skip some tokens, because you 'know' they are there. Simplifies error handling a lot, since you can just read your tokens the way you expect it, and if there is some error in the input this Exception will be thrown.
│ │ │ │ -The input forward iterator for tokens.
│ │ │ │ -copy constructor.
│ │ │ │ -assignment operator.
│ │ │ │ -shifts this iterator to the next token in the string.
│ │ │ │ -returns the immutable string this iterator points to or '0' if no token is available (i.e. i == end()). Do not store pointers to this token, since it is invalidated for each iteration. If you need the token, copy it (e.g. with strdup());
│ │ │ │ -returns the next delimiter after the current token or '\0', if there are no following delimiters. It returns the very next delimiter (even if skipAllDelim=true).
│ │ │ │ -compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ -compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ -creates a new StringTokenizer for a string and a given set of delimiters.
│ │ │ │ -str | String to be split up. This string will not be modified by this StringTokenizer, but you may as well not modfiy this string while tokenizing is in process, which may lead to undefined behaviour. |
delim | String containing the characters which should be regarded as delimiters. |
skipAllDelim | OPTIONAL. true, if subsequent delimiters should be skipped at once or false, if empty tokens should be returned for two delimiters with no other text inbetween. The first behaviour may be desirable for whitespace skipping, the second for input with delimited entry e.g. /etc/passwd like files or CSV input. NOTE, that 'true' here resembles the ANSI-C strtok(char *s,char *d) behaviour. DEFAULT = false |
trim | OPTIONAL. true, if the tokens returned should be trimmed, so that they don't have any whitespaces at the beginning or end. Whitespaces are any of the characters defined in StringTokenizer::SPACE. If delim itself is StringTokenizer::SPACE, this will result in a behaviour with skipAllDelim = true. DEFAULT = false |
create a new StringTokenizer which splits the input string at whitespaces. The tokens are stripped from whitespaces. This means, if you change the set of delimiters in either the 'begin(const char *delim)' method or in 'setDelimiters()', you then get whitespace trimmed tokens, delimited by the new set. Behaves like StringTokenizer(s, StringTokenizer::SPACE,false,true);
│ │ │ │ -returns the begin iterator
│ │ │ │ -changes the set of delimiters used in subsequent iterations.
│ │ │ │ -returns a begin iterator with an alternate set of delimiters.
│ │ │ │ -the iterator marking the end.
│ │ │ │ -Create xml parser.
size | of XML data buffer. |
Destroy xml parser.
│ │ │ │ -Virtual to receive embedded comments in XML document being parsed.
text | received. |
size | of text received. |
Virtual to receive character text extracted from the document.
text | received. |
size | of text received. |
Notify start of document event.
│ │ │ │ -Notify end of document event.
│ │ │ │ -Notify start of an element in the document.
name | of element found. |
attr | list of attributes extracted. |
Notify end of an element in the document.
name | of element ending. |
Parse a chunk of data and return parser completion flag. This is used to externally drive data into the XML parser. The return status can be used to determine when a document has been fully parsed. This can be called multiple times to push stream data into the parser.
address | of data to parse. |
size | of data to parse. |
Parse a stream buffer and return parser document completion flag. This is used to scan a stream buffer for a complete XML document. The stream is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
stream | buffer to parse. |
Parse a file buffer and return parser document completion flag. This is used to scan a file buffer for a complete XML document. The file is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
file | buffer to parse. |
End of document check.
Get network address associated with this cidr.
│ │ │ │ -Get network mask associated with this cidr.
│ │ │ │ -Compute the broadcast address associated with this cidr.
│ │ │ │ -Set the cidr from a full or partial hostname, or from an address/mask, or a host/bits specification.
│ │ │ │ -cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ -cidr | string to use. |
Construct an empty cidr.
│ │ │ │ -Construct a copy of a cidr.
│ │ │ │ -cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ -saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ -inaddr | object to test. |
Get network address associated with this cidr.
│ │ │ │ -Get network mask associated with this cidr.
│ │ │ │ -Compute the broadcast address associated with this cidr.
│ │ │ │ -Set the cidr from a full or partial hostname, or from a host/bits specification.
│ │ │ │ -cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ -cidr | string to use. |
Construct an empty cidr.
│ │ │ │ -Construct a copy of a cidr.
│ │ │ │ -cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ -saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ -inaddr | object to test. |
Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ -host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ -host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ -validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Address object.
│ │ │ │ -addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV4Address object.
│ │ │ │ -address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ -Destructor
│ │ │ │ -Provide a string representation of the value (Internet Address) held in the IPV4Address object.
│ │ │ │ -May be used to verify if a given IPV4Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV4Address values.
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ -i | for IPV4Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV4Address object contains. This usually only happens with IPV4Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ -Allows assignment from the return of functions like inet_addr() or htonl()
│ │ │ │ -Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ -If there is more than one IP address in either IPV4Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ -Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ -This is implimented in terms of operator==
│ │ │ │ -Constructor. Does not deal with any state.
│ │ │ │ -Keeps compilers happy.
│ │ │ │ -Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ -Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ -host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ -host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ -validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV6Address object.
│ │ │ │ -addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV6Address object.
│ │ │ │ -address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ -Destructor
│ │ │ │ -Provide a string representation of the value (Internet Address) held in the IPV6Address object.
│ │ │ │ -May be used to verify if a given IPV6Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV6Address values.
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ -Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ -i | for IPV6Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV6Address object contains. This usually only happens with IPV6Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ -Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ -If there is more than one IP address in either IPV6Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ -Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ -This is implimented in terms of operator==
│ │ │ │ -output string
│ │ │ │ -HEXdump constructor.
│ │ │ │ -buffer | buffer to be "hexdumped" |
buff_len | buffer length |
max_len | max number of bytes to be "hexdumped". Usefull to truncate output. mas_len=0 does prints all. |
HEXdump destructor.
│ │ │ │ -const char* cast provided for conveneince.
│ │ │ │ -string cast provided for conveneince.
│ │ │ │ -operator <<
hd | hexdump. |
Virtual method to filter results. Virtual override methods should call baseclass method to assure . and .. names are stripped out.
│ │ │ │ -file | path to examine |
ino | info of type, date, etc. |
Construct a directory tree walk starting at the specified prefix. A maximum subdirectory depth is also specified.
│ │ │ │ -prefix | to start walk. |
maxdepth | subdirectory depth to examine. |
Construct an un-opened directory tree of a known maximum depth
│ │ │ │ -maxdepth | subdirectory subdirectory depth. |
Open a directory tree path.
│ │ │ │ -prefix | directory path to open. |
Close the directory path.
│ │ │ │ -Extract the next full pathname from the directory walk. When returning directories, a '/' is appended. The returned string is a buffer of MAX_PATH size.
│ │ │ │ -This is used to step through the filter virtual for an entire subtree, and is used for cases where a derived DirTree class performs it's primary operations through filter rather than externally by calling getPath().
│ │ │ │ -prefix | directory path to examine. |
Construct and load a DSO object file.
│ │ │ │ -filename | pathname of object file to load. |
Retrieve error indicator associated with DSO failure. This is often used in catch handlers.
│ │ │ │ -Detach a DSO object from running memory.
│ │ │ │ -Lookup a symbol in the loaded file.
│ │ │ │ -Find a specific DSO object by filename.
│ │ │ │ -name | of DSO object file (partial). |
See if DSO object is valid.
│ │ │ │ -Install debug handler...
│ │ │ │ -Contruct a multi-part document, and describe it's type.
│ │ │ │ -document | (content) type. |
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
│ │ │ │ -output | to stream document header into. |
Stream the "body" of the multi-part document. This involves streaming the headers and body of each document part.
│ │ │ │ -output | to stream document body into. |
Get a string array of the headers to use. This is used to assist URLStream::post.
│ │ │ │ -Stream the header(s) for the current document part.
│ │ │ │ -output | to stream header into. |
Stream the content of this document part.
│ │ │ │ -output | to stream document body into. |
Construct and attach a document part to a multipart document.
│ │ │ │ -top | multipart document to attach to. |
ct | Content-Type to use. |
The constructor simply initializes the count.
│ │ │ │ -The destructor is called when the reference count returns to zero. This is done through a virtual destructor.
│ │ │ │ -The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies.
│ │ │ │ -Detach current object, for example, when changing pointer.
│ │ │ │ -Patch point for mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ -Patch point for a mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ -Create an unattached pointer.
│ │ │ │ -Create a pointer attached to a reference counted object.
│ │ │ │ -Object being referenced.
│ │ │ │ -A copy constructor.
│ │ │ │ -Pointer being copied.
│ │ │ │ -Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it simply returns the current object. In a "free" list, this may not only return the first object, but also set the first to next.
│ │ │ │ -Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ -Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ -Insert object into chain. This is a virtual because derived class may choose instead to perform an insert at head or tail, may manage bookmarks, and may add mutex lock.
│ │ │ │ -object | being inserted. |
Requested in overloaded insert() method to indicate how to insert data into list
│ │ │ │ -< insert at first position in list pointed by current object
│ │ │ │ -< insert at last position in list pointed by current object
│ │ │ │ -< insert in list before current object
│ │ │ │ -< insert in list after current object
│ │ │ │ -Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it follows list to front.
│ │ │ │ -Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ -Virtual to get the insert point to use when adding new members. This may be current, or always head or always tail. As a virtual, this allows derived class to establish "policy".
│ │ │ │ -Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ -Get prev object in the list.
│ │ │ │ -Insert object into chain at given pos, as indicated by InsertMode; If no pos is given, it defaults to modeAtLast, inserting element at list's end.
│ │ │ │ -object | being inserted. |
position | where object is inserted. |
Remove object from chain.
│ │ │ │ -Creates an empty map index (pointing to nothing).
│ │ │ │ -Creates a map index pointing to a specific map object
│ │ │ │ -the | indexed object |
Creates a copy of a given map index
│ │ │ │ -the | source index object |
Dereference operator: the pointed object it is returned as void * for easy re-cast.
│ │ │ │ -Assignment operator to avoid implicit cast.
│ │ │ │ -Prefix increment operator, to be used in loops and such.
│ │ │ │ -Postfix increment operator, to be used in loops and such.
│ │ │ │ -Comparison operator, between two MapIndex's.
│ │ │ │ -Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness.
│ │ │ │ -Remove the object from it's current table.
│ │ │ │ -Save id, mark as not using any table.
│ │ │ │ -id | string for this object. |
This manages a registration to the typemanager - attempting to remove problems with the optimizers
│ │ │ │ -This adds a new construction function to the type manager
│ │ │ │ -And this one removes a type from the managers lists
│ │ │ │ -This function creates a new object of the required type and returns a pointer to it. NULL is returned if we couldn't find the type
│ │ │ │ -This constructor is used in serialization processes. It is called in CreateNewInstance in order to create an instance of the class to have Read() called on it.
│ │ │ │ -Default destructor
│ │ │ │ -This returns the ID of the persistent object (Its type)
│ │ │ │ -This method is used to write to the Persistence::Engine It is not equivalent to the << operator as it writes only the data and not the object type etc.
│ │ │ │ -This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.
│ │ │ │ -These are the modes the Persistence::Engine can work in
│ │ │ │ -Constructs a Persistence::Engine with the specified stream in the given mode. The stream must be initialized properly prior to this call or problems will ensue.
│ │ │ │ -writes a PersistObject from a reference.
│ │ │ │ -writes a PersistObject from a pointer.
│ │ │ │ -reads a PersistObject into a reference overwriting the object.
│ │ │ │ -reads a PersistObject into a pointer allocating memory for the object if necessary.
│ │ │ │ -reads the actual object data into a pre-instantiated object pointer by calling the read function of the derived class.
│ │ │ │ -reads in a class name, and caches it into the ClassMap.
│ │ │ │ -The underlying stream
│ │ │ │ -The mode of the engine. read or write
│ │ │ │ -Typedefs for the Persistence::PersistObject support
│ │ │ │ -Detach current process into a daemon, posix only. Perhaps a similar method can be used for creating win32 "services"?
│ │ │ │ -Attach the current process to another device or i/o session. It is deamonified and dissasociated with the prior parent process and controlling terminal.
│ │ │ │ -devname | path to attach to. |
Set a posix compliant signal handler.
│ │ │ │ -signo | signal no. |
handler | trap handler. |
Set system call interuptable signal handler.
│ │ │ │ -#return previous handler.
signo | signal no. |
handler | trap handler. |
Lock a process in memory. Ideally you should be deep enough where additional memallocs for functions will not kill you, or use false for future.
│ │ │ │ -future | pages as well... |
Unlock process pages.
│ │ │ │ -Spawn a process and wait for it's exit code. In win32 this is done with the spawn system call. In posix, this is done with a fork, an execvp, and a waitpid.
│ │ │ │ -exec | name of executable. |
argv | list of command arguments. |
wait | for process to exit before return. |
Get the exit status of another process, waiting for it to exit.
│ │ │ │ -pid | process id. |
Cancel a running child process.
│ │ │ │ -pid | process id. |
sig | cancel signal to apply. |
Get system environment.
│ │ │ │ -name | of symbol. |
Set system environment in a standard manner.
│ │ │ │ -name | of environment symbol to set. |
value | of environment symbol. |
overwrite | true if replace existing symbol. |
Get etc prefix path.
│ │ │ │ -Get home directory.
│ │ │ │ -Get user name.
│ │ │ │ -Set user id by name.
│ │ │ │ -Set the effective group id by name.
│ │ │ │ -Return the effective operating system page size.
│ │ │ │ -Used to set process priority and optionally enable realtime.
│ │ │ │ -Used to set process scheduling policy.
│ │ │ │ -Portable shortcut for setting realtime...
│ │ │ │ -Return true if scheduler settable.
│ │ │ │ -Return true if realtime scheduling.
│ │ │ │ -Create a lock under a known name.
│ │ │ │ -name | of system-wide lock to create. |
Create a new lock object that can be used to make locks.
│ │ │ │ -Destroy the current lock and release it.
│ │ │ │ -Lock a system-wide name for this process. If the lock is successful, return true. If an existing lock was already acquired, release it first.
│ │ │ │ -name | system-wide lock to use. |
Release an acquired lock.
│ │ │ │ -Flag if the current process has aqcuired a lock.
│ │ │ │ -Used to properly initialize serial object.
│ │ │ │ -Opens the serial device.
│ │ │ │ -fname | Pathname of device to open |
Closes the serial device.
│ │ │ │ -Reads from serial device.
│ │ │ │ -Data | Point to character buffer to receive data. Buffers MUST be at least Length + 1 bytes in size. |
Length | Number of bytes to read. |
Writes to serial device.
│ │ │ │ -Data | Point to character buffer containing data to write. Buffers MUST |
Length | Number of bytes to write. |
This service is used to throw all serial errors which usually occur during the serial constructor.
│ │ │ │ -error | defined serial error id. |
errstr | string or message to optionally pass. |
This service is used to thow application defined serial errors where the application specific error code is a string.
│ │ │ │ -err | string or message to pass. |
This method is used to turn the error handler on or off for "throwing" execptions by manipulating the thrown flag.
│ │ │ │ -enable | true to enable handler. |
Set packet read mode and "size" of packet read buffer. This sets VMIN to x. VTIM is normally set to "0" so that "isPending()" can wait for an entire packet rather than just the first byte.
│ │ │ │ -size | of packet read request. |
btimer | optional inter-byte data packet timeout. |
Set "line buffering" read mode and specifies the newline character to be used in seperating line records. isPending can then be used to wait for an entire line of input.
│ │ │ │ -newline | newline character. |
nl1 | EOL2 control character. |
Restore serial device to the original settings at time of open.
│ │ │ │ -Used to flush the input waiting queue.
│ │ │ │ -Used to flush any pending output data.
│ │ │ │ -Used to wait until all output has been sent.
│ │ │ │ -Used as the default destructor for ending serial I/O services. It will restore the port to it's original state.
│ │ │ │ -Used to initialize a newly opened serial file handle. You should set serial properties and DTR manually before first use.
│ │ │ │ -This allows later ttystream class to open and close a serial device.
│ │ │ │ -A serial object may be constructed from a named file on the file system. This named device must be "isatty()".
│ │ │ │ -name | of file. |
The serial base class may be "thrown" as a result on an error, and the "catcher" may then choose to destory the object. By assuring the socket base class is a virtual destructor, we can assure the full object is properly terminated.
│ │ │ │ -Serial ports may also be duplecated by the assignment operator.
│ │ │ │ -Set serial port speed for both input and output.
│ │ │ │ -speed | to select. 0 signifies modem "hang up". |
Set character size.
│ │ │ │ -bits | character size to use (usually 7 or 8). |
Set parity mode.
│ │ │ │ -parity | mode. |
Set number of stop bits.
│ │ │ │ -bits | stop bits. |
Set flow control.
│ │ │ │ -flow | control mode. |
Set the DTR mode off momentarily.
│ │ │ │ -millisec | number of milliseconds. |
Send the "break" signal.
│ │ │ │ -Often used by a "catch" to fetch the last error of a thrown serial.
│ │ │ │ -Often used by a "catch" to fetch the user set error string of a thrown serial.
│ │ │ │ -Get the "buffer" size for buffered operations. This can be used when setting packet or line read modes to determine how many bytes to wait for in a given read call.
│ │ │ │ -Get the status of pending operations. This can be used to examine if input or output is waiting, or if an error has occured on the serial device.
│ │ │ │ -pend | ready check to perform. |
timeout | in milliseconds. |
Acquire the mutex
│ │ │ │ -_mutex | reference to mutex to aquire. |
Release the mutex automatically
│ │ │ │ -Wait for read access
│ │ │ │ -_tl | reference to lock to aquire. |
Post the semaphore automatically
│ │ │ │ -Wait for write access
│ │ │ │ -_tl | reference to threadlock to aquire. |
Post the semaphore automatically
│ │ │ │ -Wait for the semaphore
│ │ │ │ -Post the semaphore automatically
│ │ │ │ -Create a timer, mark it as inactive, and set the initial "start" time to the creation time of the timer object. This allows "incTimer" to initially refer to time delays relative to the original start time of the object.
│ │ │ │ -Set a new start time for the object based on when this call is made and optionally activate the timer for a specified number of milliseconds. This can be used to set the starting time of a realtime session.
│ │ │ │ -timeout | delay in milliseconds from "now" |
Set a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ -timeout | delay in milliseconds from reference. |
Adjust a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ -timeout | delay in milliseconds from reference. |
Sleep until the current timer expires. This is useful in time syncing realtime periodic tasks.
│ │ │ │ -This is used to "disable" the service thread from expiring the timer object. It does not effect the reference time from either creation or a setTimer().
│ │ │ │ -This is used by service threads to determine how much time remains before the timer expires based on a timeout specified in setTimer() or incTimer(). It can also be called after setting a timeout with incTimer() to see if the current timeout has already expired and hence that the application is already delayed and should skip frame(s).
│ │ │ │ -return time remaining in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ -This is used to determine how much time has elapsed since a timer port setTimer benchmark time was initially set. This allows one to use setTimer() to set the timer to the current time and then measure elapsed time from that point forward.
│ │ │ │ -return time elapsed in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ -a delimiter string containing all usual whitespace delimiters. These are space, tab, newline, carriage return, formfeed and vertical tab. (see isspace() manpage).
│ │ │ │ -Exception thrown, if someone tried to read beyond the end of the tokens. Will not happen if you use it the 'clean' way with comparison against end(), but if you skip some tokens, because you 'know' they are there. Simplifies error handling a lot, since you can just read your tokens the way you expect it, and if there is some error in the input this Exception will be thrown.
│ │ │ │ -The input forward iterator for tokens.
│ │ │ │ -copy constructor.
│ │ │ │ -assignment operator.
│ │ │ │ -shifts this iterator to the next token in the string.
│ │ │ │ -returns the immutable string this iterator points to or '0' if no token is available (i.e. i == end()). Do not store pointers to this token, since it is invalidated for each iteration. If you need the token, copy it (e.g. with strdup());
│ │ │ │ -returns the next delimiter after the current token or '\0', if there are no following delimiters. It returns the very next delimiter (even if skipAllDelim=true).
│ │ │ │ -compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ -compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ -creates a new StringTokenizer for a string and a given set of delimiters.
│ │ │ │ -str | String to be split up. This string will not be modified by this StringTokenizer, but you may as well not modfiy this string while tokenizing is in process, which may lead to undefined behaviour. |
delim | String containing the characters which should be regarded as delimiters. |
skipAllDelim | OPTIONAL. true, if subsequent delimiters should be skipped at once or false, if empty tokens should be returned for two delimiters with no other text inbetween. The first behaviour may be desirable for whitespace skipping, the second for input with delimited entry e.g. /etc/passwd like files or CSV input. NOTE, that 'true' here resembles the ANSI-C strtok(char *s,char *d) behaviour. DEFAULT = false |
trim | OPTIONAL. true, if the tokens returned should be trimmed, so that they don't have any whitespaces at the beginning or end. Whitespaces are any of the characters defined in StringTokenizer::SPACE. If delim itself is StringTokenizer::SPACE, this will result in a behaviour with skipAllDelim = true. DEFAULT = false |
create a new StringTokenizer which splits the input string at whitespaces. The tokens are stripped from whitespaces. This means, if you change the set of delimiters in either the 'begin(const char *delim)' method or in 'setDelimiters()', you then get whitespace trimmed tokens, delimited by the new set. Behaves like StringTokenizer(s, StringTokenizer::SPACE,false,true);
│ │ │ │ -returns the begin iterator
│ │ │ │ -changes the set of delimiters used in subsequent iterations.
│ │ │ │ -returns a begin iterator with an alternate set of delimiters.
│ │ │ │ -the iterator marking the end.
│ │ │ │ -Create xml parser.
size | of XML data buffer. |
Destroy xml parser.
│ │ │ │ -Virtual to receive embedded comments in XML document being parsed.
text | received. |
size | of text received. |
Virtual to receive character text extracted from the document.
text | received. |
size | of text received. |
Notify start of document event.
│ │ │ │ -Notify end of document event.
│ │ │ │ -Notify start of an element in the document.
name | of element found. |
attr | list of attributes extracted. |
Notify end of an element in the document.
name | of element ending. |
Parse a chunk of data and return parser completion flag. This is used to externally drive data into the XML parser. The return status can be used to determine when a document has been fully parsed. This can be called multiple times to push stream data into the parser.
address | of data to parse. |
size | of data to parse. |
Parse a stream buffer and return parser document completion flag. This is used to scan a stream buffer for a complete XML document. The stream is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
stream | buffer to parse. |
Parse a file buffer and return parser document completion flag. This is used to scan a file buffer for a complete XML document. The file is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
file | buffer to parse. |
End of document check.
Definition at line 80 of file address.h.
│ │ │ │ +Definition at line 59 of file exception.h.
│ │ │ │ │ │ │ │.
.
..
.
..
Process services. │ │ │ │ +
Serial I/O services. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/exception.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
Process services.
│ │ │ │ +Serial I/O services.
│ │ │ │ │ │ │ │ -Definition in file process.h.
│ │ │ │ +Definition in file serial.h.
│ │ │ │file | buffer to parse. |
End of document check.
.
..
..
udp derived socket classes. │ │ │ │ +
Template for creating reference count managed smart pointers. │ │ │ │ More...
│ │ │ │ -#include <cstdio>
#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <commoncpp/address.h>
#include <commoncpp/socket.h>
#include <commoncpp/config.h>
Go to the source code of this file.
│ │ │ │ +│ │ │ │ +Data Structures | |
class | ost::Pointer< T > |
Used to create and manage referece counted pointers. More... | |
udp derived socket classes.
│ │ │ │ +.
.
.
..
..
..
..
..
.Serial I/O services. │ │ │ │ +
MIME document abstractions. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/exception.h>
#include <commoncpp/socket.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
Serial I/O services.
│ │ │ │ +MIME document abstractions.
│ │ │ │ │ │ │ │ -Definition in file serial.h.
│ │ │ │ +Definition in file mime.h.
│ │ │ │file | buffer to parse. |
End of document check.
.
..
..
..
.
.
..
..
MIME document abstractions. │ │ │ │ +
System logging facilities abstraction. │ │ │ │ More...
│ │ │ │ -#include <commoncpp/config.h>
#include <commoncpp/socket.h>
#include <cstdio>
#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <commoncpp/thread.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
MIME document abstractions.
│ │ │ │ +System logging facilities abstraction.
│ │ │ │ │ │ │ │ -Definition in file mime.h.
│ │ │ │ +Definition in file slog.h.
│ │ │ │file | buffer to parse. |
End of document check.
.
..
..
.
.
..
..
.
..
.Template for creating reference count managed smart pointers. │ │ │ │ +
various miscellaneous classes historically used. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ -Data Structures | |
class | ost::Pointer< T > |
Used to create and manage referece counted pointers. More... | |
│ │ │ │ +Macros | |
#define | KEYDATA_INDEX_SIZE 97 |
#define | KEYDATA_PAGER_SIZE 512 |
#define | KEYDATA_PATH_SIZE 256 |
│ │ │ │ +Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
Template for creating reference count managed smart pointers.
│ │ │ │ +various miscellaneous classes historically used.
│ │ │ │ │ │ │ │ -Definition in file pointer.h.
│ │ │ │ -Definition in file misc.h.
│ │ │ │ +#define KEYDATA_INDEX_SIZE 97 | │ │ │ │ +
#define KEYDATA_PAGER_SIZE 512 | │ │ │ │ +
#define KEYDATA_PATH_SIZE 256 | │ │ │ │ +
class ost::__attribute__ | │ │ │ │ +( | │ │ │ │ +(visibility("default")) | │ │ │ │ +) | │ │ │ │ +│ │ │ │ + |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor.
│ │ │ │ +XML streaming parser.
│ │ │ │ +Splits delimited string into tokens.
│ │ │ │ +Timer ports are used to provide synchronized timing events when managed under a "service thread" such as SocketService.
│ │ │ │ +This class is used to access non-reentrant date and time functions in the standard C library.
│ │ │ │ +The SemaphoreLock class is used to protect a section of code through a semaphore so that only x instances of the member function may execute concurrently.
│ │ │ │ +The WriteLock class is used to protect a section of code through a ThreadLock for "write" access to the member function.
│ │ │ │ +The ReadLock class is used to protect a section of code through a ThreadLock for "read" access to the member function.
│ │ │ │ +The Mutex Counter is a counter variable which can safely be incremented or decremented by multiple threads.
│ │ │ │ +The slog class is used to stream messages to the system's logging facility (syslogd).
│ │ │ │ +The Serial class is used as the base for all serial I/O services under APE.
│ │ │ │ +This class is used to create a "named" lock entity that can be used to control access to a resource between multiple processes.
│ │ │ │ +A class for containing portable process related functions that help create portable code.
│ │ │ │ +Stream serialization of persistent classes.
│ │ │ │ +PersistObject.
│ │ │ │ +Type manager for persistence engine.
│ │ │ │ +The MapObject is a base class which can be used to make a derived class operate on a MapTable.
│ │ │ │ +A map table allows for entities to be mapped (hash index) onto it.
│ │ │ │ +Self managed double linked list object chain.
│ │ │ │ +Self managed single linked list object chain.
│ │ │ │ +Pointer to reference counted objects.
│ │ │ │ +A reference countable object.
│ │ │ │ +The shared mempager uses a mutex to protect key access methods.
│ │ │ │ +The Multipart form is a MIME multipart document specific for the construction and delivery of form data to a web server through a post method.
│ │ │ │ +A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
│ │ │ │ +The purpose of this class is to define a base class for low level random file access that is portable between Win32 and Posix systems.
│ │ │ │ +A low level portable directory class.
│ │ │ │ +alog global log stream definition
│ │ │ │ +Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address.
│ │ │ │ +Classes derived from IPV6Address would require an specific validator to pass to the IPV6Address constructor.
│ │ │ │ +The network name and address objects are all derived from a common IPV4Address base class.
│ │ │ │ +The CIDR class is used to support routing tables and validate address policies.
│ │ │ │ +Class for the function object that validates multicast addresses.
│ │ │ │ +This is a base class for classes of function objects used by such derived classes.
│ │ │ │ + │ │ │ │ +Abstract base class for derived inet addresses validators.
│ │ │ │ +Implements a specific application operator to validate multicast addresses.
│ │ │ │ + │ │ │ │ +Validating class specialized for multicast addresses. The CIDR class is used to support routing tables and validate address policies.
│ │ │ │ + │ │ │ │ +Classless Internet Domain Routing
│ │ │ │ + │ │ │ │ +Classless Internet Domain Routing
│ │ │ │ +Specific classes, such as IPV4Host, IPV4Mask, etc, are defined from IPV4Address entirely so that the manner a network address is being used can easily be documented and understood from the code and to avoid common errors and accidental misuse of the wrong address object. For example, a "connection" to something that is declared as a "IPV4Host" can be kept type-safe from a "connection" accidently being made to something that was declared a "IPV4Broadcast".
│ │ │ │ + │ │ │ │ +Internet Address binary data type.
│ │ │ │ +Implements a specific application operator to validate multicast addresses.
│ │ │ │ + │ │ │ │ +Validating class specialized for multicast addresses. The network name and address objects are all derived from a common IPV6Address base class. Specific classes, such as IPV4Host, IPV6Mask, etc, are defined from IPV6Address entirely so that the manner a network address is being used can easily be documented and understood from the code and to avoid common errors and accidental misuse of the wrong address object. For example, a "connection" to something that is declared as a "IPV6Host" can be kept type-safe from a "connection" accidently being made to something that was declared a "IPV6Broadcast".
│ │ │ │ + │ │ │ │ +Internet Address binary data type.
│ │ │ │ +For instance: 0000000 - 77 98 21 49 0e 00 05 00 40 1c 01 1c 2f 00 00 00 w.!I......./...
│ │ │ │ +Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.
│ │ │ │ + │ │ │ │ +low level directory access class. A generic class to walk a hierarchical directory structure.
│ │ │ │ + │ │ │ │ +Directory tree walking.
│ │ │ │ +This class is a foundation both for optimized thread shared and traditional locked file access that is commonly used to build database services, rather than the standard C++ streaming file classes.
│ │ │ │ + │ │ │ │ +Portable random disk file access. This class defines a database I/O file service that can be shared by multiple processes. Each thread should access a dup of the database object, and mutex locks can be used to preserve transaction integrety if multiple threads are used.
│ │ │ │ +SharedFile is used when a database may be shared between multiple processes. SharedFile automatically applies low level byte-range "file │ │ │ │ +locks", and provides an interface to fetch and release byte-range locked portions of a file.
│ │ │ │ + │ │ │ │ +This class defines a database I/O file service that can be shared by multiple processes. Create and map a disk file into memory. This portable class works under both Posix via mmap and under the win32 API. A mapped file can be referenced directly by it's memory segment. One can map and unmap portions of a file on demand, and update changed memory pages mapped from files immediately through sync().
│ │ │ │ + │ │ │ │ +Map a named disk file into memory. The DSO dynamic loader class is used to load object files. On elf based systems this is typically done with dlopen. A dummy stub class is generated for non-dl capable systems.
│ │ │ │ + │ │ │ │ +Dynamic class file loader.
│ │ │ │ + │ │ │ │ +container for streamable multi-part MIME documents.
│ │ │ │ + │ │ │ │ +deliver form results as multipart document. This is used to attach an item part to a MIME multipart document that is being streamed. The base item part class is used by all derived items.
│ │ │ │ + │ │ │ │ +item or part of a multi-part object.
│ │ │ │ +This class is used when a mempager will be shared by multiple threads.
│ │ │ │ + │ │ │ │ +mutex protected memory pager. This class is used to associate (object) pointers with named strings. A virtual is used to allocate memory which can be overriden in the derived class.
│ │ │ │ + │ │ │ │ +associate names with pointers.
│ │ │ │ +This is used in association with smart pointers (RefPointer).
│ │ │ │ + │ │ │ │ +Object managed by smart pointer reference count.
│ │ │ │ +This is a non-template form of a reference count smart pointer, and so uses common code. This can be subclassed to return explicit object types.
│ │ │ │ + │ │ │ │ +Pointer to reference count managed objects.
│ │ │ │ +This is used for accumulating lists by using as a base class for a derived subclass.
│ │ │ │ + │ │ │ │ +Accumulating single linked list.
│ │ │ │ +This is used for accumulating lists by using as a base class for a derived subclass.
│ │ │ │ + │ │ │ │ +Accumulating double linked list.
│ │ │ │ +Unlike with Assoc, This form of map table also allows objects to be removed from the table. This table also includes a mutex lock for thread safety. A free list is also optionally maintained for reusable maps.
│ │ │ │ + │ │ │ │ +Table to hold hash indexed objects. The MapIndex allows linear access into a MapTable, that otherwise could have its elements being retrieved only by key. It can be increased, checked and dereferenced like a pointer, by means of suitable operators.
│ │ │ │ + │ │ │ │ +Index object to access MapTable elements
│ │ │ │ +Derived classes may override new and delete operators to use managed free list from a MapTable.
│ │ │ │ + │ │ │ │ +Mappable object.
│ │ │ │ +This class manages the types for generation of the persistent objects. Its data structures are managed automatically by the system. They are implicitly filled by the constructors who declare classes to the system.
│ │ │ │ + │ │ │ │ +Base class for classes that will be persistent. This object is the base for all Persistent data which is not natively serialized by the persistence::engine
│ │ │ │ +It registers itself with the persistence::TypeManager using a global constructor function. A matching deregister call is made in a global destructor, to allow DLL's to use the persistence::engine in a main executable.
│ │ │ │ +Persistable objects must never maintain bad pointers. If a pointer doesn't point to something valid, it must be NULL. This is so the persistence engine knows whether to allocate memory for an object or whether the memory has been pre-allocated.
│ │ │ │ + │ │ │ │ +This class constructs on a standard C++ STL stream and then operates in the mode specified. The stream passed into the constructor must be a binary mode to function properly.
│ │ │ │ + │ │ │ │ +These are typically referenced thru Process::xxx static member functions. Many of these members are used both for win32 and posix systems although some may be platform specific.
│ │ │ │ +Peocess wrapper class.
│ │ │ │ +The posix implimentation uses a pidfile and the win32 version uses a globally visible mutex.
│ │ │ │ + │ │ │ │ +System-wide named lock
│ │ │ │ +A serial is a system serial port that is used either for line or packet based data input. Serial ports may also be "streamable" in a derived form.
│ │ │ │ +Common C++ serial I/O classes are used to manage serial devices and implement serial device protocols. From the point of view of Common C++, serial devices are supported by the underlying Posix specified "termios" call interface.
│ │ │ │ +The serial I/O base class is used to hold a descriptor to a serial device and to provide an exception handling interface for all serial I/O classes. The base class is also used to specify serial I/O properties such as communication speed, flow control, data size, and parity. The "Serial" base class is not itself directly used in application development, however.
│ │ │ │ +Common C++ Serial I/O is itself divided into two conceptual modes; frame oriented and line oriented I/O. Both frame and line oriented I/O makes use of the ability of the underlying tty driver to buffer data and return "ready" status from when select either a specified number of bytes or newline record has been reached by manipulating termios c_cc fields appropriately. This provides some advantage in that a given thread servicing a serial port can block and wait rather than have to continually poll or read each and every byte as soon as it appears at the serial port.
│ │ │ │ + │ │ │ │ +base class for all serial I/O services.
│ │ │ │ +A default slog
object is used to avoid confusion with the native syslog facility and to imply a logical relationship to the C++ clog()
.
The key difference is that the slog
object sends it's output to the system logging daemon (typically syslogd) rather than through stderr. slog
can be streamed with the <<
operator just like clog
; a default slog object is pre-initialized, and you stream character data to it.
The slog
allows one to specify logging levels and other properties through the ()
operators. Hence, once can do:
│ │ │ │ +slog("mydaemon", SLOG_DAEMON, SLOG_EMERGENCY) << I just died << endl;│ │ │ │ +
or things like:
│ │ │ │ +│ │ │ │ +slog("mydaemon", SLOG_DAEMON); │ │ │ │ +slog(SLOG_INFO) << "daemon initalized" << endl;│ │ │ │ +
The intent is to be as common-place and as convenient to use as the stderr based clog facility found in C++, and this is especially useful for C++ daemons.
│ │ │ │ +The std::flush
manipulator doesn't work. Either the std::endl
or std::ends
manipulators must be used to cause the output to be sent to the daemon.
When this class is used on a system that doesn't have the syslog headers (i.e. a non-posix win32 box), the output goes to the a file with the same name as the syslog identifier string with '.log' appended to it. If the identifier string ends in '.exe', the '.exe' is removed before the '.log' is appened. (e.g. the identifier foo.exe will generate a log file named foo.log)
│ │ │ │ + │ │ │ │ +system logging facility class.
│ │ │ │ +A Mutex is used to protect access to the counter variable (an integer). An initial value can be specified for the counter, and it can be manipulated with the ++ and – operators.
│ │ │ │ + │ │ │ │ +Thread protected integer counter. The MutexLock class is used to protect a section of code so that at any given time only a single thread can perform the protected operation.
│ │ │ │ +It use Mutex to protect operation. Using this class is usefull and exception safe. The mutex that has been locked is automatically released when the function call stack falls out of scope, so one doesnt have to remember to unlock the mutex at each function return.
│ │ │ │ +A common use is
│ │ │ │ +void func_to_protect() { MutexLock lock(mutex); ... operation ... }
│ │ │ │ +NOTE: do not declare variable as "MutexLock (mutex)", the mutex will be released at statement end.
│ │ │ │ + │ │ │ │ +Mutex automatic locker for protected access.
│ │ │ │ +The ThreadLock is automatically released when the object falls out of scope.
│ │ │ │ +A common use is
│ │ │ │ +void func_to_protect() { ReadLock lock(threadlock); ... operation ... }
│ │ │ │ +NOTE: do not declare variable as "ReadLock (threadlock)", the mutex will be released at statement end.
│ │ │ │ + │ │ │ │ +Read mode automatic locker for protected access.
│ │ │ │ +The ThreadLock is automatically released when the object falls out of scope.
│ │ │ │ +A common use is
│ │ │ │ +void func_to_protect() { WriteLock lock(threadlock); ... operation ... }
│ │ │ │ +NOTE: do not declare variable as "WriteLock (threadlock)", the mutex will be released at statement end.
│ │ │ │ + │ │ │ │ +Read mode automatic locker for protected access.
│ │ │ │ +A common use is
│ │ │ │ +void func_to_protect() { SemaphoreLock lock(semaphore); ... operation ... }
│ │ │ │ +NOTE: do not declare variable as "SemaohoreLock (semaphore)", the mutex will be released at statement end.
│ │ │ │ + │ │ │ │ +Semaphore automatic locker for protected access.
│ │ │ │ +The class has two purposes:
Thread safe date and time functions.
│ │ │ │ +This is made into a stand-alone base class since other derived libraries (such as the serial handlers) may also use the pooled "service thread" model and hence also require this code for managing timing.
│ │ │ │ + │ │ │ │ +synchronized millisecond timing for service threads.
│ │ │ │ +The StringTokenizer takes a pointer to a string and a pointer to a string containing a number of possible delimiters. The StringTokenizer provides an input forward iterator which allows to iterate through all tokens. An iterator behaves like a logical pointer to the tokens, i.e. to shift to the next token, you've to increment the iterator, you get the token by dereferencing the iterator.
│ │ │ │ +Memory consumption: This class operates on the original string and only allocates memory for the individual tokens actually requested, so this class allocates at maximum the space required for the longest token in the given string. Since for each iteration, memory is reclaimed for the last token, you MAY NOT store pointers to them; if you need them afterwards, copy them. You may not modify the original string while you operate on it with the StringTokenizer; the behaviour is undefined in that case.
│ │ │ │ +The iterator has one special method 'nextDelimiter()' which returns a character containing the next delimiter following this tokenization process or '\0', if there are no following delimiters. In case of skipAllDelim, it returns the FIRST delimiter.
│ │ │ │ +With the method 'setDelimiters(const char*)' you may change the set of delimiters. It affects all running iterators.
│ │ │ │ +Example:
│ │ │ │ + StringTokenizer st("mary had a little lamb;its fleece was..", " ;"); │ │ │ │ + StringTokenizer::iterator i; │ │ │ │ + for (i = st.begin() ; i != st.end() ; ++i) { │ │ │ │ + cout << "Token: '" << *i << "'\t"; │ │ │ │ + cout << " next Delim: '" << i.nextDelimiter() << "'" << endl; │ │ │ │ + } │ │ │ │ +│ │ │ │ + │ │ │ │ +
This class implements a basic XML stream parser that can be used to examine an XML resource thru virtual I/O methods. This class must be derived into one that can implement the physical I/O required to parse actual data. A mixer class using XMLParser and tcpstream would be one example of this. This can also be used to parse xml content in memory buffers easily. This parser is only concerned with well-formedness, and does not perform validation.
│ │ │ │ + │ │ │ │ +Constructor. Does not deal with any state.
│ │ │ │ +keeps compilers happy.
│ │ │ │ +Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ +Get network address associated with this cidr.
│ │ │ │ +Get network mask associated with this cidr.
│ │ │ │ +Compute the broadcast address associated with this cidr.
│ │ │ │ +Set the cidr from a full or partial hostname, or from an address/mask, or a host/bits specification.
│ │ │ │ +cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ +cidr | string to use. |
Construct an empty cidr.
│ │ │ │ +Construct a copy of a cidr.
│ │ │ │ +cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ +saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ +inaddr | object to test. |
Get network address associated with this cidr.
│ │ │ │ +Get network mask associated with this cidr.
│ │ │ │ +Compute the broadcast address associated with this cidr.
│ │ │ │ +Set the cidr from a full or partial hostname, or from a host/bits specification.
│ │ │ │ +cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ +cidr | string to use. |
Construct an empty cidr.
│ │ │ │ +Construct a copy of a cidr.
│ │ │ │ +cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ +saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ +inaddr | object to test. |
Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ +host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ +host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ +validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Address object.
│ │ │ │ +addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV4Address object.
│ │ │ │ +address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ +Destructor
│ │ │ │ +Provide a string representation of the value (Internet Address) held in the IPV4Address object.
│ │ │ │ +May be used to verify if a given IPV4Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV4Address values.
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ +i | for IPV4Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV4Address object contains. This usually only happens with IPV4Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ +Allows assignment from the return of functions like inet_addr() or htonl()
│ │ │ │ +Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ +If there is more than one IP address in either IPV4Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ +Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ +This is implimented in terms of operator==
│ │ │ │ +Constructor. Does not deal with any state.
│ │ │ │ +Keeps compilers happy.
│ │ │ │ +Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ +Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ +host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ +host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ +validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV6Address object.
│ │ │ │ +addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV6Address object.
│ │ │ │ +address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ +Destructor
│ │ │ │ +Provide a string representation of the value (Internet Address) held in the IPV6Address object.
│ │ │ │ +May be used to verify if a given IPV6Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV6Address values.
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ +i | for IPV6Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV6Address object contains. This usually only happens with IPV6Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ +Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ +If there is more than one IP address in either IPV6Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ +Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ +This is implimented in terms of operator==
│ │ │ │ +output string
│ │ │ │ +HEXdump constructor.
│ │ │ │ +buffer | buffer to be "hexdumped" |
buff_len | buffer length |
max_len | max number of bytes to be "hexdumped". Usefull to truncate output. mas_len=0 does prints all. |
HEXdump destructor.
│ │ │ │ +const char* cast provided for conveneince.
│ │ │ │ +string cast provided for conveneince.
│ │ │ │ +operator <<
hd | hexdump. |
Virtual method to filter results. Virtual override methods should call baseclass method to assure . and .. names are stripped out.
│ │ │ │ +file | path to examine |
ino | info of type, date, etc. |
Construct a directory tree walk starting at the specified prefix. A maximum subdirectory depth is also specified.
│ │ │ │ +prefix | to start walk. |
maxdepth | subdirectory depth to examine. |
Construct an un-opened directory tree of a known maximum depth
│ │ │ │ +maxdepth | subdirectory subdirectory depth. |
Open a directory tree path.
│ │ │ │ +prefix | directory path to open. |
Close the directory path.
│ │ │ │ +Extract the next full pathname from the directory walk. When returning directories, a '/' is appended. The returned string is a buffer of MAX_PATH size.
│ │ │ │ +This is used to step through the filter virtual for an entire subtree, and is used for cases where a derived DirTree class performs it's primary operations through filter rather than externally by calling getPath().
│ │ │ │ +prefix | directory path to examine. |
Construct and load a DSO object file.
│ │ │ │ +filename | pathname of object file to load. |
Retrieve error indicator associated with DSO failure. This is often used in catch handlers.
│ │ │ │ +Detach a DSO object from running memory.
│ │ │ │ +Lookup a symbol in the loaded file.
│ │ │ │ +Find a specific DSO object by filename.
│ │ │ │ +name | of DSO object file (partial). |
See if DSO object is valid.
│ │ │ │ +Install debug handler...
│ │ │ │ +Contruct a multi-part document, and describe it's type.
│ │ │ │ +document | (content) type. |
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
│ │ │ │ +output | to stream document header into. |
Stream the "body" of the multi-part document. This involves streaming the headers and body of each document part.
│ │ │ │ +output | to stream document body into. |
Get a string array of the headers to use. This is used to assist URLStream::post.
│ │ │ │ +Stream the header(s) for the current document part.
│ │ │ │ +output | to stream header into. |
Stream the content of this document part.
│ │ │ │ +output | to stream document body into. |
Construct and attach a document part to a multipart document.
│ │ │ │ +top | multipart document to attach to. |
ct | Content-Type to use. |
The constructor simply initializes the count.
│ │ │ │ +The destructor is called when the reference count returns to zero. This is done through a virtual destructor.
│ │ │ │ +The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies.
│ │ │ │ +Detach current object, for example, when changing pointer.
│ │ │ │ +Patch point for mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ +Patch point for a mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ +Create an unattached pointer.
│ │ │ │ +Create a pointer attached to a reference counted object.
│ │ │ │ +Object being referenced.
│ │ │ │ +A copy constructor.
│ │ │ │ +Pointer being copied.
│ │ │ │ +Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it simply returns the current object. In a "free" list, this may not only return the first object, but also set the first to next.
│ │ │ │ +Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ +Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ +Insert object into chain. This is a virtual because derived class may choose instead to perform an insert at head or tail, may manage bookmarks, and may add mutex lock.
│ │ │ │ +object | being inserted. |
Requested in overloaded insert() method to indicate how to insert data into list
│ │ │ │ +< insert at first position in list pointed by current object
│ │ │ │ +< insert at last position in list pointed by current object
│ │ │ │ +< insert in list before current object
│ │ │ │ +< insert in list after current object
│ │ │ │ +Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it follows list to front.
│ │ │ │ +Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ +Virtual to get the insert point to use when adding new members. This may be current, or always head or always tail. As a virtual, this allows derived class to establish "policy".
│ │ │ │ +Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ +Get prev object in the list.
│ │ │ │ +Insert object into chain at given pos, as indicated by InsertMode; If no pos is given, it defaults to modeAtLast, inserting element at list's end.
│ │ │ │ +object | being inserted. |
position | where object is inserted. |
Remove object from chain.
│ │ │ │ +Creates an empty map index (pointing to nothing).
│ │ │ │ +Creates a map index pointing to a specific map object
│ │ │ │ +the | indexed object |
Creates a copy of a given map index
│ │ │ │ +the | source index object |
Dereference operator: the pointed object it is returned as void * for easy re-cast.
│ │ │ │ +Assignment operator to avoid implicit cast.
│ │ │ │ +Prefix increment operator, to be used in loops and such.
│ │ │ │ +Postfix increment operator, to be used in loops and such.
│ │ │ │ +Comparison operator, between two MapIndex's.
│ │ │ │ +Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness.
│ │ │ │ +Remove the object from it's current table.
│ │ │ │ +Save id, mark as not using any table.
│ │ │ │ +id | string for this object. |
This manages a registration to the typemanager - attempting to remove problems with the optimizers
│ │ │ │ +This adds a new construction function to the type manager
│ │ │ │ +And this one removes a type from the managers lists
│ │ │ │ +This function creates a new object of the required type and returns a pointer to it. NULL is returned if we couldn't find the type
│ │ │ │ +This constructor is used in serialization processes. It is called in CreateNewInstance in order to create an instance of the class to have Read() called on it.
│ │ │ │ +Default destructor
│ │ │ │ +This returns the ID of the persistent object (Its type)
│ │ │ │ +This method is used to write to the Persistence::Engine It is not equivalent to the << operator as it writes only the data and not the object type etc.
│ │ │ │ +This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.
│ │ │ │ +These are the modes the Persistence::Engine can work in
│ │ │ │ +Constructs a Persistence::Engine with the specified stream in the given mode. The stream must be initialized properly prior to this call or problems will ensue.
│ │ │ │ +writes a PersistObject from a reference.
│ │ │ │ +writes a PersistObject from a pointer.
│ │ │ │ +reads a PersistObject into a reference overwriting the object.
│ │ │ │ +reads a PersistObject into a pointer allocating memory for the object if necessary.
│ │ │ │ +reads the actual object data into a pre-instantiated object pointer by calling the read function of the derived class.
│ │ │ │ +reads in a class name, and caches it into the ClassMap.
│ │ │ │ +The underlying stream
│ │ │ │ +The mode of the engine. read or write
│ │ │ │ +Typedefs for the Persistence::PersistObject support
│ │ │ │ +Detach current process into a daemon, posix only. Perhaps a similar method can be used for creating win32 "services"?
│ │ │ │ +Attach the current process to another device or i/o session. It is deamonified and dissasociated with the prior parent process and controlling terminal.
│ │ │ │ +devname | path to attach to. |
Set a posix compliant signal handler.
│ │ │ │ +signo | signal no. |
handler | trap handler. |
Set system call interuptable signal handler.
│ │ │ │ +#return previous handler.
signo | signal no. |
handler | trap handler. |
Lock a process in memory. Ideally you should be deep enough where additional memallocs for functions will not kill you, or use false for future.
│ │ │ │ +future | pages as well... |
Unlock process pages.
│ │ │ │ +Spawn a process and wait for it's exit code. In win32 this is done with the spawn system call. In posix, this is done with a fork, an execvp, and a waitpid.
│ │ │ │ +exec | name of executable. |
argv | list of command arguments. |
wait | for process to exit before return. |
Get the exit status of another process, waiting for it to exit.
│ │ │ │ +pid | process id. |
Cancel a running child process.
│ │ │ │ +pid | process id. |
sig | cancel signal to apply. |
Get system environment.
│ │ │ │ +name | of symbol. |
Set system environment in a standard manner.
│ │ │ │ +name | of environment symbol to set. |
value | of environment symbol. |
overwrite | true if replace existing symbol. |
Get etc prefix path.
│ │ │ │ +Get home directory.
│ │ │ │ +Get user name.
│ │ │ │ +Set user id by name.
│ │ │ │ +Set the effective group id by name.
│ │ │ │ +Return the effective operating system page size.
│ │ │ │ +Used to set process priority and optionally enable realtime.
│ │ │ │ +Used to set process scheduling policy.
│ │ │ │ +Portable shortcut for setting realtime...
│ │ │ │ +Return true if scheduler settable.
│ │ │ │ +Return true if realtime scheduling.
│ │ │ │ +Create a lock under a known name.
│ │ │ │ +name | of system-wide lock to create. |
Create a new lock object that can be used to make locks.
│ │ │ │ +Destroy the current lock and release it.
│ │ │ │ +Lock a system-wide name for this process. If the lock is successful, return true. If an existing lock was already acquired, release it first.
│ │ │ │ +name | system-wide lock to use. |
Release an acquired lock.
│ │ │ │ +Flag if the current process has aqcuired a lock.
│ │ │ │ +Used to properly initialize serial object.
│ │ │ │ +Opens the serial device.
│ │ │ │ +fname | Pathname of device to open |
Closes the serial device.
│ │ │ │ +Reads from serial device.
│ │ │ │ +Data | Point to character buffer to receive data. Buffers MUST be at least Length + 1 bytes in size. |
Length | Number of bytes to read. |
Writes to serial device.
│ │ │ │ +Data | Point to character buffer containing data to write. Buffers MUST |
Length | Number of bytes to write. |
This service is used to throw all serial errors which usually occur during the serial constructor.
│ │ │ │ +error | defined serial error id. |
errstr | string or message to optionally pass. |
This service is used to thow application defined serial errors where the application specific error code is a string.
│ │ │ │ +err | string or message to pass. |
This method is used to turn the error handler on or off for "throwing" execptions by manipulating the thrown flag.
│ │ │ │ +enable | true to enable handler. |
Set packet read mode and "size" of packet read buffer. This sets VMIN to x. VTIM is normally set to "0" so that "isPending()" can wait for an entire packet rather than just the first byte.
│ │ │ │ +size | of packet read request. |
btimer | optional inter-byte data packet timeout. |
Set "line buffering" read mode and specifies the newline character to be used in seperating line records. isPending can then be used to wait for an entire line of input.
│ │ │ │ +newline | newline character. |
nl1 | EOL2 control character. |
Restore serial device to the original settings at time of open.
│ │ │ │ +Used to flush the input waiting queue.
│ │ │ │ +Used to flush any pending output data.
│ │ │ │ +Used to wait until all output has been sent.
│ │ │ │ +Used as the default destructor for ending serial I/O services. It will restore the port to it's original state.
│ │ │ │ +Used to initialize a newly opened serial file handle. You should set serial properties and DTR manually before first use.
│ │ │ │ +This allows later ttystream class to open and close a serial device.
│ │ │ │ +A serial object may be constructed from a named file on the file system. This named device must be "isatty()".
│ │ │ │ +name | of file. |
The serial base class may be "thrown" as a result on an error, and the "catcher" may then choose to destory the object. By assuring the socket base class is a virtual destructor, we can assure the full object is properly terminated.
│ │ │ │ +Serial ports may also be duplecated by the assignment operator.
│ │ │ │ +Set serial port speed for both input and output.
│ │ │ │ +speed | to select. 0 signifies modem "hang up". |
Set character size.
│ │ │ │ +bits | character size to use (usually 7 or 8). |
Set parity mode.
│ │ │ │ +parity | mode. |
Set number of stop bits.
│ │ │ │ +bits | stop bits. |
Set flow control.
│ │ │ │ +flow | control mode. |
Set the DTR mode off momentarily.
│ │ │ │ +millisec | number of milliseconds. |
Send the "break" signal.
│ │ │ │ +Often used by a "catch" to fetch the last error of a thrown serial.
│ │ │ │ +Often used by a "catch" to fetch the user set error string of a thrown serial.
│ │ │ │ +Get the "buffer" size for buffered operations. This can be used when setting packet or line read modes to determine how many bytes to wait for in a given read call.
│ │ │ │ +Get the status of pending operations. This can be used to examine if input or output is waiting, or if an error has occured on the serial device.
│ │ │ │ +pend | ready check to perform. |
timeout | in milliseconds. |
Acquire the mutex
│ │ │ │ +_mutex | reference to mutex to aquire. |
Release the mutex automatically
│ │ │ │ +Wait for read access
│ │ │ │ +_tl | reference to lock to aquire. |
Post the semaphore automatically
│ │ │ │ +Wait for write access
│ │ │ │ +_tl | reference to threadlock to aquire. |
Post the semaphore automatically
│ │ │ │ +Wait for the semaphore
│ │ │ │ +Post the semaphore automatically
│ │ │ │ +Create a timer, mark it as inactive, and set the initial "start" time to the creation time of the timer object. This allows "incTimer" to initially refer to time delays relative to the original start time of the object.
│ │ │ │ +Set a new start time for the object based on when this call is made and optionally activate the timer for a specified number of milliseconds. This can be used to set the starting time of a realtime session.
│ │ │ │ +timeout | delay in milliseconds from "now" |
Set a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ +timeout | delay in milliseconds from reference. |
Adjust a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ +timeout | delay in milliseconds from reference. |
Sleep until the current timer expires. This is useful in time syncing realtime periodic tasks.
│ │ │ │ +This is used to "disable" the service thread from expiring the timer object. It does not effect the reference time from either creation or a setTimer().
│ │ │ │ +This is used by service threads to determine how much time remains before the timer expires based on a timeout specified in setTimer() or incTimer(). It can also be called after setting a timeout with incTimer() to see if the current timeout has already expired and hence that the application is already delayed and should skip frame(s).
│ │ │ │ +return time remaining in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ +This is used to determine how much time has elapsed since a timer port setTimer benchmark time was initially set. This allows one to use setTimer() to set the timer to the current time and then measure elapsed time from that point forward.
│ │ │ │ +return time elapsed in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ +a delimiter string containing all usual whitespace delimiters. These are space, tab, newline, carriage return, formfeed and vertical tab. (see isspace() manpage).
│ │ │ │ +Exception thrown, if someone tried to read beyond the end of the tokens. Will not happen if you use it the 'clean' way with comparison against end(), but if you skip some tokens, because you 'know' they are there. Simplifies error handling a lot, since you can just read your tokens the way you expect it, and if there is some error in the input this Exception will be thrown.
│ │ │ │ +The input forward iterator for tokens.
│ │ │ │ +copy constructor.
│ │ │ │ +assignment operator.
│ │ │ │ +shifts this iterator to the next token in the string.
│ │ │ │ +returns the immutable string this iterator points to or '0' if no token is available (i.e. i == end()). Do not store pointers to this token, since it is invalidated for each iteration. If you need the token, copy it (e.g. with strdup());
│ │ │ │ +returns the next delimiter after the current token or '\0', if there are no following delimiters. It returns the very next delimiter (even if skipAllDelim=true).
│ │ │ │ +compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ +compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ +creates a new StringTokenizer for a string and a given set of delimiters.
│ │ │ │ +str | String to be split up. This string will not be modified by this StringTokenizer, but you may as well not modfiy this string while tokenizing is in process, which may lead to undefined behaviour. |
delim | String containing the characters which should be regarded as delimiters. |
skipAllDelim | OPTIONAL. true, if subsequent delimiters should be skipped at once or false, if empty tokens should be returned for two delimiters with no other text inbetween. The first behaviour may be desirable for whitespace skipping, the second for input with delimited entry e.g. /etc/passwd like files or CSV input. NOTE, that 'true' here resembles the ANSI-C strtok(char *s,char *d) behaviour. DEFAULT = false |
trim | OPTIONAL. true, if the tokens returned should be trimmed, so that they don't have any whitespaces at the beginning or end. Whitespaces are any of the characters defined in StringTokenizer::SPACE. If delim itself is StringTokenizer::SPACE, this will result in a behaviour with skipAllDelim = true. DEFAULT = false |
create a new StringTokenizer which splits the input string at whitespaces. The tokens are stripped from whitespaces. This means, if you change the set of delimiters in either the 'begin(const char *delim)' method or in 'setDelimiters()', you then get whitespace trimmed tokens, delimited by the new set. Behaves like StringTokenizer(s, StringTokenizer::SPACE,false,true);
│ │ │ │ +returns the begin iterator
│ │ │ │ +changes the set of delimiters used in subsequent iterations.
│ │ │ │ +returns a begin iterator with an alternate set of delimiters.
│ │ │ │ +the iterator marking the end.
│ │ │ │ +Create xml parser.
size | of XML data buffer. |
Destroy xml parser.
│ │ │ │ +Virtual to receive embedded comments in XML document being parsed.
text | received. |
size | of text received. |
Virtual to receive character text extracted from the document.
text | received. |
size | of text received. |
Notify start of document event.
│ │ │ │ +Notify end of document event.
│ │ │ │ +Notify start of an element in the document.
name | of element found. |
attr | list of attributes extracted. |
Notify end of an element in the document.
name | of element ending. |
Parse a chunk of data and return parser completion flag. This is used to externally drive data into the XML parser. The return status can be used to determine when a document has been fully parsed. This can be called multiple times to push stream data into the parser.
address | of data to parse. |
size | of data to parse. |
Parse a stream buffer and return parser document completion flag. This is used to scan a stream buffer for a complete XML document. The stream is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
stream | buffer to parse. |
Parse a file buffer and return parser document completion flag. This is used to scan a file buffer for a complete XML document. The file is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
file | buffer to parse. |
End of document check.
Get network address associated with this cidr.
│ │ │ │ +Get network mask associated with this cidr.
│ │ │ │ +Compute the broadcast address associated with this cidr.
│ │ │ │ +Set the cidr from a full or partial hostname, or from an address/mask, or a host/bits specification.
│ │ │ │ +cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ +cidr | string to use. |
Construct an empty cidr.
│ │ │ │ +Construct a copy of a cidr.
│ │ │ │ +cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ +saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ +inaddr | object to test. |
Get network address associated with this cidr.
│ │ │ │ +Get network mask associated with this cidr.
│ │ │ │ +Compute the broadcast address associated with this cidr.
│ │ │ │ +Set the cidr from a full or partial hostname, or from a host/bits specification.
│ │ │ │ +cidr | string to use. |
Construct a new cidr from a string.
│ │ │ │ +cidr | string to use. |
Construct an empty cidr.
│ │ │ │ +Construct a copy of a cidr.
│ │ │ │ +cidr | to copy from. |
See if a socket address is a member of this cidr's network.
│ │ │ │ +saddr | pointer to test. |
See if a low level address object is a member of this cidr's net.
│ │ │ │ +inaddr | object to test. |
Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ +host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ +host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ +validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Address object.
│ │ │ │ +addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV4Address object.
│ │ │ │ +address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ +Destructor
│ │ │ │ +Provide a string representation of the value (Internet Address) held in the IPV4Address object.
│ │ │ │ +May be used to verify if a given IPV4Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV4Address values.
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV4Address. This is needed for services such as bind() and connect().
│ │ │ │ +i | for IPV4Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV4Address object contains. This usually only happens with IPV4Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ +Allows assignment from the return of functions like inet_addr() or htonl()
│ │ │ │ +Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ +If there is more than one IP address in either IPV4Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ +Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ +This is implimented in terms of operator==
│ │ │ │ +Constructor. Does not deal with any state.
│ │ │ │ +Keeps compilers happy.
│ │ │ │ +Pure virtual application operator. Apply the validation algorithm specific to derived classes.
│ │ │ │ +Sets the IP address from a string representation of the numeric address, ie "127.0.0.1"
│ │ │ │ +host | The string representation of the IP address |
Used to specify a host name or numeric internet address.
│ │ │ │ +host | The string representation of the IP address or a hostname, , if NULL, it will default to INADDR_ANY |
Create an Internet Address object with an empty (0.0.0.0) address.
│ │ │ │ +validator | optional validator function object, intended for derived classes. |
Convert the system internet address data type (struct in_addr) into a Common C++ IPV6Address object.
│ │ │ │ +addr | struct of system used binary internet address. |
validator | optional validator function object, intended for derived classes. |
Convert a null terminated ASCII host address string (example: "127.0.0.1") or host address name (example: "www.voxilla.org") directly into a Common C++ IPV6Address object.
│ │ │ │ +address | null terminated C string. |
validator | optional validator function object, intended for derived classes. |
Copy constructor
│ │ │ │ +Destructor
│ │ │ │ +Provide a string representation of the value (Internet Address) held in the IPV6Address object.
│ │ │ │ +May be used to verify if a given IPV6Address returned by another function contains a "valid" address, or "0.0.0.0" which is often used to mark "invalid" IPV6Address values.
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ +Provide a low level system usable struct in_addr object from the contents of IPV6Address. This is needed for services such as bind() and connect().
│ │ │ │ +i | for IPV6Addresses with multiple addresses, returns the address at this index. User should call getAddressCount() to determine the number of address the object contains. |
Returns the number of internet addresses that an IPV6Address object contains. This usually only happens with IPV6Host objects where multiple IP addresses are returned for a DNS lookup
│ │ │ │ +Compare two internet addresses to see if they are equal (if they specify the physical address of the same internet host).
│ │ │ │ +If there is more than one IP address in either IPV6Address object, this will return true if all of the IP addresses in the smaller are in the larger in any order.
│ │ │ │ +Compare two internet addresses to see if they are not equal (if they each refer to unique and different physical ip addresses).
│ │ │ │ +This is implimented in terms of operator==
│ │ │ │ +output string
│ │ │ │ +HEXdump constructor.
│ │ │ │ +buffer | buffer to be "hexdumped" |
buff_len | buffer length |
max_len | max number of bytes to be "hexdumped". Usefull to truncate output. mas_len=0 does prints all. |
HEXdump destructor.
│ │ │ │ +const char* cast provided for conveneince.
│ │ │ │ +string cast provided for conveneince.
│ │ │ │ +operator <<
hd | hexdump. |
Virtual method to filter results. Virtual override methods should call baseclass method to assure . and .. names are stripped out.
│ │ │ │ +file | path to examine |
ino | info of type, date, etc. |
Construct a directory tree walk starting at the specified prefix. A maximum subdirectory depth is also specified.
│ │ │ │ +prefix | to start walk. |
maxdepth | subdirectory depth to examine. |
Construct an un-opened directory tree of a known maximum depth
│ │ │ │ +maxdepth | subdirectory subdirectory depth. |
Open a directory tree path.
│ │ │ │ +prefix | directory path to open. |
Close the directory path.
│ │ │ │ +Extract the next full pathname from the directory walk. When returning directories, a '/' is appended. The returned string is a buffer of MAX_PATH size.
│ │ │ │ +This is used to step through the filter virtual for an entire subtree, and is used for cases where a derived DirTree class performs it's primary operations through filter rather than externally by calling getPath().
│ │ │ │ +prefix | directory path to examine. |
Construct and load a DSO object file.
│ │ │ │ +filename | pathname of object file to load. |
Retrieve error indicator associated with DSO failure. This is often used in catch handlers.
│ │ │ │ +Detach a DSO object from running memory.
│ │ │ │ +Lookup a symbol in the loaded file.
│ │ │ │ +Find a specific DSO object by filename.
│ │ │ │ +name | of DSO object file (partial). |
See if DSO object is valid.
│ │ │ │ +Install debug handler...
│ │ │ │ +Contruct a multi-part document, and describe it's type.
│ │ │ │ +document | (content) type. |
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
│ │ │ │ +output | to stream document header into. |
Stream the "body" of the multi-part document. This involves streaming the headers and body of each document part.
│ │ │ │ +output | to stream document body into. |
Get a string array of the headers to use. This is used to assist URLStream::post.
│ │ │ │ +Stream the header(s) for the current document part.
│ │ │ │ +output | to stream header into. |
Stream the content of this document part.
│ │ │ │ +output | to stream document body into. |
Construct and attach a document part to a multipart document.
│ │ │ │ +top | multipart document to attach to. |
ct | Content-Type to use. |
The constructor simply initializes the count.
│ │ │ │ +The destructor is called when the reference count returns to zero. This is done through a virtual destructor.
│ │ │ │ +The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies.
│ │ │ │ +Detach current object, for example, when changing pointer.
│ │ │ │ +Patch point for mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ +Patch point for a mutex in derived class. This may often be a single static mutex shared by a managed type.
│ │ │ │ +Create an unattached pointer.
│ │ │ │ +Create a pointer attached to a reference counted object.
│ │ │ │ +Object being referenced.
│ │ │ │ +A copy constructor.
│ │ │ │ +Pointer being copied.
│ │ │ │ +Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it simply returns the current object. In a "free" list, this may not only return the first object, but also set the first to next.
│ │ │ │ +Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ +Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ +Insert object into chain. This is a virtual because derived class may choose instead to perform an insert at head or tail, may manage bookmarks, and may add mutex lock.
│ │ │ │ +object | being inserted. |
Requested in overloaded insert() method to indicate how to insert data into list
│ │ │ │ +< insert at first position in list pointed by current object
│ │ │ │ +< insert at last position in list pointed by current object
│ │ │ │ +< insert in list before current object
│ │ │ │ +< insert in list after current object
│ │ │ │ +Get first linked object in list. This may be dynamically recast, and may refer to a master static bookmark pointer in a derived class. Otherwise it follows list to front.
│ │ │ │ +Gets the last object in the list. This normally follows the links to the end. This is a virtual because derived class may include a static member bookmark for the current end.
│ │ │ │ +Virtual to get the insert point to use when adding new members. This may be current, or always head or always tail. As a virtual, this allows derived class to establish "policy".
│ │ │ │ +Get next object, for convenience. Derived class may use this with a dynamic cast.
│ │ │ │ +Get prev object in the list.
│ │ │ │ +Insert object into chain at given pos, as indicated by InsertMode; If no pos is given, it defaults to modeAtLast, inserting element at list's end.
│ │ │ │ +object | being inserted. |
position | where object is inserted. |
Remove object from chain.
│ │ │ │ +Creates an empty map index (pointing to nothing).
│ │ │ │ +Creates a map index pointing to a specific map object
│ │ │ │ +the | indexed object |
Creates a copy of a given map index
│ │ │ │ +the | source index object |
Dereference operator: the pointed object it is returned as void * for easy re-cast.
│ │ │ │ +Assignment operator to avoid implicit cast.
│ │ │ │ +Prefix increment operator, to be used in loops and such.
│ │ │ │ +Postfix increment operator, to be used in loops and such.
│ │ │ │ +Comparison operator, between two MapIndex's.
│ │ │ │ +Comparison operator, between the MapIndex and a MapObject, useful to avoid casts for sake of clearness.
│ │ │ │ +Remove the object from it's current table.
│ │ │ │ +Save id, mark as not using any table.
│ │ │ │ +id | string for this object. |
This manages a registration to the typemanager - attempting to remove problems with the optimizers
│ │ │ │ +This adds a new construction function to the type manager
│ │ │ │ +And this one removes a type from the managers lists
│ │ │ │ +This function creates a new object of the required type and returns a pointer to it. NULL is returned if we couldn't find the type
│ │ │ │ +This constructor is used in serialization processes. It is called in CreateNewInstance in order to create an instance of the class to have Read() called on it.
│ │ │ │ +Default destructor
│ │ │ │ +This returns the ID of the persistent object (Its type)
│ │ │ │ +This method is used to write to the Persistence::Engine It is not equivalent to the << operator as it writes only the data and not the object type etc.
│ │ │ │ +This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.
│ │ │ │ +These are the modes the Persistence::Engine can work in
│ │ │ │ +Constructs a Persistence::Engine with the specified stream in the given mode. The stream must be initialized properly prior to this call or problems will ensue.
│ │ │ │ +writes a PersistObject from a reference.
│ │ │ │ +writes a PersistObject from a pointer.
│ │ │ │ +reads a PersistObject into a reference overwriting the object.
│ │ │ │ +reads a PersistObject into a pointer allocating memory for the object if necessary.
│ │ │ │ +reads the actual object data into a pre-instantiated object pointer by calling the read function of the derived class.
│ │ │ │ +reads in a class name, and caches it into the ClassMap.
│ │ │ │ +The underlying stream
│ │ │ │ +The mode of the engine. read or write
│ │ │ │ +Typedefs for the Persistence::PersistObject support
│ │ │ │ +Detach current process into a daemon, posix only. Perhaps a similar method can be used for creating win32 "services"?
│ │ │ │ +Attach the current process to another device or i/o session. It is deamonified and dissasociated with the prior parent process and controlling terminal.
│ │ │ │ +devname | path to attach to. |
Set a posix compliant signal handler.
│ │ │ │ +signo | signal no. |
handler | trap handler. |
Set system call interuptable signal handler.
│ │ │ │ +#return previous handler.
signo | signal no. |
handler | trap handler. |
Lock a process in memory. Ideally you should be deep enough where additional memallocs for functions will not kill you, or use false for future.
│ │ │ │ +future | pages as well... |
Unlock process pages.
│ │ │ │ +Spawn a process and wait for it's exit code. In win32 this is done with the spawn system call. In posix, this is done with a fork, an execvp, and a waitpid.
│ │ │ │ +exec | name of executable. |
argv | list of command arguments. |
wait | for process to exit before return. |
Get the exit status of another process, waiting for it to exit.
│ │ │ │ +pid | process id. |
Cancel a running child process.
│ │ │ │ +pid | process id. |
sig | cancel signal to apply. |
Get system environment.
│ │ │ │ +name | of symbol. |
Set system environment in a standard manner.
│ │ │ │ +name | of environment symbol to set. |
value | of environment symbol. |
overwrite | true if replace existing symbol. |
Get etc prefix path.
│ │ │ │ +Get home directory.
│ │ │ │ +Get user name.
│ │ │ │ +Set user id by name.
│ │ │ │ +Set the effective group id by name.
│ │ │ │ +Return the effective operating system page size.
│ │ │ │ +Used to set process priority and optionally enable realtime.
│ │ │ │ +Used to set process scheduling policy.
│ │ │ │ +Portable shortcut for setting realtime...
│ │ │ │ +Return true if scheduler settable.
│ │ │ │ +Return true if realtime scheduling.
│ │ │ │ +Create a lock under a known name.
│ │ │ │ +name | of system-wide lock to create. |
Create a new lock object that can be used to make locks.
│ │ │ │ +Destroy the current lock and release it.
│ │ │ │ +Lock a system-wide name for this process. If the lock is successful, return true. If an existing lock was already acquired, release it first.
│ │ │ │ +name | system-wide lock to use. |
Release an acquired lock.
│ │ │ │ +Flag if the current process has aqcuired a lock.
│ │ │ │ +Used to properly initialize serial object.
│ │ │ │ +Opens the serial device.
│ │ │ │ +fname | Pathname of device to open |
Closes the serial device.
│ │ │ │ +Reads from serial device.
│ │ │ │ +Data | Point to character buffer to receive data. Buffers MUST be at least Length + 1 bytes in size. |
Length | Number of bytes to read. |
Writes to serial device.
│ │ │ │ +Data | Point to character buffer containing data to write. Buffers MUST |
Length | Number of bytes to write. |
This service is used to throw all serial errors which usually occur during the serial constructor.
│ │ │ │ +error | defined serial error id. |
errstr | string or message to optionally pass. |
This service is used to thow application defined serial errors where the application specific error code is a string.
│ │ │ │ +err | string or message to pass. |
This method is used to turn the error handler on or off for "throwing" execptions by manipulating the thrown flag.
│ │ │ │ +enable | true to enable handler. |
Set packet read mode and "size" of packet read buffer. This sets VMIN to x. VTIM is normally set to "0" so that "isPending()" can wait for an entire packet rather than just the first byte.
│ │ │ │ +size | of packet read request. |
btimer | optional inter-byte data packet timeout. |
Set "line buffering" read mode and specifies the newline character to be used in seperating line records. isPending can then be used to wait for an entire line of input.
│ │ │ │ +newline | newline character. |
nl1 | EOL2 control character. |
Restore serial device to the original settings at time of open.
│ │ │ │ +Used to flush the input waiting queue.
│ │ │ │ +Used to flush any pending output data.
│ │ │ │ +Used to wait until all output has been sent.
│ │ │ │ +Used as the default destructor for ending serial I/O services. It will restore the port to it's original state.
│ │ │ │ +Used to initialize a newly opened serial file handle. You should set serial properties and DTR manually before first use.
│ │ │ │ +This allows later ttystream class to open and close a serial device.
│ │ │ │ +A serial object may be constructed from a named file on the file system. This named device must be "isatty()".
│ │ │ │ +name | of file. |
The serial base class may be "thrown" as a result on an error, and the "catcher" may then choose to destory the object. By assuring the socket base class is a virtual destructor, we can assure the full object is properly terminated.
│ │ │ │ +Serial ports may also be duplecated by the assignment operator.
│ │ │ │ +Set serial port speed for both input and output.
│ │ │ │ +speed | to select. 0 signifies modem "hang up". |
Set character size.
│ │ │ │ +bits | character size to use (usually 7 or 8). |
Set parity mode.
│ │ │ │ +parity | mode. |
Set number of stop bits.
│ │ │ │ +bits | stop bits. |
Set flow control.
│ │ │ │ +flow | control mode. |
Set the DTR mode off momentarily.
│ │ │ │ +millisec | number of milliseconds. |
Send the "break" signal.
│ │ │ │ +Often used by a "catch" to fetch the last error of a thrown serial.
│ │ │ │ +Often used by a "catch" to fetch the user set error string of a thrown serial.
│ │ │ │ +Get the "buffer" size for buffered operations. This can be used when setting packet or line read modes to determine how many bytes to wait for in a given read call.
│ │ │ │ +Get the status of pending operations. This can be used to examine if input or output is waiting, or if an error has occured on the serial device.
│ │ │ │ +pend | ready check to perform. |
timeout | in milliseconds. |
Acquire the mutex
│ │ │ │ +_mutex | reference to mutex to aquire. |
Release the mutex automatically
│ │ │ │ +Wait for read access
│ │ │ │ +_tl | reference to lock to aquire. |
Post the semaphore automatically
│ │ │ │ +Wait for write access
│ │ │ │ +_tl | reference to threadlock to aquire. |
Post the semaphore automatically
│ │ │ │ +Wait for the semaphore
│ │ │ │ +Post the semaphore automatically
│ │ │ │ +Create a timer, mark it as inactive, and set the initial "start" time to the creation time of the timer object. This allows "incTimer" to initially refer to time delays relative to the original start time of the object.
│ │ │ │ +Set a new start time for the object based on when this call is made and optionally activate the timer for a specified number of milliseconds. This can be used to set the starting time of a realtime session.
│ │ │ │ +timeout | delay in milliseconds from "now" |
Set a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ +timeout | delay in milliseconds from reference. |
Adjust a timeout based on the current time reference value either from object creation or the last setTimer(). This reference can be used to time synchronize realtime data over specified intervals and force expiration when a new frame should be released in a synchronized manner.
│ │ │ │ +timeout | delay in milliseconds from reference. |
Sleep until the current timer expires. This is useful in time syncing realtime periodic tasks.
│ │ │ │ +This is used to "disable" the service thread from expiring the timer object. It does not effect the reference time from either creation or a setTimer().
│ │ │ │ +This is used by service threads to determine how much time remains before the timer expires based on a timeout specified in setTimer() or incTimer(). It can also be called after setting a timeout with incTimer() to see if the current timeout has already expired and hence that the application is already delayed and should skip frame(s).
│ │ │ │ +return time remaining in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ +This is used to determine how much time has elapsed since a timer port setTimer benchmark time was initially set. This allows one to use setTimer() to set the timer to the current time and then measure elapsed time from that point forward.
│ │ │ │ +return time elapsed in milliseconds, or TIMEOUT_INF if inactive.
│ │ │ │ +a delimiter string containing all usual whitespace delimiters. These are space, tab, newline, carriage return, formfeed and vertical tab. (see isspace() manpage).
│ │ │ │ +Exception thrown, if someone tried to read beyond the end of the tokens. Will not happen if you use it the 'clean' way with comparison against end(), but if you skip some tokens, because you 'know' they are there. Simplifies error handling a lot, since you can just read your tokens the way you expect it, and if there is some error in the input this Exception will be thrown.
│ │ │ │ +The input forward iterator for tokens.
│ │ │ │ +copy constructor.
│ │ │ │ +assignment operator.
│ │ │ │ +shifts this iterator to the next token in the string.
│ │ │ │ +returns the immutable string this iterator points to or '0' if no token is available (i.e. i == end()). Do not store pointers to this token, since it is invalidated for each iteration. If you need the token, copy it (e.g. with strdup());
│ │ │ │ +returns the next delimiter after the current token or '\0', if there are no following delimiters. It returns the very next delimiter (even if skipAllDelim=true).
│ │ │ │ +compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ +compares to other iterator. Usually used to compare against the end() iterator.
│ │ │ │ +creates a new StringTokenizer for a string and a given set of delimiters.
│ │ │ │ +str | String to be split up. This string will not be modified by this StringTokenizer, but you may as well not modfiy this string while tokenizing is in process, which may lead to undefined behaviour. |
delim | String containing the characters which should be regarded as delimiters. |
skipAllDelim | OPTIONAL. true, if subsequent delimiters should be skipped at once or false, if empty tokens should be returned for two delimiters with no other text inbetween. The first behaviour may be desirable for whitespace skipping, the second for input with delimited entry e.g. /etc/passwd like files or CSV input. NOTE, that 'true' here resembles the ANSI-C strtok(char *s,char *d) behaviour. DEFAULT = false |
trim | OPTIONAL. true, if the tokens returned should be trimmed, so that they don't have any whitespaces at the beginning or end. Whitespaces are any of the characters defined in StringTokenizer::SPACE. If delim itself is StringTokenizer::SPACE, this will result in a behaviour with skipAllDelim = true. DEFAULT = false |
create a new StringTokenizer which splits the input string at whitespaces. The tokens are stripped from whitespaces. This means, if you change the set of delimiters in either the 'begin(const char *delim)' method or in 'setDelimiters()', you then get whitespace trimmed tokens, delimited by the new set. Behaves like StringTokenizer(s, StringTokenizer::SPACE,false,true);
│ │ │ │ +returns the begin iterator
│ │ │ │ +changes the set of delimiters used in subsequent iterations.
│ │ │ │ +returns a begin iterator with an alternate set of delimiters.
│ │ │ │ +the iterator marking the end.
│ │ │ │ +Create xml parser.
size | of XML data buffer. |
Destroy xml parser.
│ │ │ │ +Virtual to receive embedded comments in XML document being parsed.
text | received. |
size | of text received. |
Virtual to receive character text extracted from the document.
text | received. |
size | of text received. |
Notify start of document event.
│ │ │ │ +Notify end of document event.
│ │ │ │ +Notify start of an element in the document.
name | of element found. |
attr | list of attributes extracted. |
Notify end of an element in the document.
name | of element ending. |
Parse a chunk of data and return parser completion flag. This is used to externally drive data into the XML parser. The return status can be used to determine when a document has been fully parsed. This can be called multiple times to push stream data into the parser.
address | of data to parse. |
size | of data to parse. |
Parse a stream buffer and return parser document completion flag. This is used to scan a stream buffer for a complete XML document. The stream is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
stream | buffer to parse. |
Parse a file buffer and return parser document completion flag. This is used to scan a file buffer for a complete XML document. The file is scanned until the document is complete or EOF. Multiple XML document instances can be scanned from a continues XML streaming source.
file | buffer to parse. |
End of document check.
.
.
..
..
..
..
.System logging facilities abstraction. │ │ │ │ +
Application logging facilities abstraction. │ │ │ │ More...
│ │ │ │ -#include <cstdio>
#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <commoncpp/thread.h>
#include <commoncpp/config.h>
#include <commoncpp/slog.h>
#include <commoncpp/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
Go to the source code of this file.
│ │ │ ││ │ │ │ Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
class __attribute__((visibility("default"))) AppLog | ost::__attribute__ ((visibility("default"))) inline AppLog &debug(AppLog &sl) |
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system. | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
│ │ │ │ +class __attribute__((visibility("default"))) AppLogException class | ost::__attribute__ ((visibility("hidden"))) AppLogPrivate |
Applog exception, used for memory problems at the moment. | |
System logging facilities abstraction.
│ │ │ │ +Application logging facilities abstraction.
│ │ │ │ │ │ │ │ -Definition in file slog.h.
│ │ │ │ +Definition in file applog.h.
│ │ │ │ost::__attribute__ | │ │ │ │ +( | │ │ │ │ +(visibility("default")) | │ │ │ │ +) | │ │ │ │ +& | │ │ │ │ +
Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system.
│ │ │ │ +Manipulator for info level.
│ │ │ │ +Manipulator for notice level.
│ │ │ │ +Manipulator for critical level.
│ │ │ │ +Manipulator for alert level.
│ │ │ │ +Manipulator for emerg level.
│ │ │ │ +Manipulator for error level.
│ │ │ │ +Manipulator for warn level.
│ │ │ │ +It uses ost::slog to write to syslog and std::clog to write to standard output.
│ │ │ │ +It provides either a stream oriented logger or a old printf style one.
│ │ │ │ +It can be used to log directly on a file or in a spooler like way. Latter uses a ost::ThreadQueue to implement a thread safe access to logger.
│ │ │ │ +It provides a global stream variable called ost::alog.
│ │ │ │ +It provides an AppLog::Ident class that represents a module name for instance that can be used to tag logs. Logging levels are the same defined into ost::Slog: Slog::levelEmergency Slog::levelAlert Slog::levelCritical Slog::levelError Slog::levelWarning Slog::levelNotice Slog::levelInfo Slog::levelDebugfrom.
│ │ │ │ +Example of usage: alog << mod_name << debug << "Hello world!" << std::endl; Manipulator for debug level
sl | application logger stream |
sl | application logger stream |
class ost::__attribute__ | │ │ │ │( | │ │ │ │ @@ -1963,15 +2021,15 @@ │ │ │ │
file | buffer to parse. |
End of document check.
.
.
..
..
.
..
..
..
.tcp derived socket classes. │ │ │ │ +
udp derived socket classes. │ │ │ │ More...
│ │ │ │#include <cstdio>
#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <commoncpp/address.h>
#include <commoncpp/address.h>
#include <commoncpp/socket.h>
Go to the source code of this file.
│ │ │ │tcp derived socket classes.
│ │ │ │ +.
.
.
..
.
.
..
.Convenience type for scheduling access.
│ │ │ │ │ │ │ │ -Definition at line 730 of file condition.h.
│ │ │ │ +Definition at line 730 of file condition.h.
│ │ │ │ │ │ │ │Convenience type for using thread barriers.
│ │ │ │ │ │ │ │ -Definition at line 740 of file condition.h.
│ │ │ │ +Definition at line 740 of file condition.h.
│ │ │ │ │ │ │ │typedef typeref<Type::Bools> ucommon::boolref_t | │ │ │ │
typedef arrayref<Type::Bytes> ucommon::bytearray_t | │ │ │ │
Definition at line 332 of file arrayref.h.
│ │ │ │ +Definition at line 332 of file arrayref.h.
│ │ │ │ │ │ │ │typedef typeref<Type::Bytes> ucommon::byteref_t | │ │ │ │
typedef typeref<Type::Bytes>::value* ucommon::bytevalues_t | │ │ │ │
typedef typeref<Type::Chars>::value* ucommon::charvalues_t | │ │ │ │
Convenience type for generic ciphers.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │A convenience typecast for integer counters.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience type for using Date object.
│ │ │ │ │ │ │ │ -Definition at line 1031 of file datetime.h.
│ │ │ │ +Definition at line 1031 of file datetime.h.
│ │ │ │ │ │ │ │Convenience type for using DateTimeString object.
│ │ │ │ │ │ │ │ -Definition at line 1026 of file datetime.h.
│ │ │ │ +Definition at line 1026 of file datetime.h.
│ │ │ │ │ │ │ │Convenience type for generic digests.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef dir ucommon::dir_t | │ │ │ │
A convenience type for using DirPager directly.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef dso ucommon::dso_t | │ │ │ │
Convenience type for generic digests.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef secure::string ucommon::keystring_t | │ │ │ │
Convenience typedef for root pointers of single linked lists.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef DLinkedObject ucommon::LinkedList | │ │ │ │
Convenience type for loader operations.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience type for using counting semaphores.
│ │ │ │ │ │ │ │ -Definition at line 735 of file condition.h.
│ │ │ │ +Definition at line 735 of file condition.h.
│ │ │ │ │ │ │ │Convenience type for generic cipher key.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef arrayref<Type::Chars> ucommon::stringarray_t | │ │ │ │
Definition at line 333 of file arrayref.h.
│ │ │ │ +Definition at line 333 of file arrayref.h.
│ │ │ │ │ │ │ │A convenience type for paged string lists.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │A convenience type for paged string list items.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef typeref<Type::Chars> ucommon::stringref_t | │ │ │ │
A convenience type for timers.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience type for using Time object.
│ │ │ │ │ │ │ │ -Definition at line 1036 of file datetime.h.
│ │ │ │ +Definition at line 1036 of file datetime.h.
│ │ │ │ │ │ │ │A convenience typecast for auto-toggled bools.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │16 bit unicode character code.
│ │ │ │Java and some api's like these.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │32 bit unicode character code.
│ │ │ │We may extract this from a ucs2 or utf8 string.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Resolves issues where wchar_t is not defined.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience type for utf8 encoded strings.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience type for utf8_pointer strings.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │typedef unsigned short ucommon::vectorsize_t | │ │ │ │
Last error flagged for this context.
│ │ │ │This is derived in different back-end libraries, and will be used to clear certificate credentials.
│ │ │ │Convenience type to represent a security context.
│ │ │ │Convenience type to represent a secure socket session.
│ │ │ │Convenience type to represent a ssl certificate object.
│ │ │ │Convenience type to represent a secure socket buf i/o stream.
│ │ │ │Initialize secure stack for first use, and report if SSL support is compiled in.
Initialize secure stack with fips support. If fips support is not successfully enabled, the secure stack is also not initialized. Hence init() can be used for non-fips certified operation if fips fails.
Initialize secure stack with fips support. If fips support is not successfully enabled, the secure stack is also not initialized. Hence init() can be used for non-fips certified operation if fips fails.
Copy system certificates to a local path.
path | to copy to. |
Get path to system certificates.
Create a sever context. The certificate file used will be based on the init() method name. This may often be /etc/ssl/certs/initname.pem. Similarly, a matching private key certificate will also be loaded. An optional certificate authority document can be used when we are establishing a service which ssl clients have their own certificates.
Create a sever context. The certificate file used will be based on the init() method name. This may often be /etc/ssl/certs/initname.pem. Similarly, a matching private key certificate will also be loaded. An optional certificate authority document can be used when we are establishing a service which ssl clients have their own certificates.
authority | path to use or NULL if none. |
Create an anonymous client context with an optional authority to validate.
Last error flagged for this context.
│ │ │ │This is derived in different back-end libraries, and will be used to clear certificate credentials.
│ │ │ │Convenience type to represent a security context.
│ │ │ │Convenience type to represent a secure socket session.
│ │ │ │Convenience type to represent a ssl certificate object.
│ │ │ │Convenience type to represent a secure socket buf i/o stream.
│ │ │ │Initialize secure stack for first use, and report if SSL support is compiled in.
Initialize secure stack with fips support. If fips support is not successfully enabled, the secure stack is also not initialized. Hence init() can be used for non-fips certified operation if fips fails.
Initialize secure stack with fips support. If fips support is not successfully enabled, the secure stack is also not initialized. Hence init() can be used for non-fips certified operation if fips fails.
Copy system certificates to a local path.
path | to copy to. |
Get path to system certificates.
Create a sever context. The certificate file used will be based on the init() method name. This may often be /etc/ssl/certs/initname.pem. Similarly, a matching private key certificate will also be loaded. An optional certificate authority document can be used when we are establishing a service which ssl clients have their own certificates.
Create a sever context. The certificate file used will be based on the init() method name. This may often be /etc/ssl/certs/initname.pem. Similarly, a matching private key certificate will also be loaded. An optional certificate authority document can be used when we are establishing a service which ssl clients have their own certificates.
authority | path to use or NULL if none. |
Create an anonymous client context with an optional authority to validate.
Get unicode character pointed to by pointer.
Get c string we point to.
Convert utf8 pointer to a generic string pointer.
Get length of null terminated utf8 string in codepoints.
Invoke translation lookup if available.
│ │ │ │This can also be used to mark text constants that need to be translated. It should not be used with pointer variables, which should instead call shell::text directly. The primary purpose is to allow extraction of text to be internationalized with xgettext "--keyword=_TEXT:1".
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Definition at line 435 of file generics.h.
│ │ │ │ +Definition at line 435 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 421 of file generics.h.
│ │ │ │ +Definition at line 421 of file generics.h.
│ │ │ │ │ │ │ │Secure socket using std::iostream.
│ │ │ │Being based on tcpstream, it also inherits the character protocol. If no context is given or the handshake fails, then the stream defaults to insecure TCP connection behavior.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Convenience function to copy objects.
│ │ │ │ │ │ │ │ -Definition at line 400 of file generics.h.
│ │ │ │ +Definition at line 400 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 405 of file generics.h.
│ │ │ │ +Definition at line 405 of file generics.h.
│ │ │ │ │ │ │ │target | to copy into. |
source | to copy from. |
Definition at line 372 of file generics.h.
│ │ │ │ +Definition at line 372 of file generics.h.
│ │ │ │ │ │ │ │pointer | to convert. |
Definition at line 484 of file generics.h.
│ │ │ │ +Definition at line 484 of file generics.h.
│ │ │ │ │ │ │ │object | we are duping. |
Definition at line 329 of file generics.h.
│ │ │ │ +Definition at line 329 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 339 of file generics.h.
│ │ │ │ +Definition at line 339 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 334 of file generics.h.
│ │ │ │ +Definition at line 334 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 344 of file generics.h.
│ │ │ │ +Definition at line 344 of file generics.h.
│ │ │ │ │ │ │ │object | we are testing. |
Definition at line 297 of file generics.h.
│ │ │ │ +Definition at line 297 of file generics.h.
│ │ │ │ │ │ │ │object | we are testing. |
Definition at line 308 of file generics.h.
│ │ │ │ +Definition at line 308 of file generics.h.
│ │ │ │ │ │ │ │object | we are testing. |
Definition at line 319 of file generics.h.
│ │ │ │ +Definition at line 319 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 473 of file generics.h.
│ │ │ │ +Definition at line 473 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 450 of file generics.h.
│ │ │ │ +Definition at line 450 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 461 of file generics.h.
│ │ │ │ +Definition at line 461 of file generics.h.
│ │ │ │ │ │ │ │Convenience function to move objects.
│ │ │ │ │ │ │ │ -Definition at line 414 of file generics.h.
│ │ │ │ +Definition at line 414 of file generics.h.
│ │ │ │ │ │ │ │object | type to reset. |
Definition at line 353 of file generics.h.
│ │ │ │ +Definition at line 353 of file generics.h.
│ │ │ │ │ │ │ │target | to copy into. |
source | to copy from. |
Definition at line 382 of file generics.h.
│ │ │ │ +Definition at line 382 of file generics.h.
│ │ │ │ │ │ │ │o1 | to swap. |
o2 | to swap. |
Definition at line 392 of file generics.h.
│ │ │ │ +Definition at line 392 of file generics.h.
│ │ │ │ │ │ │ │object | to zero in memory. |
Definition at line 362 of file generics.h.
│ │ │ │ +Definition at line 362 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 725 of file condition.h.
│ │ │ │ +Definition at line 725 of file condition.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Integer based time class. A DateTime string class. This can be used to access the date and time as a standard string without requiring an external buffer.
│ │ │ │ │ │ │ │a datetime class that returns strings. A number class that manipulates a string buffer that is also a date.
│ │ │ │ │ │ │ │a number that is also a date string. Convenience type for using DateTime object.
│ │ │ │ │ │ │ │ -Definition at line 1021 of file datetime.h.
│ │ │ │ +Definition at line 1021 of file datetime.h.
│ │ │ │ │ │ │ │Convenience class for directories.
│ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │A utility class for generic shell operations.
│ │ │ │This includes utilities to parse and expand arguments, and to call system shell services. This also includes a common shell class to parse and process command line arguments which are managed through a local heap.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │A timer queue for timer events.
│ │ │ │The timer queue is used to hold a linked list of timers that must be processed together. The timer queue processes the timer event list and calls an expired function on events that have expired. The timer queue also determines the wait time until the next timer will expire. When timer events are modified, they can retrigger the queue to re-examine the list to find when the next timer will now expire.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │A template to return a sequence of objects of a specified type. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <counter.h>
#include <counter.h>
Inherits SeqCounter.
│ │ │ ││ │ │ │ Public Member Functions | |
T * | get (void) |
Return next typed member of the sequence. | |
A template to return a sequence of objects of a specified type.
│ │ │ │This is used to return a different member in a sequence of objects of a specified type during each reference to the sequencer.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │Return next typed member of the sequence.
│ │ │ │Return next typed member of the sequence by casted reference.
│ │ │ │Return next typed member of the sequence by pointer reference.
│ │ │ │offset | of member to return. |
Definition at line 208 of file counter.h.
│ │ │ │ +Definition at line 208 of file counter.h.
│ │ │ │Generic smart pointer class. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <generics.h>
#include <generics.h>
│ │ │ │ Public Member Functions | |
operator bool () const | |
bool | operator! () const |
Generic smart pointer class.
│ │ │ │This is the original Common C++ "Pointer" class with a few additions.
│ │ │ │ │ │ │ │ -Definition at line 59 of file generics.h.
│ │ │ │ +Definition at line 59 of file generics.h.
│ │ │ │Definition at line 103 of file generics.h.
│ │ │ │ +Definition at line 103 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 108 of file generics.h.
│ │ │ │ +Definition at line 108 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 117 of file generics.h.
│ │ │ │ +Definition at line 117 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 134 of file generics.h.
│ │ │ │ +Definition at line 134 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 150 of file generics.h.
│ │ │ │ +Definition at line 150 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 146 of file generics.h.
│ │ │ │ +Definition at line 146 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 138 of file generics.h.
│ │ │ │ +Definition at line 138 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 142 of file generics.h.
│ │ │ │ +Definition at line 142 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 124 of file generics.h.
│ │ │ │ +Definition at line 124 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 129 of file generics.h.
│ │ │ │ +Definition at line 129 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 66 of file generics.h.
│ │ │ │ +Definition at line 66 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 75 of file generics.h.
│ │ │ │ +Definition at line 75 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 89 of file generics.h.
│ │ │ │ +Definition at line 89 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 80 of file generics.h.
│ │ │ │ +Definition at line 80 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 62 of file generics.h.
│ │ │ │ +Definition at line 62 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 63 of file generics.h.
│ │ │ │ +Definition at line 63 of file generics.h.
│ │ │ │ │ │ │ │Generic smart array class. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <generics.h>
#include <generics.h>
│ │ │ │ Public Member Functions | |
array_pointer (const array_pointer< T > &ref) | |
array_pointer (T *ptr=NULL) | |
Generic smart array class.
│ │ │ │This is the original Common C++ "Pointer" class with a few additions for arrays.
│ │ │ │ │ │ │ │ -Definition at line 161 of file generics.h.
│ │ │ │ +Definition at line 161 of file generics.h.
│ │ │ │Definition at line 205 of file generics.h.
│ │ │ │ +Definition at line 205 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 210 of file generics.h.
│ │ │ │ +Definition at line 210 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 219 of file generics.h.
│ │ │ │ +Definition at line 219 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 236 of file generics.h.
│ │ │ │ +Definition at line 236 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 256 of file generics.h.
│ │ │ │ +Definition at line 256 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 252 of file generics.h.
│ │ │ │ +Definition at line 252 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 248 of file generics.h.
│ │ │ │ +Definition at line 248 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 240 of file generics.h.
│ │ │ │ +Definition at line 240 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 226 of file generics.h.
│ │ │ │ +Definition at line 226 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 231 of file generics.h.
│ │ │ │ +Definition at line 231 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 244 of file generics.h.
│ │ │ │ +Definition at line 244 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 168 of file generics.h.
│ │ │ │ +Definition at line 168 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 177 of file generics.h.
│ │ │ │ +Definition at line 177 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 191 of file generics.h.
│ │ │ │ +Definition at line 191 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 182 of file generics.h.
│ │ │ │ +Definition at line 182 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 165 of file generics.h.
│ │ │ │ +Definition at line 165 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 164 of file generics.h.
│ │ │ │ +Definition at line 164 of file generics.h.
│ │ │ │ │ │ │ │Save and restore global objects in function call stack frames. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <generics.h>
#include <generics.h>
│ │ │ │ Public Member Functions | |
save_restore (T &object) | |
Save object into local copy and keep reference to the original object. | |
~save_restore () | |
Save and restore global objects in function call stack frames.
│ │ │ │ │ │ │ │ │ │ │ │ -Definition at line 266 of file generics.h.
│ │ │ │ +Definition at line 266 of file generics.h.
│ │ │ │object | to save. |
Definition at line 279 of file generics.h.
│ │ │ │ +Definition at line 279 of file generics.h.
│ │ │ │ │ │ │ │Restore original when stack frame is released.
│ │ │ │ │ │ │ │ -Definition at line 286 of file generics.h.
│ │ │ │ +Definition at line 286 of file generics.h.
│ │ │ │ │ │ │ │A linked object base class for ordered objects. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <linked.h>
#include <linked.h>
Inherits LinkedObject.
│ │ │ ││ │ │ │ Public Member Functions | |
linked_value () | |
Create embedded value object unlinked. |
Create embedded value object unlinked.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │root | node or pointer for list. |
index | pointer for the ordered list. |
root | node or pointer for list. |
typed_value | to assign. |
index | to list our object on. |
typed_value | to assign. |
typed_value | to assign. |
T ucommon::linked_value< T, O >::value | │ │ │ │
A smart pointer template for iterating linked lists. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <linked.h>
#include <linked.h>
│ │ │ │ Public Member Functions | |
T * | getNext (void) const |
Get the next member in linked list. | |
T * | getPrev (void) const |
pointer | to linked object. |
index | of linked objects to iterate through. |
Create a linked pointer not attached to a list.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Get the next member in linked list.
│ │ │ │Do not change who we point to.
Get the previous member in double linked list.
│ │ │ │Do not change who we point to.
Test for next member in linked list.
│ │ │ │Test for previous member in double linked list.
│ │ │ │Move (iterate) pointer to next member in linked list.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Test if linked pointer is set/we are not at end of list.
│ │ │ │Return object we point to by casting.
│ │ │ │Test if linked list is empty/we are at end of list.
│ │ │ │Return object we currently point to.
│ │ │ │Move (iterate) pointer to next member in linked list.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Move (iterate) pointer to previous member in double linked list.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Return member from typed object our pointer references.
│ │ │ │pointer | to assign from. |
pointer | of linked list. |
index | to assign pointer from. |
pointer | to typed object. |
Move (iterate) pointer to previous member in double linked list.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Return pointer to our linked pointer to use as root node of a chain.
│ │ │ │Embed data objects into a tree structured memory database. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <linked.h>
#include <linked.h>
Inherits NamedTree.
│ │ │ ││ │ │ │ Public Member Functions | |
treemap * | find (const char *name) const |
Find a subnode from our node by name. |
Embed data objects into a tree structured memory database.
│ │ │ │This can be used to form XML document trees or other data structures that can be organized in trees. The NamedTree class is used to manage the structure of the tree, and the type specified is embedded as a data value object which can be manipulated. Name identifiers are assumed to be dynamically allocated if tree node elements are deletable.
│ │ │ │Embedded values can either be of direct types that are then stored as part of the template object, or of class types that are data pointers. The latter might be used for trees that contain data which might be parsed dynamically from a document and/or saved on a heap. Pointer trees assume that NULL pointers are for nodes that are empty, and that NULL data value nodes with children are trunk nodes. Generally data values are then allocated with a pointer stored in pure leaf nodes.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │name | to search for. |
Definition at line 1370 of file linked.h.
│ │ │ │ +Definition at line 1370 of file linked.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Return the typed value of this node.
│ │ │ │name | of child node. |
Get the data value of a data based value tree.
│ │ │ │Get first child of our node.
│ │ │ │This is useful for iterating children.
index | of child member. |
name | of leaf child node to find. |
Get the typed parent node for our node.
│ │ │ │node | in our typed tree. |
Get the pointer of a pointer based value tree.
│ │ │ │name | of leaf node. |
Definition at line 1360 of file linked.h.
│ │ │ │ +Definition at line 1360 of file linked.h.
│ │ │ │Test if this node is a leaf node for a tree pointer table.
│ │ │ │name | to search for. |
Return typed value of this node by pointer reference.
│ │ │ │data | value to assign. |
path | name to search for node. |
Definition at line 1380 of file linked.h.
│ │ │ │ +Definition at line 1380 of file linked.h.
│ │ │ │reference | to value to copy into node. |
Definition at line 1304 of file linked.h.
│ │ │ │ +Definition at line 1304 of file linked.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │pointer | to set. |
Map a reusable allocator over a named shared memory segment. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <mapped.h>
#include <mapped.h>
Inherits MappedMemory.
│ │ │ ││ │ │ │ Public Member Functions | |
void * | addLock (void) |
Add mapped space while holding lock for one object. | │ │ │ │ inlineprotected | │ │ │ │ │ │ │ │
name | of mapped segment to construct. |
number | of objects in the mapped vector. |
Add mapped space while holding lock for one object.
│ │ │ │Initialize typed data in mapped array.
│ │ │ │Assumes default constructor for type.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │ │ │ │ │Get member size of typed objects that can be held in mapped vector.
│ │ │ │member | to access. |
Allocate mapped space for one object.
│ │ │ │member | to access. |
Definition at line 328 of file mapped.h.
│ │ │ │ +Definition at line 328 of file mapped.h.
│ │ │ │Template class to map typed reusable objects into shared memory heap. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <mapped.h>
#include <mapped.h>
Inherits MappedReuse.
│ │ │ ││ │ │ │ Public Member Functions | |
T * | get (void) |
Request a typed reusable object from the free list or mapped space. | |
Template class to map typed reusable objects into shared memory heap.
│ │ │ │This is used to construct a read/write heap of objects that are held in a named shared memory segment. Member objects are allocated from a reusable heap but are stored in the shared memory segment as a vector.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │Request a typed reusable object from the free list or mapped space.
│ │ │ │This method blocks until an object becomes available.
Used to get a typed object from the reuse pool when the mutex lock is already held.
│ │ │ │timeout | in milliseconds. |
Initialize typed data in mapped array.
│ │ │ │Assumes default constructor for type.
│ │ │ │ │ │ │ │ -Definition at line 371 of file mapped.h.
│ │ │ │ +Definition at line 371 of file mapped.h.
│ │ │ │Check whether there are typed objects available to be allocated.
│ │ │ │Request a typed reusable object from the free list or mapped space.
│ │ │ │This method blocks until an object becomes available.
Definition at line 393 of file mapped.h.
│ │ │ │ +Definition at line 393 of file mapped.h.
│ │ │ │Check whether there are typed objects available to be allocated.
│ │ │ │Request a typed reusable object from the free list or mapped space by pointer reference.
│ │ │ │This method blocks until an object becomes available.
Definition at line 401 of file mapped.h.
│ │ │ │ +Definition at line 401 of file mapped.h.
│ │ │ │member | offset from start of segment. Will fault if past end. |
Definition at line 409 of file mapped.h.
│ │ │ │ +Definition at line 409 of file mapped.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │object | being released. |
object | being returned. |
Request a typed reusable object from the free list or mapped space.
│ │ │ │This method does not block or wait.
Class to access a named mapped segment published from another process. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <mapped.h>
#include <mapped.h>
Inherits MappedMemory.
│ │ │ ││ │ │ │ Public Member Functions | |
void | copy (unsigned member, T &buffer) |
Class to access a named mapped segment published from another process.
│ │ │ │This offers a simple typed vector interface to access the shared memory segment in read-only mode.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │Get count of typed member objects held in this map.
│ │ │ │member | to access. |
member | to access. |
Definition at line 496 of file mapped.h.
│ │ │ │ +Definition at line 496 of file mapped.h.
│ │ │ │This is a base class for objects that may be created in pager pools. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <memory.h>
#include <memory.h>
Inherits MemoryRedirect, and PagerPool.
│ │ │ ││ │ │ │ Public Member Functions | |
T * | operator() (void) |
Create a managed object by casting reference. |
Create a managed object by casting reference.
│ │ │ │Create a managed object by pointer reference.
│ │ │ │An array of reusable objects. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <reuse.h>
#include <reuse.h>
Inherits ArrayReuse.
│ │ │ ││ │ │ │ Public Member Functions | |
array_reuse (unsigned count) | |
Create private heap of reusable objects of specified type. |
timeout | to wait for heap in milliseconds. |
Definition at line 183 of file reuse.h.
│ │ │ │ +Definition at line 183 of file reuse.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Create a typed object from the heap.
│ │ │ │This function blocks when the heap is empty until an object is returned to the heap.
timeout | to wait for heap in milliseconds. |
Get a typed object from the heap.
│ │ │ │This function blocks when the heap is empty until an object is returned to the heap.
Test if typed objects available in heap or re-use list.
│ │ │ │Get a typed object from the heap by type casting reference.
│ │ │ │This function blocks while the heap is empty.
Definition at line 200 of file reuse.h.
│ │ │ │ +Definition at line 200 of file reuse.h.
│ │ │ │Test if the entire heap has been allocated.
│ │ │ │Get a typed object from the heap by pointer reference.
│ │ │ │This function blocks while the heap is empty.
Definition at line 209 of file reuse.h.
│ │ │ │ +Definition at line 209 of file reuse.h.
│ │ │ │object | to return. |
Definition at line 191 of file reuse.h.
│ │ │ │ +Definition at line 191 of file reuse.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Request immediately next available typed object from the heap.
│ │ │ │A reusable private pool of reusable types. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <reuse.h>
#include <reuse.h>
Inherits PagerReuse.
│ │ │ ││ │ │ │ Public Member Functions | |
T * | create (timeout_t timeout) |
Create a typed object from the heap. | |
A reusable private pool of reusable types.
│ │ │ │A pool of typed objects is created which can be allocated from a memory pager. Deallocated typed objects are also returned to this pool so they can be reallocated later.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │timeout | to wait for heap in milliseconds. |
Get a typed object from the pager heap.
│ │ │ │This function blocks when the heap is empty until an object is returned to the heap. The objects default constructor is used.
timeout | to wait for heap in milliseconds. |
Get a typed object from the pager heap.
│ │ │ │This function blocks when the heap is empty until an object is returned to the heap.
Test if typed objects available from the pager or re-use list.
│ │ │ │Get a typed object from the pager heap by pointer reference.
│ │ │ │This function blocks while the heap is empty.
Definition at line 323 of file reuse.h.
│ │ │ │ +Definition at line 323 of file reuse.h.
│ │ │ │Test if no objects are available for reuse or the pager.
│ │ │ │Get a typed object from the pager heap by type casting reference.
│ │ │ │This function blocks while the heap is empty.
Definition at line 314 of file reuse.h.
│ │ │ │ +Definition at line 314 of file reuse.h.
│ │ │ │object | to return. |
Definition at line 305 of file reuse.h.
│ │ │ │ +Definition at line 305 of file reuse.h.
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Request immediately next available typed object from the pager heap.
│ │ │ │Manage temporary object stored on the heap. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <temporary.h>
#include <temporary.h>
│ │ │ │ Public Member Functions | |
operator bool () const | |
operator T& () const | |
Manage temporary object stored on the heap.
│ │ │ │This is used to create a object on the heap who's scope is controlled by the scope of a member function call. Sometimes we have data types and structures which cannot themselves appear as auto variables. We may also have a limited stack frame size in a thread context, and yet have a dynamic object that we only want to exist during the life of the method call. Using temporary allows any type to be created from the heap but have a lifespan of a method's stack frame.
│ │ │ │ │ │ │ │ -Definition at line 85 of file temporary.h.
│ │ │ │ +Definition at line 85 of file temporary.h.
│ │ │ │Construct a temporary object, create our stack frame reference.
│ │ │ │ │ │ │ │ -Definition at line 98 of file temporary.h.
│ │ │ │ +Definition at line 98 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 103 of file temporary.h.
│ │ │ │ +Definition at line 103 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 110 of file temporary.h.
│ │ │ │ +Definition at line 110 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 116 of file temporary.h.
│ │ │ │ +Definition at line 116 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 143 of file temporary.h.
│ │ │ │ +Definition at line 143 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 123 of file temporary.h.
│ │ │ │ +Definition at line 123 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 147 of file temporary.h.
│ │ │ │ +Definition at line 147 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 168 of file temporary.h.
│ │ │ │ +Definition at line 168 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 173 of file temporary.h.
│ │ │ │ +Definition at line 173 of file temporary.h.
│ │ │ │ │ │ │ │Access heap object through our temporary directly.
│ │ │ │Definition at line 131 of file temporary.h.
│ │ │ │ +Definition at line 131 of file temporary.h.
│ │ │ │ │ │ │ │Access members of our heap object through our temporary.
│ │ │ │Definition at line 139 of file temporary.h.
│ │ │ │ +Definition at line 139 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 151 of file temporary.h.
│ │ │ │ +Definition at line 151 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 163 of file temporary.h.
│ │ │ │ +Definition at line 163 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 188 of file temporary.h.
│ │ │ │ +Definition at line 188 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 156 of file temporary.h.
│ │ │ │ +Definition at line 156 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 198 of file temporary.h.
│ │ │ │ +Definition at line 198 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 178 of file temporary.h.
│ │ │ │ +Definition at line 178 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 183 of file temporary.h.
│ │ │ │ +Definition at line 183 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 193 of file temporary.h.
│ │ │ │ +Definition at line 193 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 91 of file temporary.h.
│ │ │ │ +Definition at line 91 of file temporary.h.
│ │ │ │ │ │ │ │Definition at line 92 of file temporary.h.
│ │ │ │ +Definition at line 92 of file temporary.h.
│ │ │ │ │ │ │ │Used to create and manage referece counted pointers. │ │ │ │ More...
│ │ │ │ │ │ │ │ -#include <pointer.h>
#include <pointer.h>
│ │ │ │ Public Member Functions | |
T * | getObject () const |
operator bool () const | |
Used to create and manage referece counted pointers.
│ │ │ │ │ │ │ │reference counted pointer template.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │