gnuplotGraph Class Reference

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

Inheritance diagram for gnuplotGraph:
Collaboration diagram for gnuplotGraph:

Public Member Functions

 TypeName ("gnuplot")
 Runtime type information. More...
 
 gnuplotGraph ()
 Construct null. More...
 
 ~gnuplotGraph ()
 Destructor. More...
 
const wordext () const
 Return the appropriate fileName extension. More...
 
void write (const graph &, Ostream &os) const
 Write graph in appropriate format. 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 ()
 Construct null. More...
 
virtual ~writer ()
 Destructor. More...
 

Static Public Attributes

static const word ext_
 FileName extension for this graph 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 48 of file gnuplotGraph.H.

Constructor & Destructor Documentation

◆ gnuplotGraph()

gnuplotGraph ( )
inline

Construct null.

Definition at line 65 of file gnuplotGraph.H.

◆ ~gnuplotGraph()

~gnuplotGraph ( )
inline

Destructor.

Definition at line 70 of file gnuplotGraph.H.

References gnuplotGraph::ext(), gnuplotGraph::ext_, and gnuplotGraph::write().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "gnuplot"  )

Runtime type information.

◆ ext()

const word& ext ( ) const
inlinevirtual

Return the appropriate fileName extension.

for this graph format

Implements graph::writer.

Definition at line 80 of file gnuplotGraph.H.

Referenced by gnuplotGraph::~gnuplotGraph().

Here is the caller graph for this function:

◆ write()

void write ( const graph ,
Ostream  
) const
virtual

Write graph in appropriate format.

Implements graph::writer.

Definition at line 43 of file gnuplotGraph.C.

References forAllConstIter(), IOstream::name(), Foam::nl, graph::title(), graph::x(), graph::xName(), and graph::yName().

Referenced by gnuplotGraph::~gnuplotGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ext_

const word ext_
static

FileName extension for this graph format.

Definition at line 59 of file gnuplotGraph.H.

Referenced by gnuplotGraph::~gnuplotGraph().


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