--- /srv/reproducible-results/rbuild-debian/r-b-build.SH5j1Tlz/b1/ucommon_7.0.1-0.4_i386.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.SH5j1Tlz/b2/ucommon_7.0.1-0.4_i386.changes ├── Files │ @@ -1,7 +1,7 @@ │ │ ec95c13d9d08e0f3921a93be2ad5e70a 471628 libdevel optional libucommon-dev_7.0.1-0.4_i386.deb │ 75f742f0b601e507e5bad307b2e68ba6 1307992 debug optional libucommon8t64-dbgsym_7.0.1-0.4_i386.deb │ cb4ae5187d5a15adbbc909374811caca 314740 libs optional libucommon8t64_7.0.1-0.4_i386.deb │ - 658a499f3bfc0dc5b6463d55a714365c 705192 doc optional ucommon-doc_7.0.1-0.4_all.deb │ + 0e63a67c4dd92896d6b6478e2e52b4fd 704292 doc optional ucommon-doc_7.0.1-0.4_all.deb │ e17573ae4791533ebf9493d299d69b44 215948 debug optional ucommon-utils-dbgsym_7.0.1-0.4_i386.deb │ 8420102a6f427fad1eebaa73de6b4cff 57440 utils optional ucommon-utils_7.0.1-0.4_i386.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 7972 2024-09-18 13:32:10.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 697028 2024-09-18 13:32:10.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 696128 2024-09-18 13:32:10.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ │ │ │ ├── line order │ │ │ │ │ @@ -1,63 +1,62 @@ │ │ │ │ │ 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/a00056.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00056_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00057.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00058.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00254.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00254_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00255.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00256.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/a00398.html │ │ │ │ │ -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/a00395.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00395_source.html │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00396.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00397.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/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/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/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 │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00433.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00434.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00434_source.html │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00435.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00436.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00437.html │ │ │ │ │ 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 │ │ │ │ │ @@ -66,14 +65,18 @@ │ │ │ │ │ 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/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/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/a00452.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00452_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00453.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00454.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 │ │ │ │ │ @@ -85,40 +88,37 @@ │ │ │ │ │ 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 │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00463.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00467.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00467_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00468.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00469.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00470.html │ │ │ │ │ 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_source.html │ │ │ │ │ -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_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 │ │ │ │ │ @@ -128,43 +128,43 @@ │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00501.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00502.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ │ 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/a00525.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00526.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00527.html │ │ │ │ │ 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_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ │ +usr/share/doc/ucommon-doc/html/a00530_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ │ 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_a597e9ba22f71670c10d96b9e1f94eba1_cgraph.svg │ │ │ │ │ -usr/share/doc/ucommon-doc/html/a00533_a8c4acd97d5c3045679e6c9b5cc2735bb_cgraph.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00533_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00534.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00535.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00536.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00536_source.html │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00537.svg │ │ │ │ │ usr/share/doc/ucommon-doc/html/a00538.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/a00056.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 77944 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00056_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25896 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00057.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 69411 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00058.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7201 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 30479 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22702 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00393.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 66606 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00394.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7214 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 70662 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00398_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 40387 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00399.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44143 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00400.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25006 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 68275 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15447 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00402.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 87307 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00403.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 14251 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 96270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 36661 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00405.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 55272 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00406.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 51017 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00407_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 46362 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00408.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44138 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00409.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 55266 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 34686 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00414.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44135 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00415.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6577 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 17446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 91048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00420.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 43313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00421.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21970 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00422_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12977 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00423.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 99260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00424.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 20723 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 72398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41306 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00426.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 46673 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00427.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 5936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21979 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13807 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00429.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 91195 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00430.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 59422 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 53950 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00432.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44195 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00433.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10481 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 80178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00434_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27128 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00435.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 45498 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00436.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6293 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 33503 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00438.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44141 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00439.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 62901 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 30516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00441.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 63078 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00442.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16999 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 65767 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00444.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44190 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00445.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9676 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 28423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15523 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00447.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44157 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00448.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4321 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00452.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8852 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00452_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13427 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00453.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00454.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 7435 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 25081 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00455_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12596 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00456.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44151 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00457.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6055 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 51725 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 39943 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00459.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9127 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00254.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 77944 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00254_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 25896 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00255.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 69411 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00256.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21970 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00392_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12977 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00393.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 99260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00394.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14251 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 96270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00395_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 36661 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00396.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 55272 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00397.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 106591 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00401_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92057 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00402.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8453 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 126034 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00404_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 19967 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00405.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 74767 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) 15447 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00408.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 87307 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00409.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16999 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00410.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 65767 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00410_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41270 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00411.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44190 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00412.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7214 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 70662 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00413_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 40387 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00414.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44143 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00415.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7201 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00416.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 30479 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00416_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22702 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00417.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 66606 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00418.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4629 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27150 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00419_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27642 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00420.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00421.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6293 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00425_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 33503 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00426.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44141 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00427.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 83570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00428_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11780 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00429.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 100904 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00430.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21979 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00431_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13807 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00432.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 91195 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00433.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 42320 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00437_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 47178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00438.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44135 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00439.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6820 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22818 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00440_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12572 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00441.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 57845 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00442.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4321 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8852 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00443_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13427 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00444.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00445.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11490 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00446_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 23253 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00447.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44124 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00448.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) 91048 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00450.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 43313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00451.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11014 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00452.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 59422 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00452_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 53950 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00453.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44195 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00454.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) 30516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00456.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 63078 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00457.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7435 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 25081 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00458_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12596 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00459.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 44151 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00460.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11490 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 23253 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00462.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44124 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00463.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11936 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 106591 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92057 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00468.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8453 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 126034 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00470_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 19967 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00471.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 74767 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00472.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 6820 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22818 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12572 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00474.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 57845 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00475.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4629 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00476.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27150 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00476_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 27642 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00477.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44148 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00478.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) 42320 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 47178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00480.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 44135 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00481.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 83570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 93077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11780 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00483.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 100904 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00484.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16708 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00485_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3861 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41604 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 95463 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00489.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1635 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00490.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12882 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130768 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 54391 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94617 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00495.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1637 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00496.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 136710 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 80452 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00497_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92289 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00498.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1645 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) 93890 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) 15183 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130774 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 26249 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94633 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00507.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00508.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4327 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92134 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00510.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1681 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00511.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 134077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22322 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92112 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00513.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1659 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00514.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 52758 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00515_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21516 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) 94280 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) 20723 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 72398 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00461_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41306 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00462.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 46673 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00463.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7446 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 55266 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00467_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 34686 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00468.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44135 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) 15523 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00471.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44157 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00472.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 6055 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 51725 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00473_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 39943 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00474.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44151 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00475.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9313 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 51017 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00479_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 46362 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00480.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 44138 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00481.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10481 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 80178 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00482_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27128 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00483.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 45498 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) 21516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00488_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130768 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 54391 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00491_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94617 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00492.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1637 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00493.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 135106 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 41049 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00494_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93247 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00495.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1660 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) 95463 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) 130774 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 26249 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00500_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94633 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00501.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1631 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00502.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 52758 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00503_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4327 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21423 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00506_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92134 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00507.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1681 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00508.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12882 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00509_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 21605 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00512_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 96058 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00513.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00514.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 16708 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00515_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130836 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00518.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 27945 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00518_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94280 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00519.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2910 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00520.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 18570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00521_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92496 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00522.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15864 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00523.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3861 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00524.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 47996 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00524_source.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 95454 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00525.svg │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1625 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00526.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 4516 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 18570 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 92496 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00528.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15864 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00529.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 135106 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 41049 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 93247 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00531.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1660 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00532.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 156088 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533_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/a00533_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/a00533_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 94656 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00534.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9047 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00535.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 130672 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21605 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536_source.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 96058 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00537.svg │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1628 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00538.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 134077 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 22322 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00527_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92112 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00528.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1659 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00529.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 156088 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2260 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00530_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/a00530_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/a00530_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94656 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00531.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9047 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00532.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 136710 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 80452 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00533_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 92289 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00534.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1645 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00535.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 130664 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 24050 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00536_source.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 93890 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/a00537.svg │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1637 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,17 +286,17 @@ │ │ │ │ -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) 17660 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhc.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 14353 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhk.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1683 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhp.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 17654 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/index.hhc.gz │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14355 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 │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5684 2024-09-18 13:32:10.000000 ./usr/share/doc/ucommon-doc/html/namespacemembers_type.html │ │ │ ├── ./usr/share/doc/ucommon-doc/html/a00392.html │ │ │ │ @@ -1,15 +1,15 @@ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -Realtime timers and timer queues. │ │ │ │ +
Runtime functions. │ │ │ │ More...
│ │ │ │ -#include <ucommon/linked.h>
#include <ucommon/platform.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 Timer | ucommon::timer_t |
A convenience type for timers. | |
│ │ │ │ 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 | |
class __attribute__((visibility("default"))) TimerQueue typedef TimerQueue::event | ucommon::TQEvent |
A timer queue for timer events. | |
caddr_t | address |
caddr_t size_t | known |
void * | mem2 |
const char * | s2 |
size_t | size |
uint16_t | v |
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.
│ │ │ │ +Runtime functions.
│ │ │ │ +This includes common runtime library functions we may need portably.
│ │ │ │ + │ │ │ │ + │ │ │ │ +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 | │ │ │ │ +
Definition in file timers.h.
│ │ │ │ -void* mem2 | │ │ │ │ +
const char * s2 | │ │ │ │ +
const char size_t size | │ │ │ │ +
uint32_t v | │ │ │ │ +
.
.
..
.
.Generic templates for C++. │ │ │ │ +
This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. │ │ │ │ More...
│ │ │ │ -#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() |
#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. | |
│ │ │ │ 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. | |
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) |
Generic templates for C++.
│ │ │ │ -These are templates that do not depend on any ucommon classes. They can be used for generic C++ programming.
│ │ │ │ +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 generics.h.
│ │ │ │ +Definition in file secure.h.
│ │ │ │#define THROW | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -throw x | │ │ │ │ -
Definition at line 37 of file generics.h.
│ │ │ │ - │ │ │ │ -#define THROWS | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -throw(x) | │ │ │ │ +#define MAX_CIPHER_KEYSIZE 512 | │ │ │ │
Definition at line 42 of file generics.h.
│ │ │ │ + │ │ │ │ │ │ │ │#define THROWS_ANY throw() | │ │ │ │ +#define MAX_DIGEST_HASHSIZE 512 | │ │ │ │
Definition at line 43 of file generics.h.
│ │ │ │ + │ │ │ │ │ │ │ │.
..
..
.
.A thread-safe atomic heap management system. │ │ │ │ +
Linked objects, lists, templates, and containers. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/platform.h>
#include <ucommon/object.h>
#include <ucommon/thread.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 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 |
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. | |
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.
│ │ │ │ - │ │ │ │ -Definition in file typeref.h.
│ │ │ │ -typedef const uint8_t* ucommon::Type::Bools | │ │ │ │ -
typedef const uint8_t* ucommon::Type::Bytes | │ │ │ │ -
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.
│ │ │ │ │ │ │ │ -typedef const char* ucommon::Type::Chars | │ │ │ │ -
typedef int32_t ucommon::Type::Integer | │ │ │ │ -
Definition in file linked.h.
│ │ │ │ +.
.
.
.
.
..
..
Temporary templates for C++. │ │ │ │ +
Generic templates for C++. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <ucommon/memory.h>
#include <ucommon/fsys.h>
#include <ucommon/cpr.h>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
Go to the source code of this file.
│ │ │ ││ │ │ │ Data Structures | |
class | ucommon::temporary< T > |
Manage temporary object stored on the heap. More... | |
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. | |
#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. | |
Temporary templates for C++.
│ │ │ │ -This offers automatic management of heap temporary objects.
│ │ │ │ +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 temporary.h.
│ │ │ │ +Definition in file generics.h.
│ │ │ ││ │ │ │ | x | ) | │ │ │ │throw x | │ │ │ │ │ │ │ │
Definition at line 57 of file temporary.h.
│ │ │ │ +Definition at line 37 of file generics.h.
│ │ │ │ │ │ │ │Definition at line 62 of file temporary.h.
│ │ │ │ +Definition at line 42 of file generics.h.
│ │ │ │ │ │ │ │#define THROWS_ANY throw() | │ │ │ │
Definition at line 63 of file temporary.h.
│ │ │ │ +Definition at line 43 of file generics.h.
│ │ │ │ │ │ │ │.
.
.
..
.Support for memory mapped objects. │ │ │ │ +
Maps of thread-safe strongly typed heap objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/linked.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>
#include <ucommon/string.h>
#include <signal.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. | |
│ │ │ │ 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) |
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.
│ │ │ │ +Maps of thread-safe strongly typed heap objects.
│ │ │ │ +This is used for maps of smart pointers to immutable heap instances of object types. Shared and exclusive locking is used based on lookup or modify operations.
│ │ │ │ │ │ │ │ -Definition in file mapped.h.
│ │ │ │ +Definition in file mapref.h.
│ │ │ │.
.
.Top level include file for the GNU uCommon C++ core library. │ │ │ │ +
Parsing of config files that have keyword/value pairs. │ │ │ │ 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/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. | |
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.
│ │ │ │ +.
..
..
.
.
.Thread-aware file system manipulation class. │ │ │ │ +
Basic array and reusable object factory heap support. │ │ │ │ More...
│ │ │ │ -#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>
#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. | |
│ │ │ │ -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. | |
typedef unsigned short | ucommon::vectorsize_t |
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.
│ │ │ │ +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.
│ │ │ │ │ │ │ │ -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) | │ │ │ │ -
#define S_ISLNK | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -(0) | │ │ │ │ -
#define S_ISREG | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | mode | ) | │ │ │ │ -1 | │ │ │ │ -
Definition in file reuse.h.
│ │ │ │ +.
.
.
.
.
..
.Abstract interfaces and support. │ │ │ │ +
Various miscellaneous platform specific headers and defines. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#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.
│ │ │ ││ │ │ │ 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 |
│ │ │ │ Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
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 = {} |
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.
│ │ │ │ - │ │ │ │ +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.
│ │ │ │ │ │ │ │ -Definition in file protocols.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.
│ │ │ │ + │ │ │ │ +.
.
.
..
..
..
.Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators. │ │ │ │ +
Abstract interfaces and support. │ │ │ │ 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/cpr.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
│ │ │ │ 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.
│ │ │ │ +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.
│ │ │ │ + │ │ │ │ │ │ │ │ -Definition in file stream.h.
│ │ │ │ +Definition in file protocols.h.
│ │ │ │.
.
.
.
.
.
..
.Basic array and reusable object factory heap support. │ │ │ │ +
Common thread shared data types we will use. │ │ │ │ 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>
#include <ucommon/socket.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 |
│ │ │ │ +Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
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) |
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.
│ │ │ │ +.
.
.
..
..
Condition classes for thread sychronization and timing. │ │ │ │ +
Atomic pointers and locks. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/timers.h>
#include <ucommon/memory.h>
#include <ucommon/platform.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ 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 int | atomic_t |
│ │ │ │ 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. | |
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.
│ │ │ │ +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 | │ │ │ │ +
Definition in file condition.h.
│ │ │ │ -.
.
.
.
..
..
..
Basic classes for manipulating time and date based data, particularly that may be in strings. │ │ │ │ +
Placeholder for future classes that require stl support. │ │ │ │ More...
│ │ │ │ -#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 | |
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. | |
Basic classes for manipulating time and date based data, particularly that may be in strings.
│ │ │ │ +Placeholder for future classes that require stl support.
│ │ │ │ │ │ │ │ -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.
│ │ │ │ - │ │ │ │ -#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 stl.h.
│ │ │ │ +.
.
.
.Locking protocol classes for member function automatic operations. │ │ │ │ +
Basic UCommon Unicode support. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/protocols.h>
#include <ucommon/string.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_ |
│ │ │ │ +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) |
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.
│ │ │ │ +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 access.h.
│ │ │ │ -#define __EXCLUSIVE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -exclusive_access __autolock__ = x | │ │ │ │ -
#define __SHARE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -shared_access __autolock__ = x | │ │ │ │ -
Definition in file unicode.h.
│ │ │ │ +.
.
.
..
..
.
.Placeholder for future classes that require stl support. │ │ │ │ +
Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <list>
#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. | |
│ │ │ │ +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) |
Placeholder for future classes that require stl support.
│ │ │ │ +.
.
.
..
Support for various automatic counting objects. │ │ │ │ +
Condition classes for thread sychronization and timing. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/timers.h>
#include <ucommon/memory.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... | |
│ │ │ │ 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. | |
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"))) 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. | |
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.
│ │ │ │ +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.
│ │ │ │ │ │ │ │ -Definition in file counter.h.
│ │ │ │ +Definition in file condition.h.
│ │ │ │.
.
.
.
..
..
.Arrays of thread-safe strongly typed heap objects. │ │ │ │ +
Support for various automatic counting objects. │ │ │ │ More...
│ │ │ │ -#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/platform.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... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ Typedefs | |
typedef arrayref< Type::Bytes > | ucommon::bytearray_t |
typedef arrayref< Type::Chars > | ucommon::stringarray_t |
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. | |
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.
│ │ │ │ +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.
│ │ │ │ │ │ │ │ -Definition in file arrayref.h.
│ │ │ │ +Definition in file counter.h.
│ │ │ │.
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) | │ │ │ │ +
.
.
.
.
.
.This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. │ │ │ │ +
Support for memory mapped objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/ucommon.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::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. | |
│ │ │ │ -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. | |
│ │ │ │ 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) |
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.
│ │ │ │ -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.
│ │ │ │ │ │ │ │ -#define MAX_CIPHER_KEYSIZE 512 | │ │ │ │ -
Definition in file mapped.h.
│ │ │ │ +.
..
..
.
.Linked objects, lists, templates, and containers. │ │ │ │ +
Locking protocol classes for member function automatic operations. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.h>
#include <ucommon/object.h>
#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/protocols.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 |
│ │ │ │ +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. | |
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.
│ │ │ │ +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 | │ │ │ │ +
Definition in file linked.h.
│ │ │ │ -#define __SHARE | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +shared_access __autolock__ = x | │ │ │ │ +
.
.
.
.
..
..
.
.
..
.Atomic pointers and locks. │ │ │ │ +
Arrays of thread-safe strongly typed heap objects. │ │ │ │ More...
│ │ │ │ -#include <ucommon/platform.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.
│ │ │ ││ │ │ │ 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. | |
typedef arrayref< Type::Bytes > | ucommon::bytearray_t |
typedef arrayref< Type::Chars > | ucommon::stringarray_t |
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 | │ │ │ │ -
Definition in file arrayref.h.
│ │ │ │ +.
.
Common thread shared data types we will use. │ │ │ │ +
Temporary templates for C++. │ │ │ │ More...
│ │ │ │ -#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/socket.h>
#include <ucommon/string.h>
#include <ucommon/memory.h>
#include <ucommon/fsys.h>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
Go to the source code of this file.
│ │ │ ││ │ │ │ +Data Structures | |
class | ucommon::temporary< T > |
Manage temporary object stored on the heap. More... | |
│ │ │ │ Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
│ │ │ │ -Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. | |
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) |
│ │ │ │ +Macros | |
#define | THROW(x) throw x |
#define | THROWS(x) throw(x) |
#define | THROWS_ANY throw() |
Common thread shared data types we will use.
│ │ │ │ -This is for specialized data types that include locking to be thread-safe.
│ │ │ │ +Temporary templates for C++.
│ │ │ │ +This offers automatic management of heap temporary objects.
│ │ │ │ + │ │ │ │ +Definition in file temporary.h.
│ │ │ │ +#define THROW | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +throw x | │ │ │ │ +
Definition at line 57 of file temporary.h.
│ │ │ │ + │ │ │ │ +#define THROWS | │ │ │ │ +( | │ │ │ │ +│ │ │ │ + | x | ) | │ │ │ │ +throw(x) | │ │ │ │ +
Definition in file shared.h.
│ │ │ │ -Definition at line 62 of file temporary.h.
│ │ │ │ + │ │ │ │ +#define THROWS_ANY throw() | │ │ │ │ +
Definition at line 63 of file temporary.h.
│ │ │ │ + │ │ │ │ +.
.
.
Various miscellaneous platform specific headers and defines. │ │ │ │ +
Generic shell parsing and application services. │ │ │ │ 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>
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 |
#define | __STR(x) (static_cast<const char *>(x)) |
#define | _STR(x) ((const char *)(x)) |
Abusive compilers... | |
#define | INVALID_PID_VALUE -1 |
│ │ │ │ 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(). | |
const char * | ucommon::__TEXT (const char *s) |
Invoke translation lookup if available. | |
const char * | ucommon::_TEXT (const char *s) |
│ │ │ │ Variables | |
│ │ │ │ -const class nullptr_t | nullptr = {} |
class __attribute__((visibility("default"))) shell typedef shell | ucommon::shell_t |
A utility class for generic shell operations. | |
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.
│ │ │ │ +Generic shell parsing and application services.
│ │ │ │ │ │ │ │ -Definition in file platform.h.
│ │ │ │ +Definition in file shell.h.
│ │ │ │#define __ALIGNED | │ │ │ │ +#define __STR | │ │ │ │( | │ │ │ ││ │ │ │ | x | ) | │ │ │ │ -__attribute__(align(x)) | │ │ │ │ +(static_cast<const char *>(x)) | │ │ │ │
Definition at line 167 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __DELETE_COPY | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x | ) | │ │ │ │ -│ │ │ │ - |
Definition at line 175 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │#define __DELETE_DEFAULTS | │ │ │ │ +#define _STR | │ │ │ │( | │ │ │ ││ │ │ │ | 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 | │ │ │ │ +((const char *)(x)) | │ │ │ │
Definition at line 127 of file platform.h.
│ │ │ │ - │ │ │ │ -#define __SCANF | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | x, | │ │ │ │ -
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | y | │ │ │ │ -
│ │ │ │ - | ) | │ │ │ │ -│ │ │ │ - |
Abusive compilers...
│ │ │ │ │ │ │ │ -Definition at line 215 of file platform.h.
│ │ │ │ + │ │ │ │ │ │ │ │#define __SERVICE | │ │ │ │ -( | │ │ │ │ -│ │ │ │ - | id, | │ │ │ │ -|
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | c, | │ │ │ │ -|
│ │ │ │ - | │ │ │ │ - | │ │ │ │ - | v | │ │ │ │ -|
│ │ │ │ - | ) | │ │ │ │ -void service_##id(int c, char **v) | │ │ │ │ +#define INVALID_PID_VALUE -1 | │ │ │ │
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.
│ │ │ │ - │ │ │ │ -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.
│ │ │ │ + │ │ │ │ │ │ │ │.
..
..
.Serial I/O services. │ │ │ │ +
Application logging facilities abstraction. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/exception.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. | |
Serial I/O services.
│ │ │ │ +Application logging facilities abstraction.
│ │ │ │ │ │ │ │ -Definition in file serial.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__ | │ │ │ │( | │ │ │ │ @@ -1962,15 +2021,15 @@ │ │ │ │
file | buffer to parse. |
End of document check.
.
.
..
Process services. │ │ │ │ +
string tokenizer. │ │ │ │ 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.
│ │ │ │ +string tokenizer.
│ │ │ │ │ │ │ │ -Definition in file process.h.
│ │ │ │ +Definition in file tokenizer.h.
│ │ │ │file | buffer to parse. |
End of document check.
. .
.
..
.string tokenizer. │ │ │ │ +
Template for creating reference count managed smart pointers. │ │ │ │ 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 |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
│ │ │ │ +Data Structures | |
class | ost::Pointer< T > |
Used to create and manage referece counted pointers. More... | |
string tokenizer.
│ │ │ │ +Template for creating reference count managed smart pointers.
│ │ │ │ │ │ │ │ -Definition in file tokenizer.h.
│ │ │ │ -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 in file pointer.h.
│ │ │ │ + │ │ │ │ │ │ │ │.
..
.
..
.various miscellaneous classes historically used. │ │ │ │ +
MIME document abstractions. │ │ │ │ More...
│ │ │ │Go to the source code of this file.
│ │ │ ││ │ │ │ -Macros | |
#define | KEYDATA_INDEX_SIZE 97 |
#define | KEYDATA_PAGER_SIZE 512 |
#define | KEYDATA_PATH_SIZE 256 |
│ │ │ │ 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. | |
various miscellaneous classes historically used.
│ │ │ │ +MIME document abstractions.
│ │ │ │ │ │ │ │ -Definition in file misc.h.
│ │ │ │ -#define KEYDATA_INDEX_SIZE 97 | │ │ │ │ -
#define KEYDATA_PAGER_SIZE 512 | │ │ │ │ -
#define KEYDATA_PATH_SIZE 256 | │ │ │ │ -
Definition in file mime.h.
│ │ │ │ +file | buffer to parse. |
End of document check.
.
..
..
..
.
..
.
.System logging facilities abstraction. │ │ │ │ +
GNU Common C++ exception model base classes. │ │ │ │ More...
│ │ │ │ -#include <cstdio>
#include <commoncpp/config.h>
#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <commoncpp/thread.h>
#include <exception>
#include <stdexcept>
Go to the source code of this file.
│ │ │ │ -│ │ │ │ -Functions | |
class | ost::__attribute__ ((visibility("default"))) IPV4Validator |
Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. | |
System logging facilities abstraction.
│ │ │ │ +GNU Common C++ exception model base classes.
│ │ │ │ │ │ │ │ -Definition in file slog.h.
│ │ │ │ -Definition in file exception.h.
│ │ │ │ +class ost::__attribute__ | │ │ │ │ -( | │ │ │ │ -(visibility("default")) | │ │ │ │ -) | │ │ │ │ -│ │ │ │ + | #define COMMONCPP_EXCEPTIONS | │ │ │ │
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.
│ │ │ │ │ │ │ │.
..
..
..
...
.
..
.
.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>
.
.
. │ │ │ │ 00000390: 3c74 6974 6c65 3e4e 6f64 6532 3c2f 7469
GNU Common C++ exception model base classes. │ │ │ │ +
various miscellaneous classes historically used. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/string.h>
#include <exception>
#include <stdexcept>
Go to the source code of this file.
│ │ │ │ +│ │ │ │ +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. | |
GNU Common C++ exception model base classes.
│ │ │ │ +various miscellaneous classes historically used.
│ │ │ │ │ │ │ │ -Definition in file exception.h.
│ │ │ │ +Definition in file misc.h.
│ │ │ │#define KEYDATA_INDEX_SIZE 97 | │ │ │ │ +
#define KEYDATA_PAGER_SIZE 512 | │ │ │ │ +
#define COMMONCPP_EXCEPTIONS | │ │ │ │ +#define KEYDATA_PATH_SIZE 256 | │ │ │ │
Definition at line 59 of file exception.h.
│ │ │ │ + │ │ │ │ + │ │ │ │ +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.
.
..
..
..
...
.
..
.
..
..
Application logging facilities abstraction. │ │ │ │ +
Network addresses and sockets related classes. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/slog.h>
#include <commoncpp/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
#include <commoncpp/thread.h>
#include <commoncpp/exception.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ +Macros | |
#define | BroadcastAddress IPV4Broadcast |
#define | CIDR IPV4Cidr |
#define | CIDR_IPV4_ADDRESS_SIZE 32 |
#define | CIDR_IPV6_ADDRESS_SIZE 45 |
#define | INET_IPV4_ADDRESS_SIZE 16 |
#define | INET_IPV6_ADDRESS_SIZE 40 |
#define | InetAddress IPV4Address |
#define | InetAddrValidator IPV4Validator |
#define | InetHostAddress IPV4Host |
#define | InetMaskAddress IPV4Mask |
#define | InetMcastAddress IPV4Multicast |
#define | InetMcastAddressValidator IPV4MulticastValidator |
│ │ │ │ +Typedefs | |
typedef in_port_t | ost::tpport_t |
Transport Protocol Ports. | |
│ │ │ │ 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 |
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. | |
class __attribute__((visibility("default"))) IPV4Mask class __attribute__((visibility("default"))) IPV4Host class __attribute__((visibility("default"))) IPV4Broadcast class __attribute__((visibility("default"))) IPV4Multicast __attribute__((visibility("default"))) std struct in_addr | ost::getaddress (const IPV4Address &ia) |
Internet addresses used specifically as masking addresses (such as "
│ │ │ │ +255.255.255.0") are held in the IPV4Mask derived object. | |
class __attribute__((visibility("default"))) IPV6Mask class __attribute__((visibility("default"))) IPV6Host class __attribute__((visibility("default"))) IPV6Broadcast class __attribute__((visibility("default"))) IPV6Multicast __attribute__((visibility("default"))) std struct in6_addr | ost::getaddress (const IPV6Address &ia) |
Internet addresses used specifically as masking addresses (such as "
│ │ │ │ +255.255.255.0") are held in the IPV6Mask derived object. | |
Application logging facilities abstraction.
│ │ │ │ +Network addresses and sockets related classes.
│ │ │ │ │ │ │ │ -Definition in file applog.h.
│ │ │ │ -Definition in file address.h.
│ │ │ │ +ost::__attribute__ | │ │ │ │ -( | │ │ │ │ -(visibility("default")) | │ │ │ │ -) | │ │ │ │ -& | │ │ │ │ +#define BroadcastAddress IPV4Broadcast | │ │ │ │
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 |
#define CIDR IPV4Cidr | │ │ │ │ +
#define CIDR_IPV4_ADDRESS_SIZE 32 | │ │ │ │ +
#define CIDR_IPV6_ADDRESS_SIZE 45 | │ │ │ │ +
#define INET_IPV4_ADDRESS_SIZE 16 | │ │ │ │ +
#define INET_IPV6_ADDRESS_SIZE 40 | │ │ │ │ +
Definition at line 520 of file applog.h.
│ │ │ │ +#define InetAddress IPV4Address | │ │ │ │ +
#define InetAddrValidator IPV4Validator | │ │ │ │ +
#define InetHostAddress IPV4Host | │ │ │ │ +
#define InetMaskAddress IPV4Mask | │ │ │ │ +
#define InetMcastAddress IPV4Multicast | │ │ │ │ +
#define InetMcastAddressValidator IPV4MulticastValidator | │ │ │ │ +
typedef in_port_t ost::tpport_t | │ │ │ │ +
class ost::__attribute__ | │ │ │ │( | │ │ │ │ @@ -2021,15 +2217,99 @@ │ │ │ │
file | buffer to parse. |
End of document check.
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +externinline | │ │ │ │ +
Internet addresses used specifically as masking addresses (such as " │ │ │ │ +255.255.255.0") are held in the IPV4Mask derived object.
│ │ │ │ +The seperate class is used so that C++ type casting can automatically determine when an IPV4Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source.
│ │ │ │ + │ │ │ │ +Internet Address Mask such as subnet masks. This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
│ │ │ │ + │ │ │ │ +Address of a specific Internet host machine. The broadcast address object is used to store the broadcast address for a specific subnet. This is commonly used for UDP broadcast operations. A specialization of IPV4Address that provides address validation for multicast addresses. Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.
│ │ │ │ +A multicast network address.
│ │ │ │ + │ │ │ │ +Definition at line 692 of file address.h.
│ │ │ │ +
│ │ │ │ +
|
│ │ │ │ + │ │ │ │ +externinline | │ │ │ │ +
Internet addresses used specifically as masking addresses (such as " │ │ │ │ +255.255.255.0") are held in the IPV6Mask derived object.
│ │ │ │ +The seperate class is used so that C++ type casting can automatically determine when an IPV6Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source.
│ │ │ │ + │ │ │ │ +Internet Address Mask such as subnet masks. This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
│ │ │ │ + │ │ │ │ +Address of a specific Internet host machine. The broadcast address object is used to store the broadcast address for a specific subnet. This is commonly used for UDP broadcast operations. A specialization of IPV6Address that provides address validation for multicast addresses. Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.
│ │ │ │ +A multicast network address.
│ │ │ │ + │ │ │ │ +Definition at line 1084 of file address.h.
│ │ │ │ +.
.
..
..
.Network addresses and sockets related classes. │ │ │ │ +
Files and dynamic loader services. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/exception.h>
#include <commoncpp/exception.h>
#include <fcntl.h>
#include <cstdio>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/mman.h>
Go to the source code of this file.
│ │ │ ││ │ │ │ Macros | |
#define | BroadcastAddress IPV4Broadcast |
#define | CIDR IPV4Cidr |
#define | CIDR_IPV4_ADDRESS_SIZE 32 |
#define | CIDR_IPV6_ADDRESS_SIZE 45 |
#define | INET_IPV4_ADDRESS_SIZE 16 |
#define | INET_IPV6_ADDRESS_SIZE 40 |
#define | InetAddress IPV4Address |
#define | InetAddrValidator IPV4Validator |
#define | InetHostAddress IPV4Host |
#define | InetMaskAddress IPV4Mask |
#define | InetMcastAddress IPV4Multicast |
#define | InetMcastAddressValidator IPV4MulticastValidator |
#define | caddr_t char * |
#define | NAME_MAX 64 |
#define | PATH_MAX 256 |
│ │ │ │ Typedefs | |
typedef in_port_t | ost::tpport_t |
Transport Protocol Ports. | |
typedef size_t | ost::ccxx_size_t |
typedef unsigned long | ost::pos_t |
│ │ │ │ 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. | |
class __attribute__((visibility("default"))) IPV4Mask class __attribute__((visibility("default"))) IPV4Host class __attribute__((visibility("default"))) IPV4Broadcast class __attribute__((visibility("default"))) IPV4Multicast __attribute__((visibility("default"))) std struct in_addr | ost::getaddress (const IPV4Address &ia) |
Internet addresses used specifically as masking addresses (such as "
│ │ │ │ -255.255.255.0") are held in the IPV4Mask derived object. | |
class __attribute__((visibility("default"))) IPV6Mask class __attribute__((visibility("default"))) IPV6Host class __attribute__((visibility("default"))) IPV6Broadcast class __attribute__((visibility("default"))) IPV6Multicast __attribute__((visibility("default"))) std struct in6_addr | ost::getaddress (const IPV6Address &ia) |
Internet addresses used specifically as masking addresses (such as "
│ │ │ │ -255.255.255.0") are held in the IPV6Mask derived object. | |
Network addresses and sockets related classes.
│ │ │ │ +Files and dynamic loader services.
│ │ │ │ │ │ │ │ -Definition in file address.h.
│ │ │ │ +Definition in file file.h.
│ │ │ │#define BroadcastAddress IPV4Broadcast | │ │ │ │ +#define caddr_t char * | │ │ │ │
#define CIDR IPV4Cidr | │ │ │ │ +#define NAME_MAX 64 | │ │ │ │
#define CIDR_IPV4_ADDRESS_SIZE 32 | │ │ │ │ +#define PATH_MAX 256 | │ │ │ │
#define CIDR_IPV6_ADDRESS_SIZE 45 | │ │ │ │ -
#define INET_IPV4_ADDRESS_SIZE 16 | │ │ │ │ -
#define INET_IPV6_ADDRESS_SIZE 40 | │ │ │ │ -
#define InetAddress IPV4Address | │ │ │ │ -
#define InetAddrValidator IPV4Validator | │ │ │ │ -
#define InetHostAddress IPV4Host | │ │ │ │ -
#define InetMaskAddress IPV4Mask | │ │ │ │ -
#define InetMcastAddress IPV4Multicast | │ │ │ │ -
#define InetMcastAddressValidator IPV4MulticastValidator | │ │ │ │ +typedef size_t ost::ccxx_size_t | │ │ │ │
typedef in_port_t ost::tpport_t | │ │ │ │ +typedef unsigned long ost::pos_t | │ │ │ │
End of document check.
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -externinline | │ │ │ │ -
Internet addresses used specifically as masking addresses (such as " │ │ │ │ -255.255.255.0") are held in the IPV4Mask derived object.
│ │ │ │ -The seperate class is used so that C++ type casting can automatically determine when an IPV4Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source.
│ │ │ │ - │ │ │ │ -Internet Address Mask such as subnet masks. This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
│ │ │ │ - │ │ │ │ -Address of a specific Internet host machine. The broadcast address object is used to store the broadcast address for a specific subnet. This is commonly used for UDP broadcast operations. A specialization of IPV4Address that provides address validation for multicast addresses. Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.
│ │ │ │ -A multicast network address.
│ │ │ │ - │ │ │ │ -Definition at line 692 of file address.h.
│ │ │ │ -
│ │ │ │ -
|
│ │ │ │ - │ │ │ │ -externinline | │ │ │ │ -
Internet addresses used specifically as masking addresses (such as " │ │ │ │ -255.255.255.0") are held in the IPV6Mask derived object.
│ │ │ │ -The seperate class is used so that C++ type casting can automatically determine when an IPV6Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source.
│ │ │ │ - │ │ │ │ -Internet Address Mask such as subnet masks. This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
│ │ │ │ - │ │ │ │ -Address of a specific Internet host machine. The broadcast address object is used to store the broadcast address for a specific subnet. This is commonly used for UDP broadcast operations. A specialization of IPV6Address that provides address validation for multicast addresses. Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.
│ │ │ │ -A multicast network address.
│ │ │ │ - │ │ │ │ -Definition at line 1084 of file address.h.
│ │ │ │ -.
..
..
..
.MIME document abstractions. │ │ │ │ +
Process services. │ │ │ │ More...
│ │ │ │#include <commoncpp/config.h>
#include <commoncpp/socket.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.
│ │ │ │ +Process services.
│ │ │ │ │ │ │ │ -Definition in file mime.h.
│ │ │ │ +Definition in file process.h.
│ │ │ │file | buffer to parse. |
End of document check.
.
..
..
.
..
..
.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.
│ │ │ │ │ │ │ │ - │ │ │ │ + │ │ │ │