![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
AnCH framework base namespace. More...
Namespaces | |
| crypto | |
| Cryptography namespace. | |
| date | |
| Date namespace. | |
| device | |
| Device management namespace. | |
| events | |
| Events management namespace. | |
| file | |
| Files and directories management namespace. | |
| logger | |
| Logger namespace. | |
| network | |
| Network namespace. | |
| resource | |
| Resources namespace. | |
| sql | |
| SQL namespace. | |
Classes | |
| struct | LessPtrCompare |
| Less comparator based on object address. More... | |
| class | ResourcePool |
| Generic resource pool utility class. More... | |
| class | Singleton |
| Meyers' singleton implemtation. More... | |
| class | ThreadPool |
| Thread pool utility class. More... | |
| class | TimeoutException |
| Timeout exception. More... | |
| class | Uuid |
| UUID generator and parser. More... | |
Functions | |
| template<typename N > | |
| N | convert (const std::string &str) throw (std::bad_cast) |
| template<typename T > | |
| void | byteSwap (T src, uint8_t *dest) |
| bool | isBigEndian () |
| bool | isLittleEndian () |
AnCH framework base namespace.
Contains utility classes from AnCH utils library.
|
inline |
Switch data endianness.
| src | the object to convert |
| dest | the converted bytes |
| N anch::convert | ( | const std::string & | str | ) | |
| throw | ( | std::bad_cast | |||
| ) | |||||
Performs strict conversion from std::string to number
| str | the string to convert |
| std::bad_cast | conversion error |
|
inline |
Check if system is in big endian bytes order.
true if system is big endian, false otherwise
|
inline |
Check if system is in little endian bytes order.
true if system is little endian, false otherwise
1.8.11