IOOutputFilter.C
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "IOOutputFilter.H"
00028 #include "Time.H"
00029
00030
00031
00032 template<class OutputFilter>
00033 Foam::IOOutputFilter<OutputFilter>::IOOutputFilter
00034 (
00035 const word& outputFilterName,
00036 const objectRegistry& obr,
00037 const fileName& dictName,
00038 const IOobject::readOption rOpt,
00039 const bool readFromFiles
00040 )
00041 :
00042 IOdictionary
00043 (
00044 IOobject
00045 (
00046 dictName,
00047 obr.time().system(),
00048 obr,
00049 rOpt,
00050 IOobject::NO_WRITE
00051 )
00052 ),
00053 OutputFilter(outputFilterName, obr, *this, readFromFiles)
00054 {}
00055
00056
00057
00058
00059 template<class OutputFilter>
00060 Foam::IOOutputFilter<OutputFilter>::~IOOutputFilter()
00061 {}
00062
00063
00064
00065
00066 template<class OutputFilter>
00067 bool Foam::IOOutputFilter<OutputFilter>::read()
00068 {
00069 if (regIOobject::read())
00070 {
00071 OutputFilter::read(*this);
00072 return true;
00073 }
00074 else
00075 {
00076 return false;
00077 }
00078 }
00079
00080
00081 template<class OutputFilter>
00082 void Foam::IOOutputFilter<OutputFilter>::write()
00083 {
00084 OutputFilter::write();
00085 }
00086
00087
00088
Copyright © 2000-2009 OpenCFD Ltd