Classdesc 3.44
pack_graph.h File Reference

serialisation for dynamic structures (graphs/trees and so on) More...

#include <vector>
#include <map>
#include <pack_base.h>
Include dependency graph for pack_graph.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Alloc< T * >

Namespaces

namespace  classdesc
 Contains definitions related to classdesc functionality.

Functions

template<class T>
void pack (pack_t &targ, const string &desc, is_treenode dum, const T *const &arg)
 serialise a tree (or DAG)
template<class T>
void unpack (unpack_t &targ, const string &desc, is_treenode dum, T *&arg)
 unserialise a tree.
template<class T>
void pack_graph (pack_t &buf, T &arg)
template<class T>
void unpack_graph (pack_t &buf, T &arg)
template<class T>
void pack (pack_t &targ, const string &desc, is_graphnode dum, const T &arg)
 serialise a graph structure
template<class T>
void unpack (pack_t &targ, const string &desc, is_graphnode dum, T &arg)
 unserialise a graph structure

Detailed Description

serialisation for dynamic structures (graphs/trees and so on)