mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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) 2014-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -40,6 +40,17 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class phasePairKey;
|
||||
|
||||
bool operator==(const phasePairKey&, const phasePairKey&);
|
||||
bool operator!=(const phasePairKey&, const phasePairKey&);
|
||||
|
||||
Istream& operator>>(Istream&, phasePairKey&);
|
||||
Ostream& operator<<(Ostream&, const phasePairKey&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class phasePairKey Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -40,6 +40,17 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class phasePairKey;
|
||||
|
||||
bool operator==(const phasePairKey&, const phasePairKey&);
|
||||
bool operator!=(const phasePairKey&, const phasePairKey&);
|
||||
|
||||
Istream& operator>>(Istream&, phasePairKey&);
|
||||
Ostream& operator<<(Ostream&, const phasePairKey&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class phasePairKey Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -41,14 +41,6 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
|
||||
class indexedVertexEnum;
|
||||
|
||||
Istream& operator>>(Istream&, indexedVertexEnum&);
|
||||
Ostream& operator<<(Ostream&, const indexedVertexEnum&);
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
class indexedVertexEnum
|
||||
@ -90,6 +82,9 @@ public:
|
||||
};
|
||||
|
||||
|
||||
Istream& operator>>(Istream&, indexedVertexEnum::vertexType&);
|
||||
Ostream& operator<<(Ostream&, const indexedVertexEnum::vertexType&);
|
||||
|
||||
template<>
|
||||
inline bool contiguous<indexedVertexEnum>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user