|
Lib
QOLを高める
|
Utilities. More...
#include <memory>#include <array>#include <string>#include <windows.h>#include <Unknwn.h>Go to the source code of this file.
Classes | |
| class | yappy::util::noncopyable |
| Noncopyable class. More... | |
| struct | yappy::util::HandleDeleter |
| Deleter: auto CloseHandle(). More... | |
| struct | yappy::util::heapDeleter |
| Deleter: auto HeapDestroy(). More... | |
| struct | yappy::util::ComDeleter |
| Deleter: auto IUnknown::Release(). More... | |
| struct | yappy::util::FileDeleter |
| Deleter: auto flose(). More... | |
| class | yappy::util::CoInitialize |
| Auto CoInitializeEx() and CoUninitialize() class. More... | |
| struct | std::hash< yappy::util::IdString > |
| Hash function object of yappy::util::IdString for std::unordered_map. More... | |
Namespaces | |
| yappy | |
| yappy::util | |
| Utilities. | |
Typedefs | |
| using | yappy::util::IdString = std::array< char, 16 > |
| Fixed size char array for string ID. More... | |
| using | yappy::util::HandlePtr = std::unique_ptr< HANDLE, HandleDeleter > |
| unique_ptr of HANDLE with HandleDeleter. More... | |
| using | yappy::util::HeapPtr = std::unique_ptr< HANDLE, heapDeleter > |
| unique_ptr of HANDLE with heapDeleter. More... | |
| template<class T > | |
| using | yappy::util::ComPtr = std::unique_ptr< T, ComDeleter > |
| unique_ptr of IUnknown with ComDeleter. More... | |
| using | yappy::util::FilePtr = std::unique_ptr< FILE, FileDeleter > |
| unique_ptr of FILE with FileDeleter. More... | |
Functions | |
| template<size_t N> | |
| void | yappy::util::createFixedString (std::array< char, N > *out, const char *src) |
| Create yappy::util::IdString from C-style string. More... | |
| std::unique_ptr< char[]> | yappy::util::wc2utf8 (const wchar_t *in) |
| Wide char to UTF-8. More... | |
| std::unique_ptr< wchar_t[]> | yappy::util::utf82wc (const char *in) |
| UTF-8 to wide char. More... | |
Utilities.
Definition in file util.h.
1.8.11