Remove unnecessary long/StatusCode conversions
In preparation for a larger re-design of StatusCode clean up a few places where the code unnecessarily relies on an implicit long type-conversion. In detail:
-
ObjectVector::remove: Return the index of the deleted object as documented in the base class. Before it always returned 1 -
RegistryEntry: Change return type of some methods fromlongtoStatusCode -
IODataManager: Get rid of theS_OK/S_ERRORenum alias as this relies on the actual type of theStatusCodeenums -
RootDataConnection: Change return type ofsetCompressionfromlongtoStatusCode - Replace a few
bool-casts withisSuccess()andlong-casts withgetCode()
Edited by Frank Winklmeier