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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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