Function1: Rationalized the stream output

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

View File

@ -45,15 +45,6 @@ namespace Foam
class interpolationWeights;
// Forward declaration of friend functions and operators
namespace Function1Types
{
template<class Type> class TableBase;
};
template<class Type>
Ostream& operator<<(Ostream&, const Function1Types::TableBase<Type>&);
namespace Function1Types
{
@ -167,16 +158,6 @@ public:
//- Return the dependent values
virtual tmp<Field<Type>> y() const;
// I/O
//- Ostream Operator
friend Ostream& operator<< <Type>
(
Ostream& os,
const TableBase<Type>& tbl
);
//- Write all table data in dictionary format
virtual void writeData(Ostream& os) const;