OpenFOAM logo
Open Source CFD Toolkit

graph::writer Class Reference

Inheritance diagram for graph::writer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TypeName ("writer")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, writer, word,(),())
 Declare run-time constructor selection table.
 writer ()
 Construct null.
virtual ~writer ()
virtual const word & ext () const =0
 Return the appropriate fileName extension.
virtual void write (const graph &, Ostream &) const =0
 Write graph in appropriate format.

Static Public Member Functions

autoPtr< writer > New (const word &writeFormat)
 Return a reference to the selected writer.

Protected Member Functions

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

Constructor & Destructor Documentation

writer (   )  [inline]
 

Construct null.

Definition at line 225 of file graph.H.

virtual ~writer (   )  [inline, virtual]
 

Definition at line 231 of file graph.H.


Member Function Documentation

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

Declare run-time constructor selection table.

virtual const word& ext (   )  const [pure virtual]
 

Return the appropriate fileName extension.

for this graph format

Implemented in gnuplotGraph, jplotGraph, rawGraph, and xmgrGraph.

autoPtr<writer> New (  const word &  writeFormat  )  [static]
 

Return a reference to the selected writer.

TypeName (  "writer"   ) 
 

Runtime type information.

virtual void write (  const graph &  ,
Ostream & 
)  const [pure virtual]
 

Write graph in appropriate format.

Implemented in gnuplotGraph, jplotGraph, rawGraph, and xmgrGraph.

void writeXY (  const scalarField &  x,
const scalarField &  y,
Ostream & 
)  const [protected]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org