Classes | |
| class | Mutex |
| A simple implementation of mutex as a wrapper around a pthread mutex or a win32 critical section. More... | |
| class | MutexGuard |
| A simple implementation of a mutex guard. More... | |
Functions | |
| int | internalLog2 (unsigned int n) |
| unsigned | _lookup (const std::string &str, const char *values[], unsigned size, int def) |
| const std::string | _lookup (unsigned code, const char *values[], unsigned size, const std::string &def) |
| unsigned | _lookup2 (const std::string &str, const char *values[], unsigned size, int def) |
| const std::string | _lookup2 (unsigned code, const char *values[], unsigned size, const std::string &def) |
| const std::string | escape (std::string what) |
| bool | checkValidXMLChars (const std::string &data) |
| void | replaceAll (std::string &target, const std::string &find, const std::string &replace) |
| template<typename T, typename F> | |
| void | ForEach (T &t, F f) |
| template<typename T, typename F, typename D> | |
| void | ForEach (T &t, F f, D &d) |
| template<typename T, typename F, typename D1, typename D2> | |
| void | ForEach (T &t, F f, D1 &d1, D2 &d2) |
| template<typename T, typename F, typename D1, typename D2, typename D3> | |
| void | ForEach (T &t, F f, D1 &d1, D2 &d2, D3 &d3) |
| template<typename T> | |
| void | clearList (std::list< T * > &L) |
| template<typename Key, typename T> | |
| void | clearMap (std::map< Key, T * > &M) |
| template<typename Key, typename T> | |
| void | clearMap (std::map< const Key, T * > &M) |
|
||||||||||||||||||||
|
Finds the string associated with an enumerated type.
|
|
||||||||||||||||||||
|
Finds the enumerated value associated with a string value.
|
|
||||||||||||||||||||
|
Finds the string associated with an ORable enumerated type.
|
|
||||||||||||||||||||
|
Finds the ORable enumerated value associated with a string value.
|
|
|
Checks whether the given input is valid UTF-8.
|
|
|
Delete all elements from a list of pointers.
|
|
|
Delete all associated values from a map (not the key elements). Const key type version.
|
|
|
Delete all associated values from a map (not the key elements).
|
|
|
Does some fancy escaping. (& --> &, etc).
|
|
||||||||||||||||||||||||
|
A convenience function that executes the given function on each object in a given list, passing the given arguments.
|
|
||||||||||||||||||||
|
A convenience function that executes the given function on each object in a given list, passing the given arguments.
|
|
||||||||||||||||
|
A convenience function that executes the given function on each object in a given list, passing the given argument.
|
|
||||||||||||
|
A convenience function that executes the given function on each object in a given list.
|
|
|
Custom log2() implementation.
|
|
||||||||||||||||
|
Replace all instances of one substring of arbitrary length with another substring of arbitrary length. Replacement happens in place (so make a copy first if you don't want the original modified).
|
1.4.1