Function1: Rationalized the stream output

This commit is contained in:
Henry Weller
2016-02-08 21:43:56 +00:00
parent bc7d6ff57c
commit 1e3e700b84
11 changed files with 5 additions and 186 deletions

View File

@ -61,16 +61,6 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
namespace Function1Types
{
template<class Type> class CSV;
};
template<class Type>
Ostream& operator<<(Ostream&, const Function1Types::CSV<Type>&);
namespace Function1Types
{
@ -151,20 +141,8 @@ public:
// Member Functions
// Access
//- Return const access to the file name
virtual const fileName& fName() const;
// I/O
//- Ostream Operator
friend Ostream& operator<< <Type>
(
Ostream& os,
const CSV<Type>& cnst
);
//- Return const access to the file name
virtual const fileName& fName() const;
//- Write in dictionary format
virtual void writeData(Ostream& os) const;