Base class for graphical output to a file. More...

#include <basis.hh>

Inheritance diagram for graphics::OutputBase:
concepts::OutputOperator graphics::MatlabGraphics graphics::TecplotGraphics graphics::VtkGraphics

Public Member Functions

 OutputBase (const std::string filename, const bool append=false)
 Constructor. More...
 
virtual ~OutputBase ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Protected Attributes

std::unique_ptr< std::ofstream > ofs_
 Stream for output file. More...
 

Detailed Description

Base class for graphical output to a file.

Author
Kersten Schmidt, 2005

Definition at line 74 of file basis.hh.

Constructor & Destructor Documentation

◆ OutputBase()

graphics::OutputBase::OutputBase ( const std::string  filename,
const bool  append = false 
)

Constructor.

◆ ~OutputBase()

virtual graphics::OutputBase::~OutputBase ( )
inlinevirtual

Definition at line 79 of file basis.hh.

Member Function Documentation

◆ info()

virtual std::ostream& graphics::OutputBase::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in graphics::TecplotGraphics, and graphics::MatlabGraphics.

Member Data Documentation

◆ ofs_

std::unique_ptr<std::ofstream> graphics::OutputBase::ofs_
protected

Stream for output file.

Definition at line 83 of file basis.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich