MuonCablingTools: cleanup/optimization of DBline class
Compare changes
Files
3- Frank Winklmeier authored
Delete unused `read` method and remove the usage of the `setdbfmtflag` method.
+ 0
− 1
Cleanup and optimization of the DBline
class that is used to parse RPC
text configurations (usually read from COOL):
DBline
class that will make future changes
easier to validate.hex
, dec
, oct
) that were
using excessive amounts of new
s. These functions were not used
anymore and the code comments said those are obsolete and replaced by
the equivalent dbhex
, etc. version. Also delete the now obsolete
setdbfmtflag
to switch between the old/new formatters.std::string_view
where possible.std::getline
instead of get
to read full line. This is a slight
change of behavior as now the terminating newline will be part of the
data. In practice this makes no difference as any whitespace is
ignored via the isspace
check already.RPC_CondCabling
.Delete unused `read` method and remove the usage of the `setdbfmtflag` method.