Public Member Functions | Private Member Functions | Private Attributes
ensightAsciiStream Class Reference
Inheritance diagram for ensightAsciiStream:
Inheritance graph
[legend]
Collaboration diagram for ensightAsciiStream:
Collaboration graph
[legend]

Public Member Functions

 ensightAsciiStream (const fileName &f, const Time &runTime)
 Construct from components. More...
 
virtual ~ensightAsciiStream ()
 Destructor. More...
 
virtual bool ascii () const
 
virtual void write (const char *c)
 
virtual void write (const int v)
 
virtual void write (const scalarField &sf)
 
virtual void write (const List< int > &sf)
 
virtual void writePartHeader (const label partI)
 
- Public Member Functions inherited from ensightStream
 ensightStream (const fileName &f)
 Construct from components. More...
 
virtual ~ensightStream ()
 Destructor. More...
 
const fileNamename () const
 

Private Member Functions

 ensightAsciiStream (const ensightAsciiStream &)
 Disallow default bitwise copy construct. More...
 
void operator= (const ensightAsciiStream &)
 Disallow default bitwise assignment. More...
 

Private Attributes

OFstream str_
 Description of data_. More...
 

Detailed Description

Source files

Definition at line 48 of file ensightAsciiStream.H.

Constructor & Destructor Documentation

◆ ensightAsciiStream() [1/2]

ensightAsciiStream ( const ensightAsciiStream )
private

Disallow default bitwise copy construct.

◆ ensightAsciiStream() [2/2]

ensightAsciiStream ( const fileName f,
const Time runTime 
)
inline

Construct from components.

Definition at line 72 of file ensightAsciiStream.H.

References OSstream::precision(), Foam::scientific(), IOstream::setf(), and ensightAsciiStream::str_.

Here is the call graph for this function:

◆ ~ensightAsciiStream()

virtual ~ensightAsciiStream ( )
inlinevirtual

Destructor.

Definition at line 90 of file ensightAsciiStream.H.

Member Function Documentation

◆ operator=()

void operator= ( const ensightAsciiStream )
private

Disallow default bitwise assignment.

◆ ascii()

virtual bool ascii ( ) const
inlinevirtual

Implements ensightStream.

Definition at line 96 of file ensightAsciiStream.H.

◆ write() [1/4]

virtual void write ( const char *  c)
inlinevirtual

Implements ensightStream.

Definition at line 101 of file ensightAsciiStream.H.

References Foam::constant::universal::c, Foam::nl, and ensightAsciiStream::str_.

◆ write() [2/4]

virtual void write ( const int  v)
inlinevirtual

Implements ensightStream.

Definition at line 106 of file ensightAsciiStream.H.

References Foam::nl, Foam::setw(), and ensightAsciiStream::str_.

Here is the call graph for this function:

◆ write() [3/4]

virtual void write ( const scalarField sf)
inlinevirtual

Implements ensightStream.

Definition at line 111 of file ensightAsciiStream.H.

References Foam::floatScalarVSMALL, forAll, Foam::mag(), Foam::nl, Foam::setw(), sf(), and ensightAsciiStream::str_.

Here is the call graph for this function:

◆ write() [4/4]

virtual void write ( const List< int > &  sf)
inlinevirtual

Implements ensightStream.

Definition at line 126 of file ensightAsciiStream.H.

References forAll, Foam::nl, Foam::setw(), sf(), and ensightAsciiStream::str_.

Here is the call graph for this function:

◆ writePartHeader()

virtual void writePartHeader ( const label  partI)
inlinevirtual

Implements ensightStream.

Definition at line 135 of file ensightAsciiStream.H.

References Foam::nl, Foam::setw(), and ensightAsciiStream::str_.

Here is the call graph for this function:

Field Documentation

◆ str_

OFstream str_
private

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