29 BOOL output_as_binary;
179 ,ION_STREAM_HANDLER fn_output_handler
183ION_API_EXPORT iERR ion_writer_open (hWRITER *p_hwriter
184 ,ION_STREAM *p_stream
187ION_API_EXPORT iERR ion_writer_get_depth (hWRITER hwriter, SIZE *p_depth);
189ION_API_EXPORT iERR ion_writer_set_catalog (hWRITER hwriter, hCATALOG hcatalog);
190ION_API_EXPORT iERR ion_writer_get_catalog (hWRITER hwriter, hCATALOG *p_hcatalog);
201ION_API_EXPORT iERR ion_writer_get_symbol_table (hWRITER hwriter, hSYMTAB *p_hsymtab);
233ION_API_EXPORT iERR ion_writer_clear_field_name (hWRITER hwriter);
240ION_API_EXPORT iERR ion_writer_add_annotation_symbol(hWRITER hwriter,
ION_SYMBOL *annotation);
241ION_API_EXPORT iERR ion_writer_write_annotations (hWRITER hwriter,
iSTRING p_annotations, SIZE count);
242ION_API_EXPORT iERR ion_writer_write_annotation_symbols(hWRITER hwriter,
ION_SYMBOL *annotations, SIZE count);
243ION_API_EXPORT iERR ion_writer_clear_annotations (hWRITER hwriter);
245ION_API_EXPORT iERR ion_writer_write_null (hWRITER hwriter);
246ION_API_EXPORT iERR ion_writer_write_typed_null (hWRITER hwriter,
ION_TYPE type);
247ION_API_EXPORT iERR ion_writer_write_bool (hWRITER hwriter, BOOL value);
248ION_API_EXPORT iERR ion_writer_write_int (hWRITER hwriter,
int value);
249ION_API_EXPORT iERR ion_writer_write_int32 (hWRITER hwriter, int32_t value);
250ION_API_EXPORT iERR ion_writer_write_int64 (hWRITER hwriter, int64_t value);
251ION_API_EXPORT iERR ion_writer_write_long (hWRITER hwriter,
long value);
252ION_API_EXPORT iERR ion_writer_write_ion_int (hWRITER hwriter,
ION_INT *value);
253ION_API_EXPORT iERR ion_writer_write_double (hWRITER hwriter,
double value);
254ION_API_EXPORT iERR ion_writer_write_float (hWRITER hwriter,
float value);
260ION_API_EXPORT iERR ion_writer_write_ion_decimal (hWRITER hwriter,
ION_DECIMAL *value);
261ION_API_EXPORT iERR ion_writer_write_timestamp (hWRITER hwriter,
iTIMESTAMP value);
262ION_API_EXPORT iERR ion_writer_write_symbol (hWRITER hwriter,
iSTRING p_value);
263ION_API_EXPORT iERR ion_writer_write_ion_symbol (hWRITER hwriter,
ION_SYMBOL *symbol);
264ION_API_EXPORT iERR ion_writer_write_string (hWRITER hwriter,
iSTRING p_value);
265ION_API_EXPORT iERR ion_writer_write_clob (hWRITER hwriter, BYTE *p_buf, SIZE length);
266ION_API_EXPORT iERR ion_writer_write_blob (hWRITER hwriter, BYTE *p_buf, SIZE length);
268ION_API_EXPORT iERR ion_writer_start_lob (hWRITER hwriter,
ION_TYPE lob_type);
269ION_API_EXPORT iERR ion_writer_append_lob (hWRITER hwriter, BYTE *p_buf, SIZE length);
270ION_API_EXPORT iERR ion_writer_finish_lob (hWRITER hwriter);
271ION_API_EXPORT iERR ion_writer_start_container (hWRITER hwriter,
ION_TYPE container_type);
272ION_API_EXPORT iERR ion_writer_finish_container (hWRITER hwriter);
274ION_API_EXPORT iERR ion_writer_write_one_value (hWRITER hwriter, hREADER hreader);
275ION_API_EXPORT iERR ion_writer_write_all_values (hWRITER hwriter, hREADER hreader);
struct ion_type * ION_TYPE
Definition ion_types.h:69
ION_API_EXPORT iERR ion_writer_options_close_shared_imports(ION_WRITER_OPTIONS *options)
ION_API_EXPORT iERR ion_writer_options_add_shared_imports(ION_WRITER_OPTIONS *options, ION_COLLECTION *imports)
ION_API_EXPORT iERR ion_writer_open_buffer(hWRITER *p_hwriter, BYTE *buffer, SIZE buf_length, ION_WRITER_OPTIONS *p_options)
ION_API_EXPORT iERR ion_writer_options_add_shared_imports_symbol_tables(ION_WRITER_OPTIONS *options, ION_SYMBOL_TABLE **imports, SIZE imports_count)
ION_API_EXPORT iERR ion_writer_close(hWRITER hwriter)
ION_API_EXPORT iERR ion_writer_finish(hWRITER hwriter, SIZE *p_bytes_flushed)
ION_API_EXPORT iERR ion_writer_add_imported_tables(hWRITER hwriter, ION_COLLECTION *imports)
ION_API_EXPORT iERR ion_writer_flush(hWRITER hwriter, SIZE *p_bytes_flushed)
ION_API_EXPORT iERR ion_writer_open_stream(hWRITER *p_hwriter, ION_STREAM_HANDLER fn_output_handler, void *handler_state, ION_WRITER_OPTIONS *p_options)
ION_API_EXPORT iERR ion_writer_options_initialize_shared_imports(ION_WRITER_OPTIONS *options)
ION_API_EXPORT iERR ion_writer_add_annotation(hWRITER hwriter, iSTRING annotation)
ION_API_EXPORT iERR ion_writer_write_field_name(hWRITER hwriter, iSTRING name)
ION_API_EXPORT iERR ion_writer_write_decimal(hWRITER hwriter, decQuad *value)
ION_API_EXPORT iERR ion_writer_set_symbol_table(hWRITER hwriter, hSYMTAB hsymtab)
ION_API_EXPORT iERR ion_writer_write_field_name_symbol(hWRITER hwriter, ION_SYMBOL *field_name)
Definition ion_collection.h:72
Definition ion_decimal.h:89
Definition ion_string.h:40
Definition ion_symbol_table.h:34
Definition ion_timestamp.h:47
Definition ion_writer.h:28
ION_CATALOG * pcatalog
Definition ion_writer.h:91
BOOL indent_with_tabs
Definition ion_writer.h:44
BOOL pretty_print
Definition ion_writer.h:39
BOOL compact_floats
Definition ion_writer.h:118
SIZE temp_buffer_size
Definition ion_writer.h:81
BOOL json_downconvert
Definition ion_writer.h:123
BOOL small_containers_in_line
Definition ion_writer.h:54
SIZE max_container_depth
Definition ion_writer.h:71
SIZE max_annotation_count
Definition ion_writer.h:76
decContext * decimal_context
Definition ion_writer.h:111
BOOL flush_every_value
Definition ion_writer.h:64
SIZE indent_size
Definition ion_writer.h:49
BOOL supress_system_values
Definition ion_writer.h:59
BOOL escape_all_non_ascii
Definition ion_writer.h:34
SIZE allocation_page_size
Definition ion_writer.h:86
ION_COLLECTION encoding_psymbol_table
Definition ion_writer.h:101