Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
18#include "Teuchos_XMLObject.hpp"
20
21namespace Teuchos
22{
39 class TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT XMLInputSource
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
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
A base class for defining a XML input stream.
An object representation of a subset of XML data.
Smart reference counting pointer class for automatic garbage collection.
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject.
virtual ~XMLInputSource()
Destructor.
virtual RCP< XMLInputStream > stream() const =0
Virtual input source interface.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...