39#define INFORM_ALL_NODES (-1)
50 Inform(
const char * = 0,
int = 0);
55 Inform(
const char *prefix,
const char *fname,
const WriteMode,
int = 0);
59 Inform(
const char *, std::ostream&,
int = 0);
63 Inform(
const char *myname,
const Inform& os,
int pnode = 0);
69 void on(
const bool o) {
On = o; }
102 {
return FormatBuf.setf(setbits,field); }
157 void setup(
const char *,
int);
193 o.
setf(oldformat, std::ios::basefield);
Inform & level3(Inform &)
Inform & level4(Inform &)
Inform & level5(Inform &)
Inform & operator<<(Inform &o, const T &val)
Inform & level2(Inform &)
Inform & level1(Inform &)
constexpr double c
The velocity of light in m/s.
int getMessageLevel(void) const
Inform & outputMessage(void)
void display_single_line(char *)
std::ostream & getDestination()
std::ios_base::fmtflags FmtFlags_t
Inform(const char *=0, int=0)
bool openedSuccessfully()
void setDestination(std::ostream &dest)
Inform & setOutputLevel(const int)
FmtFlags_t flags(FmtFlags_t f)
void unsetf(FmtFlags_t f)
FmtFlags_t setf(FmtFlags_t setbits, FmtFlags_t field)
void display_message(char *)
std::ostringstream FormatBuf
Inform & setMessageLevel(const int)
FmtFlags_t setf(FmtFlags_t f)
void setup(const char *, int)
void setPrintNode(int n=(-1))
int getOutputLevel(void) const
std::ostream & getStream()