11 #include "Teuchos_Tuple.hpp"
18 verbLevelArray = tuple<Teuchos::EVerbosityLevel>(
26 return verbLevelArray();
33 verbLevelNamesArray = tuple<std::string>(
41 return verbLevelNamesArray();
49 verbLevelNamesRawStringsArray;
51 verbLevelNamesRawStringsArray[i] = verbLevelNamesArray[i].c_str();
53 return verbLevelNamesRawStringsArray();
61 return "VERB_DEFAULT";
71 return "VERB_EXTREME";
74 true, std::invalid_argument,
"Teuchos::toString(const Teuchos::"
75 "EVerbosityLevel): Input argument " << verbLevel <<
" has an invalid "
76 "value. Valid values are VERB_DEFAULT=" <<
VERB_DEFAULT <<
", VERB_NONE"
97 const bool isDefaultLevel
101 ( as<int>(verbLevel) >= as<int>(requestedVerbLevel) )
118 const int intVerbLevel = as<int>(inputVerbLevel) + numLevels;
Generate output as defined by the object.
Generate only a minimal amount of output.
constexpr const int EVerbosityLevel_size
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const EVerbosityLevel > getValidVerbLevels()
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
Generate the most output possible.
EVerbosityLevel
Verbosity level.
Statically sized simple array (tuple) class.
Generate a high level of output.
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const char *const > getValidVerbLevelsNamesRawStrings()
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const std::string > getValidVerbLevelsNames()
TEUCHOSCORE_LIB_DLL_EXPORT bool includesVerbLevel(const EVerbosityLevel verbLevel, const EVerbosityLevel requestedVerbLevel, const bool isDefaultLevel=false)
Return true if the verbosity level includes the given level.
TEUCHOSCORE_LIB_DLL_EXPORT EVerbosityLevel incrVerbLevel(const EVerbosityLevel inputVerbLevel, const int numLevels)
Return an increased or decreased verbosity level.
Definition of Teuchos::as, for conversions between types.