|
struct | winux::Bin0< n > |
| 二进制数,编译时计算, 0开头(基于8进制) 更多...
|
|
struct | winux::Bin0< 0 > |
|
class | winux::RefParam< _Ty > |
|
struct | winux::IndexSequence< _Index > |
| Tuple参数序列 更多...
|
|
struct | winux::MakeIndexSequence< _Num, _IdxSeq > |
|
struct | winux::MakeIndexSequence< _Num, IndexSequence< _Index... > > |
|
struct | winux::MakeIndexSequence< 0, IndexSequence< _Index... > > |
|
struct | winux::FuncTraits< _Callable > |
| 函数特征 更多...
|
|
struct | winux::FuncTraits< _RetType __cdecl(_ArgTypes...) > |
|
struct | winux::FuncTraits< _RetType __cdecl(_ArgTypes...) >::Argument< _Idx > |
|
struct | winux::FuncTraits< _RetType(__cdecl *)(_ArgTypes...) > |
|
struct | winux::FuncTraits< std::function< _RetType __cdecl(_ArgTypes...) > > |
|
struct | winux::FuncTraits< _RetType __stdcall(_ArgTypes...) > |
|
struct | winux::FuncTraits< _RetType __stdcall(_ArgTypes...) >::Argument< _Idx > |
|
struct | winux::FuncTraits< _RetType(__stdcall *)(_ArgTypes...) > |
|
struct | winux::FuncTraits< std::function< _RetType __stdcall(_ArgTypes...) > > |
|
struct | winux::FuncTraits< _RetType __fastcall(_ArgTypes...) > |
|
struct | winux::FuncTraits< _RetType __fastcall(_ArgTypes...) >::Argument< _Idx > |
|
struct | winux::FuncTraits< _RetType(__fastcall *)(_ArgTypes...) > |
|
struct | winux::FuncTraits< std::function< _RetType __fastcall(_ArgTypes...) > > |
|
struct | winux::FuncTraits< _RetType(_Cls::*)(_ArgTypes...) > |
|
struct | winux::FuncTraits< _RetType(_Cls::*)(_ArgTypes...) const > |
|
struct | winux::FuncTraits< _RetType(_Cls::*)(_ArgTypes...) volatile > |
|
struct | winux::FuncTraits< _RetType(_Cls::*)(_ArgTypes...) const volatile > |
|
struct | winux::FuncTraits< _Callable > |
| 函数特征 更多...
|
|
class | winux::Runable |
| Runable模板 更多...
|
|
class | winux::RunableInvoker< _RetType > |
|
class | winux::RunableT< _Fx, _TargetTuple, typename > |
|
class | winux::RunableT< _Fx, _TargetTuple, void > |
|
class | winux::Invoker< _Fx, typename, typename > |
| Invoker模板 更多...
|
|
class | winux::Invoker< _Fx, typename std::enable_if< !std::is_same< typename winux::FuncTraits< _Fx >::ClassType, void >::value, typename winux::FuncTraits< _Fx >::ClassType >::type, void > |
|
class | winux::Invoker< _Fx, void, typename std::enable_if< !std::is_same< typename winux::FuncTraits< _Fx >::ReturnType, void >::value, typename winux::FuncTraits< _Fx >::ReturnType >::type > |
|
class | winux::Invoker< _Fx, void, void > |
|
struct | winux::FuncWrapper< _PfnType, pfn > |
| 函数包装,用来将不同调用约定的函数统一包装成默认约定 更多...
|
|
class | winux::MapAssigner< _KTy, _VTy > |
| MAP赋值器 更多...
|
|
class | winux::ArrayAssigner< _Ty > |
| Array赋值器 更多...
|
|
class | winux::MembersWrapper< _TargetCls > |
| 成员包装 更多...
|
|
class | winux::Error |
| 错误类 更多...
|
|
class | winux::Buffer |
| 缓冲区,表示内存中一块二进制数据(利用malloc/realloc进行内存分配) 更多...
|
|
class | winux::GrowBuffer |
| 高效的可增长缓冲区,1.33倍冗余量 更多...
|
|
class | winux::MixedError |
| 混合体错误 更多...
|
|
struct | winux::$a |
| Mixed构造数组辅助类 更多...
|
|
struct | winux::$c |
| Mixed构造集合辅助类 更多...
|
|
class | winux::Mixed |
| 混合体,能表示多种类型的值 更多...
|
|
class | winux::Mixed::MixedLess |
|
class | winux::Mixed::CollectionAssigner |
|
class | winux::Mixed::ArrayAssigner |
|
|
#define | WINUX_DLL |
|
#define | WINUX_API |
|
#define | WINUX_FUNC_DECL(ret) WINUX_DLL ret WINUX_API |
|
#define | WINUX_FUNC_IMPL(ret) ret WINUX_API |
|
#define | countof(arr) ( sizeof(arr) / sizeof(arr[0]) ) |
|
#define | TEXT(__x) __x |
|
#define | DISABLE_OBJECT_COPY(clsname) |
|
#define | CBufferToAnsiString(buf, size) winux::AnsiString( (char const *)(buf), (size_t)(size) ) |
|
#define | CBufferToBuffer(buf, size) winux::Buffer( (void *)(buf), (size_t)(size), false ) |
|
#define | CBufferToBufferPeek(buf, size) winux::Buffer( (void *)(buf), (size_t)(size), true ) |
|
#define | IF_PTR(ptr) if ( (ptr) != NULL ) (ptr) |
|
#define | ASSIGN_PTR(ptr) if ( (ptr) != NULL ) (*(ptr)) |
|
#define | UNUSED(s) |
|
#define | DEFINE_ATTR_MEMBER(ty, name, memname) |
|
#define | DEFINE_ATTR_MEMBER_READONLY(ty, name, memname) |
|
#define | DEFINE_ATTR(ty, name, getcode, setcode) |
|
#define | DEFINE_ATTR_READONLY(ty, name, getcode) |
|
#define | DEFINE_FUNC_NEWINSTANCE(cls, ret, paramtypes, params) |
|
#define | DEFINE_CUSTOM_EVENT(evtname, paramtypes, calledparams) |
|
#define | DEFINE_CUSTOM_EVENT_RETURN_EX(ret, evtname, paramtypes) |
|
#define | GCC_VERSION_GREAT_THAN(Major, Minor, Patchlevel) ( __GNUC__ > Major || ( __GNUC__ == Major && ( __GNUC_MINOR__ > Minor || ( __GNUC_MINOR__ == Minor && __GNUC_PATCHLEVEL__ > Patchlevel ) ) ) ) |
|
#define | BinVal(x) winux::Bin0<0##x>::val |
|
#define | MixedType_ENUM_ITEM(item) item, |
|
#define | MixedType_ENUM_ITEMSTRING(item) #item, |
|
#define | MixedType_ENUM_ITEMLIST(_) |
|
|
template<typename _Ty > |
static constexpr _Ty | winux::InvertByteOrder (_Ty v) |
| 反转字节序 更多...
|
|
static bool | winux::IsLittleEndian () |
| 判断编译环境是否为小端序 更多...
|
|
static bool | winux::IsBigEndian () |
| 判断编译环境是否为大端序 更多...
|
|
template<typename _MAP , typename _KEY > |
bool | winux::isset (_MAP const &m, _KEY const &k) |
| 检测map中是否有该键的值 更多...
|
|
template<typename _Ty > |
std::vector< _Ty > | winux::ToArray (_Ty *arr, uint count) |
| 将C数组转换成vector 更多...
|
|
template<typename _Ty , uint _N> |
std::vector< _Ty > | winux::ToArray (_Ty(&arr)[_N]) |
|
template<typename _Fx , typename... _ArgType> |
int | winux::VoidReturnInt (_Fx fn, _ArgType &&...arg) |
| 调用一个返回void的函数或函数对象,返回一个数字 更多...
|
|
template<typename _Ty > |
RefParam< _Ty > | winux::Ref (_Ty &r) |
| 向模板参数传递引用型参数 更多...
|
|
template<typename _Fx , typename... _ArgType> |
RunableT< _Fx, std::tuple< typename std::decay< _ArgType >::type... > > * | winux::NewRunable (_Fx fn, _ArgType &&...arg) |
| 创建一个Runable对象 更多...
|
|
template<typename _Fx , typename... _ArgType> |
Invoker< _Fx > * | winux::NewInvoker (_Fx fn, _ArgType &&...arg) |
|
template<typename _KTy , typename _VTy > |
MapAssigner< _KTy, _VTy > | winux::Assign (std::map< _KTy, _VTy > *m) |
| 给容器赋值 更多...
|
|
template<typename _Ty > |
ArrayAssigner< _Ty > | winux::Assign (std::vector< _Ty > *a) |
| 给容器赋值 更多...
|
|
bool | winux::ValueIsInArray (StringArray const &arr, String const &val, bool caseInsensitive=false) |
| 判断一个字符串值是否在一个字符串数组里,默认大小写敏感 更多...
|
|
int | winux::Random (int n1, int n2) |
| 随机数,随机产生n1~n2的数字. 包括n1,n2本身 更多...
|
|
std::ostream & | winux::operator<< (std::ostream &o, Mixed const &m) |
| 扩展iostream的<< 更多...
|
|
std::wostream & | winux::operator<< (std::wostream &o, Mixed const &m) |
|