includeEntry, includeEtcEntry, includeIfPresentEntry: report -> log
for consistency with the 'Log' macro.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (listOpt)
|
||||
{
|
||||
Foam::functionEntries::includeEntry::report = true;
|
||||
Foam::functionEntries::includeEntry::log = true;
|
||||
}
|
||||
|
||||
dictionary dict(IFstream(dictName)(), true);
|
||||
|
||||
@ -40,7 +40,7 @@ const Foam::word Foam::functionEntries::includeEntry::typeName
|
||||
// might include includeEntry
|
||||
int Foam::functionEntries::includeEntry::debug(0);
|
||||
|
||||
bool Foam::functionEntries::includeEntry::report(false);
|
||||
bool Foam::functionEntries::includeEntry::log(false);
|
||||
|
||||
|
||||
namespace Foam
|
||||
@ -131,7 +131,7 @@ bool Foam::functionEntries::includeEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEntry::report)
|
||||
if (Foam::functionEntries::includeEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
@ -169,7 +169,7 @@ bool Foam::functionEntries::includeEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEntry::report)
|
||||
if (Foam::functionEntries::includeEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ public:
|
||||
// Static data members
|
||||
|
||||
//- Report which file is included to stdout
|
||||
static bool report;
|
||||
static bool log;
|
||||
|
||||
|
||||
//- Runtime type information
|
||||
|
||||
@ -40,7 +40,7 @@ const Foam::word Foam::functionEntries::includeEtcEntry::typeName
|
||||
// might include includeEtcEntry
|
||||
int Foam::functionEntries::includeEtcEntry::debug(0);
|
||||
|
||||
bool Foam::functionEntries::includeEtcEntry::report(false);
|
||||
bool Foam::functionEntries::includeEtcEntry::log(false);
|
||||
|
||||
|
||||
namespace Foam
|
||||
@ -108,7 +108,7 @@ bool Foam::functionEntries::includeEtcEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEtcEntry::report)
|
||||
if (Foam::functionEntries::includeEtcEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
@ -146,7 +146,7 @@ bool Foam::functionEntries::includeEtcEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEtcEntry::report)
|
||||
if (Foam::functionEntries::includeEtcEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ public:
|
||||
// Static data members
|
||||
|
||||
//- Report which file is included to stdout
|
||||
static bool report;
|
||||
static bool log;
|
||||
|
||||
|
||||
//- Runtime type information
|
||||
|
||||
@ -74,7 +74,7 @@ bool Foam::functionEntries::includeIfPresentEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEntry::report)
|
||||
if (Foam::functionEntries::includeEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
@ -97,7 +97,7 @@ bool Foam::functionEntries::includeIfPresentEntry::execute
|
||||
|
||||
if (ifs)
|
||||
{
|
||||
if (Foam::functionEntries::includeEntry::report)
|
||||
if (Foam::functionEntries::includeEntry::log)
|
||||
{
|
||||
Info<< fName << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user