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(
75 virtual bool write_sparse_end_wrapped(
78 virtual bool write_sparseentry_begin_wrapped(
81 virtual bool write_sparseentry_end_wrapped(
85 virtual bool write_item_begin_wrapped(
87 virtual bool write_item_end_wrapped(
90 virtual bool write_sgserializable_begin_wrapped(
91 const TSGDataType* type,
const char* sgserializable_name,
92 EPrimitiveType
generic);
93 virtual bool write_sgserializable_end_wrapped(
94 const TSGDataType* type,
const char* sgserializable_name,
95 EPrimitiveType
generic);
97 virtual bool write_type_begin_wrapped(
100 virtual bool write_type_end_wrapped(
127 return "SerializableAsciiFile";