FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

IOField< Type > Class Template Reference

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

#include <OpenFOAM/IOField.H>


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 51 of file IOField.H.

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 > &)

Constructor & Destructor Documentation

IOField ( const IOobject &   io,
const label   size  
)
IOField ( const IOobject &   io,
const Xfer< Field< Type > > &   f  
)
~IOField (  ) [virtual]

Definition at line 111 of file IOField.C.


Member Function Documentation

TypeName ( "Field"    )
bool writeData ( Ostream &    ) const [virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 117 of file IOField.C.

References IOobject::good().

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

Definition at line 126 of file IOField.C.

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

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

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

Reimplemented from Field< Type >.

Definition at line 133 of file IOField.C.

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


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