Function1::TableFileReader: Updated write
This commit is contained in:
@ -243,7 +243,7 @@ void Foam::TableReaders::Csv<Type>::write
|
||||
const List<Tuple2<scalar, Type>>& table
|
||||
) const
|
||||
{
|
||||
TableFileReader<Type>::write(os);
|
||||
TableFileReader<Type>::write(os, table);
|
||||
|
||||
writeEntry(os, "nHeaderLine", nHeaderLine_);
|
||||
writeEntry(os, "refColumn", refColumn_);
|
||||
|
||||
@ -85,7 +85,11 @@ Foam::TableFileReader<Type>::~TableFileReader()
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
void Foam::TableFileReader<Type>::write(Ostream& os) const
|
||||
void Foam::TableFileReader<Type>::write
|
||||
(
|
||||
Ostream& os,
|
||||
const List<Tuple2<scalar, Type>>& table
|
||||
) const
|
||||
{
|
||||
writeEntry(os, "format", this->type());
|
||||
writeEntry(os, "file", fName_);
|
||||
|
||||
@ -84,7 +84,11 @@ public:
|
||||
// Member Functions
|
||||
|
||||
//- Write additional information
|
||||
virtual void write(Ostream& os) const;
|
||||
virtual void write
|
||||
(
|
||||
Ostream& os,
|
||||
const List<Tuple2<scalar, Type>>& table
|
||||
) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user