SHOGUN v0.9.0
|
在文件SerializableFile.h第23行定义。
组合类型 | |
struct | TSerializableReader |
公有成员 | |
CSerializableFile (void) | |
CSerializableFile (FILE *fstream, char rw) | |
CSerializableFile (const char *fname, char rw='r') | |
virtual | ~CSerializableFile (void) |
virtual void | close (void) |
virtual bool | is_opened (void) |
virtual bool | write_scalar (const TSGDataType *type, const char *name, const char *prefix, const void *param) |
virtual bool | read_scalar (const TSGDataType *type, const char *name, const char *prefix, void *param) |
virtual bool | write_cont_begin (const TSGDataType *type, const char *name, const char *prefix, index_t len_real_y, index_t len_real_x) |
virtual bool | read_cont_begin (const TSGDataType *type, const char *name, const char *prefix, index_t *len_read_y, index_t *len_read_x) |
virtual bool | write_cont_end (const TSGDataType *type, const char *name, const char *prefix, index_t len_real_y, index_t len_real_x) |
virtual bool | read_cont_end (const TSGDataType *type, const char *name, const char *prefix, index_t len_read_y, index_t len_read_x) |
virtual bool | write_string_begin (const TSGDataType *type, const char *name, const char *prefix, index_t length) |
virtual bool | read_string_begin (const TSGDataType *type, const char *name, const char *prefix, index_t *length) |
virtual bool | write_string_end (const TSGDataType *type, const char *name, const char *prefix, index_t length) |
virtual bool | read_string_end (const TSGDataType *type, const char *name, const char *prefix, index_t length) |
virtual bool | write_stringentry_begin (const TSGDataType *type, const char *name, const char *prefix, index_t y) |
virtual bool | read_stringentry_begin (const TSGDataType *type, const char *name, const char *prefix, index_t y) |
virtual bool | write_stringentry_end (const TSGDataType *type, const char *name, const char *prefix, index_t y) |
virtual bool | read_stringentry_end (const TSGDataType *type, const char *name, const char *prefix, index_t y) |
virtual bool | write_sparse_begin (const TSGDataType *type, const char *name, const char *prefix, index_t vec_index, index_t length) |
virtual bool | read_sparse_begin (const TSGDataType *type, const char *name, const char *prefix, index_t *vec_index, index_t *length) |
virtual bool | write_sparse_end (const TSGDataType *type, const char *name, const char *prefix, index_t vec_index, index_t length) |
virtual bool | read_sparse_end (const TSGDataType *type, const char *name, const char *prefix, index_t *vec_index, index_t length) |
virtual bool | write_sparseentry_begin (const TSGDataType *type, const char *name, const char *prefix, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y) |
virtual bool | read_sparseentry_begin (const TSGDataType *type, const char *name, const char *prefix, TSparseEntry< char > *first_entry, index_t *feat_index, index_t y) |
virtual bool | write_sparseentry_end (const TSGDataType *type, const char *name, const char *prefix, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y) |
virtual bool | read_sparseentry_end (const TSGDataType *type, const char *name, const char *prefix, TSparseEntry< char > *first_entry, index_t *feat_index, index_t y) |
virtual bool | write_item_begin (const TSGDataType *type, const char *name, const char *prefix, index_t y, index_t x) |
virtual bool | read_item_begin (const TSGDataType *type, const char *name, const char *prefix, index_t y, index_t x) |
virtual bool | write_item_end (const TSGDataType *type, const char *name, const char *prefix, index_t y, index_t x) |
virtual bool | read_item_end (const TSGDataType *type, const char *name, const char *prefix, index_t y, index_t x) |
virtual bool | write_sgserializable_begin (const TSGDataType *type, const char *name, const char *prefix, const char *sgserializable_name, EPrimitiveType generic) |
virtual bool | read_sgserializable_begin (const TSGDataType *type, const char *name, const char *prefix, char *sgserializable_name, EPrimitiveType *generic) |
virtual bool | write_sgserializable_end (const TSGDataType *type, const char *name, const char *prefix, const char *sgserializable_name, EPrimitiveType generic) |
virtual bool | read_sgserializable_end (const TSGDataType *type, const char *name, const char *prefix, const char *sgserializable_name, EPrimitiveType generic) |
virtual bool | write_type_begin (const TSGDataType *type, const char *name, const char *prefix) |
virtual bool | read_type_begin (const TSGDataType *type, const char *name, const char *prefix) |
virtual bool | write_type_end (const TSGDataType *type, const char *name, const char *prefix) |
virtual bool | read_type_end (const TSGDataType *type, const char *name, const char *prefix) |
保护成员 | |
virtual void | init (FILE *fstream, char task, const char *filename) |
virtual TSerializableReader * | new_reader (char *dest_version, size_t n)=0 |
virtual bool | write_scalar_wrapped (const TSGDataType *type, const void *param)=0 |
virtual bool | write_cont_begin_wrapped (const TSGDataType *type, index_t len_real_y, index_t len_real_x)=0 |
virtual bool | write_cont_end_wrapped (const TSGDataType *type, index_t len_real_y, index_t len_real_x)=0 |
virtual bool | write_string_begin_wrapped (const TSGDataType *type, index_t length)=0 |
virtual bool | write_string_end_wrapped (const TSGDataType *type, index_t length)=0 |
virtual bool | write_stringentry_begin_wrapped (const TSGDataType *type, index_t y)=0 |
virtual bool | write_stringentry_end_wrapped (const TSGDataType *type, index_t y)=0 |
virtual bool | write_sparse_begin_wrapped (const TSGDataType *type, index_t vec_index, index_t length)=0 |
virtual bool | write_sparse_end_wrapped (const TSGDataType *type, index_t vec_index, index_t length)=0 |
virtual bool | write_sparseentry_begin_wrapped (const TSGDataType *type, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y)=0 |
virtual bool | write_sparseentry_end_wrapped (const TSGDataType *type, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y)=0 |
virtual bool | write_item_begin_wrapped (const TSGDataType *type, index_t y, index_t x)=0 |
virtual bool | write_item_end_wrapped (const TSGDataType *type, index_t y, index_t x)=0 |
virtual bool | write_sgserializable_begin_wrapped (const TSGDataType *type, const char *sgserializable_name, EPrimitiveType generic)=0 |
virtual bool | write_sgserializable_end_wrapped (const TSGDataType *type, const char *sgserializable_name, EPrimitiveType generic)=0 |
virtual bool | write_type_begin_wrapped (const TSGDataType *type, const char *name, const char *prefix)=0 |
virtual bool | write_type_end_wrapped (const TSGDataType *type, const char *name, const char *prefix)=0 |
保护属性 | |
FILE * | m_fstream |
char | m_task |
char * | m_filename |
CSerializableFile | ( | void | ) | [explicit] |
default constructor
在文件SerializableFile.cpp第16行定义。
CSerializableFile | ( | FILE * | fstream, |
char | rw | ||
) | [explicit] |
CSerializableFile | ( | const char * | fname, |
char | rw = 'r' |
||
) | [explicit] |
~CSerializableFile | ( | void | ) | [virtual] |
default destructor
在文件SerializableFile.cpp第52行定义。
void close | ( | void | ) | [virtual] |
在文件SerializableFile.cpp第68行定义。
void init | ( | FILE * | fstream, |
char | task, | ||
const char * | filename | ||
) | [protected, virtual] |
在文件SerializableFile.cpp第61行定义。
bool is_opened | ( | void | ) | [virtual] |
在文件SerializableFile.cpp第74行定义。
virtual TSerializableReader* new_reader | ( | char * | dest_version, |
size_t | n | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool read_cont_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t * | len_read_y, | ||
index_t * | len_read_x | ||
) | [virtual] |
在文件SerializableFile.cpp第164行定义。
bool read_cont_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | len_read_y, | ||
index_t | len_read_x | ||
) | [virtual] |
在文件SerializableFile.cpp第191行定义。
bool read_item_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y, | ||
index_t | x | ||
) | [virtual] |
在文件SerializableFile.cpp第432行定义。
bool read_item_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y, | ||
index_t | x | ||
) | [virtual] |
在文件SerializableFile.cpp第458行定义。
bool read_scalar | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
void * | param | ||
) | [virtual] |
在文件SerializableFile.cpp第138行定义。
bool read_sgserializable_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
char * | sgserializable_name, | ||
EPrimitiveType * | generic | ||
) | [virtual] |
在文件SerializableFile.cpp第485行定义。
bool read_sgserializable_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const char * | sgserializable_name, | ||
EPrimitiveType | generic | ||
) | [virtual] |
在文件SerializableFile.cpp第513行定义。
bool read_sparse_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t * | vec_index, | ||
index_t * | length | ||
) | [virtual] |
在文件SerializableFile.cpp第321行定义。
bool read_sparse_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t * | vec_index, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第347行定义。
bool read_sparseentry_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
TSparseEntry< char > * | first_entry, | ||
index_t * | feat_index, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第375行定义。
bool read_sparseentry_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
TSparseEntry< char > * | first_entry, | ||
index_t * | feat_index, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第404行定义。
bool read_string_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t * | length | ||
) | [virtual] |
在文件SerializableFile.cpp第217行定义。
bool read_string_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第243行定义。
bool read_stringentry_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第269行定义。
bool read_stringentry_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第295行定义。
bool read_type_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [virtual] |
在文件SerializableFile.cpp第539行定义。
bool read_type_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [virtual] |
在文件SerializableFile.cpp第563行定义。
bool write_cont_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | len_real_y, | ||
index_t | len_real_x | ||
) | [virtual] |
在文件SerializableFile.cpp第151行定义。
virtual bool write_cont_begin_wrapped | ( | const TSGDataType * | type, |
index_t | len_real_y, | ||
index_t | len_real_x | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_cont_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | len_real_y, | ||
index_t | len_real_x | ||
) | [virtual] |
在文件SerializableFile.cpp第178行定义。
virtual bool write_cont_end_wrapped | ( | const TSGDataType * | type, |
index_t | len_real_y, | ||
index_t | len_real_x | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_item_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y, | ||
index_t | x | ||
) | [virtual] |
在文件SerializableFile.cpp第419行定义。
virtual bool write_item_begin_wrapped | ( | const TSGDataType * | type, |
index_t | y, | ||
index_t | x | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_item_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y, | ||
index_t | x | ||
) | [virtual] |
在文件SerializableFile.cpp第445行定义。
virtual bool write_item_end_wrapped | ( | const TSGDataType * | type, |
index_t | y, | ||
index_t | x | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_scalar | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const void * | param | ||
) | [virtual] |
在文件SerializableFile.cpp第125行定义。
virtual bool write_scalar_wrapped | ( | const TSGDataType * | type, |
const void * | param | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sgserializable_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const char * | sgserializable_name, | ||
EPrimitiveType | generic | ||
) | [virtual] |
在文件SerializableFile.cpp第471行定义。
virtual bool write_sgserializable_begin_wrapped | ( | const TSGDataType * | type, |
const char * | sgserializable_name, | ||
EPrimitiveType | generic | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sgserializable_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const char * | sgserializable_name, | ||
EPrimitiveType | generic | ||
) | [virtual] |
在文件SerializableFile.cpp第499行定义。
virtual bool write_sgserializable_end_wrapped | ( | const TSGDataType * | type, |
const char * | sgserializable_name, | ||
EPrimitiveType | generic | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sparse_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | vec_index, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第308行定义。
virtual bool write_sparse_begin_wrapped | ( | const TSGDataType * | type, |
index_t | vec_index, | ||
index_t | length | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sparse_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | vec_index, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第334行定义。
virtual bool write_sparse_end_wrapped | ( | const TSGDataType * | type, |
index_t | vec_index, | ||
index_t | length | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sparseentry_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const TSparseEntry< char > * | first_entry, | ||
index_t | feat_index, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第360行定义。
virtual bool write_sparseentry_begin_wrapped | ( | const TSGDataType * | type, |
const TSparseEntry< char > * | first_entry, | ||
index_t | feat_index, | ||
index_t | y | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_sparseentry_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
const TSparseEntry< char > * | first_entry, | ||
index_t | feat_index, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第389行定义。
virtual bool write_sparseentry_end_wrapped | ( | const TSGDataType * | type, |
const TSparseEntry< char > * | first_entry, | ||
index_t | feat_index, | ||
index_t | y | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_string_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第204行定义。
virtual bool write_string_begin_wrapped | ( | const TSGDataType * | type, |
index_t | length | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_string_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | length | ||
) | [virtual] |
在文件SerializableFile.cpp第230行定义。
virtual bool write_string_end_wrapped | ( | const TSGDataType * | type, |
index_t | length | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_stringentry_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第256行定义。
virtual bool write_stringentry_begin_wrapped | ( | const TSGDataType * | type, |
index_t | y | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_stringentry_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix, | ||
index_t | y | ||
) | [virtual] |
在文件SerializableFile.cpp第282行定义。
virtual bool write_stringentry_end_wrapped | ( | const TSGDataType * | type, |
index_t | y | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_type_begin | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [virtual] |
在文件SerializableFile.cpp第527行定义。
virtual bool write_type_begin_wrapped | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
bool write_type_end | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [virtual] |
在文件SerializableFile.cpp第551行定义。
virtual bool write_type_end_wrapped | ( | const TSGDataType * | type, |
const char * | name, | ||
const char * | prefix | ||
) | [protected, pure virtual] |
在CSerializableAsciiFile内被实现。
char* m_filename [protected] |
在文件SerializableFile.h第98行定义。
FILE* m_fstream [protected] |
在文件SerializableFile.h第96行定义。
char m_task [protected] |
在文件SerializableFile.h第97行定义。