FreePOOMA  2.4.1
Classes | Namespaces | Functions
Inform.h File Reference

A general utility class which looks very much like an ostream, which will format output to include an optional prefix string, and will print out results to multiple other ostreams. More...

#include "Pooma/Configuration.h"
#include "Utilities/PAssert.h"
#include "Threads/PoomaMutex.h"
#include <iostream>
#include <string>
#include <map>
#include <sstream>
#include <iterator>
Include dependency graph for Inform.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Inform
 A message is sent to an Inform object by treating it as an ostream, then ending the message by sending the 'inform' manipulator. More...
class  InformIterator< T >

Namespaces

namespace  std

Functions

Informstd::endl (Inform &)
Informstd::flush (Inform &)
Informstd::lock (Inform &)
Informstd::unlock (Inform &)
Informoperator<< (Inform &o, Inform &(*d)(Inform &))
Informoperator<< (Inform &o, std::ios_base &(*d)(std::ios_base &))
template<class T >
Informoperator<< (Inform &o, const T &val)
Informoperator<< (Inform &o, const void *val)
Informoperator<< (Inform &o, const char *s)
Informoperator<< (Inform &o, const std::string &s)

Detailed Description

A general utility class which looks very much like an ostream, which will format output to include an optional prefix string, and will print out results to multiple other ostreams.

When used in a parallel environment, Inform will also print out the context number as part of the prefix.


Function Documentation

Inform& operator<< ( Inform o,
Inform &(*)(Inform &)  d 
) [inline]
Inform& operator<< ( Inform o,
std::ios_base &(*)(std::ios_base &)  d 
) [inline]

References Inform::stream().

template<class T >
Inform& operator<< ( Inform o,
const T &  val 
) [inline]

References Inform::stream().

Inform& operator<< ( Inform o,
const void *  val 
) [inline]

References Inform::setf(), and Inform::stream().

Inform& operator<< ( Inform o,
const char *  s 
) [inline]

References Inform::stream().

Inform& operator<< ( Inform o,
const std::string &  s 
) [inline]

References Inform::stream().