SampleHandler: Fix cppcheck warnings.
Use resize() rather than assigning from substr(). Use starts_with rather than find(). Redundant map lookups. Classes that manage memory should not have default ctor/assignment.
Use resize() rather than assigning from substr(). Use starts_with rather than find(). Redundant map lookups. Classes that manage memory should not have default ctor/assignment.