14 #ifndef CPROVER_UTIL_IREP_SERIALIZATION_H
15 #define CPROVER_UTIL_IREP_SERIALIZATION_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
ireps_on_readt ireps_on_read
string_rev_mapt string_rev_map
std::vector< bool > string_mapt
ireps_on_writet ireps_on_write
irep_full_hash_containert irep_full_hash_container
std::map< std::size_t, std::size_t > ireps_on_writet
std::vector< std::pair< bool, irept > > ireps_on_readt
std::vector< std::pair< bool, irep_idt > > string_rev_mapt
ireps_containert & ireps_container
void write_string_ref(std::ostream &, const irep_idt &)
Output a string and maintain a reference to it.
irept read_irep(std::istream &)
static std::size_t read_gb_word(std::istream &)
Interpret a stream of byte as a 7-bit encoded unsigned number.
void write_irep(std::ostream &, const irept &irep)
irep_serializationt(ireps_containert &ic)
std::vector< char > read_buffer
const irept & reference_convert(std::istream &)
irep_idt read_string_ref(std::istream &)
Read a string reference from the stream.
irep_idt read_gb_string(std::istream &)
reads a string from the stream
There are a large number of kinds of tree structured or tree-like data in CPROVER.
void write_gb_word(std::ostream &, std::size_t)
Write 7 bits of u each time, least-significant byte first, until we have zero.
void write_gb_string(std::ostream &, const std::string &)
outputs the string and then a zero byte.