51 Teuchos::tuple<Teuchos::EVerbosityLevel>(
68 return "VERB_DEFAULT";
78 return "VERB_EXTREME";
81 true, std::invalid_argument,
"Teuchos::toString(const Teuchos::"
82 "EVerbosityLevel): Input argument " << verbLevel <<
" has an invalid "
83 "value. Valid values are VERB_DEFAULT=" <<
VERB_DEFAULT <<
", VERB_NONE"
104 const bool isDefaultLevel
108 ( as<int>(verbLevel) >= as<int>(requestedVerbLevel) )
125 const int intVerbLevel = as<int>(inputVerbLevel) + numLevels;
131 return verbLevelArray[intVerbLevel];
Templated array class derived from the STL std::vector.
Definition of Teuchos::as, for conversions between types.
Replacement for std::vector that is compatible with the Teuchos Memory Management classes.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
EVerbosityLevel
Verbosity level.
@ VERB_MEDIUM
Generate more output.
@ VERB_HIGH
Generate a high level of output.
@ VERB_EXTREME
Generate the most output possible.
@ VERB_NONE
Generate no output.
@ VERB_DEFAULT
Generate output as defined by the object.
@ VERB_LOW
Generate only a minimal amount of output.
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.