| 89 | |
| 90 | |
| 91 | void Foam::blockMeshTools::write |
| 92 | ( |
| 93 | Ostream& os, |
| 94 | const label val, |
| 95 | const dictionary& dict |
| 96 | ) |
| 97 | { |
| 98 | forAllConstIter(dictionary, dict, iter) |
| 99 | { |
| 100 | if (iter().isStream()) |
| 101 | { |
| 102 | label keyVal(Foam::readLabel(iter().stream())); |
| 103 | if (keyVal == val) |
| 104 | { |
| 105 | os << iter().keyword(); |
| 106 | return; |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | os << val; |
| 111 | } |
| 112 | |
| 113 | |
| 114 | const Foam::keyType& Foam::blockMeshTools::findEntry |
nothing calls this directly
no test coverage detected