mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added access function to 'names'
This commit is contained in:
@ -208,6 +208,12 @@ Foam::functionObjectFile::~functionObjectFile()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
const Foam::wordHashSet& Foam::functionObjectFile::names() const
|
||||||
|
{
|
||||||
|
return names_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::OFstream& Foam::functionObjectFile::file()
|
Foam::OFstream& Foam::functionObjectFile::file()
|
||||||
{
|
{
|
||||||
if (!Pstream::master())
|
if (!Pstream::master())
|
||||||
|
|||||||
@ -138,6 +138,9 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
|
//- Return const access to the names
|
||||||
|
const wordHashSet& names() const;
|
||||||
|
|
||||||
//- Return access to the file (if only 1)
|
//- Return access to the file (if only 1)
|
||||||
OFstream& file();
|
OFstream& file();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user