|
|
|
IOstream Class ReferenceAn IOstream is an abstract base class for all input/output systems; be they streams, files, token lists etc. More...
Inheritance diagram for IOstream:
![]()
Collaboration diagram for IOstream:
![]()
Detailed DescriptionAn IOstream is an abstract base class for all input/output systems; be they streams, files, token lists etc.The basic operations are construct, close, read token, read primitive and read binary block. In addition version control and line number counting is incorporated. Usually one would use the read primitive member functions, but if one were reading a stream on unknown data sequence one can read token by token, and then analyse.
Definition at line 71 of file IOstream.H. Member Enumeration Documentation
Constructor & Destructor Documentation
Definition at line 288 of file IOstream.H.
Member Function Documentation
Set stream opened.
Definition at line 239 of file IOstream.H. Referenced by ISstream::ISstream(), and OSstream::OSstream().
Here is the caller graph for this function:
![]()
Set stream state.
Definition at line 251 of file IOstream.H. References IOstream::CLOSED. Referenced by ISstream::get(), OSstream::OSstream(), ISstream::putback(), ISstream::read(), and OSstream::write().
Here is the caller graph for this function:
![]()
Set stream to be good.
Definition at line 257 of file IOstream.H. Referenced by ISstream::ISstream(), and OSstream::OSstream().
Here is the caller graph for this function:
![]()
Return the name of the stream. Useful for Fstream to return the filename Reimplemented in primitiveEntry, IFstream, OFstream, ISstream, OSstream, and ITstream. Definition at line 300 of file IOstream.H. Referenced by IOobject::readHeader().
Here is the caller graph for this function:
![]()
Return non-const access to the name of the stream. Useful to alter the stream name Reimplemented in primitiveEntry, IFstream, OFstream, ISstream, OSstream, and ITstream. Definition at line 309 of file IOstream.H.
Check IOstream status for given operation. print IOstream state if error has occured Definition at line 79 of file IOstream.C. Referenced by DsmcParcel< ParcelType >::DsmcParcel(), fieldAverageItem::fieldAverageItem(), ignitionSite::ignitionSite(), wordRe::info(), KinematicParcel< ParcelType >::KinematicParcel(), Foam::operator<<(), phaseProperties::phaseProperties(), pointSourceProperties::pointSourceProperties(), ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel(), ReactingParcel< ParcelType >::ReactingParcel(), and Foam::readChar().
Here is the caller graph for this function:
![]()
Check IOstream status for given operation. print IOstream state if error has occured and exit Definition at line 94 of file IOstream.C. Referenced by dictionaryEntry::dictionaryEntry(), and PtrList< T >::read().
Here is the caller graph for this function:
![]()
Return true if next operation might succeed.
Definition at line 342 of file IOstream.H. Referenced by edgeMesh::edgeMesh(), error::error(), polyTopoChanger::operator!=(), Foam::operator>>(), Foam::parseNASCoord(), dictionary::read(), STARCD::readBoundary(), AC3DsurfaceFormatCore::readCmd(), STARCDsurfaceFormatCore::readHeader(), IOobject::readHeader(), pairPotential::writeEnergyAndForceTables(), IOobject::writeHeader(), and regIOobject::writeObject().
Here is the caller graph for this function:
![]()
Return true if end of input seen.
Definition at line 348 of file IOstream.H. Referenced by Time::findTimes(), surfaceInterpolationScheme< Type >::New(), ddtScheme< Type >::New(), snGradScheme< Type >::New(), d2dt2Scheme< Type >::New(), limitedSurfaceInterpolationScheme< Type >::New(), gradScheme< Type >::New(), laplacianScheme< Type, GType >::New(), divScheme< Type >::New(), and dictionary::read().
Here is the caller graph for this function:
![]()
Return true if stream is corrupted.
Definition at line 360 of file IOstream.H. Referenced by Istream::getBack(), dictionary::read(), IOdictionary::writeData(), featureEdgeMesh::writeData(), and refinementHistory::writeData().
Here is the caller graph for this function:
![]()
Return stream format of given format name.
Definition at line 33 of file IOstream.C. Referenced by Time::readDict().
Here is the caller graph for this function:
![]()
Return current stream format.
Definition at line 386 of file IOstream.H. Referenced by DsmcParcel< ParcelType >::DsmcParcel(), KinematicParcel< ParcelType >::KinematicParcel(), molecule::molecule(), parcel::parcel(), Particle< ParticleType >::Particle(), ReactingParcel< ParcelType >::ReactingParcel(), IOobject::readHeader(), Foam::setversion(), solidParticle::solidParticle(), ThermoParcel< ParcelType >::ThermoParcel(), IOobject::writeHeader(), and ensightFile::writeUndef().
Here is the caller graph for this function:
![]()
Return the stream version.
Definition at line 408 of file IOstream.H. Referenced by IOobject::readHeader(), Foam::setcompression(), and IOobject::writeHeader().
Here is the caller graph for this function:
![]()
Return compression of given compression name.
Definition at line 55 of file IOstream.C. Referenced by Time::readDict().
Here is the caller graph for this function:
![]()
Return the stream compression.
Definition at line 425 of file IOstream.H. Referenced by Foam::setw().
Here is the caller graph for this function:
![]()
Return current stream line number.
Definition at line 447 of file IOstream.H. Referenced by Foam::parseNASCoord(), ITstream::print(), ITstream::read(), and IOobject::readHeader().
Here is the caller graph for this function:
![]()
Return the default precision.
Definition at line 470 of file IOstream.H. Referenced by Time::readDict().
Here is the caller graph for this function:
![]()
Set stream to be bad.
Definition at line 496 of file IOstream.H. Referenced by OPstream::write().
Here is the caller graph for this function:
![]()
Set flags of stream.
Set flags of stream.
Definition at line 505 of file IOstream.H. Referenced by ensightFile::ensightFile(), Foam::operator<<(), and Foam::setformat().
Here is the caller graph for this function:
![]()
Set flags of given field of stream.
Definition at line 512 of file IOstream.H. References IOstream::flags().
Here is the call graph for this function:
![]()
Print description of IOstream to Ostream.
Reimplemented in IFstream, OFstream, IPstream, OPstream, ISstream, OSstream, prefixOSstream, IStringStream, OStringStream, and ITstream. Definition at line 117 of file IOstream.C.
Return info proxy. Used to print IOstream information to a stream Reimplemented in primitiveEntry. Definition at line 542 of file IOstream.H. Referenced by IOobject::writeHeader().
Here is the caller graph for this function:
![]()
Friends And Related Function Documentation
Ostream operator.
Member Data Documentation
Definition at line 231 of file IOstream.H. Referenced by ISstream::getLine(), ISstream::putback(), and OSstream::write().
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||