Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_XMLInputSource.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_XMLINPUTSOURCE_H
11 #define TEUCHOS_XMLINPUTSOURCE_H
12 
17 #include "Teuchos_ConfigDefs.hpp"
18 #include "Teuchos_XMLObject.hpp"
20 
21 namespace Teuchos
22 {
40  {
41  public:
44 
46  virtual ~XMLInputSource(){;}
47 
49  virtual RCP<XMLInputStream> stream() const = 0 ;
50 
53  XMLObject getObject() const ;
54 
55  };
56 
57 }
58 #endif
59 
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject.
virtual ~XMLInputSource()
Destructor.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
A base class for defining a XML input stream.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
#define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
Smart reference counting pointer class for automatic garbage collection.
XMLInputSource()
Empty constructor.
An object representation of a subset of XML data.