includeEntry, includeEtcEntry, includeIfPresentEntry: report -> log

for consistency with the 'Log' macro.
This commit is contained in:
Henry Weller
2016-05-31 17:17:24 +01:00
parent dd20d90868
commit 8a915d0617
6 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
if (listOpt) if (listOpt)
{ {
Foam::functionEntries::includeEntry::report = true; Foam::functionEntries::includeEntry::log = true;
} }
dictionary dict(IFstream(dictName)(), true); dictionary dict(IFstream(dictName)(), true);

View File

@ -40,7 +40,7 @@ const Foam::word Foam::functionEntries::includeEntry::typeName
// might include includeEntry // might include includeEntry
int Foam::functionEntries::includeEntry::debug(0); int Foam::functionEntries::includeEntry::debug(0);
bool Foam::functionEntries::includeEntry::report(false); bool Foam::functionEntries::includeEntry::log(false);
namespace Foam namespace Foam
@ -131,7 +131,7 @@ bool Foam::functionEntries::includeEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEntry::report) if (Foam::functionEntries::includeEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }
@ -169,7 +169,7 @@ bool Foam::functionEntries::includeEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEntry::report) if (Foam::functionEntries::includeEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }

View File

@ -92,7 +92,7 @@ public:
// Static data members // Static data members
//- Report which file is included to stdout //- Report which file is included to stdout
static bool report; static bool log;
//- Runtime type information //- Runtime type information

View File

@ -40,7 +40,7 @@ const Foam::word Foam::functionEntries::includeEtcEntry::typeName
// might include includeEtcEntry // might include includeEtcEntry
int Foam::functionEntries::includeEtcEntry::debug(0); int Foam::functionEntries::includeEtcEntry::debug(0);
bool Foam::functionEntries::includeEtcEntry::report(false); bool Foam::functionEntries::includeEtcEntry::log(false);
namespace Foam namespace Foam
@ -108,7 +108,7 @@ bool Foam::functionEntries::includeEtcEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEtcEntry::report) if (Foam::functionEntries::includeEtcEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }
@ -146,7 +146,7 @@ bool Foam::functionEntries::includeEtcEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEtcEntry::report) if (Foam::functionEntries::includeEtcEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }

View File

@ -100,7 +100,7 @@ public:
// Static data members // Static data members
//- Report which file is included to stdout //- Report which file is included to stdout
static bool report; static bool log;
//- Runtime type information //- Runtime type information

View File

@ -74,7 +74,7 @@ bool Foam::functionEntries::includeIfPresentEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEntry::report) if (Foam::functionEntries::includeEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }
@ -97,7 +97,7 @@ bool Foam::functionEntries::includeIfPresentEntry::execute
if (ifs) if (ifs)
{ {
if (Foam::functionEntries::includeEntry::report) if (Foam::functionEntries::includeEntry::log)
{ {
Info<< fName << endl; Info<< fName << endl;
} }