Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_Libxml2HandlerAdapter.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_LIBXML2HANDLERADAPTER_H
11 #define TEUCHOS_LIBXML2HANDLERADAPTER_H
12 
17 #include "Teuchos_ConfigDefs.hpp"
18 
19 #ifdef HAVE_TEUCHOS_LIBXML2
21 #include "Teuchos_RCP.hpp"
22 
23 #include <libxml/parser.h>
24 
25 extern "C"
26 {
28  void xmlSAX2StartElement(void* context,
29  const xmlChar* name,
30  const xmlChar** attr);
31 
33  void xmlSAX2EndElement(void* context,
34  const xmlChar* name);
35 
37  void xmlSAX2Characters(void* context,
38  const xmlChar* s,
39  int len);
40 };
41 
42 #endif
43 
44 
45 #endif
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
Defines a class for assembling an XMLObject from XML input.
Reference-counted pointer class and non-member templated function implementations.