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

IOList< T > Class Template Reference

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

#include <OpenFOAM/IOList.H>


Detailed Description

template<class T>
class Foam::IOList< T >

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

Source files

Definition at line 51 of file IOList.H.

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

List of all members.

Public Member Functions

 TypeName ("List")
 Runtime type information.
 IOList (const IOobject &)
 Construct from IOobject.
 IOList (const IOobject &, const label)
 Construct from IOobject and size of IOList.
 IOList (const IOobject &, const List< T > &)
 Construct from IOobject and a List.
 IOList (const IOobject &, const Xfer< List< T > > &)
 Construct by transferring the List contents.
virtual  ~IOList ()
bool  writeData (Ostream &) const
 Pure virtual writaData function.
void  operator= (const IOList< T > &)
void  operator= (const List< T > &)
 Assignment operator. Takes linear time.
template<>
const word  typeName ("scalarVectorTable")

Constructor & Destructor Documentation

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

Definition at line 111 of file IOList.C.


Member Function Documentation

TypeName ( "List"    )

Runtime type information.

bool writeData ( Ostream &    ) const [virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 119 of file IOList.C.

References IOobject::good().

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

Definition at line 128 of file IOList.C.

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

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

void operator= ( const List< T > &   a  )

Assignment operator. Takes linear time.

Reimplemented from List< T >.

Definition at line 135 of file IOList.C.

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

const word typeName ( "scalarVectorTable"    )

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


The documentation for this class was generated from the following files:
  • src/OpenFOAM/db/IOobjects/IOList/IOList.H
  • src/OpenFOAM/db/IOobjects/IOList/IOList.C