Imported Upstream version 17.25.4
[platform/upstream/libzypp.git] / zypp / parser / xml / libxmlfwd.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/parser/xml/libxmlfwd.h
10  *
11 */
12 #ifndef ZYPP_PARSER_XML_LIBXMLFWD_H
13 #define ZYPP_PARSER_XML_LIBXMLFWD_H
14
15 #include <libxml/xmlreader.h>
16 #include <libxml/xmlerror.h>
17
18 #include <iosfwd>
19
20 ///////////////////////////////////////////////////////////////////
21 namespace zypp
22 { /////////////////////////////////////////////////////////////////
23   ///////////////////////////////////////////////////////////////////
24   namespace xml
25   { /////////////////////////////////////////////////////////////////
26
27     typedef xmlTextReaderMode ReadState;
28     /** \relates ReadState Stream output. */
29     std::ostream & operator<<( std::ostream & str, const ReadState & obj );
30
31     typedef xmlReaderTypes NodeType;
32     /** \relates NodeType Stream output. */
33     std::ostream & operator<<( std::ostream & str, const NodeType & obj );
34
35     /////////////////////////////////////////////////////////////////
36   } // namespace xml
37   ///////////////////////////////////////////////////////////////////
38   /////////////////////////////////////////////////////////////////
39 } // namespace zypp
40 ///////////////////////////////////////////////////////////////////
41 #endif // ZYPP_PARSER_XML_LIBXMLFWD_H