Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_VerbosityLevel.hpp
Go to the documentation of this file.
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 #ifndef TEUCHOS_VERBOSITY_LEVEL_HPP
11 #define TEUCHOS_VERBOSITY_LEVEL_HPP
12 
13 
19 #include "Teuchos_Assert.hpp"
20 #include "Teuchos_ArrayView.hpp"
21 #include "Teuchos_iostream_helpers.hpp"
22 
23 
24 namespace Teuchos {
25 
26 
38 };
39 
40 
42 constexpr const int EVerbosityLevel_size = 6;
43 
44 
49 TEUCHOSCORE_LIB_DLL_EXPORT
51 
52 
58 TEUCHOSCORE_LIB_DLL_EXPORT
60 
61 
67 TEUCHOSCORE_LIB_DLL_EXPORT
69 
70 
72 TEUCHOS_ENUM_INPUT_STREAM_OPERATOR(EVerbosityLevel)
73 
74 
75 
79 TEUCHOSCORE_LIB_DLL_EXPORT std::string toString(const EVerbosityLevel verbLevel);
80 
81 
95 TEUCHOSCORE_LIB_DLL_EXPORT bool includesVerbLevel(
96  const EVerbosityLevel verbLevel,
97  const EVerbosityLevel requestedVerbLevel,
98  const bool isDefaultLevel = false
99  );
100 
101 
111 TEUCHOSCORE_LIB_DLL_EXPORT EVerbosityLevel incrVerbLevel(
112  const EVerbosityLevel inputVerbLevel,
113  const int numLevels
114  );
115 
116 
117 } // namespace Teuchos
118 
119 
120 #endif // TEUCHOS_VERBOSITY_LEVEL_HPP
Generate output as defined by the object.
Generate only a minimal amount of output.
Generate no output.
constexpr const int EVerbosityLevel_size
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const EVerbosityLevel > getValidVerbLevels()
Generate the most output possible.
EVerbosityLevel
Verbosity level.
Generate more output.
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.
Nonowning array view.