OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

IOField< Type > Class Template Reference

A primitive field of type <T> with automated input and output. More...

Inheritance diagram for IOField< Type >:
Collaboration diagram for IOField< Type >:

List of all members.


Public Member Functions

 TypeName ("Field")
 IOField (const IOobject &)
 Construct from IOobject.
 IOField (const IOobject &, const label size)
 Construct from IOobject and size (does not set values).
 IOField (const IOobject &, const Field< Type > &)
 Construct from components.
 IOField (const IOobject &, const Xfer< Field< Type > > &)
 Construct by transferring the Field contents.
virtual ~IOField ()
bool writeData (Ostream &) const
 Pure virtual writaData function.
void operator= (const IOField< Type > &)
void operator= (const Field< Type > &)

Detailed Description

template<class Type>
class Foam::IOField< Type >

A primitive field of type <T> with automated input and output.

Source files

Definition at line 46 of file IOField.H.


Constructor & Destructor Documentation

IOField ( const IOobject io  )  [inline]

Construct from IOobject.

Definition at line 23 of file IOField.C.

References IOobject::headerOk(), IOobject::MUST_READ, IOobject::READ_IF_PRESENT, and IOobject::readOpt().

Here is the call graph for this function:

IOField ( const IOobject io,
const label  size 
) [inline]

Construct from IOobject and size (does not set values).

Definition at line 40 of file IOField.C.

References regIOobject::close(), regIOobject::readStream(), and Field< Type >::typeName.

Here is the call graph for this function:

IOField ( const IOobject io,
const Field< Type > &  f 
) [inline]

Construct from components.

Definition at line 61 of file IOField.C.

IOField ( const IOobject io,
const Xfer< Field< Type > > &  f 
) [inline]

Construct by transferring the Field contents.

Definition at line 82 of file IOField.C.

~IOField (  )  [inline, virtual]

Definition at line 103 of file IOField.C.

References regIOobject::readStream().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "Field"   ) 

bool writeData ( Ostream  )  const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 109 of file IOField.C.

void operator= ( const IOField< Type > &  rhs  )  [inline]

Definition at line 118 of file IOField.C.

Referenced by IOField< Type >::operator=().

Here is the caller graph for this function:

void operator= ( const Field< Type > &  rhs  )  [inline]

Reimplemented from Field< Type >.

Definition at line 125 of file IOField.C.

References IOField< Type >::operator=().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd