Definition at line 33 of file SerializableAsciiFile.h.
Public Member Functions | |
CSerializableAsciiFile (void) | |
CSerializableAsciiFile (FILE *fstream, char rw) | |
CSerializableAsciiFile (const char *fname, char rw='r') | |
virtual | ~CSerializableAsciiFile () |
virtual const char * | get_name (void) const |
Protected Member Functions | |
virtual TSerializableReader * | new_reader (char *dest_version, size_t n) |
virtual bool | write_scalar_wrapped (const TSGDataType *type, const void *param) |
virtual bool | write_cont_begin_wrapped (const TSGDataType *type, index_t len_real_y, index_t len_real_x) |
virtual bool | write_cont_end_wrapped (const TSGDataType *type, index_t len_real_y, index_t len_real_x) |
virtual bool | write_string_begin_wrapped (const TSGDataType *type, index_t length) |
virtual bool | write_string_end_wrapped (const TSGDataType *type, index_t length) |
virtual bool | write_stringentry_begin_wrapped (const TSGDataType *type, index_t y) |
virtual bool | write_stringentry_end_wrapped (const TSGDataType *type, index_t y) |
virtual bool | write_sparse_begin_wrapped (const TSGDataType *type, index_t vec_index, index_t length) |
virtual bool | write_sparse_end_wrapped (const TSGDataType *type, index_t vec_index, index_t length) |
virtual bool | write_sparseentry_begin_wrapped (const TSGDataType *type, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y) |
virtual bool | write_sparseentry_end_wrapped (const TSGDataType *type, const TSparseEntry< char > *first_entry, index_t feat_index, index_t y) |
virtual bool | write_item_begin_wrapped (const TSGDataType *type, index_t y, index_t x) |
virtual bool | write_item_end_wrapped (const TSGDataType *type, index_t y, index_t x) |
virtual bool | write_sgserializable_begin_wrapped (const TSGDataType *type, const char *sgserializable_name, EPrimitiveType generic) |
virtual bool | write_sgserializable_end_wrapped (const TSGDataType *type, const char *sgserializable_name, EPrimitiveType generic) |
virtual bool | write_type_begin_wrapped (const TSGDataType *type, const char *name, const char *prefix) |
virtual bool | write_type_end_wrapped (const TSGDataType *type, const char *name, const char *prefix) |
Friends | |
class | SerializableAsciiReader00 |
CSerializableAsciiFile | ( | void | ) | [explicit] |
default constructor
Definition at line 19 of file SerializableAsciiFile.cpp.
CSerializableAsciiFile | ( | FILE * | fstream, | |
char | rw | |||
) | [explicit] |
constructor
fstream | already opened file |
Definition at line 22 of file SerializableAsciiFile.cpp.
CSerializableAsciiFile | ( | const char * | fname, | |
char | rw = 'r' | |||
) | [explicit] |
constructor
fname | filename to open | |
rw | mode, 'r' or 'w' |
Definition at line 25 of file SerializableAsciiFile.cpp.
~CSerializableAsciiFile | ( | ) | [virtual] |
default destructor
Definition at line 29 of file SerializableAsciiFile.cpp.
virtual const char* get_name | ( | void | ) | const [virtual] |
CSerializableFile::TSerializableReader * new_reader | ( | char * | dest_version, | |
size_t | n | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 63 of file SerializableAsciiFile.cpp.
bool write_cont_begin_wrapped | ( | const TSGDataType * | type, | |
index_t | len_real_y, | |||
index_t | len_real_x | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 165 of file SerializableAsciiFile.cpp.
bool write_cont_end_wrapped | ( | const TSGDataType * | type, | |
index_t | len_real_y, | |||
index_t | len_real_x | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 189 of file SerializableAsciiFile.cpp.
bool write_item_begin_wrapped | ( | const TSGDataType * | type, | |
index_t | y, | |||
index_t | x | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 277 of file SerializableAsciiFile.cpp.
bool write_item_end_wrapped | ( | const TSGDataType * | type, | |
index_t | y, | |||
index_t | x | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 286 of file SerializableAsciiFile.cpp.
bool write_scalar_wrapped | ( | const TSGDataType * | type, | |
const void * | param | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 99 of file SerializableAsciiFile.cpp.
bool write_sgserializable_begin_wrapped | ( | const TSGDataType * | type, | |
const char * | sgserializable_name, | |||
EPrimitiveType | generic | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 295 of file SerializableAsciiFile.cpp.
bool write_sgserializable_end_wrapped | ( | const TSGDataType * | type, | |
const char * | sgserializable_name, | |||
EPrimitiveType | generic | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 322 of file SerializableAsciiFile.cpp.
bool write_sparse_begin_wrapped | ( | const TSGDataType * | type, | |
index_t | vec_index, | |||
index_t | length | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 235 of file SerializableAsciiFile.cpp.
bool write_sparse_end_wrapped | ( | const TSGDataType * | type, | |
index_t | vec_index, | |||
index_t | length | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 246 of file SerializableAsciiFile.cpp.
bool write_sparseentry_begin_wrapped | ( | const TSGDataType * | type, | |
const TSparseEntry< char > * | first_entry, | |||
index_t | feat_index, | |||
index_t | y | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 256 of file SerializableAsciiFile.cpp.
bool write_sparseentry_end_wrapped | ( | const TSGDataType * | type, | |
const TSparseEntry< char > * | first_entry, | |||
index_t | feat_index, | |||
index_t | y | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 267 of file SerializableAsciiFile.cpp.
bool write_string_begin_wrapped | ( | const TSGDataType * | type, | |
index_t | length | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 198 of file SerializableAsciiFile.cpp.
bool write_string_end_wrapped | ( | const TSGDataType * | type, | |
index_t | length | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 208 of file SerializableAsciiFile.cpp.
bool write_stringentry_begin_wrapped | ( | const TSGDataType * | type, | |
index_t | y | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 217 of file SerializableAsciiFile.cpp.
bool write_stringentry_end_wrapped | ( | const TSGDataType * | type, | |
index_t | y | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 226 of file SerializableAsciiFile.cpp.
bool write_type_begin_wrapped | ( | const TSGDataType * | type, | |
const char * | name, | |||
const char * | prefix | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 333 of file SerializableAsciiFile.cpp.
bool write_type_end_wrapped | ( | const TSGDataType * | type, | |
const char * | name, | |||
const char * | prefix | |||
) | [protected, virtual] |
Implements CSerializableFile.
Definition at line 347 of file SerializableAsciiFile.cpp.
friend class SerializableAsciiReader00 [friend] |
Definition at line 35 of file SerializableAsciiFile.h.