| 124 | } |
| 125 | |
| 126 | bool CDexDBCache::GetDexOperator(const DexID &id, DexOperatorDetail& detail) { |
| 127 | decltype(operator_detail_cache)::KeyType idKey(id); |
| 128 | bool result = operator_detail_cache.GetData(idKey, detail); |
| 129 | if (result) |
| 130 | return result; |
| 131 | if (id == MAIN_DEX_ID ) |
| 132 | return Dex0(detail); |
| 133 | return result; |
| 134 | |
| 135 | } |
| 136 | |
| 137 | bool CDexDBCache::GetDexOperatorByOwner(const CRegID ®id, DexID &idOut, DexOperatorDetail& detail) { |
| 138 | decltype(operator_owner_map_cache)::ValueType dexID; |
no test coverage detected