Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
graph::writer Class Referenceabstract
Inheritance diagram for graph::writer:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("writer")
 
 declareRunTimeSelectionTable (autoPtr, writer, word,(),())
 
 writer ()
 
virtual ~writer ()=default
 
virtual const wordext () const =0
 
virtual void write (const graph &, Ostream &) const =0
 

Static Public Member Functions

static autoPtr< writerNew (const word &writeFormat)
 

Protected Member Functions

void writeXY (const scalarField &x, const scalarField &y, Ostream &) const
 

Detailed Description

Definition at line 186 of file graph.H.

Constructor & Destructor Documentation

◆ writer()

writer ( )
inline

Definition at line 226 of file graph.H.

◆ ~writer()

virtual ~writer ( )
virtualdefault

Member Function Documentation

◆ writeXY()

void writeXY ( const scalarField x,
const scalarField y,
Ostream os 
) const
protected

Definition at line 232 of file graph.C.

References Foam::endl(), forAll, os(), Foam::setw(), token::SPACE, x, and y.

Referenced by gnuplotGraph::write(), and xmgrGraph::write().

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

◆ TypeName()

TypeName ( "writer"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
writer  ,
word  ,
()  ,
()   
)

◆ New()

Foam::autoPtr< Foam::graph::writer > New ( const word writeFormat)
static

Definition at line 204 of file graph.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and FatalErrorInLookup.

Here is the call graph for this function:

◆ ext()

virtual const word& ext ( ) const
pure virtual

Implemented in xmgrGraph, gnuplotGraph, jplotGraph, and rawGraph.

◆ write()

virtual void write ( const graph ,
Ostream  
) const
pure virtual

Implemented in xmgrGraph, gnuplotGraph, jplotGraph, and rawGraph.


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