Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by doxygen 1.8.3.1
Graph_gSpan_writer.hh
Go to the documentation of this file.
1 #ifndef GGL_GRAPH_GSPAN_WRITER_HH_
2 #define GGL_GRAPH_GSPAN_WRITER_HH_
3 
4 #include <iostream>
5 
6 #include "ggl/Graph.hh"
7 
8 
9 namespace ggl
10 {
11 
12 
13  /*! @brief Graph gSpan writer
14  *
15  * Algorithm wrapper class to write a boost graph in gSpan format to stream.
16  *
17  * e.g.
18  *
19  * ####################
20  * t
21  * v 1 A
22  * v 2 B
23  * e 1 2 lala
24  * ####################
25  *
26  * @author Martin Mann (c) 2013 http://www.bioinf.uni-freiburg.de/~mmann/
27  *
28  */
30 {
31 public:
32  //! construction
34  {}
35 
36  //! destruction
38  {}
39 
40 
41  /*!
42  * Writes a boost graph in GGL GML format to stream.
43  *
44  * @param out the stream to write to
45  * @param graph the graph to print
46  */
47  static
48  void
49  write( std::ostream& out
50  , const Graph & graph );
51 
52 };
53 
54 
55 } // namespace ggl
56 
57 
58 
59 #endif /*GGL_GRAPH_GSPAN_WRITER_HH_*/
60