SHOGUN v0.9.0
公有成员 | 静态公有成员 | 公有属性
TSGDataType结构参考

详细描述

在文件DataType.h64行定义。

所有成员的列表。

公有成员

 TSGDataType (EContainerType ctype, EStructType stype, EPrimitiveType ptype)
 TSGDataType (EContainerType ctype, EStructType stype, EPrimitiveType ptype, index_t *length)
 TSGDataType (EContainerType ctype, EStructType stype, EPrimitiveType ptype, index_t *length_y, index_t *length_x)
bool operator== (const TSGDataType &a)
bool operator!= (const TSGDataType &a)
void to_string (char *dest, size_t n) const
size_t sizeof_stype (void) const
size_t sizeof_ptype (void) const

静态公有成员

static size_t sizeof_sparseentry (EPrimitiveType ptype)
static size_t offset_sparseentry (EPrimitiveType ptype)
static void stype_to_string (char *dest, EStructType stype, EPrimitiveType ptype, size_t n)
static void ptype_to_string (char *dest, EPrimitiveType ptype, size_t n)
static bool string_to_ptype (EPrimitiveType *result, const char *str)

公有属性

EContainerType m_ctype
EStructType m_stype
EPrimitiveType m_ptype
index_tm_length_y
index_tm_length_x

构造及析构函数文档

TSGDataType ( EContainerType  ctype,
EStructType  stype,
EPrimitiveType  ptype 
) [explicit]

在文件DataType.cpp18行定义。

TSGDataType ( EContainerType  ctype,
EStructType  stype,
EPrimitiveType  ptype,
index_t length 
) [explicit]

在文件DataType.cpp25行定义。

TSGDataType ( EContainerType  ctype,
EStructType  stype,
EPrimitiveType  ptype,
index_t length_y,
index_t length_x 
) [explicit]

在文件DataType.cpp32行定义。


成员函数文档

size_t offset_sparseentry ( EPrimitiveType  ptype) [static]

在文件DataType.cpp170行定义。

bool operator!= ( const TSGDataType a)

在文件DataType.h80行定义。

bool operator== ( const TSGDataType a)

在文件DataType.cpp41行定义。

void ptype_to_string ( char *  dest,
EPrimitiveType  ptype,
size_t  n 
) [static]

在文件DataType.cpp217行定义。

size_t sizeof_ptype ( void  ) const

在文件DataType.cpp122行定义。

size_t sizeof_sparseentry ( EPrimitiveType  ptype) [static]

在文件DataType.cpp145行定义。

size_t sizeof_stype ( void  ) const

在文件DataType.cpp76行定义。

bool string_to_ptype ( EPrimitiveType result,
const char *  str 
) [static]

在文件DataType.cpp241行定义。

void stype_to_string ( char *  dest,
EStructType  stype,
EPrimitiveType  ptype,
size_t  n 
) [static]

在文件DataType.cpp195行定义。

void to_string ( char *  dest,
size_t  n 
) const

在文件DataType.cpp55行定义。


成员数据文档

在文件DataType.h66行定义。

在文件DataType.h69行定义。

在文件DataType.h69行定义。

在文件DataType.h68行定义。

在文件DataType.h67行定义。


该结构的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation