From be47d0ece1876d913271efe15fcf64f769d1b299 Mon Sep 17 00:00:00 2001 From: Danial Khazaei Date: Fri, 15 Feb 2019 23:12:44 +0330 Subject: [PATCH] [format]: make forward declaration style consistent. --- .../rotationalConstraint/rotationalConstraint.H | 1 - .../translationalConstraint/translationalConstraint.H | 1 - .../combinedRestraints/combinedRestraint/combinedRestraint.H | 1 - .../rotationalRestraint/rotationalRestraint.H | 1 - .../translationalRestraint/translationalRestraint.H | 1 - src/OSspecific/POSIX/memInfo/memInfo.H | 2 +- .../meshCut/directions/directionInfo/directionInfo.H | 1 - .../directTopoChange/meshCut/refineCell/refineCell.H | 1 - .../meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H | 1 - .../polyMeshModifiers/polyMeshModifier/polyMeshModifier.H | 1 - .../polyTopoChange/polyTopoChanger/polyTopoChanger.H | 1 - src/dynamicMesh/dynamicMesh/refinementData/refinementData.H | 1 - .../dynamicMesh/refinementData/refinementDistanceData.H | 1 - src/dynamicMesh/dynamicMesh/refinementData/refinementHistory.H | 1 - src/equationReader/equationReader/equationReader.H | 1 - src/finiteVolume/cfdTools/general/porousMedia/porousZone.H | 1 - src/foam/algorithms/octree/octree/octreeDataPoint.H | 1 - src/foam/algorithms/octree/octree/treeBoundBox.H | 1 - src/foam/algorithms/octree/octree/treeLeaf.H | 1 - src/foam/algorithms/octree/octree/treeNode.H | 1 - src/foam/containers/HashTables/HashTable/HashTable.H | 1 - .../containers/HashTables/StaticHashTable/StaticHashTable.H | 1 - src/foam/containers/Lists/FixedList/FixedList.H | 1 - src/foam/coordinateSystems/coordinateSystem.H | 1 - src/foam/db/IOobjects/CompactIOList/CompactIOList.H | 1 - src/foam/db/dictionary/dictionary.H | 1 - src/foam/db/dictionary/dictionaryEntry/dictionaryEntry.H | 1 + src/foam/dimensionedTypes/dimensionedType/dimensionedType.H | 1 - src/foam/fields/CoeffField/diagTensorCoeffField.H | 1 - src/foam/fields/CoeffField/scalarCoeffField.H | 1 - src/foam/fields/CoeffField/sphericalTensorCoeffField.H | 1 - src/foam/fields/CoeffField/symmTensor4thOrderCoeffField.H | 1 - src/foam/fields/CoeffField/symmTensorCoeffField.H | 1 - src/foam/fields/CoeffField/tensorCoeffField.H | 1 - src/foam/matrices/LUscalarMatrix/procLduInterface.H | 1 - src/foam/matrices/crMatrix/crAddressing.H | 1 + src/foam/matrices/crMatrix/crMatrix.H | 1 + src/foam/meshes/boundBox/boundBox.H | 1 - src/foam/meshes/meshShapes/face/face.H | 1 - src/foam/meshes/meshShapes/triFace/triFace.H | 1 - src/foam/meshes/patchIdentifier/patchIdentifier.H | 1 - src/foam/meshes/polyMesh/zones/faceZone/faceZone.H | 1 - src/foam/primitives/Lists/hashedWordList.H | 1 - src/foam/primitives/bools/Switch/Switch.H | 1 - src/foam/primitives/strings/keyType/keyType.H | 1 + src/foam/primitives/strings/wordRe/wordRe.H | 1 - src/lagrangian/dieselSpray/parcel/parcel.H | 1 - .../autoHexMesh/autoHexMeshDriver/pointData/pointData.H | 1 - src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H | 1 - src/mesh/blockMesh/block/block.H | 1 - src/meshTools/PointEdgeWave/pointEdgePoint.H | 1 - src/meshTools/cellClassification/cellInfo.H | 1 - src/meshTools/cellDist/wallPoint/wallPoint.H | 1 - src/surfMesh/surfZone/surfZoneIdentifier/surfZoneIdentifier.H | 1 - src/thermophysicalModels/specie/specie/specie.H | 1 - 55 files changed, 5 insertions(+), 51 deletions(-) diff --git a/src/ODE/sixDOF/sixDOFODE/constraints/rotationalConstraints/rotationalConstraint/rotationalConstraint.H b/src/ODE/sixDOF/sixDOFODE/constraints/rotationalConstraints/rotationalConstraint/rotationalConstraint.H index d1209f755..72081fbd4 100644 --- a/src/ODE/sixDOF/sixDOFODE/constraints/rotationalConstraints/rotationalConstraint/rotationalConstraint.H +++ b/src/ODE/sixDOF/sixDOFODE/constraints/rotationalConstraints/rotationalConstraint/rotationalConstraint.H @@ -76,7 +76,6 @@ namespace Foam class sixDOFODE; // Forward declaration of friend functions and operators - class rotationalConstraint; Ostream& operator<<(Ostream&, const rotationalConstraint&); diff --git a/src/ODE/sixDOF/sixDOFODE/constraints/translationalConstraints/translationalConstraint/translationalConstraint.H b/src/ODE/sixDOF/sixDOFODE/constraints/translationalConstraints/translationalConstraint/translationalConstraint.H index 7d857e70d..f72760082 100644 --- a/src/ODE/sixDOF/sixDOFODE/constraints/translationalConstraints/translationalConstraint/translationalConstraint.H +++ b/src/ODE/sixDOF/sixDOFODE/constraints/translationalConstraints/translationalConstraint/translationalConstraint.H @@ -76,7 +76,6 @@ namespace Foam class sixDOFODE; // Forward declaration of friend functions and operators - class translationalConstraint; Ostream& operator<<(Ostream&, const translationalConstraint&); diff --git a/src/ODE/sixDOF/sixDOFODE/restraints/combinedRestraints/combinedRestraint/combinedRestraint.H b/src/ODE/sixDOF/sixDOFODE/restraints/combinedRestraints/combinedRestraint/combinedRestraint.H index 43d057288..45fce5fd8 100644 --- a/src/ODE/sixDOF/sixDOFODE/restraints/combinedRestraints/combinedRestraint/combinedRestraint.H +++ b/src/ODE/sixDOF/sixDOFODE/restraints/combinedRestraints/combinedRestraint/combinedRestraint.H @@ -58,7 +58,6 @@ namespace Foam class sixDOFODE; // Forward declaration of friend functions and operators - class combinedRestraint; Ostream& operator<<(Ostream&, const combinedRestraint&); diff --git a/src/ODE/sixDOF/sixDOFODE/restraints/rotationalRestraints/rotationalRestraint/rotationalRestraint.H b/src/ODE/sixDOF/sixDOFODE/restraints/rotationalRestraints/rotationalRestraint/rotationalRestraint.H index 9f82ca9a6..0ab11cd15 100644 --- a/src/ODE/sixDOF/sixDOFODE/restraints/rotationalRestraints/rotationalRestraint/rotationalRestraint.H +++ b/src/ODE/sixDOF/sixDOFODE/restraints/rotationalRestraints/rotationalRestraint/rotationalRestraint.H @@ -58,7 +58,6 @@ namespace Foam class sixDOFODE; // Forward declaration of friend functions and operators - class rotationalRestraint; Ostream& operator<<(Ostream&, const rotationalRestraint&); diff --git a/src/ODE/sixDOF/sixDOFODE/restraints/translationalRestraints/translationalRestraint/translationalRestraint.H b/src/ODE/sixDOF/sixDOFODE/restraints/translationalRestraints/translationalRestraint/translationalRestraint.H index a0b0b8de6..32ae439b4 100644 --- a/src/ODE/sixDOF/sixDOFODE/restraints/translationalRestraints/translationalRestraint/translationalRestraint.H +++ b/src/ODE/sixDOF/sixDOFODE/restraints/translationalRestraints/translationalRestraint/translationalRestraint.H @@ -58,7 +58,6 @@ namespace Foam class sixDOFODE; // Forward declaration of friend functions and operators - class translationalRestraint; Ostream& operator<<(Ostream&, const translationalRestraint&); diff --git a/src/OSspecific/POSIX/memInfo/memInfo.H b/src/OSspecific/POSIX/memInfo/memInfo.H index 4ecdf9930..4f7344491 100644 --- a/src/OSspecific/POSIX/memInfo/memInfo.H +++ b/src/OSspecific/POSIX/memInfo/memInfo.H @@ -52,12 +52,12 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - class memInfo; Istream& operator>>(Istream&, memInfo&); Ostream& operator<<(Ostream&, const memInfo&); + /*---------------------------------------------------------------------------*\ Class memInfo Declaration \*---------------------------------------------------------------------------*/ diff --git a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/directions/directionInfo/directionInfo.H b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/directions/directionInfo/directionInfo.H index 300d7d72e..1dd0df734 100644 --- a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/directions/directionInfo/directionInfo.H +++ b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/directions/directionInfo/directionInfo.H @@ -72,7 +72,6 @@ class face; class polyMesh; // Forward declaration of friend functions and operators - class directionInfo; Ostream& operator<<(Ostream&, const directionInfo&); diff --git a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/refineCell/refineCell.H b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/refineCell/refineCell.H index 62e55bec7..efc2574ab 100644 --- a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/refineCell/refineCell.H +++ b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/refineCell/refineCell.H @@ -48,7 +48,6 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - class refineCell; Ostream& operator<<(Ostream&, const refineCell&); diff --git a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H index bb6b6b5fa..c55737a52 100644 --- a/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H +++ b/src/dynamicMesh/dynamicMesh/directTopoChange/meshCut/wallLayerCells/wallNormalInfo/wallNormalInfo.H @@ -52,7 +52,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class wallNormalInfo; Ostream& operator<<(Ostream&, const wallNormalInfo&); diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyMeshModifier/polyMeshModifier.H b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyMeshModifier/polyMeshModifier.H index b1aacf437..480f0dcad 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyMeshModifier/polyMeshModifier.H +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyMeshModifier/polyMeshModifier.H @@ -56,7 +56,6 @@ class polyTopoChange; class mapPolyMesh; // Forward declaration of friend functions and operators - class polyMeshModifier; Ostream& operator<<(Ostream&, const polyMeshModifier&); diff --git a/src/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H b/src/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H index f9aac08ed..ba55603bd 100644 --- a/src/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H +++ b/src/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H @@ -50,7 +50,6 @@ class mapPolyMesh; class polyBoundaryMesh; // Forward declaration of friend functions and operators - class polyTopoChanger; Ostream& operator<<(Ostream&, const polyTopoChanger&); diff --git a/src/dynamicMesh/dynamicMesh/refinementData/refinementData.H b/src/dynamicMesh/dynamicMesh/refinementData/refinementData.H index 3c3a5e196..ff34e916b 100644 --- a/src/dynamicMesh/dynamicMesh/refinementData/refinementData.H +++ b/src/dynamicMesh/dynamicMesh/refinementData/refinementData.H @@ -50,7 +50,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class refinementData; Ostream& operator<<(Ostream&, const refinementData&); diff --git a/src/dynamicMesh/dynamicMesh/refinementData/refinementDistanceData.H b/src/dynamicMesh/dynamicMesh/refinementData/refinementDistanceData.H index a4024dd52..da2167396 100644 --- a/src/dynamicMesh/dynamicMesh/refinementData/refinementDistanceData.H +++ b/src/dynamicMesh/dynamicMesh/refinementData/refinementDistanceData.H @@ -50,7 +50,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class refinementDistanceData; Ostream& operator<<(Ostream&, const refinementDistanceData&); diff --git a/src/dynamicMesh/dynamicMesh/refinementData/refinementHistory.H b/src/dynamicMesh/dynamicMesh/refinementData/refinementHistory.H index 1df11ef81..a1a25bb73 100644 --- a/src/dynamicMesh/dynamicMesh/refinementData/refinementHistory.H +++ b/src/dynamicMesh/dynamicMesh/refinementData/refinementHistory.H @@ -90,7 +90,6 @@ class mapDistributePolyMesh; class polyMesh; // Forward declaration of friend functions and operators - class refinementHistory; Ostream& operator<<(Ostream&, const refinementHistory&); diff --git a/src/equationReader/equationReader/equationReader.H b/src/equationReader/equationReader/equationReader.H index 9b13409f2..926ca99e9 100644 --- a/src/equationReader/equationReader/equationReader.H +++ b/src/equationReader/equationReader/equationReader.H @@ -113,7 +113,6 @@ class equationOperation; // Forward declaration of friend functions and operators // *** Located in equationReaderIO.C *** - class equationReader; Istream& operator>>(Istream&, equationReader&); diff --git a/src/finiteVolume/cfdTools/general/porousMedia/porousZone.H b/src/finiteVolume/cfdTools/general/porousMedia/porousZone.H index 68d62af49..a19520601 100644 --- a/src/finiteVolume/cfdTools/general/porousMedia/porousZone.H +++ b/src/finiteVolume/cfdTools/general/porousMedia/porousZone.H @@ -84,7 +84,6 @@ namespace Foam class fvMesh; // Forward declaration of friend functions and operators - class porousZone; Ostream& operator<<(Ostream&, const porousZone&); diff --git a/src/foam/algorithms/octree/octree/octreeDataPoint.H b/src/foam/algorithms/octree/octree/octreeDataPoint.H index 38edb9d7d..bdf816acf 100644 --- a/src/foam/algorithms/octree/octree/octreeDataPoint.H +++ b/src/foam/algorithms/octree/octree/octreeDataPoint.H @@ -55,7 +55,6 @@ namespace Foam template class octree; // Forward declaration of friend functions and operators - class octreeDataPoint; Ostream& operator<<(Ostream&, const octreeDataPoint&); diff --git a/src/foam/algorithms/octree/octree/treeBoundBox.H b/src/foam/algorithms/octree/octree/treeBoundBox.H index 6ce9e197f..2ddc1a2e0 100644 --- a/src/foam/algorithms/octree/octree/treeBoundBox.H +++ b/src/foam/algorithms/octree/octree/treeBoundBox.H @@ -70,7 +70,6 @@ namespace Foam class Random; // Forward declaration of friend functions and operators - class treeBoundBox; bool operator==(const treeBoundBox&, const treeBoundBox&); diff --git a/src/foam/algorithms/octree/octree/treeLeaf.H b/src/foam/algorithms/octree/octree/treeLeaf.H index 285dae8f5..0eb2626b9 100644 --- a/src/foam/algorithms/octree/octree/treeLeaf.H +++ b/src/foam/algorithms/octree/octree/treeLeaf.H @@ -57,7 +57,6 @@ class Ostream; template class octree; // Forward declaration of friend functions and operators - template class treeLeaf; template Istream& operator>>(Istream&, treeLeaf&); diff --git a/src/foam/algorithms/octree/octree/treeNode.H b/src/foam/algorithms/octree/octree/treeNode.H index 295a21c86..17c6cde18 100644 --- a/src/foam/algorithms/octree/octree/treeNode.H +++ b/src/foam/algorithms/octree/octree/treeNode.H @@ -63,7 +63,6 @@ template class treeLeaf; // Forward declaration of friend functions and operators - template class treeNode; template Istream& operator>>(Istream&, treeNode&); diff --git a/src/foam/containers/HashTables/HashTable/HashTable.H b/src/foam/containers/HashTables/HashTable/HashTable.H index 05d9f1c96..6f864e8a3 100644 --- a/src/foam/containers/HashTables/HashTable/HashTable.H +++ b/src/foam/containers/HashTables/HashTable/HashTable.H @@ -60,7 +60,6 @@ template class List; template class UList; // Forward declaration of friend functions and operators - template class HashTable; template class HashPtrTable; diff --git a/src/foam/containers/HashTables/StaticHashTable/StaticHashTable.H b/src/foam/containers/HashTables/StaticHashTable/StaticHashTable.H index f23bd413b..ebb4f1c3f 100644 --- a/src/foam/containers/HashTables/StaticHashTable/StaticHashTable.H +++ b/src/foam/containers/HashTables/StaticHashTable/StaticHashTable.H @@ -57,7 +57,6 @@ namespace Foam template class List; // Forward declaration of friend functions and operators - template class StaticHashTable; template Istream& operator>> diff --git a/src/foam/containers/Lists/FixedList/FixedList.H b/src/foam/containers/Lists/FixedList/FixedList.H index 5948d71dd..edcc4a6fd 100644 --- a/src/foam/containers/Lists/FixedList/FixedList.H +++ b/src/foam/containers/Lists/FixedList/FixedList.H @@ -55,7 +55,6 @@ template class SLList; // Forward declaration of friend functions and operators - template class FixedList; template diff --git a/src/foam/coordinateSystems/coordinateSystem.H b/src/foam/coordinateSystems/coordinateSystem.H index d60a8ecf8..ea6c459be 100644 --- a/src/foam/coordinateSystems/coordinateSystem.H +++ b/src/foam/coordinateSystems/coordinateSystem.H @@ -147,7 +147,6 @@ namespace Foam class boundBox; // Forward declaration of friend functions and operators - class coordinateSystem; bool operator!=(const coordinateSystem&, const coordinateSystem&); diff --git a/src/foam/db/IOobjects/CompactIOList/CompactIOList.H b/src/foam/db/IOobjects/CompactIOList/CompactIOList.H index 12efc93c7..7077f8c49 100644 --- a/src/foam/db/IOobjects/CompactIOList/CompactIOList.H +++ b/src/foam/db/IOobjects/CompactIOList/CompactIOList.H @@ -52,7 +52,6 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - template class CompactIOList; template Istream& operator>> diff --git a/src/foam/db/dictionary/dictionary.H b/src/foam/db/dictionary/dictionary.H index a8f47d09d..984f5fec0 100644 --- a/src/foam/db/dictionary/dictionary.H +++ b/src/foam/db/dictionary/dictionary.H @@ -70,7 +70,6 @@ class regExp; class SHA1Digest; // Forward declaration of friend functions and operators - class dictionary; Istream& operator>>(Istream&, dictionary&); diff --git a/src/foam/db/dictionary/dictionaryEntry/dictionaryEntry.H b/src/foam/db/dictionary/dictionaryEntry/dictionaryEntry.H index e1627529d..bd0e60df9 100644 --- a/src/foam/db/dictionary/dictionaryEntry/dictionaryEntry.H +++ b/src/foam/db/dictionary/dictionaryEntry/dictionaryEntry.H @@ -53,6 +53,7 @@ namespace Foam // Forward declaration of friend functions and operators class dictionaryEntry; + Ostream& operator<<(Ostream&, const dictionaryEntry&); diff --git a/src/foam/dimensionedTypes/dimensionedType/dimensionedType.H b/src/foam/dimensionedTypes/dimensionedType/dimensionedType.H index e9e0221e4..d4d728981 100644 --- a/src/foam/dimensionedTypes/dimensionedType/dimensionedType.H +++ b/src/foam/dimensionedTypes/dimensionedType/dimensionedType.H @@ -49,7 +49,6 @@ namespace Foam class dictionary; // Forward declaration of friend functions and operators - template class dimensioned; template diff --git a/src/foam/fields/CoeffField/diagTensorCoeffField.H b/src/foam/fields/CoeffField/diagTensorCoeffField.H index 2dc4c86ef..8e1189ce4 100644 --- a/src/foam/fields/CoeffField/diagTensorCoeffField.H +++ b/src/foam/fields/CoeffField/diagTensorCoeffField.H @@ -50,7 +50,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/fields/CoeffField/scalarCoeffField.H b/src/foam/fields/CoeffField/scalarCoeffField.H index 2af74c71d..13357ec73 100644 --- a/src/foam/fields/CoeffField/scalarCoeffField.H +++ b/src/foam/fields/CoeffField/scalarCoeffField.H @@ -48,7 +48,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/fields/CoeffField/sphericalTensorCoeffField.H b/src/foam/fields/CoeffField/sphericalTensorCoeffField.H index f7db6c3c9..fec8a0f73 100644 --- a/src/foam/fields/CoeffField/sphericalTensorCoeffField.H +++ b/src/foam/fields/CoeffField/sphericalTensorCoeffField.H @@ -50,7 +50,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/fields/CoeffField/symmTensor4thOrderCoeffField.H b/src/foam/fields/CoeffField/symmTensor4thOrderCoeffField.H index 8247e4939..e7303216b 100644 --- a/src/foam/fields/CoeffField/symmTensor4thOrderCoeffField.H +++ b/src/foam/fields/CoeffField/symmTensor4thOrderCoeffField.H @@ -50,7 +50,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/fields/CoeffField/symmTensorCoeffField.H b/src/foam/fields/CoeffField/symmTensorCoeffField.H index bb6b369f9..4a424e246 100644 --- a/src/foam/fields/CoeffField/symmTensorCoeffField.H +++ b/src/foam/fields/CoeffField/symmTensorCoeffField.H @@ -50,7 +50,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/fields/CoeffField/tensorCoeffField.H b/src/foam/fields/CoeffField/tensorCoeffField.H index 03fa036d8..8fc9a7c84 100644 --- a/src/foam/fields/CoeffField/tensorCoeffField.H +++ b/src/foam/fields/CoeffField/tensorCoeffField.H @@ -50,7 +50,6 @@ namespace Foam // Forward declaration of friend functions and operators Ostream& operator<<(Ostream&, const CoeffField&); - Ostream& operator<<(Ostream&, const tmp >&); diff --git a/src/foam/matrices/LUscalarMatrix/procLduInterface.H b/src/foam/matrices/LUscalarMatrix/procLduInterface.H index a47b2398f..d5470eae7 100644 --- a/src/foam/matrices/LUscalarMatrix/procLduInterface.H +++ b/src/foam/matrices/LUscalarMatrix/procLduInterface.H @@ -47,7 +47,6 @@ namespace Foam class lduInterfaceField; // Forward declaration of friend functions and operators - class procLduInterface; Ostream& operator<<(Ostream&, const procLduInterface&); diff --git a/src/foam/matrices/crMatrix/crAddressing.H b/src/foam/matrices/crMatrix/crAddressing.H index d98a7a233..605a22f5d 100644 --- a/src/foam/matrices/crMatrix/crAddressing.H +++ b/src/foam/matrices/crMatrix/crAddressing.H @@ -48,6 +48,7 @@ namespace Foam // Forward declaration of friend functions and operators class crAddressing; + Ostream& operator<<(Ostream&, const crAddressing&); diff --git a/src/foam/matrices/crMatrix/crMatrix.H b/src/foam/matrices/crMatrix/crMatrix.H index 8056cd02f..5a5ba50a3 100644 --- a/src/foam/matrices/crMatrix/crMatrix.H +++ b/src/foam/matrices/crMatrix/crMatrix.H @@ -48,6 +48,7 @@ namespace Foam // Forward declaration of friend functions and operators class crMatrix; + Ostream& operator<<(Ostream&, const crMatrix&); diff --git a/src/foam/meshes/boundBox/boundBox.H b/src/foam/meshes/boundBox/boundBox.H index 4be618676..8d2742abb 100644 --- a/src/foam/meshes/boundBox/boundBox.H +++ b/src/foam/meshes/boundBox/boundBox.H @@ -40,7 +40,6 @@ namespace Foam { // Forward declaration of friend functions and operators - class boundBox; template class tmp; diff --git a/src/foam/meshes/meshShapes/face/face.H b/src/foam/meshes/meshShapes/face/face.H index 2dacef7e0..b38a6dd6a 100644 --- a/src/foam/meshes/meshShapes/face/face.H +++ b/src/foam/meshes/meshShapes/face/face.H @@ -64,7 +64,6 @@ template class DynamicList; // Forward declaration of friend functions and operators - class face; inline bool operator==(const face& a, const face& b); diff --git a/src/foam/meshes/meshShapes/triFace/triFace.H b/src/foam/meshes/meshShapes/triFace/triFace.H index 07cd7ba91..f9b73755f 100644 --- a/src/foam/meshes/meshShapes/triFace/triFace.H +++ b/src/foam/meshes/meshShapes/triFace/triFace.H @@ -57,7 +57,6 @@ namespace Foam class face; // Forward declaration of friend functions and operators - class triFace; inline bool operator==(const triFace&, const triFace&); diff --git a/src/foam/meshes/patchIdentifier/patchIdentifier.H b/src/foam/meshes/patchIdentifier/patchIdentifier.H index 9073b6ba0..674a75e9e 100644 --- a/src/foam/meshes/patchIdentifier/patchIdentifier.H +++ b/src/foam/meshes/patchIdentifier/patchIdentifier.H @@ -47,7 +47,6 @@ namespace Foam class dictionary; // Forward declaration of friend functions and operators - class patchIdentifier; Ostream& operator<<(Ostream&, const patchIdentifier&); diff --git a/src/foam/meshes/polyMesh/zones/faceZone/faceZone.H b/src/foam/meshes/polyMesh/zones/faceZone/faceZone.H index fa0abcfcf..822a1e9d8 100644 --- a/src/foam/meshes/polyMesh/zones/faceZone/faceZone.H +++ b/src/foam/meshes/polyMesh/zones/faceZone/faceZone.H @@ -57,7 +57,6 @@ namespace Foam class mapPolyMesh; // Forward declaration of friend functions and operators - class faceZone; Ostream& operator<<(Ostream&, const faceZone&); diff --git a/src/foam/primitives/Lists/hashedWordList.H b/src/foam/primitives/Lists/hashedWordList.H index bac2c9881..3a1e38c6e 100644 --- a/src/foam/primitives/Lists/hashedWordList.H +++ b/src/foam/primitives/Lists/hashedWordList.H @@ -45,7 +45,6 @@ namespace Foam { // Forward declaration of friend functions and operators - class hashedWordList; Istream& operator>>(Istream&, hashedWordList&); diff --git a/src/foam/primitives/bools/Switch/Switch.H b/src/foam/primitives/bools/Switch/Switch.H index 85b168ba3..6ee713940 100644 --- a/src/foam/primitives/bools/Switch/Switch.H +++ b/src/foam/primitives/bools/Switch/Switch.H @@ -49,7 +49,6 @@ namespace Foam class dictionary; // Forward declaration of friend functions and operators - class Switch; Istream& operator>>(Istream&, Switch&); diff --git a/src/foam/primitives/strings/keyType/keyType.H b/src/foam/primitives/strings/keyType/keyType.H index af150d609..32a3b52ab 100644 --- a/src/foam/primitives/strings/keyType/keyType.H +++ b/src/foam/primitives/strings/keyType/keyType.H @@ -51,6 +51,7 @@ class Ostream; // Forward declaration of friend functions and operators class keyType; + Istream& operator>>(Istream&, keyType&); Ostream& operator<<(Ostream&, const keyType&); diff --git a/src/foam/primitives/strings/wordRe/wordRe.H b/src/foam/primitives/strings/wordRe/wordRe.H index 88be01a9e..7774d631c 100644 --- a/src/foam/primitives/strings/wordRe/wordRe.H +++ b/src/foam/primitives/strings/wordRe/wordRe.H @@ -64,7 +64,6 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - class wordRe; Istream& operator>>(Istream&, wordRe&); diff --git a/src/lagrangian/dieselSpray/parcel/parcel.H b/src/lagrangian/dieselSpray/parcel/parcel.H index 309f6ce2a..65def467c 100644 --- a/src/lagrangian/dieselSpray/parcel/parcel.H +++ b/src/lagrangian/dieselSpray/parcel/parcel.H @@ -44,7 +44,6 @@ namespace Foam class spray; // Forward declaration of friend functions and operators - class parcel; Ostream& operator<<(Ostream&, const parcel&); diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointData.H b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointData.H index 077e41d92..14d54abb3 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointData.H +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointData.H @@ -54,7 +54,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class pointData; Ostream& operator<<(Ostream&, const pointData&); diff --git a/src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H b/src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H index 5da3b61bc..13a1fd4cc 100644 --- a/src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H +++ b/src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H @@ -49,7 +49,6 @@ namespace Foam class trackedParticleCloud; // Forward declaration of friend functions and operators - class trackedParticle; Ostream& operator<<(Ostream&, const trackedParticle&); diff --git a/src/mesh/blockMesh/block/block.H b/src/mesh/blockMesh/block/block.H index ae9cce304..4ca927882 100644 --- a/src/mesh/blockMesh/block/block.H +++ b/src/mesh/blockMesh/block/block.H @@ -55,7 +55,6 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - class block; Ostream& operator<<(Ostream&, const block&); diff --git a/src/meshTools/PointEdgeWave/pointEdgePoint.H b/src/meshTools/PointEdgeWave/pointEdgePoint.H index a9ef9455e..e5959474d 100644 --- a/src/meshTools/PointEdgeWave/pointEdgePoint.H +++ b/src/meshTools/PointEdgeWave/pointEdgePoint.H @@ -55,7 +55,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class pointEdgePoint; Ostream& operator<<(Ostream&, const pointEdgePoint&); diff --git a/src/meshTools/cellClassification/cellInfo.H b/src/meshTools/cellClassification/cellInfo.H index 88c653957..1d7ac6b1f 100644 --- a/src/meshTools/cellClassification/cellInfo.H +++ b/src/meshTools/cellClassification/cellInfo.H @@ -51,7 +51,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class cellInfo; Ostream& operator<<(Ostream&, const cellInfo&); diff --git a/src/meshTools/cellDist/wallPoint/wallPoint.H b/src/meshTools/cellDist/wallPoint/wallPoint.H index e8c76ad9c..a86df4809 100644 --- a/src/meshTools/cellDist/wallPoint/wallPoint.H +++ b/src/meshTools/cellDist/wallPoint/wallPoint.H @@ -52,7 +52,6 @@ class polyPatch; class polyMesh; // Forward declaration of friend functions and operators - class wallPoint; Ostream& operator<<(Ostream&, const wallPoint&); diff --git a/src/surfMesh/surfZone/surfZoneIdentifier/surfZoneIdentifier.H b/src/surfMesh/surfZone/surfZoneIdentifier/surfZoneIdentifier.H index 036b6ef36..19df11aec 100644 --- a/src/surfMesh/surfZone/surfZoneIdentifier/surfZoneIdentifier.H +++ b/src/surfMesh/surfZone/surfZoneIdentifier/surfZoneIdentifier.H @@ -51,7 +51,6 @@ namespace Foam class dictionary; // Forward declaration of friend functions and operators - class surfZoneIdentifier; Ostream& operator<<(Ostream&, const surfZoneIdentifier&); diff --git a/src/thermophysicalModels/specie/specie/specie.H b/src/thermophysicalModels/specie/specie/specie.H index 01bcbe225..0e9b8bfe0 100644 --- a/src/thermophysicalModels/specie/specie/specie.H +++ b/src/thermophysicalModels/specie/specie/specie.H @@ -51,7 +51,6 @@ class Istream; class Ostream; // Forward declaration of friend functions and operators - class specie; Ostream& operator<<(Ostream&, const specie&);