No Description

ithewei dc2d943baf update 6 years ago
etc 11ee1aeb6e update 6 years ago
.gitignore 9aefc5dc1c update 6 years ago
Makefile dc2d943baf update 6 years ago
README.md 927e170407 update 6 years ago
base64.cpp c74df3b33d first commit 7 years ago
base64.h c74df3b33d first commit 7 years ago
h.h 927e170407 update 6 years ago
hbuf.h dd85a6f2a0 dos2unix 7 years ago
hbytearray.h 44833237ea cpplint 7 years ago
hdef.h 0ffba0976a update 6 years ago
hendian.h a5178a4f68 update 7 years ago
herr.cpp dd85a6f2a0 dos2unix 7 years ago
herr.h 6e182c79bb update 6 years ago
hfile.h 0ef2847ff3 readall(string&) 6 years ago
hframe.cpp 2f6c0348f9 update 7 years ago
hframe.h 2f6c0348f9 update 7 years ago
hgl.h dd85a6f2a0 dos2unix 7 years ago
hgui.h dd85a6f2a0 dos2unix 7 years ago
hifconf.cpp 11a7033964 add ifconfig 6 years ago
hifconf.h 11a7033964 add ifconfig 6 years ago
hlog.cpp dd85a6f2a0 dos2unix 7 years ago
hlog.h dd731e1f96 update 6 years ago
hmain.cpp d191a26e51 update 6 years ago
hmain.h 11ee1aeb6e update 6 years ago
hmutex.h aaf2d56467 update 7 years ago
hobj.h 44833237ea cpplint 7 years ago
hplatform.h 11ee1aeb6e update 6 years ago
hproc.h 11ee1aeb6e update 6 years ago
hscope.h 44833237ea cpplint 7 years ago
hstring.cpp 44833237ea cpplint 7 years ago
hstring.h 44833237ea cpplint 7 years ago
hsysinfo.h afaec0ff37 get_meminfo 6 years ago
hthread.h f7f867362a _MSC_VER => _WIN32 7 years ago
hthreadpool.h dd85a6f2a0 dos2unix 7 years ago
htime.cpp 35ed758e51 update 7 years ago
htime.h f7f867362a _MSC_VER => _WIN32 7 years ago
hvar.h 44833237ea cpplint 7 years ago
hversion.h 44833237ea cpplint 7 years ago
iniparser.cpp 9b948f676c update 7 years ago
iniparser.h dd85a6f2a0 dos2unix 7 years ago
main.cpp.tmpl 11a7033964 add ifconfig 6 years ago
singleton.h 44833237ea cpplint 7 years ago
win32_getopt.h 756752be2e update 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: 缓存类
  • hscope.h: 作用域RAII机制
  • hmain.h: main_ctx: arg env
  • hproc.h: 子进程/线程类
  • hsysinfo.h: 系统信息
  • hifconf.h: ifconfig实现
  • singleton.h: 单例模式
  • iniparser.h: ini解析

other

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

BUILD

mv main.cpp.tmpl main.cpp
make DIRS="."