No Description

ithewei e398df8968 update 7 years ago
.gitignore e398df8968 update 7 years ago
Makefile e398df8968 update 7 years ago
README.md e398df8968 update 7 years ago
base64.cpp c74df3b33d first commit 7 years ago
base64.h c74df3b33d first commit 7 years ago
h.h e398df8968 update 7 years ago
hbuf.h dd85a6f2a0 dos2unix 7 years ago
hbytearray.h 44833237ea cpplint 7 years ago
hdef.h a5178a4f68 update 7 years ago
hendian.h a5178a4f68 update 7 years ago
herr.cpp dd85a6f2a0 dos2unix 7 years ago
herr.h 5c60378693 add ERR_GRPC_XXX 7 years ago
hfile.h a5178a4f68 update 7 years ago
hframe.cpp 44833237ea cpplint 7 years ago
hframe.h dd85a6f2a0 dos2unix 7 years ago
hgl.h dd85a6f2a0 dos2unix 7 years ago
hgui.h dd85a6f2a0 dos2unix 7 years ago
hlog.cpp dd85a6f2a0 dos2unix 7 years ago
hlog.h dd85a6f2a0 dos2unix 7 years ago
hmutex.h 44833237ea cpplint 7 years ago
hobj.h 44833237ea cpplint 7 years ago
hplatform.h 6a9fce7fa6 gettid 7 years ago
hscope.h 44833237ea cpplint 7 years ago
hstring.cpp 44833237ea cpplint 7 years ago
hstring.h 44833237ea cpplint 7 years ago
hthread.h 6a9fce7fa6 gettid 7 years ago
hthreadpool.h dd85a6f2a0 dos2unix 7 years ago
htime.cpp 44833237ea cpplint 7 years ago
htime.h 44833237ea cpplint 7 years ago
hvar.h 44833237ea cpplint 7 years ago
hversion.h 44833237ea cpplint 7 years ago
iniparser.cpp dd85a6f2a0 dos2unix 7 years ago
iniparser.h dd85a6f2a0 dos2unix 7 years ago
main.cpp.tmpl e398df8968 update 7 years ago
msvc_getopt.h dd85a6f2a0 dos2unix 7 years ago
singleton.h 44833237ea cpplint 7 years ago

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模板