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

IOList< T > Class Template Reference

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

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

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 46 of file IOList.H.


Constructor & Destructor Documentation

IOList ( const IOobject io  )  [inline]

Construct from IOobject.

Definition at line 23 of file IOList.C.

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

Here is the call graph for this function:

IOList ( const IOobject io,
const label  size 
) [inline]

Construct from IOobject and size of IOList.

Definition at line 40 of file IOList.C.

References regIOobject::close(), regIOobject::readStream(), and IOList< T >::typeName().

Here is the call graph for this function:

IOList ( const IOobject io,
const List< T > &  list 
) [inline]

Construct from IOobject and a List.

Definition at line 61 of file IOList.C.

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

Construct by transferring the List contents.

Definition at line 82 of file IOList.C.

~IOList (  )  [inline, virtual]

Definition at line 103 of file IOList.C.

References regIOobject::readStream().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "List"   ) 

Runtime type information.

bool writeData ( Ostream  )  const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 111 of file IOList.C.

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

Definition at line 120 of file IOList.C.

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

Here is the caller graph for this function:

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

Assignment operator. Takes linear time.

Reimplemented from List< T >.

Definition at line 127 of file IOList.C.

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

Here is the call graph for this function:

const word typeName ( "scalarVectorTable"   )  [inline]

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

Here is the caller graph for this function:


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
Copyright © 2000-2009 OpenCFD Ltd