Added forward declaration of friend functions
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -47,6 +47,14 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class memInfo;
|
||||
|
||||
Istream& operator>>(Istream&, memInfo&);
|
||||
Ostream& operator<<(Ostream&, const memInfo&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class memInfo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -58,9 +58,11 @@ namespace Foam
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class token;
|
||||
|
||||
Istream& operator>>(Istream&, token&);
|
||||
Ostream& operator<<(Ostream&, const token&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class token Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -51,6 +51,13 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class dictionaryEntry;
|
||||
|
||||
Ostream& operator<<(Ostream&, const dictionaryEntry&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class dictionaryEntry Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -90,6 +90,8 @@ dimensionSet inv(const dimensionSet&);
|
||||
// for transcendental functions
|
||||
dimensionSet trans(const dimensionSet&);
|
||||
|
||||
dimensionSet atan2(const dimensionSet&, const dimensionSet&);
|
||||
|
||||
// Return the argument; transformations do not change the dimensions
|
||||
dimensionSet transform(const dimensionSet&);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,6 +45,14 @@ namespace Foam
|
||||
|
||||
class lduInterfaceField;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class procLduInterface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const procLduInterface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class procLduInterface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -68,7 +68,9 @@ namespace Foam
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class lduMatrix;
|
||||
|
||||
Ostream& operator<<(Ostream&, const lduMatrix&);
|
||||
Ostream& operator<<(Ostream&, const InfoProxy<lduMatrix>&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
|
||||
@ -45,6 +45,9 @@ namespace Foam
|
||||
class boundBox;
|
||||
template<class T> class tmp;
|
||||
|
||||
bool operator==(const boundBox&, const boundBox&);
|
||||
bool operator!=(const boundBox&, const boundBox&);
|
||||
|
||||
Istream& operator>>(Istream&, boundBox&);
|
||||
Ostream& operator<<(Ostream&, const boundBox&);
|
||||
|
||||
|
||||
@ -45,6 +45,14 @@ namespace Foam
|
||||
|
||||
class objectRegistry;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class lduMesh;
|
||||
|
||||
Ostream& operator<<(Ostream&, const InfoProxy<lduMesh>&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class lduMesh Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -90,6 +98,7 @@ public:
|
||||
const BinaryOp& bop
|
||||
) const;
|
||||
|
||||
|
||||
// Info
|
||||
|
||||
//- Return info proxy.
|
||||
@ -99,6 +108,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
// Ostream operator
|
||||
|
||||
friend Ostream& operator<<(Ostream&, const InfoProxy<lduMesh>&);
|
||||
|
||||
@ -50,6 +50,14 @@ 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
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -50,6 +50,14 @@ class polyMesh;
|
||||
class mapPolyMesh;
|
||||
class polyBoundaryMesh;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class polyTopoChanger;
|
||||
|
||||
Ostream& operator<<(Ostream&, const polyTopoChanger&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class polyTopoChanger Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -59,6 +59,16 @@ namespace Foam
|
||||
// Forward declaration of classes
|
||||
class triSurface;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class surfaceLocation;
|
||||
|
||||
Istream& operator>>(Istream&, surfaceLocation&);
|
||||
Ostream& operator<<(Ostream&, const surfaceLocation&);
|
||||
Ostream& operator<<(Ostream&, const InfoProxy<surfaceLocation>&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfaceLocation Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -71,6 +71,13 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class sampledSurface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const sampledSurface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class sampledSurface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,7 +45,12 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class surfZoneIOList;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfZoneIOList&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfZoneIOList Declaration
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -44,6 +44,13 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class STLtriangle;
|
||||
|
||||
Ostream& operator<<(Ostream&, const STLtriangle&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class STLtriangle Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -43,6 +43,14 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class labelledTri;
|
||||
|
||||
Istream& operator>>(Istream&, labelledTri&);
|
||||
Ostream& operator<<(Ostream&, const labelledTri&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class labelledTri Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,6 +45,13 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class surfacePatch;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfacePatch&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfacePatch Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,7 +45,12 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of classes
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class surfacePatchIOList;
|
||||
|
||||
Ostream& operator<<(Ostream&, const surfacePatchIOList&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class surfacePatchIOList Declaration
|
||||
@ -96,12 +101,6 @@ public:
|
||||
bool writeData(Ostream&) const;
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
// Friend Functions
|
||||
|
||||
// Friend Operators
|
||||
|
||||
// IOstream Operators
|
||||
|
||||
friend Ostream& operator<<(Ostream&, const surfacePatchIOList&);
|
||||
|
||||
@ -51,6 +51,14 @@ namespace Foam
|
||||
class Time;
|
||||
class IFstream;
|
||||
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class triSurface;
|
||||
|
||||
Ostream& operator<<(Ostream&, const triSurface&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class triSurface Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user