#include "node.hh"
Functions | |
ostream & | operator<< (ostream &os, Node &outnode) |
Serializes the node. | |
istream & | operator>> (istream &is, Node &innode) |
Creates a new node from binary stream. |
This file contains the implementation of the nodes used in the Evolving Tree.
|
Serializes the node. Writes the node to the given stream as a binary dump. The dump does not have any magic numbers or other identifiers.
|
|
Creates a new node from binary stream. Reads the binary stream and uses it to build a new node. No error checking of any kind is done, so make sure that the stream points to a sensible location.
|