#include <pickler.hpp>

Public Member Functions | |
| pickler (std::ostream &) | |
| Defines where the output should be written. | |
| void | write_object (const var &o) |
| Writes the given object to the stream. | |
| void | write_object_type (var_cmp_index) |
| Writes the object type to the stream. | |
| void | write_int (int i) |
| Writes an integer to the stream. | |
| void | write_size (std::size_t) |
| Writes a size to the stream. | |
| void | write_double (double d) |
| Writes a double to the stream. | |
| void | write_string (std::string const &) |
| Writes a string to the stream. | |
Definition at line 24 of file pickler.hpp.
| void dynamic::pickler::write_object | ( | const var & | o | ) |
Writes the given object to the stream.
This may decide to write a reference if the object has been written previously
Definition at line 47 of file pickle.cpp.
References dynamic::var::impl(), dynamic::var_impl::pickle(), dynamic::shared(), dynamic::var_impl::shared_var(), write_int(), and write_object_type().
Referenced by dynamic::internal::wrap_assoc_container< object_traits >::pickle(), dynamic::types::set_impl::pickle(), dynamic::pickle(), dynamic::types::object_impl::pickle(), dynamic::types::tail_impl::pickle(), dynamic::types::transform_impl::pickle(), dynamic::types::filter_impl::pickle(), dynamic::types::bind_impl< Args >::pickle(), and dynamic::types::dispatcher_impl::pickle().
1.5.7.1