10 #ifndef TEUCHOS_VERBOSE_OBJECT_PARAMETER_LIST_HELPERS_HPP
11 #define TEUCHOS_VERBOSE_OBJECT_PARAMETER_LIST_HELPERS_HPP
13 #include "Teuchos_VerboseObject.hpp"
28 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP<const ParameterList> getValidVerboseObjectSublist();
43 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void setupVerboseObjectSublist( ParameterList* paramList );
68 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void readVerboseObjectSublist(
69 ParameterList* paramList,
90 template<
class ObjectType>
91 void readVerboseObjectSublist(
92 ParameterList* paramList, VerboseObject<ObjectType> *verboseObject
103 template<
class ObjectType>
104 void Teuchos::readVerboseObjectSublist(
105 ParameterList* paramList, VerboseObject<ObjectType> *verboseObject
111 RCP<FancyOStream> oStream = null;
114 verboseObject->setOverridingOStream(oStream);
115 verboseObject->setOverridingVerbLevel(verbLevel);
119 #endif // TEUCHOS_VERBOSE_OBJECT_PARAMETER_LIST_HELPERS_HPP
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void readVerboseObjectSublist(ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel)
Read the parameters in the "VerboseObject" sublist and set them on the given VerboseObject.
EVerbosityLevel
Verbosity level.
Templated Parameter List class.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
This macro is designed to be a short version of TEUCHOS_TEST_FOR_EXCEPTION() that is easier to call...