暂无描述

ithewei 347978426e update 6 年之前
etc 11ee1aeb6e update 6 年之前
.gitignore 9aefc5dc1c update 6 年之前
Makefile 347978426e update 6 年之前
README.md 927e170407 update 6 年之前
base64.cpp c74df3b33d first commit 7 年之前
base64.h c74df3b33d first commit 7 年之前
h.h b6d76333c6 platform macro 6 年之前
hbuf.h dd85a6f2a0 dos2unix 7 年之前
hbytearray.h 44833237ea cpplint 7 年之前
hdef.h b6d76333c6 platform macro 6 年之前
hendian.h b6d76333c6 platform macro 6 年之前
herr.cpp 346680947e fix gettid 6 年之前
herr.h 6e182c79bb update 6 年之前
hfile.h 0ef2847ff3 readall(string&) 6 年之前
hframe.cpp b6d76333c6 platform macro 6 年之前
hframe.h 2f6c0348f9 update 7 年之前
hgl.h dd85a6f2a0 dos2unix 7 年之前
hgui.h dd85a6f2a0 dos2unix 7 年之前
hifconf.cpp 346680947e fix gettid 6 年之前
hifconf.h 11a7033964 add ifconfig 6 年之前
hlog.cpp dd85a6f2a0 dos2unix 7 年之前
hlog.h dd731e1f96 update 6 年之前
hmain.cpp ad7eb9a306 update 6 年之前
hmain.h b6d76333c6 platform macro 6 年之前
hmutex.h aaf2d56467 update 7 年之前
hobj.h 44833237ea cpplint 7 年之前
hplatform.h 346680947e fix gettid 6 年之前
hproc.h 2c721aa964 OS_MACRO 6 年之前
hscope.h 44833237ea cpplint 7 年之前
hstring.cpp 44833237ea cpplint 7 年之前
hstring.h 44833237ea cpplint 7 年之前
hsysinfo.h b6d76333c6 platform macro 6 年之前
hthread.h 346680947e fix gettid 6 年之前
hthreadpool.h dd85a6f2a0 dos2unix 7 年之前
htime.cpp b6d76333c6 platform macro 6 年之前
htime.h b6d76333c6 platform macro 6 年之前
hvar.h 44833237ea cpplint 7 年之前
hversion.h 44833237ea cpplint 7 年之前
iniparser.cpp 9b948f676c update 7 年之前
iniparser.h dd85a6f2a0 dos2unix 7 年之前
main.cpp.tmpl b6d76333c6 platform macro 6 年之前
singleton.h 44833237ea cpplint 7 年之前
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 DIRS="."