DOLFIN
DOLFIN C++ interface
|
#include <LogStream.h>
Public Types | |
enum | Type { COUT, ENDL } |
Stream types. | |
Public Member Functions | |
LogStream (Type type) | |
Create log stream of given type. | |
~LogStream () | |
Destructor. | |
LogStream & | operator<< (const LogStream &stream) |
Output for log stream. | |
LogStream & | operator<< (const std::string &s) |
Output for string. | |
LogStream & | operator<< (int a) |
Output for int. | |
LogStream & | operator<< (unsigned int a) |
Output for unsigned int. | |
LogStream & | operator<< (long int a) |
Output for long int. | |
LogStream & | operator<< (long unsigned int a) |
Output for long int. | |
LogStream & | operator<< (double a) |
Output for double. | |
LogStream & | operator<< (std::complex< double > z) |
Output for std::complex<double> | |
LogStream & | operator<< (const Variable &variable) |
Output for variable (calling str() method) | |
LogStream & | operator<< (const MeshEntity &entity) |
LogStream & | operator<< (const Point &point) |
Output for point (not subclass of Variable for efficiency) | |
void | setprecision (std::streamsize n) |
Set precision. | |
This class provides functionality similar to standard C++ streams (std::cout, std::endl) for output but working through the DOLFIN log system.
LogStream & LogStream::operator<< | ( | const MeshEntity & | entity | ) |
Output for mesh entity (not subclass of Variable for efficiency)