Teuchos - Trilinos Tools Package
Version of the Day
Loading...
Searching...
No Matches
parameterlist
src
Teuchos_ParameterListAcceptorHelpers.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_ParameterListAcceptorHelpers.hpp"
11
#include "Teuchos_ParameterListAcceptor.hpp"
12
#include "
Teuchos_ParameterList.hpp
"
13
14
15
void
Teuchos::printValidParameters
(
const
ParameterListAcceptor
&
paramListAccpetor
,
16
std::ostream &out,
const
bool
showDoc )
17
{
18
typedef
ParameterList::PrintOptions
PLPrintOptions
;
19
paramListAccpetor
.getValidParameters()->print(
20
out,
PLPrintOptions
().indent(2).showTypes(
true
).showDoc(showDoc)
21
);
22
}
Teuchos_ParameterList.hpp
Templated Parameter List class.
Teuchos::ParameterListAcceptor
Interface for objects that can accept a ParameterList.
Definition
Teuchos_ParameterListAcceptor.hpp:120
Teuchos::ParameterList::PrintOptions
Utility class for setting and passing in print options.
Definition
Teuchos_ParameterList.hpp:118
Teuchos::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition
Teuchos_RCPDecl.hpp:397
Teuchos::printValidParameters
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void printValidParameters(const ParameterListAcceptor ¶mListAccpetor, std::ostream &out, const bool showDoc=true)
Pretty print the valid parameters from a ParameterListAccpetor object.
Definition
Teuchos_ParameterListAcceptorHelpers.cpp:15
Generated on Thu Oct 9 2025 20:59:56 for Teuchos - Trilinos Tools Package by
1.9.8