[format]: make forward declaration style consistent.

This commit is contained in:
Danial Khazaei 2019-02-15 23:12:44 +03:30
parent 0642eb7c4a
commit be47d0ece1
No known key found for this signature in database
GPG key ID: F4F9B78264E84372
55 changed files with 5 additions and 51 deletions

View file

@ -76,7 +76,6 @@ namespace Foam
class sixDOFODE;
// Forward declaration of friend functions and operators
class rotationalConstraint;
Ostream& operator<<(Ostream&, const rotationalConstraint&);

View file

@ -76,7 +76,6 @@ namespace Foam
class sixDOFODE;
// Forward declaration of friend functions and operators
class translationalConstraint;
Ostream& operator<<(Ostream&, const translationalConstraint&);

View file

@ -58,7 +58,6 @@ namespace Foam
class sixDOFODE;
// Forward declaration of friend functions and operators
class combinedRestraint;
Ostream& operator<<(Ostream&, const combinedRestraint&);

View file

@ -58,7 +58,6 @@ namespace Foam
class sixDOFODE;
// Forward declaration of friend functions and operators
class rotationalRestraint;
Ostream& operator<<(Ostream&, const rotationalRestraint&);

View file

@ -58,7 +58,6 @@ namespace Foam
class sixDOFODE;
// Forward declaration of friend functions and operators
class translationalRestraint;
Ostream& operator<<(Ostream&, const translationalRestraint&);

View file

@ -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
\*---------------------------------------------------------------------------*/

View file

@ -72,7 +72,6 @@ class face;
class polyMesh;
// Forward declaration of friend functions and operators
class directionInfo;
Ostream& operator<<(Ostream&, const directionInfo&);

View file

@ -48,7 +48,6 @@ class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class refineCell;
Ostream& operator<<(Ostream&, const refineCell&);

View file

@ -52,7 +52,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class wallNormalInfo;
Ostream& operator<<(Ostream&, const wallNormalInfo&);

View file

@ -56,7 +56,6 @@ class polyTopoChange;
class mapPolyMesh;
// Forward declaration of friend functions and operators
class polyMeshModifier;
Ostream& operator<<(Ostream&, const polyMeshModifier&);

View file

@ -50,7 +50,6 @@ class mapPolyMesh;
class polyBoundaryMesh;
// Forward declaration of friend functions and operators
class polyTopoChanger;
Ostream& operator<<(Ostream&, const polyTopoChanger&);

View file

@ -50,7 +50,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class refinementData;
Ostream& operator<<(Ostream&, const refinementData&);

View file

@ -50,7 +50,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class refinementDistanceData;
Ostream& operator<<(Ostream&, const refinementDistanceData&);

View file

@ -90,7 +90,6 @@ class mapDistributePolyMesh;
class polyMesh;
// Forward declaration of friend functions and operators
class refinementHistory;
Ostream& operator<<(Ostream&, const refinementHistory&);

View file

@ -113,7 +113,6 @@ class equationOperation;
// Forward declaration of friend functions and operators
// *** Located in equationReaderIO.C ***
class equationReader;
Istream& operator>>(Istream&, equationReader&);

View file

@ -84,7 +84,6 @@ namespace Foam
class fvMesh;
// Forward declaration of friend functions and operators
class porousZone;
Ostream& operator<<(Ostream&, const porousZone&);

View file

@ -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&);

View file

@ -70,7 +70,6 @@ namespace Foam
class Random;
// Forward declaration of friend functions and operators
class treeBoundBox;
bool operator==(const treeBoundBox&, const treeBoundBox&);

View file

@ -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>&);

View file

@ -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>&);

View file

@ -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;

View file

@ -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>>

View file

@ -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>

View file

@ -147,7 +147,6 @@ namespace Foam
class boundBox;
// Forward declaration of friend functions and operators
class coordinateSystem;
bool operator!=(const coordinateSystem&, const coordinateSystem&);

View file

@ -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>>

View file

@ -70,7 +70,6 @@ class regExp;
class SHA1Digest;
// Forward declaration of friend functions and operators
class dictionary;
Istream& operator>>(Istream&, dictionary&);

View file

@ -53,6 +53,7 @@ namespace Foam
// Forward declaration of friend functions and operators
class dictionaryEntry;
Ostream& operator<<(Ostream&, const dictionaryEntry&);

View file

@ -49,7 +49,6 @@ namespace Foam
class dictionary;
// Forward declaration of friend functions and operators
template<class Type> class dimensioned;
template<class Type>

View file

@ -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> >&);

View file

@ -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> >&);

View file

@ -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> >&);

View file

@ -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> >&);

View file

@ -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> >&);

View file

@ -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> >&);

View file

@ -47,7 +47,6 @@ namespace Foam
class lduInterfaceField;
// Forward declaration of friend functions and operators
class procLduInterface;
Ostream& operator<<(Ostream&, const procLduInterface&);

View file

@ -48,6 +48,7 @@ namespace Foam
// Forward declaration of friend functions and operators
class crAddressing;
Ostream& operator<<(Ostream&, const crAddressing&);

View file

@ -48,6 +48,7 @@ namespace Foam
// Forward declaration of friend functions and operators
class crMatrix;
Ostream& operator<<(Ostream&, const crMatrix&);

View file

@ -40,7 +40,6 @@ namespace Foam
{
// Forward declaration of friend functions and operators
class boundBox;
template<class T> class tmp;

View file

@ -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);

View file

@ -57,7 +57,6 @@ namespace Foam
class face;
// Forward declaration of friend functions and operators
class triFace;
inline bool operator==(const triFace&, const triFace&);

View file

@ -47,7 +47,6 @@ namespace Foam
class dictionary;
// Forward declaration of friend functions and operators
class patchIdentifier;
Ostream& operator<<(Ostream&, const patchIdentifier&);

View file

@ -57,7 +57,6 @@ namespace Foam
class mapPolyMesh;
// Forward declaration of friend functions and operators
class faceZone;
Ostream& operator<<(Ostream&, const faceZone&);

View file

@ -45,7 +45,6 @@ namespace Foam
{
// Forward declaration of friend functions and operators
class hashedWordList;
Istream& operator>>(Istream&, hashedWordList&);

View file

@ -49,7 +49,6 @@ namespace Foam
class dictionary;
// Forward declaration of friend functions and operators
class Switch;
Istream& operator>>(Istream&, Switch&);

View file

@ -51,6 +51,7 @@ class Ostream;
// Forward declaration of friend functions and operators
class keyType;
Istream& operator>>(Istream&, keyType&);
Ostream& operator<<(Ostream&, const keyType&);

View file

@ -64,7 +64,6 @@ class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class wordRe;
Istream& operator>>(Istream&, wordRe&);

View file

@ -44,7 +44,6 @@ namespace Foam
class spray;
// Forward declaration of friend functions and operators
class parcel;
Ostream& operator<<(Ostream&, const parcel&);

View file

@ -54,7 +54,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class pointData;
Ostream& operator<<(Ostream&, const pointData&);

View file

@ -49,7 +49,6 @@ namespace Foam
class trackedParticleCloud;
// Forward declaration of friend functions and operators
class trackedParticle;
Ostream& operator<<(Ostream&, const trackedParticle&);

View file

@ -55,7 +55,6 @@ class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class block;
Ostream& operator<<(Ostream&, const block&);

View file

@ -55,7 +55,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class pointEdgePoint;
Ostream& operator<<(Ostream&, const pointEdgePoint&);

View file

@ -51,7 +51,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class cellInfo;
Ostream& operator<<(Ostream&, const cellInfo&);

View file

@ -52,7 +52,6 @@ class polyPatch;
class polyMesh;
// Forward declaration of friend functions and operators
class wallPoint;
Ostream& operator<<(Ostream&, const wallPoint&);

View file

@ -51,7 +51,6 @@ namespace Foam
class dictionary;
// Forward declaration of friend functions and operators
class surfZoneIdentifier;
Ostream& operator<<(Ostream&, const surfZoneIdentifier&);

View file

@ -51,7 +51,6 @@ class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class specie;
Ostream& operator<<(Ostream&, const specie&);