Teuchos - Trilinos Tools Package
Version of the Day
Loading...
Searching...
No Matches
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
17
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_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::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition
Teuchos_RCPDecl.hpp:397
Teuchos::StringInputSource::~StringInputSource
virtual ~StringInputSource()
Destructor.
Definition
Teuchos_StringInputSource.hpp:37
Teuchos::StringInputSource::StringInputSource
StringInputSource(const std::string &text)
Constructor.
Definition
Teuchos_StringInputSource.cpp:16
Teuchos::XMLInputSource::XMLInputSource
XMLInputSource()
Empty constructor.
Definition
Teuchos_XMLInputSource.hpp:43
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated on
for Teuchos - Trilinos Tools Package by
1.15.0