19 return (vkey[0]==separator() && vkey[3]==separator());
24 return isVersionedKey(vkey.c_str());
42 copyVK(std::string(versionedKey));
47 version = (
unsigned char)
atoi(m_versionKey.substr(1,2).c_str());
54 snprintf(vers, 6, versionFormatString(),
version);
55 m_versionKey = vers + inKey;
60 if (isVersionedKey(inKey)) {
62 m_baseKey = m_versionKey.substr(4);
68 return (
unsigned char) std::stoul(m_versionKey.substr(1,2),
nullptr, 0);
77 return (this->
key() == vkey.
key());
82 return (this->
key() == baseKey);
87 return (this->
key() == std::string(baseKey));
93 unsigned char lhsVersion(0);
94 lhs.
decode(lhskey, lhsVersion);
95 unsigned char rhsVersion(0);
97 rhs.
decode(rhskey, rhsVersion);
98 int keyCompare(strcmp(lhskey.c_str(), rhskey.c_str()));
99 return ( ( keyCompare < 0) ||
100 ( (keyCompare == 0) && (lhsVersion < rhsVersion) ) ) ;