[format]: make forward declaration style consistent.
This commit is contained in:
parent
0642eb7c4a
commit
be47d0ece1
55 changed files with 5 additions and 51 deletions
|
@ -76,7 +76,6 @@ namespace Foam
|
|||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class rotationalConstraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const rotationalConstraint&);
|
||||
|
|
|
@ -76,7 +76,6 @@ namespace Foam
|
|||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class translationalConstraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const translationalConstraint&);
|
||||
|
|
|
@ -58,7 +58,6 @@ namespace Foam
|
|||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class combinedRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const combinedRestraint&);
|
||||
|
|
|
@ -58,7 +58,6 @@ namespace Foam
|
|||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class rotationalRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const rotationalRestraint&);
|
||||
|
|
|
@ -58,7 +58,6 @@ namespace Foam
|
|||
class sixDOFODE;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class translationalRestraint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const translationalRestraint&);
|
||||
|
|
|
@ -52,12 +52,12 @@ class Istream;
|
|||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class memInfo;
|
||||
|
||||
Istream& operator>>(Istream&, memInfo&);
|
||||
Ostream& operator<<(Ostream&, const memInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class memInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -72,7 +72,6 @@ class face;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class directionInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const directionInfo&);
|
||||
|
|
|
@ -48,7 +48,6 @@ class Istream;
|
|||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class refineCell;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refineCell&);
|
||||
|
|
|
@ -52,7 +52,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class wallNormalInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const wallNormalInfo&);
|
||||
|
|
|
@ -56,7 +56,6 @@ class polyTopoChange;
|
|||
class mapPolyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class polyMeshModifier;
|
||||
|
||||
Ostream& operator<<(Ostream&, const polyMeshModifier&);
|
||||
|
|
|
@ -50,7 +50,6 @@ class mapPolyMesh;
|
|||
class polyBoundaryMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class polyTopoChanger;
|
||||
|
||||
Ostream& operator<<(Ostream&, const polyTopoChanger&);
|
||||
|
|
|
@ -50,7 +50,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class refinementData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementData&);
|
||||
|
|
|
@ -50,7 +50,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class refinementDistanceData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementDistanceData&);
|
||||
|
|
|
@ -90,7 +90,6 @@ class mapDistributePolyMesh;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class refinementHistory;
|
||||
|
||||
Ostream& operator<<(Ostream&, const refinementHistory&);
|
||||
|
|
|
@ -113,7 +113,6 @@ class equationOperation;
|
|||
|
||||
// Forward declaration of friend functions and operators
|
||||
// *** Located in equationReaderIO.C ***
|
||||
|
||||
class equationReader;
|
||||
|
||||
Istream& operator>>(Istream&, equationReader&);
|
||||
|
|
|
@ -84,7 +84,6 @@ namespace Foam
|
|||
class fvMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class porousZone;
|
||||
|
||||
Ostream& operator<<(Ostream&, const porousZone&);
|
||||
|
|
|
@ -55,7 +55,6 @@ namespace Foam
|
|||
template<class Type> class octree;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class octreeDataPoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const octreeDataPoint&);
|
||||
|
|
|
@ -70,7 +70,6 @@ namespace Foam
|
|||
class Random;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class treeBoundBox;
|
||||
|
||||
bool operator==(const treeBoundBox&, const treeBoundBox&);
|
||||
|
|
|
@ -57,7 +57,6 @@ class Ostream;
|
|||
template<class Type> class octree;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
template<class Type> class treeLeaf;
|
||||
|
||||
template<class Type> Istream& operator>>(Istream&, treeLeaf<Type>&);
|
||||
|
|
|
@ -63,7 +63,6 @@ template<class Type> class treeLeaf;
|
|||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
template<class Type> class treeNode;
|
||||
|
||||
template<class Type> Istream& operator>>(Istream&, treeNode<Type>&);
|
||||
|
|
|
@ -60,7 +60,6 @@ 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;
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ namespace Foam
|
|||
template<class T> class List;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
template<class T, class Key, class Hash> class StaticHashTable;
|
||||
|
||||
template<class T, class Key, class Hash> Istream& operator>>
|
||||
|
|
|
@ -55,7 +55,6 @@ template<class T> class SLList;
|
|||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
template<class T, unsigned Size> class FixedList;
|
||||
|
||||
template<class T, unsigned Size>
|
||||
|
|
|
@ -147,7 +147,6 @@ namespace Foam
|
|||
class boundBox;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class coordinateSystem;
|
||||
|
||||
bool operator!=(const coordinateSystem&, const coordinateSystem&);
|
||||
|
|
|
@ -52,7 +52,6 @@ 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>>
|
||||
|
|
|
@ -70,7 +70,6 @@ class regExp;
|
|||
class SHA1Digest;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class dictionary;
|
||||
|
||||
Istream& operator>>(Istream&, dictionary&);
|
||||
|
|
|
@ -53,6 +53,7 @@ namespace Foam
|
|||
|
||||
// Forward declaration of friend functions and operators
|
||||
class dictionaryEntry;
|
||||
|
||||
Ostream& operator<<(Ostream&, const dictionaryEntry&);
|
||||
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ namespace Foam
|
|||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
template<class Type> class dimensioned;
|
||||
|
||||
template<class Type>
|
||||
|
|
|
@ -50,7 +50,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<diagTensor>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<diagTensor> >&);
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<scalar>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<scalar> >&);
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<sphericalTensor>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<sphericalTensor> >&);
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<symmTensor4thOrder>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor4thOrder> >&);
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<symmTensor>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<symmTensor> >&);
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ namespace Foam
|
|||
// Forward declaration of friend functions and operators
|
||||
|
||||
Ostream& operator<<(Ostream&, const CoeffField<tensor>&);
|
||||
|
||||
Ostream& operator<<(Ostream&, const tmp<CoeffField<tensor> >&);
|
||||
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@ namespace Foam
|
|||
class lduInterfaceField;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class procLduInterface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const procLduInterface&);
|
||||
|
|
|
@ -48,6 +48,7 @@ namespace Foam
|
|||
|
||||
// Forward declaration of friend functions and operators
|
||||
class crAddressing;
|
||||
|
||||
Ostream& operator<<(Ostream&, const crAddressing&);
|
||||
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ namespace Foam
|
|||
|
||||
// Forward declaration of friend functions and operators
|
||||
class crMatrix;
|
||||
|
||||
Ostream& operator<<(Ostream&, const crMatrix&);
|
||||
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ namespace Foam
|
|||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class boundBox;
|
||||
template<class T> class tmp;
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ 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);
|
||||
|
|
|
@ -57,7 +57,6 @@ namespace Foam
|
|||
class face;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class triFace;
|
||||
|
||||
inline bool operator==(const triFace&, const triFace&);
|
||||
|
|
|
@ -47,7 +47,6 @@ namespace Foam
|
|||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class patchIdentifier;
|
||||
|
||||
Ostream& operator<<(Ostream&, const patchIdentifier&);
|
||||
|
|
|
@ -57,7 +57,6 @@ namespace Foam
|
|||
class mapPolyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class faceZone;
|
||||
|
||||
Ostream& operator<<(Ostream&, const faceZone&);
|
||||
|
|
|
@ -45,7 +45,6 @@ namespace Foam
|
|||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class hashedWordList;
|
||||
|
||||
Istream& operator>>(Istream&, hashedWordList&);
|
||||
|
|
|
@ -49,7 +49,6 @@ namespace Foam
|
|||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class Switch;
|
||||
|
||||
Istream& operator>>(Istream&, Switch&);
|
||||
|
|
|
@ -51,6 +51,7 @@ class Ostream;
|
|||
|
||||
// Forward declaration of friend functions and operators
|
||||
class keyType;
|
||||
|
||||
Istream& operator>>(Istream&, keyType&);
|
||||
Ostream& operator<<(Ostream&, const keyType&);
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ class Istream;
|
|||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class wordRe;
|
||||
|
||||
Istream& operator>>(Istream&, wordRe&);
|
||||
|
|
|
@ -44,7 +44,6 @@ namespace Foam
|
|||
class spray;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class parcel;
|
||||
|
||||
Ostream& operator<<(Ostream&, const parcel&);
|
||||
|
|
|
@ -54,7 +54,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class pointData;
|
||||
|
||||
Ostream& operator<<(Ostream&, const pointData&);
|
||||
|
|
|
@ -49,7 +49,6 @@ namespace Foam
|
|||
class trackedParticleCloud;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class trackedParticle;
|
||||
|
||||
Ostream& operator<<(Ostream&, const trackedParticle&);
|
||||
|
|
|
@ -55,7 +55,6 @@ class Istream;
|
|||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class block;
|
||||
|
||||
Ostream& operator<<(Ostream&, const block&);
|
||||
|
|
|
@ -55,7 +55,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class pointEdgePoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const pointEdgePoint&);
|
||||
|
|
|
@ -51,7 +51,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class cellInfo;
|
||||
|
||||
Ostream& operator<<(Ostream&, const cellInfo&);
|
||||
|
|
|
@ -52,7 +52,6 @@ class polyPatch;
|
|||
class polyMesh;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class wallPoint;
|
||||
|
||||
Ostream& operator<<(Ostream&, const wallPoint&);
|
||||
|
|
|
@ -51,7 +51,6 @@ namespace Foam
|
|||
class dictionary;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class surfZoneIdentifier;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfZoneIdentifier&);
|
||||
|
|
|
@ -51,7 +51,6 @@ class Istream;
|
|||
class Ostream;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class specie;
|
||||
|
||||
Ostream& operator<<(Ostream&, const specie&);
|
||||
|
|
Reference in a new issue