Cxxtools overview
Cxxtools is a collection of general-purpose C++ classes.
It includes classes for:
- argument parsing
- logging
- wrappers for threading (pthreads)
- networking with tcp and udp including iostream-based classes
- std::ostream for md5-calculation
- std::ostream-hexdumper
- std::ostream, which duplicates output (like tee)
- wrappers for fork(2) and pipe(2)
- parser for ini files
- parser for property files
- policy based smartpointer
- wrappers for dlopen(2) and dlsym(2)
- fast http client
- uuencoder-std::ostream
- classes to create mime messages for sending mail with attachements or as html-formatted mail
- template based fast signal/slot-classes
- template for pools
- parser for http-query-parameters e.g. for cgi
- ostream-filter for counting bytes passed through it
- wrappers for atomic operations
- ...
Code examples
| arg.cpp | Argument-parser (argc, argv) |
| cgi.cpp | cgi in c++ (don't use it - use tntnet instead ;-) ) |
| dir.cpp | read directory |
| dlloader.cpp | load shared library |
| getini.cpp | read ini-files |
| hd.cpp | hex-dumper |
| httprequest.cpp | http-client |
| httpserver.cpp | http-server |
| iconv.cpp | code-converter as a std::iostream |
| log.cpp | logging |
| logsh.cpp | logging for shell |
| md5sum.cpp | md5-calculation |
| netcat.cpp | send data through a tcp-socket |
| netio.cpp | simple network-benchmark-tool |
| netmsg.cpp | send messages with udp |
| pipestream.cpp | std::iostream on top of pipe(2) |
| pool.cpp | pool of objects (e.g. connections) |
| rpcecho.cpp | XML-RPC server and client |
| signals.cpp | fast and secure signal slot framework |
| uuencode.cpp | Uuencoder |
| thread.cpp | threading |
