Classes | Namespaces | Macros | Variables
messageStream.H File Reference
Include dependency graph for messageStream.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  messageStream
 Class to handle messaging in a simple, consistent stream-based manner. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define FUNCTION_NAME   __func__
 
#define SeriousErrorIn(functionName)   ::Foam::SeriousError((functionName), __FILE__, __LINE__)
 Report an error message using Foam::SeriousError. More...
 
#define SeriousErrorInFunction   SeriousErrorIn(FUNCTION_NAME)
 Report an error message using Foam::SeriousError. More...
 
#define SeriousIOErrorIn(functionName, ios)   ::Foam::SeriousError((functionName), __FILE__, __LINE__, ios)
 Report an IO error message using Foam::SeriousError. More...
 
#define SeriousIOErrorInFunction(ios)   SeriousIOErrorIn(FUNCTION_NAME, ios)
 Report an IO error message using Foam::SeriousError. More...
 
#define WarningIn(functionName)   ::Foam::Warning((functionName), __FILE__, __LINE__)
 Report a warning using Foam::Warning. More...
 
#define WarningInFunction   WarningIn(FUNCTION_NAME)
 Report a warning using Foam::Warning. More...
 
#define IOWarningIn(functionName, ios)   ::Foam::Warning((functionName), __FILE__, __LINE__, (ios))
 Report an IO warning using Foam::Warning. More...
 
#define IOWarningInFunction(ios)   IOWarningIn(FUNCTION_NAME, ios)
 Report an IO warning using Foam::Warning. More...
 
#define InfoIn(functionName)   ::Foam::Info((functionName), __FILE__, __LINE__)
 Report an information message using Foam::Info. More...
 
#define InfoInFunction   InfoIn(FUNCTION_NAME)
 Report an information message using Foam::Info. More...
 
#define InfoHeader   if (::Foam::writeInfoHeader) Info
 Report write to Foam::Info if the local log switch is true. More...
 
#define Log   if (log) Info
 Report write to Foam::Info if the local log switch is true. More...
 
#define IOInfoIn(functionName, ios)   ::Foam::Info((functionName), __FILE__, __LINE__, (ios))
 Report an IO information message using Foam::Info. More...
 
#define IOInfoInFunction(ios)   IOInfoIn(FUNCTION_NAME, ios)
 Report an IO information message using Foam::Info. More...
 
#define DebugInfo   if (debug) Info
 Report an information message using Foam::Info. More...
 
#define DebugInFunction   if (debug) InfoInFunction
 Report an information message using Foam::Info. More...
 
#define DebugVar(var)
 Report a variable name and value. More...
 

Variables

messageStream SeriousError
 
messageStream Warning
 
messageStream Info
 
bool writeInfoHeader = true
 

Detailed Description

Original source file messageStream.H

Definition in file messageStream.H.

Macro Definition Documentation

◆ FUNCTION_NAME

#define FUNCTION_NAME   __func__

◆ SeriousErrorIn

#define SeriousErrorIn (   functionName)    ::Foam::SeriousError((functionName), __FILE__, __LINE__)

Report an error message using Foam::SeriousError.

for functionName in file __FILE__ at line __LINE__

Definition at line 233 of file messageStream.H.

◆ SeriousErrorInFunction

#define SeriousErrorInFunction   SeriousErrorIn(FUNCTION_NAME)

◆ SeriousIOErrorIn

#define SeriousIOErrorIn (   functionName,
  ios 
)    ::Foam::SeriousError((functionName), __FILE__, __LINE__, ios)

Report an IO error message using Foam::SeriousError.

for functionName in file __FILE__ at line __LINE__ for a particular IOstream

Definition at line 244 of file messageStream.H.

◆ SeriousIOErrorInFunction

#define SeriousIOErrorInFunction (   ios)    SeriousIOErrorIn(FUNCTION_NAME, ios)

Report an IO error message using Foam::SeriousError.

for FUNCTION_NAME in file __FILE__ at line __LINE__ for a particular IOstream

Definition at line 250 of file messageStream.H.

Referenced by IOobject::readHeader().

◆ WarningIn

#define WarningIn (   functionName)    ::Foam::Warning((functionName), __FILE__, __LINE__)

Report a warning using Foam::Warning.

for functionName in file __FILE__ at line __LINE__

Definition at line 255 of file messageStream.H.

Referenced by fvMeshAdder::MapDimFields(), and refinementHistory::refinementHistory().

◆ WarningInFunction

#define WarningInFunction   WarningIn(FUNCTION_NAME)

Report a warning using Foam::Warning.

for FUNCTION_NAME in file __FILE__ at line __LINE__

Definition at line 260 of file messageStream.H.

Referenced by polyTopoChange::addMesh(), faceZoneSet::addSet(), fileMonitor::addWatch(), polyMeshGeometry::affectedCells(), manualGAMGProcAgglomeration::agglomerate(), searchableSurfaceToFaceZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), setAndNormalToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), fieldToCell::applyToSet(), ash::ash(), Foam::average(), bufferedAccumulator< scalar >::averaged(), booleanSurface::booleanSurface(), C::C(), CaCO3::CaCO3(), Foam::meshTools::calcBoxPointNormals(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), forces::calcForcesMoment(), wedgePolyPatch::calcGeometry(), mappedPatchBase::calcMapping(), snappySnapDriver::calcNearestSurface(), addPatchCellLayer::calcSidePatch(), ThermoParcel< ParcelType >::calcSurfaceValues(), cyclicPolyPatch::calcTransforms(), LiquidEvaporation< CloudType >::calculate(), LiquidEvaporationBoil< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), ReactingParcel< ParcelType >::cellValueSourceCorrection(), ThermoParcel< ParcelType >::cellValueSourceCorrection(), cellModel::centre(), faceZone::checkAddressing(), option::checkApplied(), primitiveMeshGeometry::checkCellDeterminant(), polyMeshGeometry::checkCellDeterminant(), meshRefinement::checkData(), zone::checkDefinition(), triSurface::checkEdges(), primitiveMeshGeometry::checkFaceAngles(), polyMeshGeometry::checkFaceAngles(), primitiveMeshGeometry::checkFaceArea(), polyMeshGeometry::checkFaceArea(), primitiveMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceFlatness(), MeshedSurface< Foam::face >::checkFaces(), primitiveMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceSkewness(), primitiveMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceTwist(), primitiveMeshGeometry::checkFaceWeights(), polyMeshGeometry::checkFaceWeights(), regIOobject::checkIn(), TableBase< Type >::checkMaxBounds(), edgeCollapser::checkMeshQuality(), TableBase< Type >::checkMinBounds(), objectRegistry::checkOut(), AMIMethod< SourcePatch, TargetPatch >::checkPatches(), enrichedPatch::checkSupport(), triSurface::checkTriangles(), polyMeshGeometry::checkTriangleTwist(), polyMeshGeometry::checkVolRatio(), MeshedSurface< Foam::face >::checkZones(), surfMesh::checkZones(), dlLibraryTable::close(), collatedFileOperation::collatedFileOperation(), IOstream::compressionEnum(), ConstantRateDevolatilisation< CloudType >::ConstantRateDevolatilisation(), waxSolventEvaporation::correctModel(), hexCellLooper::cut(), structuredDecomp::decompose(), decomposedBlockData::decomposedBlockData(), Cloud< streamLineParticle >::deleteLostParticles(), faceZoneSet::deleteSet(), directionMixedFvPatchField< Type >::directionMixedFvPatchField(), directions::directions(), Foam::dlOpen(), Foam::dlSym(), snappyLayerDriver::doLayers(), snappySnapDriver::doSnap(), greyMeanAbsorptionEmission::ECont(), wideBandAbsorptionEmission::ECont(), Foam::eigenValues(), SpalartAllmaras< BasicTurbulenceModel >::epsilon(), hexRef8::faceLevel(), tetIndices::faceTriIs(), extendedEdgeMesh::featurePointNormals(), logFiles::file(), fileMonitorWatcher::fileMonitorWatcher(), IOobject::fileNameComponents(), fileOperation::filePath(), probes::findElements(), patchProbes::findElements(), indexedOctree< Foam::treeDataFace >::findLine(), polyTopoChanger::findModifierID(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findNearest(), fixedGradientFvPatchField< Type >::fixedGradientFvPatchField(), fixedValueFvPatchField< scalar >::fixedValueFvPatchField(), IOstream::formatEnum(), Foam::gAverage(), objectRegistry::getEvent(), DelaunayMesh< CellSizeDelaunay >::getNewCellIndex(), particle< Type >::getNewParticleID(), DelaunayMesh< CellSizeDelaunay >::getNewVertexIndex(), coupledPolyPatch::getRotation(), greyMeanSolidAbsorptionEmission::greyMeanSolidAbsorptionEmission(), polyBoundaryMesh::groupPatchIDs(), particle< Type >::hitCyclicAMIPatch(), if(), AMIMethod< SourcePatch, TargetPatch >::initialise(), faceAreaWeightAMI< SourcePatch, TargetPatch >::interArea(), interpolation2DTable< scalar >::interpolation2DTable(), IOmapDistribute::IOmapDistribute(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::L(), lduPrimitiveMesh::lduPrimitiveMesh(), janafThermo< EquationOfState >::limit(), LiquidEvaporation< CloudType >::LiquidEvaporation(), LiquidEvaporationBoil< CloudType >::LiquidEvaporationBoil(), Foam::ln(), cellModel::mag(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), masterUncollatedFileOperation::masterUncollatedFileOperation(), meshRefinement::mergeBaffles(), meshToMesh0::meshToMesh0(), meshTriangulation::meshTriangulation(), mixedFvPatchField< scalar >::mixedFvPatchField(), motionSmootherAlgo::modifyMotionPoints(), wallDist::n(), NamedEnum< directionType, 3 >::names(), polyBoundaryMesh::neighbourEdges(), regionCoupledBase::neighbPatchID(), cyclicAMIPolyPatch::neighbPatchID(), cyclicPolyPatch::neighbPatchID(), combustionModel::New(), cellCuts::nonAnchorPoints(), fileOperation::nProcs(), writeObjectsBase::objectNames(), polyMesh::oldPoints(), dlLibraryTable::open(), listPlusEqOp< T >::operator()(), interpolation2DTable< scalar >::operator()(), interpolationTable< scalar >::operator()(), Time::operator++(), lduMatrix::operator+=(), lduMatrix::operator-=(), Foam::operator<<(), interpolationTable< scalar >::operator[](), InflationInjection< CloudType >::parcelsToInject(), ParticleErosion< CloudType >::ParticleErosion(), patchInteractionDataList::patchInteractionDataList(), PatchPostProcessing< CloudType >::PatchPostProcessing(), polyBoundaryMesh::patchSet(), polyBoundaryMesh::polyBoundaryMesh(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), Polynomial< Type >::Polynomial(), turbulenceFields::processField(), processorCyclicFvPatchField< Type >::processorCyclicFvPatchField(), fileOperation::processorsPath(), liquidMixtureProperties::pvInvert(), liquidProperties::pvInvert(), interpolationTable< scalar >::rateOfChange(), AC3DsurfaceFormat< Face >::read(), wallHeatFlux::read(), systemCall::read(), wallShearStress::read(), verticalDamping::read(), wallHeatTransferCoeff::read(), probes::read(), functionObjectList::read(), pressure::read(), Time::readDict(), functionObjectList::readFunctionObject(), surfMesh::readUpdate(), polyMesh::readUpdate(), Foam::readUpto(), dynamicRefineFvMesh::refine(), refinementHistory::refinementHistory(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), Foam::reusable(), thermalBaffleFvPatchScalarField::rmap(), Foam::rmDir(), timeSelector::select0(), InteractionLists< typename CloudType::parcelType >::sendReferredData(), cellSetOption::setCellSet(), cellSizeFunction::setCellSize(), ReactingParcel< ParcelType >::setCellValues(), ThermoParcel< ParcelType >::setCellValues(), KinematicParcel< ParcelType >::setCellValues(), Time::setControls(), removeCells::setRefinement(), refinementIterator::setRefinement(), perfectInterface::setRefinement(), meshCutter::setRefinement(), functionObjectList::setTimeStep(), sigmaRadial::sigmaRadial(), SingleKineticRateDevolatilisation< CloudType >::SingleKineticRateDevolatilisation(), seulex::solve(), PatchTools::sortedPointEdges(), splineInterpolationWeights::splineInterpolationWeights(), meshRefinement::splitMesh(), meshRefinement::splitMeshRegions(), regionFunctionObject::store(), faceZoneSet::subset(), hexRef8::subset(), surfaceIntersection::surfaceIntersection(), surfacePatchIOList::surfacePatchIOList(), faceZoneSet::sync(), TAB< CloudType >::TAB(), polyMesh::tetBasePtIs(), thresholdCellFaces::thresholdCellFaces(), distribution::totalEntries(), triSurfaceSearch::tree(), treeBoundBox::treeBoundBox(), IOobject::typeHeaderOk(), dynamicRefineFvMesh::unrefine(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), edgeVertex::updateLabels(), CellZoneInjection< CloudType >::updateMesh(), fileMonitor::updateStates(), IOobject::warnNoRereading(), TableBase< Type >::wordToBoundsHandling(), interpolation2DTable< scalar >::wordToBoundsHandling(), interpolationTable< scalar >::wordToBoundsHandling(), graph::write(), oldCyclicPolyPatch::write(), volFieldValue::write(), dictionary::write(), surfaceFieldValue::write(), CompactIOList< face, label >::writeObject(), interpolation2DTable< scalar >::Xi(), absorptionCoeffs::~absorptionCoeffs(), dlLibraryTable::~dlLibraryTable(), and fileMonitorWatcher::~fileMonitorWatcher().

◆ IOWarningIn

#define IOWarningIn (   functionName,
  ios 
)    ::Foam::Warning((functionName), __FILE__, __LINE__, (ios))

Report an IO warning using Foam::Warning.

for functionName in file __FILE__ at line __LINE__ for a particular IOstream

Definition at line 266 of file messageStream.H.

◆ IOWarningInFunction

#define IOWarningInFunction (   ios)    IOWarningIn(FUNCTION_NAME, ios)

◆ InfoIn

#define InfoIn (   functionName)    ::Foam::Info((functionName), __FILE__, __LINE__)

Report an information message using Foam::Info.

for functionName in file __FILE__ at line __LINE__

Definition at line 277 of file messageStream.H.

◆ InfoInFunction

#define InfoInFunction   InfoIn(FUNCTION_NAME)

Report an information message using Foam::Info.

for FUNCTION_NAME in file __FILE__ at line __LINE__

Definition at line 282 of file messageStream.H.

Referenced by tabulated6DoFAcceleration::acceleration(), kinematicSingleLayer::addSources(), GeometricField< Type, PatchField, GeoMesh >::Boundary::Boundary(), nearWallFields::calcAddressing(), faceZone::calcCellLayers(), faceZone::calcFaceZonePatch(), zone::calcLookupMap(), viewFactor::calculate(), MeshedSurfaceProxy< Face >::canWriteType(), CentredFitData< Polynomial >::CentredFitData(), CentredFitSnGradData< Polynomial >::CentredFitSnGradData(), primitiveMesh::checkCellsZipUp(), primitiveMesh::checkCellVolumes(), primitiveMesh::checkClosedBoundary(), primitiveMesh::checkClosedCells(), primitiveMesh::checkConcaveCells(), primitiveMesh::checkFaceAngles(), primitiveMesh::checkFaceAreas(), primitiveMesh::checkFaceFaces(), primitiveMesh::checkFaceFlatness(), primitiveMesh::checkFaceOrthogonality(), primitiveMesh::checkFacePyramids(), primitiveMesh::checkFaceSkewness(), primitiveMesh::checkFaceVertices(), primitiveMesh::checkMesh(), primitiveMesh::checkPoints(), PrimitivePatch< Face, ::Foam::List, pointField, point >::checkTopology(), primitiveMesh::checkUpperTriangular(), surfMesh::clearAddressing(), polyMesh::clearAddressing(), polyMesh::clearCellTree(), PrimitivePatch< Face, ::Foam::List, pointField, point >::clearGeom(), surfMesh::clearGeom(), polyMesh::clearGeom(), PrimitivePatch< Face, ::Foam::List, pointField, point >::clearPatchMeshAddr(), polyMesh::clearTetBasePtIs(), PrimitivePatch< Face, ::Foam::List, pointField, point >::clearTopology(), dlLibraryTable::close(), kinematicSingleLayer::continuityCheck(), coordinateSystem::coordinateSystem(), hePsiThermo< BasicPsiThermo, MixtureType >::correct(), heRhoThermo< BasicPsiThermo, MixtureType >::correct(), heheuPsiThermo< BasicPsiThermo, MixtureType >::correct(), heSolidThermo< BasicSolidThermo, MixtureType >::correct(), limitedSnGrad< Type >::correction(), Foam::cp(), fvMesh::delta(), distributedTriSurfaceMesh::distribute(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), StaticHashTable< T, Key, Hash >::erase(), GeometricField< Type, PatchField, GeoMesh >::Boundary::evaluate(), thermoSingleLayer::evolveRegion(), kinematicSingleLayer::evolveRegion(), StaticHashTable< T, Key, Hash >::find(), HashTable< Foam::phase *>::find(), patchProbes::findElements(), fileOperation::findInstance(), mappedPatchBase::findSamples(), ZoneMesh< cellZone, polyMesh >::findZoneID(), StaticHashTable< T, Key, Hash >::found(), HashTable< Foam::phase *>::found(), ddtScheme< Type >::fvcDdtPhiCoeff(), fvMatrix< Type >::fvMatrix(), fvMesh::fvMesh(), GeometricField< vector, pointPatchField, pointMesh >::GeometricField(), IFstream::IFstream(), interpolationCellPointFace< Type >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), IOobject::IOobject(), IOobjectList::lookup(), IOobjectList::lookupClass(), fvMesh::mapFields(), polyMesh::movePoints(), fileOperationInitialise::New(), thermophysicalFunction::New(), options::New(), blockVertex::New(), thermophysicalProperties::New(), interpolationWeights::New(), blockFace::New(), gradScheme< Type >::New(), snGradScheme< Type >::New(), surfaceInterpolationScheme< GType >::New(), ddtScheme< Type >::New(), d2dt2Scheme< Type >::New(), solidProperties::New(), divScheme< Type >::New(), blockEdge::New(), fvPatch::New(), convectionScheme< scalar >::New(), GAMGProcAgglomeration::New(), polyMeshModifier::New(), facePointPatch::New(), multivariateSurfaceInterpolationScheme< scalar >::New(), liquidProperties::New(), block::New(), limitedSurfaceInterpolationScheme< Type >::New(), laplacianScheme< Type, GType >::New(), pointZone::New(), cellZone::New(), pointPatchField< vector >::New(), UnsortedMeshedSurface< Face >::New(), fvsPatchField< Type >::New(), faceZone::New(), MeshedSurface< Foam::face >::New(), fvPatchField< Type >::New(), polyPatch::New(), OFstream::OFstream(), dlLibraryTable::open(), thermoSingleLayer::preEvolveRegion(), kinematicSingleLayer::preEvolveRegion(), dictionary::read(), Foam::readDir(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), uncollatedFileOperation::readHeader(), IOobject::readHeader(), regIOobject::readHeaderOk(), fvMesh::readUpdate(), surfMesh::readUpdate(), polyMesh::readUpdate(), fvMatrix< Type >::relax(), GeometricField< vector, pointPatchField, pointMesh >::relax(), polyMesh::removeBoundary(), fvMesh::removeFvBoundary(), surfMesh::removeZones(), thermoSingleLayer::resetPrimaryRegionSourceTerms(), kinematicSingleLayer::resetPrimaryRegionSourceTerms(), StaticHashTable< T, Key, Hash >::resize(), HashTable< Foam::phase *>::resize(), searchablePlate::searchablePlate(), IOobject::setBad(), surfMesh::setInstance(), polyMesh::setInstance(), reactingOneDim::solveContinuity(), kinematicSingleLayer::solveContinuity(), thermalBaffle::solveEnergy(), reactingOneDim::solveEnergy(), thermoSingleLayer::solveEnergy(), kinematicSingleLayer::solveMomentum(), reactingOneDim::solveSpeciesMass(), kinematicSingleLayer::solveThickness(), HashTable< Foam::phase *>::sortedToc(), MeshedSurface< Foam::face >::stitchFaces(), GeometricField< vector, pointPatchField, pointMesh >::storeOldTime(), GeometricField< vector, pointPatchField, pointMesh >::storePrevIter(), PrimitivePatch< Face, ::Foam::List, pointField, point >::surfaceType(), timer::timer(), StaticHashTable< T, Key, Hash >::toc(), thermoSingleLayer::transferPrimaryRegionSourceFields(), kinematicSingleLayer::transferPrimaryRegionSourceFields(), thermoSingleLayer::transferPrimaryRegionThermoFields(), kinematicSingleLayer::transferPrimaryRegionThermoFields(), mixerFvMesh::update(), GeometricField< Type, PatchField, GeoMesh >::Boundary::updateCoeffs(), polyMesh::updateMesh(), thermoSingleLayer::updateSubmodels(), kinematicSingleLayer::updateSubmodels(), UpwindFitData< Polynomial >::UpwindFitData(), fvMesh::V(), fvMesh::V00(), wallLayerCells::wallLayerCells(), ParticleTracks< CloudType >::write(), MeshedSurfaceProxy< Face >::write(), edgeMesh::write(), UnsortedMeshedSurface< Face >::write(), MeshedSurface< Foam::face >::write(), IOobject::writeHeader(), dlLibraryTable::~dlLibraryTable(), fvMatrix< Type >::~fvMatrix(), leastSquaresVectors::~leastSquaresVectors(), LeastSquaresVectors< Stencil >::~LeastSquaresVectors(), skewCorrectionVectors::~skewCorrectionVectors(), and timer::~timer().

◆ InfoHeader

#define InfoHeader   if (::Foam::writeInfoHeader) Info

Report write to Foam::Info if the local log switch is true.

Definition at line 285 of file messageStream.H.

Referenced by Time::readDict().

◆ Log

#define Log   if (log) Info

◆ IOInfoIn

#define IOInfoIn (   functionName,
  ios 
)    ::Foam::Info((functionName), __FILE__, __LINE__, (ios))

Report an IO information message using Foam::Info.

for functionName in file __FILE__ at line __LINE__ for a particular IOstream

Definition at line 296 of file messageStream.H.

◆ IOInfoInFunction

#define IOInfoInFunction (   ios)    IOInfoIn(FUNCTION_NAME, ios)

Report an IO information message using Foam::Info.

for FUNCTION_NAME in file __FILE__ at line __LINE__ for a particular IOstream

Definition at line 302 of file messageStream.H.

Referenced by dictionary::lookupOrAddDefault(), dictionary::lookupOrDefault(), and dictionary::readIfPresent().

◆ DebugInfo

#define DebugInfo   if (debug) Info

◆ DebugInFunction

#define DebugInFunction   if (debug) InfoInFunction

◆ DebugVar

#define DebugVar (   var)
Value:
{ \
::Foam::string oldPrefix(::Foam::Pout.prefix()); \
::Foam::Pout<< "["<< __FILE__ << ":" << __LINE__ << "] "; \
::Foam::Pout.prefix() = oldPrefix + #var " "; \
::Foam::Pout.prefix() = oldPrefix; \
}
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:256
const string & prefix() const
Return the prefix of the stream.
prefixOSstream Pout(cout, "Pout")
Definition: IOstreams.H:53
A class for handling character strings derived from std::string.
Definition: string.H:74

Report a variable name and value.

using Foam::Pout in file __FILE__ at line __LINE__

Definition at line 318 of file messageStream.H.