mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Added forward declarations of IO operators, see:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10948
This commit is contained in:
@ -51,6 +51,12 @@ 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
|
||||||
|
Ostream& operator<<(Ostream&, const wallPoint&);
|
||||||
|
Istream& operator>>(Istream&, wallPoint&);
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class wallPoint Declaration
|
Class wallPoint Declaration
|
||||||
@ -78,12 +84,15 @@ class wallPoint
|
|||||||
const scalar tol
|
const scalar tol
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Static data members
|
// Static data members
|
||||||
|
|
||||||
//- initial point far away.
|
//- initial point far away.
|
||||||
static point greatPoint;
|
static point greatPoint;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct null
|
//- Construct null
|
||||||
@ -102,6 +111,7 @@ public:
|
|||||||
const wallPoint&
|
const wallPoint&
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
// Access
|
// Access
|
||||||
@ -184,11 +194,11 @@ public:
|
|||||||
const scalar tol
|
const scalar tol
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Member Operators
|
// Member Operators
|
||||||
|
|
||||||
// Needed for List IO
|
// Needed for List IO
|
||||||
inline bool operator==(const wallPoint&) const;
|
inline bool operator==(const wallPoint&) const;
|
||||||
|
|
||||||
inline bool operator!=(const wallPoint&) const;
|
inline bool operator!=(const wallPoint&) const;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user