Skip to content
Snippets Groups Projects
  1. Apr 16, 2018
  2. Apr 12, 2018
  3. Mar 13, 2018
  4. Feb 10, 2018
  5. Feb 09, 2018
  6. Feb 07, 2018
    • Frank Winklmeier's avatar
      Add category support to StatusCode · 22acc16e
      Frank Winklmeier authored
      The StatusCode now consists of a value and category/domain. By default
      StatusCodes are created within a "default category". But users can
      define new categories and StatusCodes using typed enums. The design is
      mainly borrowed from std::error_code.
      
      Main changes:
      - StatusCode::setCode has been removed
      - No implicit conversions from/to bool or int anymore. This greatly
        increases type safety.
      - Converted all unscoped enums in Gaudi to their own StatusCode
        category (Clients will have to adjust their code to the scoped enum
        names (e.g. ERR -> Status::ERR)
      - Added operator bool() that is equivalent to isSuccess()
      - Added ternary (bitwise) AND(&) and OR(|) operators to combine
        StatusCodes according to three-valued logic
      - Added extensive unit tests for all StatusCode features
      
      Impact on clients:
      - Code that relies on the implicit StatusCode<->bool/int conversion has
        to be changed to explicitly construct/convert StatusCodes via either
        the constructor, operator bool() or getCode().
      - Clients using Gaudi StatusCodes need to adjust to using the scoped
        enums. E.g. clients of the ConversionSvc need to change BAD_STORAGE_TYPE to
        Status::BAD_STORAGE_TYPE when checking for specific StatusCode return
        types.
      22acc16e
  7. Nov 29, 2017
  8. Nov 28, 2017
  9. Nov 27, 2017
  10. Nov 24, 2017
  11. Nov 14, 2017
  12. Oct 08, 2017
  13. Sep 26, 2017
  14. Sep 25, 2017
  15. Jul 30, 2017
  16. Jul 29, 2017
  17. Mar 20, 2017
  18. Mar 14, 2017
  19. Mar 08, 2017
  20. Mar 02, 2017
  21. Dec 19, 2016
  22. Dec 14, 2016
  23. Nov 28, 2016
  24. Nov 26, 2016
  25. Nov 08, 2016
  26. Oct 13, 2016
  27. Oct 08, 2016
  28. Sep 28, 2016
  29. Sep 07, 2016
  30. Jul 28, 2016
  31. Jul 21, 2016
  32. Jul 19, 2016
Loading