Exemple #1
0
 std::string uuidToHex(const std::string &uuid, Robomongo::UUIDEncoding encoding)
 {
     switch(encoding) {
     case DefaultEncoding: return uuidToHex(uuid);
     case JavaLegacy:      return javaUuidToHex(uuid);
     case CSharpLegacy:    return csharpUuidToHex(uuid);
     case PythonLegacy:    return pythonUuidToHex(uuid);
     default:              return uuidToHex(uuid);
     }
 }
Exemple #2
0
 std::string pythonUuidToHex(const std::string &uuid)
 {
     return uuidToHex(uuid);
 }
Exemple #3
0
std::string Robomongo::HexUtils::pythonUuidToHex(const std::string &uuid)
{
    return uuidToHex(uuid);
}