1#ifndef art__paperback__carousel__writer_hxx_
2#define art__paperback__carousel__writer_hxx_
4#include <art/paperback/types.hxx>
5#include <art/paperback/forward.hxx>
7#include <art/paperback/carousel/object-model.hxx>
17 Writer(ostream&,
int,
int);
136 string::size_type _indent{};
Represents a COS boolean.
Definition boolean.hxx:16
Represents a COS dictionary.
Definition dictionary.hxx:17
Represents a COS integer.
Definition integer.hxx:16
Represents a COS name.
Definition name.hxx:16
Base class for containers.
Definition object-model.hxx:82
Represents a COS-file object.
Definition object.hxx:16
Represents a COS real.
Definition real.hxx:16
Represents COS text.
Definition text.hxx:16
Definition undefined.hxx:14
Writer(ostream &, int, int)
Constructor.
Definition writer.cxx:29
void write_xref_free_entry(Index, Generation)
Write a free entry.
Definition writer.cxx:120
void write_eof(streamoff)
Write an EOF marker.
Definition writer.cxx:147
void write_xref_used_entry(streamoff, Generation)
Write a used entry.
Definition writer.cxx:103
void emit(Undefined const &)
Emit undefined.
Definition writer.cxx:166
void dispatch_emit(Object const &)
Dispatch the emission of an object.
Definition writer.cxx:384
void begin_xref()
Begin a new cross-reference table.
Definition writer.cxx:83
void begin_xref_chunk(Index, uint16_t)
Begin a new cross-reference table chunk.
Definition writer.cxx:93
void emit_reference(Identity const &)
Emit a reference to an indirect object.
Definition writer.cxx:159
ostream & output()
Access the underlying output stream.
Definition writer.cxx:39
void write_header(string const &)
Write a COS-file header.
Definition writer.cxx:52
void new_line()
Write a new line marker.
Definition writer.cxx:482
void write_trailer(Dictionary const &)
Write a COS-file trailer.
Definition writer.cxx:136
void write_object(Identity const &, Object_model::Container_base const &)
Write an object.
Definition writer.cxx:62
COS file format implementation namespace.
Definition array.cxx:6
uint16_t Generation
Generation type.
Definition types.hxx:76
uint32_t Index
Index type.
Definition types.hxx:72
Represents the identity of an indirect object.
Definition types.hxx:81