SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
宏定义
Parser.cpp 文件参考

浏览源代码.

宏定义

#define READ_INT_METHOD(fname, convf, sg_type)
 
#define READ_REAL_METHOD(fname, convf, sg_type)
 

宏定义说明

#define READ_INT_METHOD (   fname,
  convf,
  sg_type 
)
值:
sg_type CParser::fname() \
{ \
SGVector<char> token=read_cstring(); \
\
if (token.vlen>0) \
return (sg_type) convf(token.vector, NULL, 10); \
else \
return (sg_type) 0L; \
}

在文件 Parser.cpp96 行定义.

#define READ_REAL_METHOD (   fname,
  convf,
  sg_type 
)
值:
sg_type CParser::fname() \
{ \
SGVector<char> token=read_cstring(); \
\
if (token.vlen>0) \
return (sg_type) convf(token.vector, NULL); \
else \
return (sg_type) 0L; \
}

在文件 Parser.cpp111 行定义.


SHOGUN 机器学习工具包 - 项目文档