#include <string>#include <sstream>#include <list>#include <map>#include <deque>#include <iostream>#include <memory>#include <cassert>#include <typeinfo>#include <s11n.net/s11n/phoenix.hpp>#include <s11n.net/s11n/exception.hpp>#include <s11n.net/s11n/s11n_debuggering_macros.hpp>#include <s11n.net/s11n/classload.hpp>#include <s11n.net/s11n/serialize.hpp>#include <s11n.net/s11n/traits.hpp>#include <s11n.net/s11n/export.hpp>Include dependency graph for data_node_io.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | s11n |
| namespace | s11n::io |
Classes | |
| class | s11n::io::data_node_serializer< NodeT > |
| data_node_serializer provides an interface for saving/loading a given abstract data node type to/from streams. More... | |
Functions | |
| std::ostream * | s11n::io::get_ostream (const std::string name) |
| Returns an output stream for the given file name. | |
| std::istream * | s11n::io::get_istream (const std::string name, bool ExternalData=true) |
| Returns an input stream for the given file name. | |
| std::string | s11n::io::get_magic_cookie (const std::string &src, bool ExternalData=true) |
| Convenience function for grabbing the first line of a file. | |
| std::string | s11n::io::get_magic_cookie (std::istream &is) |
| Convenience function for grabbing the first line of a stream. | |
| template<typename NodeType> | |
| data_node_serializer< NodeType > * | s11n::io::guess_serializer (std::istream &is) |
| Tries to guess which Serializer can be used to read is. | |
| template<typename NodeType> | |
| data_node_serializer< NodeType > * | s11n::io::guess_serializer (std::string const &infile) |
| An overload which assumes infile is a local file. | |
| template<typename NodeType> | |
| NodeType * | s11n::io::load_node_classload_serializer (std::istream &is) |
| Tries to load a NodeType object from the given node. | |
| template<typename NodeType> | |
| NodeType * | s11n::io::load_node_classload_serializer (std::string const &src) |
| Overloaded to take a filename. | |
| template<typename NodeType> | |
| NodeType * | s11n::io::load_node (std::istream &is) |
| Tries to load a node from the given input stream. | |
| template<typename NodeType> | |
| NodeType * | s11n::io::load_node (const std::string &src, bool ExternalData=true) |
| Overloaded form of load_node( istream ), provided for convenience. | |
| template<typename NodeT, typename SerializableT> | |
| SerializableT * | s11n::io::load_serializable (std::istream &src) |
| Tries to load a SerializableT from the given stream. | |
| template<typename NodeT, typename SerializableT> | |
| SerializableT * | s11n::io::load_serializable (const std::string &src, bool ExternalData=true) |
| An overloaded form which takes an input string. | |
1.4.4