ccuty: C++ utilities
ccstring: Useful functions for C++ strings
Provides the following functions:
- strid() : returns a numeric ID from the last 8 characters of a string that can be used in switch blocks.
- trim() and trimmed(): removes beginning and trailing spaces
- unquote() and unquoted() : removes beginning/trailing spaces and quotes.
- split() : splits a string into tokens.
- trimsplit() : splits a string into trimmed tokens
- iequal() and icompare() : compares two ASCII strings ignoring case
- lowerize(), tolower(), upperize() toupper() : lowercases/uppercases an ASCII string
- system() : pass a command to the shell by calling system() or popen() C library functions.
ccstringset: String set and indexed string set
Provides classes:
- stringset() : set of strings, allows converting strings to numbers. Strings are associated with a unique numeric ID that can be used in switch statements.
- istringset() : Indexed set of strings, also allows converting numbers to strings.
and macros:
- STRINGIFY() : stringify a symbol.
- stringswitch() : allows comparing strings in switch statements.
ccpath: Functions for Unix pathnames
Provides functions for retreiving the basename, the dirname, the extname, for changing the extension and for joining pathnames.
ccsocket: C++ classes for IPV4 socket communication
Provides classes:
- Socket, for client side
- ServerSocket, for server side
- SocketBuffer, which provides a mechanism that ensures that messages are properly delimited (a message is never received in several parts, even if it is split by the underlying protocol).
macdesktop: C++ class for managing the MacOSX desktop
Provides functions to generate mouse and key events, open/hide applications, interact with AppleScript, change volume, play/pause iTunes and get current track, etc.