10 #ifndef YARP_SERVERSQL_IMPL_TRIPLE_H
11 #define YARP_SERVERSQL_IMPL_TRIPLE_H
59 void split(
const std::string& str)
64 size_t stop = std::string::npos;
65 size_t ins = str.find(
':');
66 if (ins!=std::string::npos) {
67 ns = str.substr(0,ins);
71 size_t ine = str.find(
'=',start);
72 if (ine!=std::string::npos) {
73 value = str.substr(ine+1,std::string::npos);
77 name = str.substr(start,stop-start);
102 return value.c_str();
116 r = std::string(
ns) +
":" + r;
143 #endif // YARP_SERVERSQL_IMPL_TRIPLE_H