1. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  2. 31 Oct, 2019 1 commit
  3. 06 Feb, 2019 1 commit
  4. 12 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: avoid readScalar, readLabel etc from dictionary (#762, #1033) · 8eddcc07
      Mark Olesen authored
      - use the dictionary 'get' methods instead of readScalar for
        additional checking
      
           Unchecked:  readScalar(dict.lookup("key"));
           Checked:    dict.get<scalar>("key");
      
      - In templated classes that also inherit from a dictionary, an additional
        'template' keyword will be required. Eg,
      
           this->coeffsDict().template get<scalar>("key");
      
        For this common use case, the predefined getXXX shortcuts may be
        useful. Eg,
      
           this->coeffsDict().getScalar("key");
      8eddcc07
  5. 05 Nov, 2017 1 commit
  6. 17 Dec, 2012 1 commit
  7. 06 Dec, 2012 1 commit
  8. 18 Nov, 2012 1 commit
  9. 14 Aug, 2011 1 commit
  10. 19 Jan, 2011 1 commit
  11. 14 Jan, 2011 1 commit
  12. 07 Jan, 2011 1 commit
  13. 05 Jan, 2011 2 commits
  14. 17 Dec, 2010 2 commits
  15. 14 Dec, 2010 1 commit
  16. 28 Jul, 2010 1 commit
  17. 29 Mar, 2010 1 commit
  18. 16 Jan, 2009 1 commit
    • Mark Olesen's avatar
      consistency update for null pointers · 246d569c
      Mark Olesen authored
      - uniform use of reinterpret_cast<foo*>(0) instead of
        reinterpret_cast<foo*>(NULL)
      
      - make all static null() members inline since they are really only a cast:
            "*reinterpret_cast<foo*>(0)"
      246d569c
  19. 31 Dec, 2008 1 commit
  20. 19 Sep, 2008 2 commits
  21. 25 Jun, 2008 2 commits
  22. 15 Apr, 2008 1 commit