ENH: Added access function to 'names'

This commit is contained in:
andy
2012-10-16 11:51:01 +01:00
parent 441d1d0dee
commit 90be0ef222
2 changed files with 9 additions and 0 deletions

View File

@ -208,6 +208,12 @@ Foam::functionObjectFile::~functionObjectFile()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
const Foam::wordHashSet& Foam::functionObjectFile::names() const
{
return names_;
}
Foam::OFstream& Foam::functionObjectFile::file()
{
if (!Pstream::master())

View File

@ -138,6 +138,9 @@ public:
// Member Functions
//- Return const access to the names
const wordHashSet& names() const;
//- Return access to the file (if only 1)
OFstream& file();