Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
706ec804
Commit
706ec804
authored
May 30, 2016
by
Henry Weller
Browse files
Added forward declaration of friend functions
parent
b426585d
Changes
47
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phasePair/phasePairKey/phasePairKey.H
View file @
706ec804
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-201
5
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -40,6 +40,17 @@ SourceFiles
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
\*---------------------------------------------------------------------------*/
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/phasePair/phasePairKey/phasePairKey.H
View file @
706ec804
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014
-2016
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -40,6 +40,17 @@ SourceFiles
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
\*---------------------------------------------------------------------------*/
...
...
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertexEnum.H
View file @
706ec804
...
...
@@ -41,14 +41,6 @@ SourceFiles
namespace
Foam
{
// Forward declaration of friend functions and operators
class
indexedVertexEnum
;
Istream
&
operator
>>
(
Istream
&
,
indexedVertexEnum
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
indexedVertexEnum
&
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
class
indexedVertexEnum
...
...
@@ -90,6 +82,9 @@ public:
};
Istream
&
operator
>>
(
Istream
&
,
indexedVertexEnum
::
vertexType
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
indexedVertexEnum
::
vertexType
&
);
template
<
>
inline
bool
contiguous
<
indexedVertexEnum
>
()
{
...
...
src/OpenFOAM/db/typeInfo/typeInfo.H
View file @
706ec804
...
...
@@ -133,7 +133,8 @@ inline bool isType(const Type& t)
template
<
class
TestType
,
class
Type
>
inline
bool
isA
(
const
Type
&
t
)
{
return
dynamic_cast
<
const
TestType
*>
(
&
t
);
const
Type
*
tPtr
=
&
t
;
return
dynamic_cast
<
const
TestType
*>
(
tPtr
);
}
...
...
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
View file @
706ec804
...
...
@@ -145,6 +145,15 @@ namespace Foam
class
globalIndexAndTransform
;
// Forward declaration of friend functions and operators
class
mapDistribute
;
Istream
&
operator
>>
(
Istream
&
,
mapDistribute
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
mapDistribute
&
);
/*---------------------------------------------------------------------------*\
Class mapDistribute Declaration
\*---------------------------------------------------------------------------*/
...
...
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeBase.H
View file @
706ec804
...
...
@@ -85,6 +85,15 @@ class mapPolyMesh;
class
globalIndex
;
class
PstreamBuffers
;
// Forward declaration of friend functions and operators
class
mapDistributeBase
;
Istream
&
operator
>>
(
Istream
&
,
mapDistributeBase
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
mapDistributeBase
&
);
/*---------------------------------------------------------------------------*\
Class mapDistributeBase Declaration
\*---------------------------------------------------------------------------*/
...
...
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H
View file @
706ec804
...
...
@@ -51,6 +51,15 @@ namespace Foam
class
mapPolyMesh
;
class
polyMesh
;
// Forward declaration of friend functions and operators
class
mapDistributePolyMesh
;
Istream
&
operator
>>
(
Istream
&
,
mapDistributePolyMesh
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
mapDistributePolyMesh
&
);
/*---------------------------------------------------------------------------*\
Class mapDistributePolyMesh Declaration
\*---------------------------------------------------------------------------*/
...
...
src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/tetIndices.H
View file @
706ec804
...
...
@@ -67,6 +67,14 @@ SourceFiles
namespace
Foam
{
// Forward declaration of friend functions and operators
class
tetIndices
;
Istream
&
operator
>>
(
Istream
&
,
tetIndices
&
);
Ostream
&
operator
<<
(
Ostream
&
,
const
tetIndices
&
);
/*---------------------------------------------------------------------------*\
Class tetIndices Declaration
\*---------------------------------------------------------------------------*/
...
...
src/OpenFOAM/meshes/treeBoundBox/treeBoundBox.H
View file @
706ec804
...
...
@@ -69,6 +69,18 @@ namespace Foam
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
\*---------------------------------------------------------------------------*/
...
...
@@ -346,7 +358,6 @@ public:
friend
Istream
&
operator
>>
(
Istream
&
is
,
treeBoundBox
&
);
friend
Ostream
&
operator
<<
(
Ostream
&
os
,
const
treeBoundBox
&
);
};
...
...
src/conversion/ensight/part/ensightPart.H
View file @
706ec804
...
...
@@ -51,6 +51,14 @@ SourceFiles
namespace
Foam
{
// Forward declaration of friend functions and operators
class
ensightPart
;
Ostream
&
operator
<<
(
Ostream
&
,
const
ensightPart
&
);
ensightGeoFile
&
operator
<<
(
ensightGeoFile
&
,
const
ensightPart
&
);
/*---------------------------------------------------------------------------*\
Class ensightPart Declaration
\*---------------------------------------------------------------------------*/
...
...
src/conversion/ensight/part/ensightParts.H
View file @
706ec804
...
...
@@ -46,6 +46,13 @@ SourceFiles
namespace
Foam
{
// Forward declaration of friend functions and operators
class
ensightParts
;
ensightGeoFile
&
operator
<<
(
ensightGeoFile
&
,
const
ensightParts
&
);
/*---------------------------------------------------------------------------*\
Class ensightParts Declaration
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/meshCut/directions/directionInfo/directionInfo.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/meshCut/refineCell/refineCell.H
View file @
706ec804
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
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
// ************************************************************************* //
src/dynamicMesh/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/pointPatchDist/externalPointEdgePoint.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifier.H
View file @
706ec804
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
5
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.H
View file @
706ec804
...
...
@@ -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
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/pointEdgeCollapse/pointEdgeCollapse.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/refinementData.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
src/dynamicMesh/polyTopoChange/polyTopoChange/refinementDistanceData.H
View file @
706ec804
...
...
@@ -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
\*---------------------------------------------------------------------------*/
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment