LogStream.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class LogStream

This class provides functionality similar to standard C++ streams (std::cout, std::endl) for output but working through the DOLFIN log system.

enum class Type

Stream types

LogStream(Type type)

Create log stream of given type

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)

Output for mesh entity (not subclass of Variable for efficiency)

LogStream &operator<<(const Point &point)

Output for point (not subclass of Variable for efficiency)