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

IOPtrList< T > Class Template Reference

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

#include <OpenFOAM/IOPtrList.H>


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

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

Constructor & Destructor Documentation

IOPtrList ( const IOobject &   io,
const INew &   inewt  
)
IOPtrList ( const IOobject &   io,
const label   s  
)

Construct from IOobject with given size.

Definition at line 66 of file IOPtrList.C.

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

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

Definition at line 123 of file IOPtrList.C.


Member Function Documentation

TypeName ( "PtrList"    )

Runtime type information.

bool writeData ( Ostream &    ) const [virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Reimplemented in TimeActivatedExplicitSourceList< Type >.

Definition at line 130 of file IOPtrList.C.

References IOobject::good().

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

Definition at line 139 of file IOPtrList.C.

References PtrList< T >::operator=().

Referenced by IOPtrList< T >::IOPtrList().


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