25#ifndef dftefeConditionalOstream_h
26#define dftefeConditionalOstream_h
58 std::ostream & stream,
59 const bool active =
true,
61 const bool fixedPrecision =
false);
113 operator<<(std::ostream &(*p)(std::ostream &))
const;
static const size_type PRECISION
Definition: Defaults.h:133
Provides an interface to print based on whether a certain condition is met or not....
Definition: ConditionalOStream.h:47
const ConditionalOStream & operator<<(const T &t) const
Overload the insertion or << operator.
Definition: ConditionalOStream.t.cpp:35
void setCondition(const bool active)
Function to set the condition for printing to the output stream associated with this object.
Definition: ConditionalOStream.cpp:48
bool d_activeFlag
Definition: ConditionalOStream.h:117
std::ostream & getOStream() const
Function that returns the underlying ostream object associated with this object.
Definition: ConditionalOStream.cpp:60
bool isActive() const
Function that returns true if printing to the output stream associated with this object is allowed.
Definition: ConditionalOStream.cpp:54
std::ostream & d_outputStream
Definition: ConditionalOStream.h:116
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8