10 #ifndef __SERIALIZABLE_ASCII_FILE_H__
11 #define __SERIALIZABLE_ASCII_FILE_H__
16 #define CHAR_CONT_BEGIN '('
17 #define CHAR_CONT_END ')'
18 #define CHAR_ITEM_BEGIN '{'
19 #define CHAR_ITEM_END '}'
20 #define CHAR_SGSERIAL_BEGIN '['
21 #define CHAR_SGSERIAL_END ']'
22 #define CHAR_STRING_BEGIN CHAR_SGSERIAL_BEGIN
23 #define CHAR_STRING_END CHAR_SGSERIAL_END
24 #define CHAR_SPARSE_BEGIN CHAR_CONT_BEGIN
25 #define CHAR_SPARSE_END CHAR_CONT_END
27 #define CHAR_TYPE_END '\n'
29 #define STR_SGSERIAL_NULL "null"
50 char* dest_version,
size_t n);
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53 virtual bool write_scalar_wrapped(
56 virtual bool write_cont_begin_wrapped(
59 virtual bool write_cont_end_wrapped(
63 virtual bool write_string_begin_wrapped(
65 virtual bool write_string_end_wrapped(
68 virtual bool write_stringentry_begin_wrapped(
70 virtual bool write_stringentry_end_wrapped(
73 virtual bool write_sparse_begin_wrapped(
76 virtual bool write_sparse_end_wrapped(
80 virtual bool write_sparseentry_begin_wrapped(
83 virtual bool write_sparseentry_end_wrapped(
87 virtual bool write_item_begin_wrapped(
89 virtual bool write_item_end_wrapped(
92 virtual bool write_sgserializable_begin_wrapped(
93 const TSGDataType* type,
const char* sgserializable_name,
94 EPrimitiveType
generic);
95 virtual bool write_sgserializable_end_wrapped(
96 const TSGDataType* type,
const char* sgserializable_name,
97 EPrimitiveType
generic);
99 virtual bool write_type_begin_wrapped(
102 virtual bool write_type_end_wrapped(
129 return "SerializableAsciiFile";