34 std::copy(keyValue.begin(), keyValue.end(), std::back_inserter(configVector));
41 std::string keyValue =
key +
":" +
value +
",";
42 std::copy(keyValue.begin(), keyValue.end(), std::back_inserter(configVector));
49 std::string keyValue =
key +
":" +
value +
",";
50 std::copy(keyValue.begin(), keyValue.end(), std::back_inserter(configVector));
57 std::string keyValue =
key +
":" +
value +
",";
58 std::copy(keyValue.begin(), keyValue.end(), std::back_inserter(configVector));
65 std::string keyValue =
key +
":" +
value.Data() +
",";
66 std::copy(keyValue.begin(), keyValue.end(), std::back_inserter(configVector));
71 std::string sConfig(configVector.begin(), configVector.end());
72 std::cout <<
"string "
73 <<
" --> " << sConfig << std::endl;
74 auto const re = std::regex{R
"(,+)"};
75 auto vecRe = std::vector<std::string>(std::sregex_token_iterator{begin(sConfig),
end(sConfig), re, -1},
76 std::sregex_token_iterator{});
77 for (
size_t i = 0;
i < vecRe.size(); ++
i) {
79 std::cout <<
i <<
" --> " << vecRe[
i] << std::endl;
GLsizei const GLfloat * value
std::vector< char > DCSconfigObject_t
void printDCSConfig(const DCSconfigObject_t &configVector)
void addConfigItem(DCSconfigObject_t &configVector, std::string key, const T value)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string to_string(gsl::span< T, Size > span)