[bugfix]: friend operators need forward declaration to avoid gcc warning.

Without forward declaration, gcc warns that the operator has not been declared
within foam but only as a friend.
This commit is contained in:
Danial Khazaei 2019-02-15 22:30:51 +03:30
parent 5712c8d88e
commit 0642eb7c4a
No known key found for this signature in database
GPG key ID: F4F9B78264E84372
99 changed files with 580 additions and 29 deletions

View file

@ -72,8 +72,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class sixDOFODE;
// Forward declaration of friend functions and operators
class rotationalConstraint;
Ostream& operator<<(Ostream&, const rotationalConstraint&);
/*---------------------------------------------------------------------------*\
Class rotationalConstraint Declaration
\*---------------------------------------------------------------------------*/

View file

@ -72,8 +72,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class sixDOFODE;
// Forward declaration of friend functions and operators
class translationalConstraint;
Ostream& operator<<(Ostream&, const translationalConstraint&);
/*---------------------------------------------------------------------------*\
Class translationalConstraint Declaration
\*---------------------------------------------------------------------------*/

View file

@ -54,8 +54,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class sixDOFODE;
// Forward declaration of friend functions and operators
class combinedRestraint;
Ostream& operator<<(Ostream&, const combinedRestraint&);
/*---------------------------------------------------------------------------*\
Class combinedRestraint Declaration
\*---------------------------------------------------------------------------*/

View file

@ -54,8 +54,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class sixDOFODE;
// Forward declaration of friend functions and operators
class rotationalRestraint;
Ostream& operator<<(Ostream&, const rotationalRestraint&);
/*---------------------------------------------------------------------------*\
Class rotationalRestraint Declaration
\*---------------------------------------------------------------------------*/

View file

@ -54,8 +54,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class sixDOFODE;
// Forward declaration of friend functions and operators
class translationalRestraint;
Ostream& operator<<(Ostream&, const translationalRestraint&);
/*---------------------------------------------------------------------------*\
Class translationalRestraint Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
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
\*---------------------------------------------------------------------------*/

View file

@ -51,6 +51,13 @@ 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
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

@ -62,6 +62,8 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class polyPatch;
class polyMesh;
class primitiveMesh;
@ -69,6 +71,14 @@ class edge;
class face;
class polyMesh;
// Forward declaration of friend functions and operators
class directionInfo;
Ostream& operator<<(Ostream&, const directionInfo&);
Istream& operator>>(Istream&, directionInfo&);
/*---------------------------------------------------------------------------*\
Class directionInfo Declaration
\*---------------------------------------------------------------------------*/

View file

@ -43,9 +43,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class refineCell;
Ostream& operator<<(Ostream&, const refineCell&);
/*---------------------------------------------------------------------------*\
Class refineCell Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

@ -55,6 +55,13 @@ 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

@ -44,12 +44,18 @@ SourceFiles
namespace Foam
{
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Forward declaration of classes
class polyMesh;
class mapPolyMesh;
class polyBoundaryMesh;
// Forward declaration of friend functions and operators
class polyTopoChanger;
Ostream& operator<<(Ostream&, const polyTopoChanger&);
/*---------------------------------------------------------------------------*\
Class polyTopoChanger Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

@ -107,16 +107,19 @@ Author
namespace Foam
{
// Forward declaration of friend functions and operators
// Forward declaration of classes
class equation;
class equationOperation;
// Forward declaration of friend functions and operators
// *** Located in equationReaderIO.C ***
class equationReader;
Istream& operator>>(Istream&, equationReader&);
Ostream& operator<<(Ostream&, const equationReader&);
/*---------------------------------------------------------------------------*\
Class equationReader Declaration
\*---------------------------------------------------------------------------*/

View file

@ -50,7 +50,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class faBoundaryMesh;
class faPatch;
Ostream& operator<<(Ostream&, const faPatch&);
/*---------------------------------------------------------------------------*\
Class faPatch Declaration

View file

@ -80,8 +80,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class fvMesh;
// Forward declaration of friend functions and operators
class porousZone;
Ostream& operator<<(Ostream&, const porousZone&);
/*---------------------------------------------------------------------------*\
Class porousZone Declaration
\*---------------------------------------------------------------------------*/

View file

@ -51,8 +51,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
template<class Type> class octree;
// Forward declaration of friend functions and operators
class octreeDataPoint;
Ostream& operator<<(Ostream&, const octreeDataPoint&);
/*---------------------------------------------------------------------------*\
Class octreeDataPoint Declaration
\*---------------------------------------------------------------------------*/

View file

@ -66,8 +66,20 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
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
\*---------------------------------------------------------------------------*/

View file

@ -50,14 +50,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class treeBoundBox;
class Ostream;
template<class Type> class octree;
template<class Type> class treeLeaf;
// Forward declaration of friend functions and operators
template<class Type> class treeLeaf;
template<class Type> Istream& operator>>(Istream&, treeLeaf<Type>&);
template<class Type> Ostream& operator<<(Ostream&, const treeLeaf<Type>&);

View file

@ -58,13 +58,14 @@ namespace Foam
{
// class intersection;
template<class Type> class octree;
template<class Type> class treeLeaf;
template<class Type> class treeNode;
// Forward declaration of friend functions and operators
template<class Type> class treeNode;
template<class Type> Istream& operator>>(Istream&, treeNode<Type>&);
template<class Type> Ostream& operator<<(Ostream&, const treeNode<Type>&);

View file

@ -43,6 +43,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;

View file

@ -55,10 +55,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
// Forward declaration of classes
template<class T> class List;
template<class T> class UList;
// Forward declaration of friend functions and operators
template<class T, class Key, class Hash> class HashTable;
template<class T, class Key, class Hash> class HashPtrTable;

View file

@ -53,9 +53,11 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
template<class T> class List;
// Forward declaration of friend functions and operators
template<class T> class List;
template<class T, class Key, class Hash> class StaticHashTable;
template<class T, class Key, class Hash> Istream& operator>>

View file

@ -43,6 +43,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;

View file

@ -44,6 +44,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;

View file

@ -44,6 +44,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Ostream;
// Forward declaration of friend functions and operators

View file

@ -49,6 +49,11 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
template<class T> class UList;
template<class T> class SLList;
// Forward declaration of friend functions and operators
template<class T, unsigned Size> class FixedList;
@ -59,9 +64,6 @@ Istream& operator>>(Istream&, FixedList<T, Size>&);
template<class T, unsigned Size>
Ostream& operator<<(Ostream&, const FixedList<T, Size>&);
template<class T> class UList;
template<class T> class SLList;
/*---------------------------------------------------------------------------*\
Class FixedList Declaration

View file

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

View file

@ -47,10 +47,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
template<class T, class BaseType> class CompactIOList;
template<class T, class BaseType> Istream& operator>>
@ -64,6 +66,7 @@ template<class T, class BaseType> Ostream& operator<<
const CompactIOList<T, BaseType>&
);
/*---------------------------------------------------------------------------*\
Class CompactIOList Declaration
\*---------------------------------------------------------------------------*/

View file

@ -65,14 +65,18 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
// Forward declaration of classes
class regExp;
class dictionary;
class SHA1Digest;
// Forward declaration of friend functions and operators
class dictionary;
Istream& operator>>(Istream&, dictionary&);
Ostream& operator<<(Ostream&, const dictionary&);
/*---------------------------------------------------------------------------*\
Class dictionaryName Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

@ -45,6 +45,9 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class dictionary;
// Forward declaration of friend functions and operators
template<class Type> class dimensioned;
@ -55,7 +58,6 @@ Istream& operator>>(Istream&, dimensioned<Type>&);
template<class Type>
Ostream& operator<<(Ostream&, const dimensioned<Type>&);
class dictionary;
/*---------------------------------------------------------------------------*\
Class dimensioned Declaration

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<diagTensor>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<diagTensor> >&);
/*---------------------------------------------------------------------------*\
Class symmTensor4thOrderCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<diagTensor>
:

View file

@ -45,6 +45,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<scalar>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<scalar> >&);
/*---------------------------------------------------------------------------*\
Class scalarCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<scalar>
:

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<sphericalTensor>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<sphericalTensor> >&);
/*---------------------------------------------------------------------------*\
Class sphericalTensorCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<sphericalTensor>
:

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<symmTensor4thOrder>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor4thOrder> >&);
/*---------------------------------------------------------------------------*\
Class symmTensor4thOrderCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<symmTensor4thOrder>
:

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<symmTensor>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor> >&);
/*---------------------------------------------------------------------------*\
Class symmTensorCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<symmTensor>
:

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const CoeffField<tensor>&);
Ostream& operator<<(Ostream&, const tmp<CoeffField<tensor> >&);
/*---------------------------------------------------------------------------*\
Class tensorCoeffField Declaration
\*---------------------------------------------------------------------------*/
template<>
class CoeffField<tensor>
:

View file

@ -51,6 +51,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class dictionary;
// Forward declaration of friend functions and operators

View file

@ -43,8 +43,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class lduInterfaceField;
// Forward declaration of friend functions and operators
class procLduInterface;
Ostream& operator<<(Ostream&, const procLduInterface&);
/*---------------------------------------------------------------------------*\
Class procLduInterface Declaration
\*---------------------------------------------------------------------------*/

View file

@ -45,6 +45,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class procLduInterface;
class lduMatrix;

View file

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

View file

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

View file

@ -44,7 +44,8 @@ namespace Foam
class boundBox;
template<class T> class tmp;
Ostream& operator<<(Ostream& os, const boundBox& b);
Istream& operator>>(Istream& is, boundBox&);
Ostream& operator<<(Ostream& os, const boundBox&);
/*---------------------------------------------------------------------------*\

View file

@ -57,18 +57,21 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class face;
// Forward declaration of classes
class triFace;
template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv>
class DynamicList;
// Forward declaration of friend functions and operators
class face;
inline bool operator==(const face& a, const face& b);
inline bool operator!=(const face& a, const face& b);
inline Istream& operator>>(Istream&, face&);
/*---------------------------------------------------------------------------*\
Class face Declaration
\*---------------------------------------------------------------------------*/

View file

@ -53,11 +53,13 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class face;
// Forward declaration of friend functions and operators
class triFace;
inline bool operator==(const triFace&, const triFace&);
inline bool operator!=(const triFace&, const triFace&);

View file

@ -43,11 +43,13 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class dictionary;
// Forward declaration of friend functions and operators
class patchIdentifier;
Ostream& operator<<(Ostream&, const patchIdentifier&);

View file

@ -44,6 +44,7 @@ Description
namespace Foam
{
// Forward declaration of classes
template<class ZoneType, class MeshType> class ZoneMesh;
// Forward declaration of friend functions and operators

View file

@ -53,11 +53,13 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class mapPolyMesh;
// Forward declaration of friend functions and operators
class faceZone;
Ostream& operator<<(Ostream&, const faceZone&);

View file

@ -48,6 +48,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;

View file

@ -45,6 +45,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;

View file

@ -42,6 +42,11 @@ Author
namespace Foam
{
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream&, const BlockCoeff<scalar>&);
/*---------------------------------------------------------------------------*\
Class BlockCoeff Declaration
\*---------------------------------------------------------------------------*/

View file

@ -44,9 +44,10 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class hashedWordList;
// Forward declaration of friend functions and operators
Istream& operator>>(Istream&, hashedWordList&);
Ostream& operator<<(Ostream&, const hashedWordList&);

View file

@ -45,10 +45,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class dictionary;
// Forward declaration of friend functions and operators
class Switch;
class dictionary;
Istream& operator>>(Istream&, Switch&);
Ostream& operator<<(Ostream&, const Switch&);

View file

@ -53,6 +53,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
template<class T> class List;
typedef List<word> wordList;

View file

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

View file

@ -59,11 +59,14 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class wordRe;
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class wordRe;
Istream& operator>>(Istream&, wordRe&);
Ostream& operator<<(Ostream&, const wordRe&);

View file

@ -44,6 +44,7 @@ Description
namespace Foam
{
// Forward declaration of classes
template<class Particle>
class Cloud;

View file

@ -40,8 +40,16 @@ Description
namespace Foam
{
// Forward declaration of classes
class spray;
// Forward declaration of friend functions and operators
class parcel;
Ostream& operator<<(Ostream&, const parcel&);
/*---------------------------------------------------------------------------*\
Class parcel Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

@ -43,6 +43,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class referredMolecule;
inline bool operator==(const referredMolecule& a, const referredMolecule& b);
inline bool operator!=(const referredMolecule& a, const referredMolecule& b);
Istream& operator>>(Istream&, referredMolecule&);
Ostream& operator<<(Ostream&, const referredMolecule&);
/*---------------------------------------------------------------------------*\
Class referredMolecule Declaration
\*---------------------------------------------------------------------------*/

View file

@ -47,8 +47,12 @@ SourceFiles
namespace Foam
{
// Class forward declarations
// Forward declaration of friend functions and operators
class moleculeCloud;
class molecule;
Ostream& operator<<(Ostream&, const molecule&);
/*---------------------------------------------------------------------------*\
Class molecule Declaration

View file

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

View file

@ -49,7 +49,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class solidParticleCloud;
class solidParticle;
Ostream& operator<<(Ostream&, const solidParticle&);
/*---------------------------------------------------------------------------*\
Class solidParticle Declaration

View file

@ -49,10 +49,18 @@ SourceFiles
namespace Foam
{
// Class forward declarations
// Forward declaration of classes
class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class pointData;
Ostream& operator<<(Ostream&, const pointData&);
Istream& operator>>(Istream&, pointData&);
/*---------------------------------------------------------------------------*\
Class pointData Declaration
\*---------------------------------------------------------------------------*/

View file

@ -40,6 +40,7 @@ Description
namespace Foam
{
// Forward declaration of classes
template<class ExactParticle>
class Cloud;

View file

@ -45,8 +45,16 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class trackedParticleCloud;
// Forward declaration of friend functions and operators
class trackedParticle;
Ostream& operator<<(Ostream&, const trackedParticle&);
/*---------------------------------------------------------------------------*\
Class trackedParticle Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -50,9 +50,11 @@ namespace Foam
// Forward declaration of classes
class polyPatch;
class polyMesh;
class wallPoint;
// Forward declaration of friend functions and operators
class wallPoint;
Ostream& operator<<(Ostream&, const wallPoint&);
Istream& operator>>(Istream&, wallPoint&);

View file

@ -46,6 +46,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
template<class Type> class wallPointData;
// Forward declaration of friend functions and operators

View file

@ -55,6 +55,14 @@ namespace Foam
// Forward declaration of classes
class triSurface;
// Forward declaration of friend functions and operators
class surfaceLocation;
Istream& operator>>(Istream& is, surfaceLocation& sl);
Ostream& operator<<(Ostream& os, const surfaceLocation& sl);
Ostream& operator<<(Ostream&, const InfoProxy<surfaceLocation>&);
/*---------------------------------------------------------------------------*\
Class surfaceLocation Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

@ -48,9 +48,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Time;
class IFstream;
// Forward declaration of friend functions and operators
class triSurface;
Ostream& operator<<(Ostream&, const triSurface&);
/*---------------------------------------------------------------------------*\
Class triSurface Declaration
\*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

@ -55,6 +55,12 @@ Germany
namespace Foam
{
// Forward declaration of friend functions and operators
class aungierRedlichKwong;
Ostream& operator<<(Ostream&, const aungierRedlichKwong&);
/*---------------------------------------------------------------------------*\
Class aungierRedlichKwong Declaration
\*---------------------------------------------------------------------------*/

View file

@ -57,6 +57,12 @@ Germany
namespace Foam
{
// Forward declaration of friend functions and operators
class pengRobinson;
Ostream& operator<<(Ostream&, const pengRobinson&);
/*---------------------------------------------------------------------------*\
Class Peng Robinson Declaration
\*---------------------------------------------------------------------------*/

View file

@ -50,6 +50,12 @@ Germany
namespace Foam
{
// Forward declaration of friend functions and operators
class redlichKwong;
Ostream& operator<<(Ostream&, const redlichKwong&);
/*---------------------------------------------------------------------------*\
Class redlichKwong Declaration
\*---------------------------------------------------------------------------*/

View file

@ -55,6 +55,12 @@ Germany
namespace Foam
{
// Forward declaration of friend functions and operators
class soaveRedlichKwong;
Ostream& operator<<(Ostream&, const soaveRedlichKwong&);
/*---------------------------------------------------------------------------*\
Class Soave Readlich Kwong Declaration
\*---------------------------------------------------------------------------*/

View file

@ -46,9 +46,17 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class specie;
Ostream& operator<<(Ostream&, const specie&);
/*---------------------------------------------------------------------------*\
Class specie Declaration
\*---------------------------------------------------------------------------*/

View file

@ -44,6 +44,12 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
class speciesTable;
Istream& operator>>(Istream&, speciesTable&);
/*---------------------------------------------------------------------------*\
Class speciesTable Declaration
\*---------------------------------------------------------------------------*/

View file

@ -49,6 +49,16 @@ Author
namespace Foam
{
// Forward declaration of friend functions and operators
class decayingVorton;
bool operator==(const decayingVorton&, const decayingVorton&);
bool operator!=(const decayingVorton&, const decayingVorton&);
Ostream& operator<<(Ostream& s, const decayingVorton& vt);
Istream& operator>>(Istream& s, decayingVorton& vt);
/*---------------------------------------------------------------------------*\
Class decayingVorton Declaration
\*---------------------------------------------------------------------------*/