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

IOdictionary Class Reference

IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionality via the objectRegistry. To facilitate IO, IOdictioanry is provided with a constructor from IOobject and writeData and write functions. More...

Inheritance diagram for IOdictionary:
Collaboration diagram for IOdictionary:

List of all members.


Public Member Functions

 TypeName ("dictionary")
 IOdictionary (const IOobject &)
 Construct given an IOobject.
 IOdictionary (const IOobject &, const dictionary &)
 Construct given an IOobject and dictionary.
virtual ~IOdictionary ()
const word & name () const
 Name function is needed to disambiguate those inherited.
bool readData (Istream &)
 ReadData function required for regIOobject read operation.
bool writeData (Ostream &) const
 WriteData function required for regIOobject write operation.
void operator= (const IOdictionary &)
 Assignment of other IOdictionary's entries to this IOdictionary.

Detailed Description

IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionality via the objectRegistry. To facilitate IO, IOdictioanry is provided with a constructor from IOobject and writeData and write functions.

Source files

Definition at line 49 of file IOdictionary.H.


Constructor & Destructor Documentation

IOdictionary ( const IOobject &  io  ) 

Construct given an IOobject.

Definition at line 35 of file IOdictionary.C.

IOdictionary ( const IOobject &  io,
const dictionary &  dict 
)

Construct given an IOobject and dictionary.

Definition at line 53 of file IOdictionary.C.

References regIOobject::readStream().

Here is the call graph for this function:

~IOdictionary (  )  [virtual]

Definition at line 77 of file IOdictionary.C.


Member Function Documentation

TypeName ( "dictionary"   ) 

const Foam::word & name (  )  const

Name function is needed to disambiguate those inherited.

from regIOobject and dictionary

Reimplemented from dictionary.

Reimplemented in timeActivatedExplicitSource, fvMesh, and IOOutputFilter< OutputFilter >.

Definition at line 83 of file IOdictionary.C.

Referenced by timeActivatedExplicitMulticomponentPointSource::carrierFieldId(), and IOdictionary::operator=().

Here is the caller graph for this function:

bool readData ( Istream &  is  )  [virtual]

ReadData function required for regIOobject read operation.

Reimplemented from regIOobject.

Definition at line 29 of file IOdictionaryIO.C.

bool writeData ( Ostream &  os  )  const [virtual]

WriteData function required for regIOobject write operation.

Implements regIOobject.

Definition at line 36 of file IOdictionaryIO.C.

References IOstream::bad().

Here is the call graph for this function:

void operator= ( const IOdictionary &  rhs  ) 

Assignment of other IOdictionary's entries to this IOdictionary.

Definition at line 91 of file IOdictionary.C.

References IOdictionary::name().

Here is the call graph for this function:


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