Sem descrição

ithewei 2f6c0348f9 update há 7 anos atrás
.gitignore e398df8968 update há 7 anos atrás
Makefile 8a3b1c6304 update há 7 anos atrás
README.md e398df8968 update há 7 anos atrás
base64.cpp c74df3b33d first commit há 7 anos atrás
base64.h c74df3b33d first commit há 7 anos atrás
h.h e398df8968 update há 7 anos atrás
hbuf.h dd85a6f2a0 dos2unix há 7 anos atrás
hbytearray.h 44833237ea cpplint há 7 anos atrás
hdef.h 6dd8aa7563 update há 7 anos atrás
hendian.h a5178a4f68 update há 7 anos atrás
herr.cpp dd85a6f2a0 dos2unix há 7 anos atrás
herr.h 5c60378693 add ERR_GRPC_XXX há 7 anos atrás
hfile.h a5178a4f68 update há 7 anos atrás
hframe.cpp 2f6c0348f9 update há 7 anos atrás
hframe.h 2f6c0348f9 update há 7 anos atrás
hgl.h dd85a6f2a0 dos2unix há 7 anos atrás
hgui.h dd85a6f2a0 dos2unix há 7 anos atrás
hlog.cpp dd85a6f2a0 dos2unix há 7 anos atrás
hlog.h dd85a6f2a0 dos2unix há 7 anos atrás
hmutex.h aaf2d56467 update há 7 anos atrás
hobj.h 44833237ea cpplint há 7 anos atrás
hplatform.h f7f867362a _MSC_VER => _WIN32 há 7 anos atrás
hscope.h 44833237ea cpplint há 7 anos atrás
hstring.cpp 44833237ea cpplint há 7 anos atrás
hstring.h 44833237ea cpplint há 7 anos atrás
hthread.h f7f867362a _MSC_VER => _WIN32 há 7 anos atrás
hthreadpool.h dd85a6f2a0 dos2unix há 7 anos atrás
htime.cpp 35ed758e51 update há 7 anos atrás
htime.h f7f867362a _MSC_VER => _WIN32 há 7 anos atrás
hvar.h 44833237ea cpplint há 7 anos atrás
hversion.h 44833237ea cpplint há 7 anos atrás
iniparser.cpp 9b948f676c update há 7 anos atrás
iniparser.h dd85a6f2a0 dos2unix há 7 anos atrás
main.cpp.tmpl 9b948f676c update há 7 anos atrás
msvc_getopt.h dd85a6f2a0 dos2unix há 7 anos atrás
singleton.h 44833237ea cpplint há 7 anos atrás

README.md

Intro

hw 是一套跨平台c++工具集,类名以H开头

platform

  • gcc
  • mingw
  • msvc

required

  • c++11

Module

  • h.h:总头文件
  • hversion.h: 版本
  • hdef.h: 宏定义
  • hplatform.h: 平台相关
  • hendian.h: 大小端
  • hlog.h: 日志
  • herr.h: 错误码
  • htime.h: 时间
  • hstring.h: 字符串
  • hfile.h: 文件类
  • hthread.h:线程
  • hthreadpool.h:线程池
  • hmutex.h:同步锁
  • hobj.h: 对象基类
  • hvar.h: var变量
  • hbuf.h: 缓存类
  • iniparser.h: ini解析
  • hscope.h: 作用域RAII机制
  • singleton.h: 单例模式

other

  • Makefile: 通用Makefile模板
  • main.cpp.tmp: 通用main.cpp模板