Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_ExpatHandlerAdapter.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_EXPATHANDLERADAPTER_H
11 #define TEUCHOS_EXPATHANDLERADAPTER_H
12 
17 #include "Teuchos_ConfigDefs.hpp"
18 
19 #ifdef HAVE_TEUCHOS_EXPAT
20 
22 #include "Teuchos_RCP.hpp"
23 
24 #include "expat.h"
25 
26 extern "C"
27 {
29  void expatStartElementHandler(void* handler,
30  const XML_Char* name,
31  const XML_Char** attr);
32 
34  void expatEndElementHandler(void* handler,
35  const XML_Char* name);
36 
38  void expatCharacterDataHandler(void* handler,
39  const XML_Char* s,
40  int len);
41 }
42 
43 #endif // HAVE_TEUCHOS_EXPAT
44 
45 #endif // TEUCHOS_EXPATHANDLERADAPTER_H
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.