Added forward declaration of friend functions

This commit is contained in:
Henry Weller
2016-05-30 13:21:29 +01:00
parent fef82f935c
commit 1be96a546c
47 changed files with 395 additions and 32 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,6 +40,17 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class phasePairKey;
bool operator==(const phasePairKey&, const phasePairKey&);
bool operator!=(const phasePairKey&, const phasePairKey&);
Istream& operator>>(Istream&, phasePairKey&);
Ostream& operator<<(Ostream&, const phasePairKey&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class phasePairKey Declaration Class phasePairKey Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,6 +40,17 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class phasePairKey;
bool operator==(const phasePairKey&, const phasePairKey&);
bool operator!=(const phasePairKey&, const phasePairKey&);
Istream& operator>>(Istream&, phasePairKey&);
Ostream& operator<<(Ostream&, const phasePairKey&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class phasePairKey Declaration Class phasePairKey Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -41,14 +41,6 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class indexedVertexEnum;
Istream& operator>>(Istream&, indexedVertexEnum&);
Ostream& operator<<(Ostream&, const indexedVertexEnum&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
class indexedVertexEnum class indexedVertexEnum
@ -90,6 +82,9 @@ public:
}; };
Istream& operator>>(Istream&, indexedVertexEnum::vertexType&);
Ostream& operator<<(Ostream&, const indexedVertexEnum::vertexType&);
template<> template<>
inline bool contiguous<indexedVertexEnum>() inline bool contiguous<indexedVertexEnum>()
{ {

View File

@ -133,7 +133,8 @@ inline bool isType(const Type& t)
template<class TestType, class Type> template<class TestType, class Type>
inline bool isA(const Type& t) inline bool isA(const Type& t)
{ {
return dynamic_cast<const TestType*>(&t); const Type* tPtr = &t;
return dynamic_cast<const TestType*>(tPtr);
} }

View File

@ -145,6 +145,15 @@ namespace Foam
class globalIndexAndTransform; class globalIndexAndTransform;
// Forward declaration of friend functions and operators
class mapDistribute;
Istream& operator>>(Istream&, mapDistribute&);
Ostream& operator<<(Ostream&, const mapDistribute&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class mapDistribute Declaration Class mapDistribute Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -85,6 +85,15 @@ class mapPolyMesh;
class globalIndex; class globalIndex;
class PstreamBuffers; class PstreamBuffers;
// Forward declaration of friend functions and operators
class mapDistributeBase;
Istream& operator>>(Istream&, mapDistributeBase&);
Ostream& operator<<(Ostream&, const mapDistributeBase&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class mapDistributeBase Declaration Class mapDistributeBase Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -51,6 +51,15 @@ namespace Foam
class mapPolyMesh; class mapPolyMesh;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class mapDistributePolyMesh;
Istream& operator>>(Istream&, mapDistributePolyMesh&);
Ostream& operator<<(Ostream&, const mapDistributePolyMesh&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class mapDistributePolyMesh Declaration Class mapDistributePolyMesh Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -67,6 +67,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class tetIndices;
Istream& operator>>(Istream&, tetIndices&);
Ostream& operator<<(Ostream&, const tetIndices&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class tetIndices Declaration Class tetIndices Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -69,6 +69,18 @@ namespace Foam
class Random; class Random;
// Forward declaration of friend functions and operators
class treeBoundBox;
bool operator==(const treeBoundBox&, const treeBoundBox&);
bool operator!=(const treeBoundBox&, const treeBoundBox&);
Istream& operator>>(Istream& is, treeBoundBox&);
Ostream& operator<<(Ostream& os, const treeBoundBox&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class treeBoundBox Declaration Class treeBoundBox Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -346,7 +358,6 @@ public:
friend Istream& operator>>(Istream& is, treeBoundBox&); friend Istream& operator>>(Istream& is, treeBoundBox&);
friend Ostream& operator<<(Ostream& os, const treeBoundBox&); friend Ostream& operator<<(Ostream& os, const treeBoundBox&);
}; };

View File

@ -51,6 +51,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class ensightPart;
Ostream& operator<<(Ostream&, const ensightPart&);
ensightGeoFile& operator<<(ensightGeoFile&, const ensightPart&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class ensightPart Declaration Class ensightPart Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -46,6 +46,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class ensightParts;
ensightGeoFile& operator<<(ensightGeoFile&, const ensightParts&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class ensightParts Declaration Class ensightParts Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -69,6 +69,15 @@ class edge;
class face; class face;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class directionInfo;
Istream& operator>>(Istream&, directionInfo&);
Ostream& operator<<(Ostream&, const directionInfo&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class directionInfo Declaration Class directionInfo Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,8 +43,12 @@ SourceFiles
namespace Foam namespace Foam
{ {
class Istream; // Forward declaration of friend functions and operators
class Ostream;
class refineCell;
Ostream& operator<<(Ostream&, const refineCell&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class refineCell Declaration Class refineCell Declaration
@ -123,4 +127,3 @@ public:
#endif #endif
// ************************************************************************* // // ************************************************************************* //

View File

@ -51,6 +51,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class wallNormalInfo;
Istream& operator>>(Istream&, wallNormalInfo&);
Ostream& operator<<(Ostream&, const wallNormalInfo&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class wallNormalInfo Declaration Class wallNormalInfo Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -49,6 +49,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class externalPointEdgePoint;
Istream& operator>>(Istream&, externalPointEdgePoint&);
Ostream& operator<<(Ostream&, const externalPointEdgePoint&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class externalPointEdgePoint Declaration Class externalPointEdgePoint Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -55,6 +55,14 @@ class polyTopoChanger;
class polyTopoChange; class polyTopoChange;
class mapPolyMesh; class mapPolyMesh;
// Forward declaration of friend functions and operators
class polyMeshModifier;
Ostream& operator<<(Ostream&, const polyMeshModifier&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class polyMeshModifier Declaration Class polyMeshModifier Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -88,6 +88,15 @@ namespace Foam
class mapPolyMesh; class mapPolyMesh;
class mapDistributePolyMesh; class mapDistributePolyMesh;
// Forward declaration of friend functions and operators
class refinementHistory;
Istream& operator>>(Istream&, refinementHistory&);
Ostream& operator<<(Ostream&, const refinementHistory&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class refinementHistory Declaration Class refinementHistory Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -402,6 +411,10 @@ public:
}; };
Istream& operator>>(Istream&, refinementHistory::splitCell8&);
Ostream& operator<<(Ostream&, const refinementHistory::splitCell8&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam } // End namespace Foam

View File

@ -48,6 +48,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class pointEdgeCollapse;
Istream& operator>>(Istream&, pointEdgeCollapse&);
Ostream& operator<<(Ostream&, const pointEdgeCollapse&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class pointEdgeCollapse Declaration Class pointEdgeCollapse Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -48,6 +48,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class refinementData;
Istream& operator>>(Istream&, refinementData&);
Ostream& operator<<(Ostream&, const refinementData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class refinementData Declaration Class refinementData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -48,6 +48,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class refinementDistanceData;
Istream& operator>>(Istream&, refinementDistanceData&);
Ostream& operator<<(Ostream&, const refinementDistanceData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class refinementDistanceData Declaration Class refinementDistanceData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -71,10 +71,13 @@ class surfaceFeatures;
class objectRegistry; class objectRegistry;
// Forward declaration of friend functions and operators // Forward declaration of friend functions and operators
class extendedEdgeMesh; class extendedEdgeMesh;
Istream& operator>>(Istream&, extendedEdgeMesh&); Istream& operator>>(Istream&, extendedEdgeMesh&);
Ostream& operator<<(Ostream&, const extendedEdgeMesh&); Ostream& operator<<(Ostream&, const extendedEdgeMesh&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class extendedEdgeMesh Declaration Class extendedEdgeMesh Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -540,6 +543,10 @@ public:
}; };
Istream& operator>>(Istream& is, extendedEdgeMesh::sideVolumeType& vt);
Ostream& operator<<(Ostream& os, const extendedEdgeMesh::sideVolumeType& vt);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam } // End namespace Foam

View File

@ -45,6 +45,14 @@ namespace Foam
class findCellParticleCloud; class findCellParticleCloud;
// Forward declaration of friend functions and operators
class findCellParticle;
Ostream& operator<<(Ostream&, const findCellParticle&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class findCellParticle Declaration Class findCellParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -48,6 +48,14 @@ namespace Foam
class streamLineParticleCloud; class streamLineParticleCloud;
// Forward declaration of friend functions and operators
class streamLineParticle;
Ostream& operator<<(Ostream&, const streamLineParticle&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class streamLineParticle Declaration Class streamLineParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -46,6 +46,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class wallBoundedParticle;
Ostream& operator<<(Ostream&, const wallBoundedParticle&);
Ostream& operator<<(Ostream&, const InfoProxy<wallBoundedParticle>&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class wallBoundedParticle Declaration Class wallBoundedParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -49,6 +49,14 @@ namespace Foam
class wallBoundedStreamLineParticleCloud; class wallBoundedStreamLineParticleCloud;
// Forward declaration of friend functions and operators
class wallBoundedStreamLineParticle;
Ostream& operator<<(Ostream&, const wallBoundedStreamLineParticle&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class wallBoundedStreamLineParticle Declaration Class wallBoundedStreamLineParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -48,6 +48,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class pointEdgeStructuredWalk;
Istream& operator>>(Istream&, pointEdgeStructuredWalk&);
Ostream& operator<<(Ostream&, const pointEdgeStructuredWalk&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class pointEdgeStructuredWalk Declaration Class pointEdgeStructuredWalk Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -46,6 +46,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class phaseProperties;
Istream& operator>>(Istream&, phaseProperties&);
Ostream& operator<<(Ostream&, const phaseProperties&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class phaseProperties Declaration Class phaseProperties Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -48,9 +48,12 @@ namespace Foam
{ {
// Forward declaration of friend functions // Forward declaration of friend functions
class forceSuSp; class forceSuSp;
inline forceSuSp operator+(const forceSuSp& susp1, const forceSuSp& susp2); inline forceSuSp operator+(const forceSuSp& susp1, const forceSuSp& susp2);
inline forceSuSp operator*(const forceSuSp& susp, const scalar s); inline forceSuSp operator*(const scalar s, const forceSuSp& susp);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class forceSuSp Declaration Class forceSuSp Declaration

View File

@ -45,6 +45,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class distribution;
Ostream& operator<<(Ostream&, const distribution&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class distribution Declaration Class distribution Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -50,6 +50,14 @@ namespace Foam
// Class forward declarations // Class forward declarations
class moleculeCloud; class moleculeCloud;
// Forward declaration of friend functions and operators
class molecule;
Ostream& operator<<(Ostream&, const molecule&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class molecule Declaration Class molecule Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -44,6 +44,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class reducedUnits;
Ostream& operator<<(Ostream&, const reducedUnits&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class reducedUnits Declaration Class reducedUnits Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -51,6 +51,14 @@ namespace Foam
class solidParticleCloud; class solidParticleCloud;
// Forward declaration of friend functions and operators
class solidParticle;
Ostream& operator<<(Ostream&, const solidParticle&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class solidParticle Declaration Class solidParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -47,6 +47,15 @@ namespace Foam
// Forward declaration of classes // Forward declaration of classes
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class patchFaceOrientation;
Istream& operator>>(Istream&, patchFaceOrientation&);
Ostream& operator<<(Ostream&, const patchFaceOrientation&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class patchFaceOrientation Declaration Class patchFaceOrientation Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -47,6 +47,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class pointData;
Istream& operator>>(Istream&, pointData&);
Ostream& operator<<(Ostream&, const pointData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class pointData Declaration Class pointData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -46,6 +46,14 @@ namespace Foam
class trackedParticleCloud; class trackedParticleCloud;
// Forward declaration of friend functions and operators
class trackedParticle;
Ostream& operator<<(Ostream&, const trackedParticle&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class trackedParticle Declaration Class trackedParticle Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -48,6 +48,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class pointTopoDistanceData;
Istream& operator>>(Istream&, pointTopoDistanceData&);
Ostream& operator<<(Ostream&, const pointTopoDistanceData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class pointTopoDistanceData Declaration Class pointTopoDistanceData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -47,6 +47,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class topoDistanceData;
Istream& operator>>(Istream&, topoDistanceData&);
Ostream& operator<<(Ostream&, const topoDistanceData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class topoDistanceData Declaration Class topoDistanceData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -46,6 +46,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class minData;
Istream& operator>>(Istream&, minData&);
Ostream& operator<<(Ostream&, const minData&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class minData Declaration Class minData Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,6 +43,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class solidArrheniusReactionRate;
Ostream& operator<<(Ostream&, const solidArrheniusReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class solidArrheniusReactionRate Declaration Class solidArrheniusReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -45,6 +45,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class ArrheniusReactionRate;
Ostream& operator<<(Ostream&, const ArrheniusReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class ArrheniusReactionRate Declaration Class ArrheniusReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -44,6 +44,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class JanevReactionRate;
Ostream& operator<<(Ostream&, const JanevReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class JanevReactionRate Declaration Class JanevReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,6 +43,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class LandauTellerReactionRate;
Ostream& operator<<(Ostream&, const LandauTellerReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class LandauTellerReactionRate Declaration Class LandauTellerReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,6 +43,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class LangmuirHinshelwoodReactionRate;
Ostream& operator<<(Ostream&, const LangmuirHinshelwoodReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class LangmuirHinshelwoodReactionRate Declaration Class LangmuirHinshelwoodReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,6 +43,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class infiniteReactionRate;
Ostream& operator<<(Ostream&, const infiniteReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class infiniteReactionRate Declaration Class infiniteReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -44,6 +44,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class powerSeriesReactionRate;
Ostream& operator<<(Ostream&, const powerSeriesReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class powerSeriesReactionRate Declaration Class powerSeriesReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,6 +43,13 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class thirdBodyArrheniusReactionRate;
Ostream& operator<<(Ostream&, const thirdBodyArrheniusReactionRate&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class thirdBodyArrheniusReactionRate Declaration Class thirdBodyArrheniusReactionRate Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -48,8 +48,17 @@ using namespace Foam::constant::thermodynamic;
namespace Foam namespace Foam
{ {
class Istream; // Forward declaration of friend functions and operators
class Ostream;
class specie;
inline specie operator+(const specie&, const specie&);
inline specie operator-(const specie&, const specie&);
inline specie operator*(const scalar, const specie&);
inline specie operator==(const specie&, const specie&);
Ostream& operator<<(Ostream&, const specie&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class specie Declaration Class specie Declaration