Нет описания

ithewei c89568850e update 6 лет назад
etc 9cc79d1e5b update 6 лет назад
.gitignore 9dd2712280 update 6 лет назад
Makefile ca3d595346 update 6 лет назад
README.md 9dd2712280 update 6 лет назад
base64.c bf45b98c3d update 6 лет назад
base64.h bf45b98c3d update 6 лет назад
h.h ca3d595346 update 6 лет назад
hbuf.h d77d7fd7da update 6 лет назад
hbytearray.h 112117647a update 6 лет назад
hdef.h ca3d595346 update 6 лет назад
hendian.h b6d76333c6 platform macro 6 лет назад
herr.c bf45b98c3d update 6 лет назад
herr.h 1b80744704 update 6 лет назад
hfile.h d77d7fd7da update 6 лет назад
hframe.cpp 112117647a update 6 лет назад
hframe.h d77d7fd7da update 6 лет назад
hgl.h dd85a6f2a0 dos2unix 7 лет назад
hgui.h 3c379bfc6c update 6 лет назад
hlog.cpp 11674e2808 update 6 лет назад
hlog.h 314fea4cae update 6 лет назад
hmain.cpp 9dd2712280 update 6 лет назад
hmain.h 9cc79d1e5b update 6 лет назад
hmutex.h aaf2d56467 update 7 лет назад
hobj.h f1ecb8cdd7 add task_queue 6 лет назад
hplatform.h 8a75d85024 update 6 лет назад
hproc.h bf45b98c3d update 6 лет назад
hscope.h 01914a717b update 6 лет назад
hsocket.cpp 74a5e12b6c update 6 лет назад
hsocket.h dc063d524f update 6 лет назад
hstring.cpp c89568850e update 6 лет назад
hstring.h c89568850e update 6 лет назад
hsysinfo.h ca3d595346 update 6 лет назад
htask.h 5bf71b9fa8 update 6 лет назад
hthread.h be9bd46457 update 6 лет назад
hthreadpool.h dd85a6f2a0 dos2unix 7 лет назад
htime.c ca3d595346 update 6 лет назад
htime.h bf45b98c3d update 6 лет назад
hvar.h be9bd46457 update 6 лет назад
hversion.c 06994193e3 update 6 лет назад
hversion.h ca3d595346 update 6 лет назад
ifconfig.cpp d6740b77fe update 6 лет назад
ifconfig.h bf45b98c3d update 6 лет назад
iniparser.cpp bf45b98c3d update 6 лет назад
iniparser.h dd85a6f2a0 dos2unix 7 лет назад
json.hpp 850f977029 add json list 6 лет назад
list.h 850f977029 add json list 6 лет назад
main.cpp.tmpl ca3d595346 update 6 лет назад
singleton.h 44833237ea cpplint 7 лет назад
task_queue.h f1ecb8cdd7 add task_queue 6 лет назад
win32_getopt.h 756752be2e update 7 лет назад

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