[taped] Resolve "Fix Enstore-reading Sonarcloud issues"
Description
Resolves a number of Sonarcloud issues found. Some memory management to use unique_ptr instead of new/delete. To replace the FUNCTION macro new C++ features, and some formatting. Closes #1281
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See our contributing docs
Edited by Eric Wayne Vaandering