Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
24namespace Teuchos {
25
26
39
40
42constexpr const int EVerbosityLevel_size = 6;
43
44
49TEUCHOSCORE_LIB_DLL_EXPORT
51
52
58TEUCHOSCORE_LIB_DLL_EXPORT
60
61
67TEUCHOSCORE_LIB_DLL_EXPORT
69
70
72TEUCHOS_ENUM_INPUT_STREAM_OPERATOR(EVerbosityLevel)
73
74
75
79TEUCHOSCORE_LIB_DLL_EXPORT std::string toString(const EVerbosityLevel verbLevel);
80
81
95TEUCHOSCORE_LIB_DLL_EXPORT bool includesVerbLevel(
96 const EVerbosityLevel verbLevel,
98 const bool isDefaultLevel = false
99 );
100
101
111TEUCHOSCORE_LIB_DLL_EXPORT EVerbosityLevel incrVerbLevel(
113 const int numLevels
114 );
115
116
117} // namespace Teuchos
118
119
120#endif // TEUCHOS_VERBOSITY_LEVEL_HPP
Smart reference counting pointer class for automatic garbage collection.
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const EVerbosityLevel > getValidVerbLevels()
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const char *const > getValidVerbLevelsNamesRawStrings()
TEUCHOSCORE_LIB_DLL_EXPORT ArrayView< const std::string > getValidVerbLevelsNames()
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.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
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.
constexpr const int EVerbosityLevel_size