1. 26 Apr, 2019 1 commit
  2. 06 Feb, 2019 1 commit
  3. 18 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: cleanup of Enum class · 3b745122
      Mark Olesen authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      
      - new readEntry, readIfPresent methods
      
      - The get() method replaces the now deprecate lookup() method.
      
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      
      - output of the names is now always flatted without line-breaks.
        Thus,
      
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
      
        both generate the same output.
      
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using this class to enumerate
        other things since it internally uses an 'int' for its values.
      
        Changed volumeType accordingly to enumerate on its type (enum),
        not the class itself.
      3b745122
  4. 03 Jul, 2017 1 commit
  5. 20 Dec, 2015 1 commit
  6. 07 Feb, 2013 2 commits
  7. 14 Aug, 2011 1 commit
  8. 19 Jan, 2011 1 commit
  9. 14 Jan, 2011 1 commit
  10. 07 Jan, 2011 1 commit
  11. 05 Jan, 2011 2 commits
  12. 17 Dec, 2010 1 commit
  13. 12 Oct, 2010 1 commit
  14. 29 Sep, 2010 1 commit
  15. 28 Jul, 2010 1 commit
  16. 29 Mar, 2010 1 commit
  17. 31 Dec, 2008 1 commit
  18. 20 Nov, 2008 1 commit
  19. 25 Jun, 2008 2 commits
  20. 15 Apr, 2008 1 commit