Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_ParameterListAcceptor.cpp
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_ParameterListAcceptor.hpp"
11 #include "Teuchos_RCP.hpp"
14 
15 
16 namespace Teuchos {
17 
18 
20 {}
21 
22 
25 {
26  return const_cast<ParameterListAcceptor*>(this)->getNonconstParameterList();
27 }
28 
29 
32 {
33  return Teuchos::null;
34 }
35 
38 {
39  return null;
40 }
41 
42 
43 } // end namespace Teuchos
virtual RCP< const DependencySheet > getDependencies() const
Rreturn a const DependencySheet of all the dependencies that should be applied to the ParameterList r...
Templated Parameter List class.
virtual RCP< ParameterList > getNonconstParameterList()=0
Get a nonconst version of the parameter list that was set using setParameterList().
Interface for objects that can accept a ParameterList.
DataStructure keeping track of dependencies.
Reference-counted pointer class and non-member templated function implementations.
virtual RCP< const ParameterList > getParameterList() const
Get const version of the parameter list that was set using setParameterList().
virtual RCP< const ParameterList > getValidParameters() const
Return a ParameterList containing all of the valid parameters that this-&gt;setParameterList(...) will accept, along with any validators.