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

IOPtrList< T > Class Template Reference

A PtrList of objects of type <T> with automated input and output. More...

Inheritance diagram for IOPtrList< T >:
Collaboration diagram for IOPtrList< T >:

List of all members.


Public Member Functions

 TypeName ("PtrList")
 Runtime type information.
template<class INew >
 IOPtrList (const IOobject &, const INew &)
 Construct from IOobject using given Istream constructor class.
 IOPtrList (const IOobject &)
 Construct from IOobject.
 IOPtrList (const IOobject &, const label)
 Construct from IOobject with given size.
 IOPtrList (const IOobject &, const PtrList< T > &)
 Construct from IOobject and a PtrList.
 IOPtrList (const IOobject &, const Xfer< PtrList< T > > &)
 Construct by transferring the PtrList contents.
virtual ~IOPtrList ()
bool writeData (Ostream &) const
 Pure virtual writaData function.
void operator= (const IOPtrList< T > &)

Detailed Description

template<class T>
class Foam::IOPtrList< T >

A PtrList of objects of type <T> with automated input and output.

Source files

Definition at line 46 of file IOPtrList.H.


Constructor & Destructor Documentation

IOPtrList ( const IOobject io,
const INew inewt 
) [inline]

Construct from IOobject using given Istream constructor class.

Definition at line 24 of file IOPtrList.C.

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

Here is the call graph for this function:

IOPtrList ( const IOobject io  )  [inline]

Construct from IOobject.

Definition at line 41 of file IOPtrList.C.

References regIOobject::close(), regIOobject::read(), and regIOobject::readStream().

Here is the call graph for this function:

IOPtrList ( const IOobject io,
const label  s 
) [inline]

Construct from IOobject with given size.

Definition at line 58 of file IOPtrList.C.

References regIOobject::close(), regIOobject::read(), and regIOobject::readStream().

Here is the call graph for this function:

IOPtrList ( const IOobject io,
const PtrList< T > &  list 
) [inline]

Construct from IOobject and a PtrList.

Definition at line 73 of file IOPtrList.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::nl.

Here is the call graph for this function:

IOPtrList ( const IOobject io,
const Xfer< PtrList< T > > &  list 
) [inline]

Construct by transferring the PtrList contents.

Definition at line 94 of file IOPtrList.C.

~IOPtrList (  )  [inline, virtual]

Definition at line 115 of file IOPtrList.C.

References regIOobject::readStream().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "PtrList"   ) 

Runtime type information.

bool writeData ( Ostream  )  const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 122 of file IOPtrList.C.

void operator= ( const IOPtrList< T > &  rhs  )  [inline]

Definition at line 131 of file IOPtrList.C.


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