ENH: writeFile: add writeValue function

This commit is contained in:
Kutalmis Bercin
2022-05-27 10:30:42 +01:00
committed by Andrew Heather
parent 726ce59b66
commit a7d01a7d43
2 changed files with 24 additions and 1 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2012-2016 OpenFOAM Foundation
Copyright (C) 2015-2020 OpenCFD Ltd.
Copyright (C) 2015-2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -237,6 +237,14 @@ public:
const string& property,
const Type& value
) const;
//- Write a given value to stream with the space delimiter
template<class Type>
void writeValue
(
Ostream& os,
const Type& val
) const;
};