Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  26 Nov 2025, Lars Martin, Suggestion, mvodb WS and family type matching 
    Reply  27 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
       Reply  27 Nov 2025, Stefan Ritt, Suggestion, mvodb WS and family type matching 
          Reply  28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
             Reply  28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
Message ID: 3146     Entry time: 26 Nov 2025     Reply to this: 3151
Author: Lars Martin 
Topic: Suggestion 
Subject: mvodb WS and family type matching 
This is not a bug per se, but I find it a little odd that the MVOdb functions RS, 
RSA, RSAI, and WSA use std::string as their type, while WS ans WSAI use const 
char*

Seems to me like simple overloading a la
void WS(const char* varname, const std::string v, MVOdbError* error = NULL){
    WS(varname, v.c_str(), v.size(), error);
}

should be all that's needed, right?
ELOG V3.1.4-2e1708b5