equal
deleted
inserted
replaced
12 * express or implied, and with no claim as to its suitability for any |
12 * express or implied, and with no claim as to its suitability for any |
13 * purpose. |
13 * purpose. |
14 * |
14 * |
15 */ |
15 */ |
16 |
16 |
17 ///\ingroup gio |
17 ///\ingroup io_group |
18 ///\file |
18 ///\file |
19 ///\brief Graph reader. |
19 ///\brief Lemon Graph Format reader. |
20 |
20 |
21 #ifndef LEMON_GRAPH_READER_H |
21 #ifndef LEMON_GRAPH_READER_H |
22 #define LEMON_GRAPH_READER_H |
22 #define LEMON_GRAPH_READER_H |
23 |
23 |
24 #include <iostream> |
24 #include <iostream> |
39 /// |
39 /// |
40 /// Standard ReaderTraits for the GraphReader class. |
40 /// Standard ReaderTraits for the GraphReader class. |
41 /// It defines standard reading method for all type of value. |
41 /// It defines standard reading method for all type of value. |
42 struct DefaultReaderTraits { |
42 struct DefaultReaderTraits { |
43 |
43 |
44 /// \brief Template class for reading an value. |
44 /// \brief Template class for reading an value. |
45 /// |
45 /// |
46 /// Template class for reading an value. |
46 /// Template class for reading an value. |
47 template <typename _Value> |
47 template <typename _Value> |
48 struct Reader { |
48 struct Reader { |
49 /// The value type. |
49 /// The value type. |
169 bool escaped; |
169 bool escaped; |
170 }; |
170 }; |
171 |
171 |
172 /// \brief The graph reader class. |
172 /// \brief The graph reader class. |
173 /// |
173 /// |
|
174 /// \ingroup io_group |
174 /// The reader class for the graph input. |
175 /// The reader class for the graph input. |
|
176 /// \see DefaultReaderTraits |
|
177 /// \see QuotedStringReader |
175 /// \see \ref GraphWriter |
178 /// \see \ref GraphWriter |
176 /// \see \ref graph-io-page |
179 /// \see \ref graph-io-page |
177 template <typename _Graph, typename _ReaderTraits = DefaultReaderTraits> |
180 template <typename _Graph, typename _ReaderTraits = DefaultReaderTraits> |
178 class GraphReader { |
181 class GraphReader { |
179 public: |
182 public: |