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

详细描述

在文件DataType.h第64行定义。

所有成员的列表。

公有成员

 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_t * m_length_y
index_t * m_length_x

构造及析构函数文档

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

在文件DataType.cpp第18行定义。

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

在文件DataType.cpp第25行定义。

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

在文件DataType.cpp第32行定义。


成员函数文档

size_t offset_sparseentry ( EPrimitiveType  ptype) [static]

在文件DataType.cpp第170行定义。

bool operator!= ( const TSGDataType &  a)

在文件DataType.h第80行定义。

bool operator== ( const TSGDataType &  a)

在文件DataType.cpp第41行定义。

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

在文件DataType.cpp第217行定义。

size_t sizeof_ptype ( void  ) const

在文件DataType.cpp第122行定义。

size_t sizeof_sparseentry ( EPrimitiveType  ptype) [static]

在文件DataType.cpp第145行定义。

size_t sizeof_stype ( void  ) const

在文件DataType.cpp第76行定义。

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

在文件DataType.cpp第241行定义。

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

在文件DataType.cpp第195行定义。

void to_string ( char *  dest,
size_t  n 
) const

在文件DataType.cpp第55行定义。


成员数据文档

在文件DataType.h第66行定义。

在文件DataType.h第69行定义。

在文件DataType.h第69行定义。

在文件DataType.h第68行定义。

在文件DataType.h第67行定义。


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

SHOGUN Machine Learning Toolbox - Documentation