1. 11 Aug, 2017 1 commit
  2. 17 May, 2017 1 commit
    • Mark Olesen's avatar
      ENH: added constant predicates · 8d018e79
      Mark Olesen authored
      - predicates::always and predicates::never returning true and false,
        respectively. These simple classes make it easier when writing
        templated code.
      
        As well as unary and binary predicate forms, they also contain a
        match(std::string) method for compatibility with regex-based classes.
      
      STYLE: write bool and direction as primitive 'int' not as 'label'.
      8d018e79
  3. 12 Aug, 2016 1 commit
  4. 17 Jan, 2016 1 commit
  5. 14 Aug, 2011 1 commit
  6. 19 Jan, 2011 1 commit
  7. 14 Jan, 2011 1 commit
  8. 07 Jan, 2011 1 commit
  9. 05 Jan, 2011 2 commits
  10. 14 Sep, 2010 1 commit
  11. 16 Apr, 2010 2 commits
  12. 29 Mar, 2010 1 commit
  13. 17 Feb, 2010 1 commit
  14. 20 Mar, 2009 1 commit
  15. 09 Mar, 2009 1 commit
  16. 16 Jan, 2009 2 commits
    • Mark Olesen's avatar
      bool and Switch reworked · c20ab11a
      Mark Olesen authored
      - Switch now stores its value as an unsigned char, which gives it the same
        storage requirement as bool (1 byte). The original implementation had both
        bool+word (1+XXX bytes storage), an intermediate version with bool+enum
        had 8 bytes (1+4 + boundary alignment).
      
      - The reading code in boolIO.C and SwitchIO.C is now identical except for
        the error message. This allows Switch to accept '1', '0' as logical
        values, and allows bool to accept 'yes', 'no' etc. as logical values.
      
      - The Switch text translation of a bool value is now true/false instead of
        on/off. This is partly personal preference, but we could also output the
        same text when writing a bool value to Ostream.
      
      - Switch gets null and integer constructors so it feels more like bool.
        Added Switch::operator=(const bool);
      
      - Low-level types can be used for the constructors, and low-level return
        values are used for the greatest flexibility (and speed).
      
      - Fixed bugginess with dictionary lookup. The previous version actually used
        a bool instead of a Switch and bombed on 'on/off'.
      
      TODO?
        perhaps don't worry about the error message and just call the Switch
        routines from bool.
      c20ab11a
    • Mark Olesen's avatar
      7aee58e5
  17. 07 Jan, 2009 1 commit
  18. 02 Jan, 2009 1 commit
  19. 31 Dec, 2008 1 commit
  20. 25 Jun, 2008 2 commits
  21. 19 Jun, 2008 2 commits
  22. 15 Apr, 2008 1 commit