mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add HashTable::writeKeys and HashSet::writeList
- can use the hash-set writeList in combination with FlatOutput: Eg, flatOutput(myHashSet);
This commit is contained in:
@ -209,6 +209,16 @@ public:
|
||||
}
|
||||
|
||||
|
||||
// Writing
|
||||
|
||||
//- Write the unordered keys as a list, with line-breaks if list length
|
||||
// exceeds shortListLen. Using '0' suppresses line-breaks entirely.
|
||||
Ostream& writeList(Ostream& os, const label shortListLen=0) const
|
||||
{
|
||||
return this->writeKeys(os, shortListLen);
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Return true if the entry exists, same as found()
|
||||
|
||||
Reference in New Issue
Block a user