foamToC: Ensure there is a space after long entry names when printing tables
This commit is contained in:
@ -195,8 +195,9 @@ void printToC(const word& tableName)
|
|||||||
|
|
||||||
forAll(toc, i)
|
forAll(toc, i)
|
||||||
{
|
{
|
||||||
Info<< " " << setf(ios_base::left) << setw(40) << toc[i]
|
Info<< " " << setf(ios_base::left)
|
||||||
<< debug::runTimeSelectionToC[tableName].second()[toc[i]]
|
<< setw(39) << toc[i]
|
||||||
|
<< ' ' << debug::runTimeSelectionToC[tableName].second()[toc[i]]
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -474,8 +475,9 @@ int main(int argc, char *argv[])
|
|||||||
&& toc[i] == baseTypeNameTables[toc[i]].begin().key()
|
&& toc[i] == baseTypeNameTables[toc[i]].begin().key()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Info<< " " << setf(ios_base::left) << setw(40)
|
Info<< " " << setf(ios_base::left)
|
||||||
<< toc[i] << baseTypeNameTables[toc[i]].begin()()
|
<< setw(39) << toc[i]
|
||||||
|
<< ' ' << baseTypeNameTables[toc[i]].begin()()
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -489,8 +491,9 @@ int main(int argc, char *argv[])
|
|||||||
forAll(tocc, j)
|
forAll(tocc, j)
|
||||||
{
|
{
|
||||||
Info<< " "
|
Info<< " "
|
||||||
<< setf(ios_base::left) << setw(40) << tocc[j]
|
<< setf(ios_base::left)
|
||||||
<< baseTypeNameTables[toc[i]][tocc[j]]
|
<< setw(39) << tocc[j]
|
||||||
|
<< ' ' << baseTypeNameTables[toc[i]][tocc[j]]
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user