|
cprover
|
#include <irep_serialization.h>
Classes | |
| class | ireps_containert |
Public Member Functions | |
| irep_serializationt (ireps_containert &ic) | |
| const irept & | reference_convert (std::istream &) |
| void | reference_convert (const irept &irep, std::ostream &) |
| Serialize an irept. | |
| irep_idt | read_string_ref (std::istream &) |
| Read a string reference from the stream. | |
| void | write_string_ref (std::ostream &, const irep_idt &) |
| Output a string and maintain a reference to it. | |
| void | clear () |
| irep_idt | read_gb_string (std::istream &) |
| reads a string from the stream | |
Static Public Member Functions | |
| static std::size_t | read_gb_word (std::istream &) |
| Interpret a stream of byte as a 7-bit encoded unsigned number. | |
Private Member Functions | |
| void | write_irep (std::ostream &, const irept &irep) |
| irept | read_irep (std::istream &) |
Private Attributes | |
| ireps_containert & | ireps_container |
| std::vector< char > | read_buffer |
Definition at line 28 of file irep_serialization.h.
|
inlineexplicit |
Definition at line 57 of file irep_serialization.h.
|
inline |
Definition at line 70 of file irep_serialization.h.
| irep_idt irep_serializationt::read_gb_string | ( | std::istream & | in | ) |
reads a string from the stream
| in | input stream |
Definition at line 187 of file irep_serialization.cpp.
|
static |
Interpret a stream of byte as a 7-bit encoded unsigned number.
| in | input stream |
Definition at line 143 of file irep_serialization.cpp.
|
private |
Definition at line 67 of file irep_serialization.cpp.
| irep_idt irep_serializationt::read_string_ref | ( | std::istream & | in | ) |
Read a string reference from the stream.
| in | input stream |
Definition at line 232 of file irep_serialization.cpp.
| void irep_serializationt::reference_convert | ( | const irept & | irep, |
| std::ostream & | out ) |
Serialize an irept.
| irep | source irept to serialize |
| out | target output stream |
Definition at line 104 of file irep_serialization.cpp.
| const irept & irep_serializationt::reference_convert | ( | std::istream & | in | ) |
Definition at line 44 of file irep_serialization.cpp.
|
private |
Definition at line 22 of file irep_serialization.cpp.
| void irep_serializationt::write_string_ref | ( | std::ostream & | out, |
| const irep_idt & | s ) |
Output a string and maintain a reference to it.
| out | output stream |
| s | string to output |
Definition at line 211 of file irep_serialization.cpp.
|
private |
Definition at line 76 of file irep_serialization.h.
|
private |
Definition at line 77 of file irep_serialization.h.