Teuchos - Trilinos Tools Package
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
parameterlist
src
Teuchos_StringInputSource.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_STRINGINPUTSOURCE_H
11
#define Teuchos_STRINGINPUTSOURCE_H
12
18
#include "
Teuchos_ConfigDefs.hpp
"
19
#include "
Teuchos_XMLInputSource.hpp
"
20
21
22
namespace
Teuchos
23
{
24
25
using
std::string;
26
30
class
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
StringInputSource
:
public
XMLInputSource
31
{
32
public
:
34
StringInputSource
(
const
std::string& text);
35
37
virtual
~StringInputSource
(){;}
38
40
virtual
RCP<XMLInputStream>
stream()
const
;
41
42
private
:
43
std::string text_;
44
};
45
46
47
}
48
#endif
49
Teuchos::XMLInputSource
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject.
Definition:
Teuchos_XMLInputSource.hpp:39
Teuchos_ConfigDefs.hpp
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
Teuchos_XMLInputSource.hpp
A base class for defining a source of XML input.
Teuchos::StringInputSource::~StringInputSource
virtual ~StringInputSource()
Destructor.
Definition:
Teuchos_StringInputSource.hpp:37
Teuchos::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition:
Teuchos_RCPDecl.hpp:397
Teuchos::StringInputSource
Instantiation of XMLInputSource class for reading XML from a std::string.
Definition:
Teuchos_StringInputSource.hpp:30
Generated on Fri Dec 20 2024 09:21:32 for Teuchos - Trilinos Tools Package by
1.8.5