[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 namespace Foam
{ {
// Forward declaration of classes
class sixDOFODE; class sixDOFODE;
// Forward declaration of friend functions and operators
class rotationalConstraint;
Ostream& operator<<(Ostream&, const rotationalConstraint&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class rotationalConstraint Declaration Class rotationalConstraint Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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 Class memInfo Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

@ -44,6 +44,12 @@ 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

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

View file

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

View file

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

View file

@ -55,6 +55,13 @@ class polyTopoChanger;
class polyTopoChange; class polyTopoChange;
class mapPolyMesh; class mapPolyMesh;
// Forward declaration of friend functions and operators
class polyMeshModifier;
Ostream& operator<<(Ostream&, const polyMeshModifier&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class polyMeshModifier Declaration Class polyMeshModifier Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

@ -87,6 +87,15 @@ namespace Foam
// Forward declaration of classes // Forward declaration of classes
class mapPolyMesh; class mapPolyMesh;
class mapDistributePolyMesh; 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 Class refinementHistory Declaration
@ -360,6 +369,10 @@ public:
}; };
Istream& operator>>(Istream&, refinementHistory::splitCell8&);
Ostream& operator<<(Ostream&, const refinementHistory::splitCell8&);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam } // End namespace Foam

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -143,9 +143,17 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of friend functions and operators // Forward declaration of classes
class boundBox; 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 Class coordinateSystem Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<diagTensor> class CoeffField<diagTensor>
: :

View file

@ -45,6 +45,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<scalar> class CoeffField<scalar>
: :

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<sphericalTensor> class CoeffField<sphericalTensor>
: :

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<symmTensor4thOrder> class CoeffField<symmTensor4thOrder>
: :

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<symmTensor> class CoeffField<symmTensor>
: :

View file

@ -47,6 +47,17 @@ SourceFiles
namespace Foam 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<> template<>
class CoeffField<tensor> class CoeffField<tensor>
: :

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -44,7 +44,8 @@ namespace Foam
class boundBox; class boundBox;
template<class T> class tmp; 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 namespace Foam
{ {
// Forward declaration of friend functions and operators // Forward declaration of classes
class face;
class triFace; class triFace;
template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> template<class T, unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv>
class DynamicList; 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 bool operator!=(const face& a, const face& b); inline bool operator!=(const face& a, const face& b);
inline Istream& operator>>(Istream&, face&); inline Istream& operator>>(Istream&, face&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class face Declaration Class face Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -43,6 +43,16 @@ SourceFiles
namespace Foam 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 Class referredMolecule Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -47,6 +47,12 @@ 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

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

View file

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

View file

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

View file

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

View file

@ -55,6 +55,14 @@ namespace Foam
// Forward declaration of classes // Forward declaration of classes
class triSurface; 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 Class surfaceLocation Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -49,6 +49,16 @@ Author
namespace Foam 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 Class decayingVorton Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/