openfoam/applications/test/namedDictionary
Mark Olesen 3b9176665f ENH: add dictionary::findStream() - symmetric with findDict()
- can be used with this type of code:

  ITstream* streamPtr = dict.findStream(name);
  if (streamPtr)
  {
      auto& is = *streamPtr;
      ...
  }

  versus:

  const entry* eptr = dict.findEntry(name);
  if (eptr && eptr->isStream())
  {
      auto& is = eptr->stream();
      ...
  }

ENH: add findStream(), streamPtr(), isStream() to dictionary search

- symmetric with findDict(), dictPtr(), isDict() methods

STYLE: use findDict() instead of found() + subDict() pairing

COMP: define is_globalIOobject trait at top of IOobject header

- more visibility, permits reuse for specializations etc.
2024-05-23 13:51:53 +02:00
..
Make ENH: namedDictionary for managing keyword/dictionary combinations 2021-05-19 17:13:24 +02:00
Test-namedDictionary.C ENH: add dictionary::findStream() - symmetric with findDict() 2024-05-23 13:51:53 +02:00
testDict1 RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00