Skip to content
Snippets Groups Projects

Use templated function TDirectory::Get<T>

Merged Florian Uhlig requested to merge f.uhlig/cbmroot:templated_tfile_get into master
All threads resolved!

Since ROOT 6.18 the function TDirectory::Get(const char*) exist which either returns a properly checked and casted object from a TFile/TDirectory or returns a nullptr.

Test if the object exist after is was read from file and stop the execution if the object doesn't exist.

Also tests which checks if a valid file pointer exist were added at several places.

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
  • Volker Friese
  • Volker Friese
  • Volker Friese
  • Sergey Gorbunov approved this merge request

    approved this merge request

  • Volker Friese resolved all threads

    resolved all threads

  • Volker Friese added 20 commits

    added 20 commits

    Compare with previous version

  • Volker Friese approved this merge request

    approved this merge request

  • merged

  • Please register or sign in to reply
    Loading