Skip to content
Snippets Groups Projects
This project is mirrored from https://gitlab.cern.ch/gaudi/Gaudi.git. Pull mirroring updated .
  1. Mar 15, 2018
  2. Mar 13, 2018
  3. Feb 23, 2018
  4. Feb 22, 2018
  5. Feb 21, 2018
    • Frank Winklmeier's avatar
      Add category support to StatusCode · a494dffc
      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.
      a494dffc
  6. Feb 20, 2018
  7. Feb 08, 2018
  8. Feb 07, 2018
  9. Feb 06, 2018
  10. Jan 26, 2018
  11. Jan 25, 2018
  12. Jan 23, 2018
  13. Jan 03, 2018
  14. Jan 02, 2018
  15. Dec 22, 2017
  16. Dec 21, 2017
  17. Dec 20, 2017
Loading