gnuplotWriter Class Reference

Output in gnuplot (http://www.gnuplot.info) format. More...

Inheritance diagram for gnuplotWriter:
[legend]
Collaboration diagram for gnuplotWriter:
[legend]

Public Member Functions

 TypeNameNoDebug ("gnuplot")
 Runtime type information. More...
 
 gnuplotWriter ()=default
 Default construct. More...
 
 ~gnuplotWriter ()=default
 Destructor. More...
 
word ext () const
 The fileName extension for this graph format. More...
 
void write (const graph &, Ostream &os) const
 Write. More...
 
- Public Member Functions inherited from graph::writer
 TypeName ("writer")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, writer, word,(),())
 Declare run-time constructor selection table. More...
 
 writer ()=default
 Default construct. More...
 
virtual ~writer ()=default
 Destructor. More...
 
virtual word ext () const =0
 The fileName extension for this graph format. More...
 
virtual void write (const graph &, Ostream &) const =0
 Write graph in appropriate format. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from graph::writer
static autoPtr< writerNew (const word &writeFormat)
 Return a reference to the selected writer. More...
 
- Protected Member Functions inherited from graph::writer
void writeXY (const scalarField &x, const scalarField &y, Ostream &) const
 

Detailed Description

Output in gnuplot (http://www.gnuplot.info) format.

Source files

Definition at line 53 of file gnuplotGraphWriter.H.

Constructor & Destructor Documentation

◆ gnuplotWriter()

gnuplotWriter ( )
default

Default construct.

◆ ~gnuplotWriter()

~gnuplotWriter ( )
default

Destructor.

Member Function Documentation

◆ TypeNameNoDebug()

TypeNameNoDebug ( "gnuplot"  )

Runtime type information.

◆ ext()

word ext ( ) const
inlinevirtual

The fileName extension for this graph format.

Implements graph::writer.

Definition at line 72 of file gnuplotGraphWriter.H.

◆ write()

void write ( const graph g,
Ostream os 
) const
virtual

Write.

Implements graph::writer.

Definition at line 48 of file gnuplotGraphWriter.C.

References forAllConstIters, g, OFstream::name(), Foam::nl, os(), and graph::writer::writeXY().

Here is the call graph for this function:

The documentation for this class was generated from the following files: