Teuchos Package Browser (Single Doxygen Collection)
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_ParameterListAcceptorDefaultBase.cpp
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
#include "
Teuchos_ParameterListAcceptorDefaultBase.hpp
"
11
12
13
namespace
Teuchos {
14
15
16
// Overridden from ParameterListAcceptor
17
18
19
RCP<ParameterList>
20
ParameterListAcceptorDefaultBase::getNonconstParameterList
()
21
{
22
return
paramList_
;
23
}
24
25
26
RCP<ParameterList>
27
ParameterListAcceptorDefaultBase::unsetParameterList
()
28
{
29
RCP<ParameterList>
tempParamList =
paramList_
;
30
paramList_
=
Teuchos::null
;
31
return
tempParamList;
32
}
33
34
35
RCP<const ParameterList>
36
ParameterListAcceptorDefaultBase::getParameterList
()
const
37
{
38
return
paramList_
;
39
}
40
41
42
}
// namespace Teuchos
Teuchos_ParameterListAcceptorDefaultBase.hpp
Teuchos::ParameterListAcceptorDefaultBase::unsetParameterList
RCP< ParameterList > unsetParameterList()
Definition:
Teuchos_ParameterListAcceptorDefaultBase.cpp:27
Teuchos::ParameterListAcceptorDefaultBase::paramList_
RCP< ParameterList > paramList_
Definition:
Teuchos_ParameterListAcceptorDefaultBase.hpp:62
Teuchos::ParameterListAcceptorDefaultBase::getNonconstParameterList
RCP< ParameterList > getNonconstParameterList()
Definition:
Teuchos_ParameterListAcceptorDefaultBase.cpp:20
Teuchos::null
Definition:
Teuchos_ENull.hpp:22
Teuchos::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition:
Teuchos_RCPDecl.hpp:397
Teuchos::ParameterListAcceptorDefaultBase::getParameterList
RCP< const ParameterList > getParameterList() const
Definition:
Teuchos_ParameterListAcceptorDefaultBase.cpp:36
Generated on Thu Dec 12 2024 09:20:54 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5