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 io_group |
17 /// \ingroup item_io |
18 /// \file |
18 /// \file |
19 /// \brief Item writer bits for lemon output. |
19 /// \brief Item writer bits for lemon output. |
20 |
20 |
21 #ifndef LEMON_BITS_ITEM_WRITER_H |
21 #ifndef LEMON_BITS_ITEM_WRITER_H |
22 #define LEMON_BITS_ITEM_WRITER_H |
22 #define LEMON_BITS_ITEM_WRITER_H |
32 namespace lemon { |
32 namespace lemon { |
33 |
33 |
34 template <typename Value> |
34 template <typename Value> |
35 class DefaultWriter; |
35 class DefaultWriter; |
36 |
36 |
37 /// \ingroup io_group |
37 /// \ingroup item_io |
38 /// \brief Writer class for quoted strings. |
38 /// \brief Writer class for quoted strings. |
39 /// |
39 /// |
40 /// Writer class for quoted strings. It can process the escape |
40 /// Writer class for quoted strings. It can process the escape |
41 /// sequences in the string. |
41 /// sequences in the string. |
42 /// \author Balazs Dezso |
42 /// \author Balazs Dezso |
115 } |
115 } |
116 private: |
116 private: |
117 bool escaped; |
117 bool escaped; |
118 }; |
118 }; |
119 |
119 |
120 /// \ingroup io_group |
120 /// \ingroup item_io |
121 /// |
121 /// |
122 /// \brief Writer for standard containers. |
122 /// \brief Writer for standard containers. |
123 /// |
123 /// |
124 /// Writer for each iterable standard containers. The representation |
124 /// Writer for each iterable standard containers. The representation |
125 /// of the container is the values enumerated between an open and a |
125 /// of the container is the values enumerated between an open and a |
154 os << ')'; |
154 os << ')'; |
155 } |
155 } |
156 |
156 |
157 }; |
157 }; |
158 |
158 |
159 /// \ingroup io_group |
159 /// \ingroup item_io |
160 /// |
160 /// |
161 /// \brief The default item writer template class. |
161 /// \brief The default item writer template class. |
162 /// |
162 /// |
163 /// The default item writer template class. If some section writer |
163 /// The default item writer template class. If some section writer |
164 /// needs to write a value to the stream it will give the default way for it. |
164 /// needs to write a value to the stream it will give the default way for it. |
195 |
195 |
196 template <typename Item> |
196 template <typename Item> |
197 class DefaultWriter<std::multiset<Item> > |
197 class DefaultWriter<std::multiset<Item> > |
198 : public IterableWriter<std::multiset<Item> > {}; |
198 : public IterableWriter<std::multiset<Item> > {}; |
199 |
199 |
|
200 /// \ingroup item_io |
200 /// \brief Standard WriterTraits for the section writers. |
201 /// \brief Standard WriterTraits for the section writers. |
201 /// |
202 /// |
202 /// Standard WriterTraits for the section writers. |
203 /// Standard WriterTraits for the section writers. |
203 /// It defines standard writing method for all type of value. |
204 /// It defines standard writing method for all type of value. |
204 /// \author Balazs Dezso |
205 /// \author Balazs Dezso |