MCPcopy Create free account
hub / github.com/cryptonomex/graphene / idToString

Function idToString

programs/light_client/ChainDataModel.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template<typename T>
36QString idToString(T id) {
37 return QString("%1.%2.%3").arg(T::space_id).arg(T::type_id).arg(ObjectId(id.instance));
38}
39QString idToString(graphene::db::object_id_type id) {
40 return QString("%1.%2.%3").arg(id.space(), id.type(), ObjectId(id.instance()));
41}

Callers 3

getAssetMethod · 0.85
getAccountImplMethod · 0.85
getAccountMethod · 0.85

Calls 3

spaceMethod · 0.80
typeMethod · 0.45
instanceMethod · 0.45

Tested by

no test coverage detected