Inform Class Reference

#include <Inform.h>

List of all members.

Public Types

typedef std::ios_base::fmtflags FmtFlags_t
enum  WriteMode { OVERWRITE, APPEND }

Public Member Functions

 Inform (const char *=0, int=0)
 Inform (const char *prefix, const char *fname, const WriteMode, int=0)
 Inform (const char *, ostream &, int=0)
 ~Inform ()
void on (const bool o)
bool isOn () const
InformsetOutputLevel (const int)
int getOutputLevel (void) const
InformsetMessageLevel (const int)
int getMessageLevel (void) const
int getPrintNode () const
void setPrintNode (int n=(-1))
ostream & getStream ()
bool openedSuccessfully ()
InformoutputMessage (void)
FmtFlags_t setf (FmtFlags_t setbits, FmtFlags_t field)
FmtFlags_t setf (FmtFlags_t f)
void unsetf (FmtFlags_t f)
long flags () const
long flags (FmtFlags_t f)
int width () const
int width (int w)
char fill () const
char fill (char c)
int precision () const
int precision (int p)


Detailed Description

Definition at line 64 of file Inform.h.


Member Typedef Documentation

typedef std::ios_base::fmtflags Inform::FmtFlags_t
 

Definition at line 116 of file Inform.h.


Member Enumeration Documentation

enum Inform::WriteMode
 

Enumerator:
OVERWRITE 
APPEND 

Definition at line 68 of file Inform.h.


Constructor & Destructor Documentation

Inform::Inform const char *  = 0,
int  = 0
 

Definition at line 72 of file Inform.cpp.

References MAX_INFORM_MSG_SIZE, TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Inform::Inform const char *  prefix,
const char *  fname,
const   WriteMode,
int  = 0
 

Definition at line 92 of file Inform.cpp.

References endl(), MAX_INFORM_MSG_SIZE, IpplInfo::myNode(), TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Here is the call graph for this function:

Inform::Inform const char *  ,
ostream &  ,
int  = 0
 

Definition at line 131 of file Inform.cpp.

References MAX_INFORM_MSG_SIZE, TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Inform::~Inform  ) 
 

Definition at line 152 of file Inform.cpp.

References TAU_IO, TAU_PROFILE, and TAU_UTILITY.


Member Function Documentation

char Inform::fill char  c  )  [inline]
 

Definition at line 129 of file Inform.h.

char Inform::fill  )  const [inline]
 

Definition at line 128 of file Inform.h.

long Inform::flags FmtFlags_t  f  )  [inline]
 

Definition at line 125 of file Inform.h.

long Inform::flags  )  const [inline]
 

Definition at line 124 of file Inform.h.

int Inform::getMessageLevel void   )  const [inline]
 

Definition at line 96 of file Inform.h.

int Inform::getOutputLevel void   )  const [inline]
 

Definition at line 92 of file Inform.h.

int Inform::getPrintNode  )  const [inline]
 

Definition at line 99 of file Inform.h.

ostream& Inform::getStream  )  [inline]
 

Definition at line 103 of file Inform.h.

Referenced by operator<<().

bool Inform::isOn  )  const [inline]
 

Definition at line 88 of file Inform.h.

void Inform::on const bool  o  )  [inline]
 

Definition at line 87 of file Inform.h.

bool Inform::openedSuccessfully  )  [inline]
 

Definition at line 106 of file Inform.h.

Inform & Inform::outputMessage void   ) 
 

Definition at line 244 of file Inform.cpp.

References IpplInfo::myNode(), TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Referenced by endl().

Here is the call graph for this function:

int Inform::precision int  p  )  [inline]
 

Definition at line 131 of file Inform.h.

int Inform::precision  )  const [inline]
 

Definition at line 130 of file Inform.h.

FmtFlags_t Inform::setf FmtFlags_t  f  )  [inline]
 

Definition at line 122 of file Inform.h.

FmtFlags_t Inform::setf FmtFlags_t  setbits,
FmtFlags_t  field
[inline]
 

Definition at line 119 of file Inform.h.

Referenced by operator<<().

Inform & Inform::setMessageLevel const   int  ) 
 

Definition at line 234 of file Inform.cpp.

References MAX_INFORM_LEVEL, MIN_INFORM_LEVEL, TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Referenced by level1(), level2(), level3(), level4(), and level5().

Inform & Inform::setOutputLevel const   int  ) 
 

Definition at line 223 of file Inform.cpp.

References MAX_INFORM_LEVEL, MIN_INFORM_LEVEL, TAU_IO, TAU_PROFILE, and TAU_UTILITY.

void Inform::setPrintNode int  n = (-1)  )  [inline]
 

Definition at line 100 of file Inform.h.

Referenced by FieldBlock< T, Dim, Mesh, Centering >::write().

void Inform::unsetf FmtFlags_t  f  )  [inline]
 

Definition at line 123 of file Inform.h.

int Inform::width int  w  )  [inline]
 

Definition at line 127 of file Inform.h.

int Inform::width  )  const [inline]
 

Definition at line 126 of file Inform.h.

Referenced by IpplTimings::print().


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:42:00 2006 for IPPL by  doxygen 1.4.6