Added forward declaration of friend functions

This commit is contained in:
Henry Weller
2016-05-30 08:28:35 +01:00
parent 35dba48db1
commit 3f608e95e6
12 changed files with 97 additions and 0 deletions

View File

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

View File

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

View File

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

View File

@ -41,6 +41,14 @@ 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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -53,6 +53,15 @@ namespace Foam
class polyPatch; class polyPatch;
class polyMesh; class polyMesh;
// Forward declaration of friend functions and operators
class pointEdgePoint;
Istream& operator>>(Istream&, pointEdgePoint&);
Ostream& operator<<(Ostream&, const pointEdgePoint&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class pointEdgePoint Declaration Class pointEdgePoint 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 cellInfo;
Istream& operator>>(Istream&, cellInfo&);
Ostream& operator<<(Ostream&, const cellInfo&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class cellInfo Declaration Class cellInfo Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -78,6 +78,14 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators
class coordinateSystem;
bool operator!=(const coordinateSystem&, const coordinateSystem&);
Ostream& operator<<(Ostream&, const coordinateSystem&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class coordinateSystem Declaration Class coordinateSystem Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/