Skip to content
Snippets Groups Projects

Hide 'write once, do not directly read' instance of RawEvent behind an opaque view

Merged Gerhard Raven requested to merge issue-179 into sevda-issue-179

Address issue #179 (closed): make sure that a RawEvent which 'supports' RawBank::Views in the TES cannot be modified (which would invalidate the views) by writing it using writeViewFor with a view that does not allow access. Some syntactic sugar i.e. template <typename T> using writeOnly = writeViewFor<T,OpaqueView>; has been added to LHCbAlgs/Traits.h (which is included by the functional algorithms types defined in LHCbAlgs) for convenience.

Superseded by !3873 (merged).

Edited by Sevda Esen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading