Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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"
13
14
16 std::ostream &out, const bool showDoc )
17{
19 paramListAccpetor.getValidParameters()->print(
20 out, PLPrintOptions().indent(2).showTypes(true).showDoc(showDoc)
21 );
22}
Templated Parameter List class.
Interface for objects that can accept a ParameterList.
Utility class for setting and passing in print options.
Smart reference counting pointer class for automatic garbage collection.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void printValidParameters(const ParameterListAcceptor &paramListAccpetor, std::ostream &out, const bool showDoc=true)
Pretty print the valid parameters from a ParameterListAccpetor object.