graph  4.7.0
Graph: generic attributed relational graphs
twriter.h File Reference
#include <graph/config/graph_config.h>
#include <soma-io/writer/awriter.h>
#include <graph/tree/tvisitor.h>
Include dependency graph for twriter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TreeWriter
 To write an Tree to a file. More...
 

Functions

GRAPH_API TreeWriteroperator<< (TreeWriter &writer, const Tree &tree)
 Save a tree to a file using a TreeWriter. More...
 

Function Documentation

◆ operator<<()

GRAPH_API TreeWriter& operator<< ( TreeWriter writer,
const Tree tree 
)

Save a tree to a file using a TreeWriter.

Parameters
writerTreeWriter to restore from
treetree to save
Returns
the TreeWriter given as a parameter