CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::SerializerHashedKeyEncoder< TSerializer > Class Template Reference

Encoder adapter that hashes values and keys. More...

Inheritance diagram for catapult::cache::SerializerHashedKeyEncoder< TSerializer >:
Collaboration diagram for catapult::cache::SerializerHashedKeyEncoder< TSerializer >:

Static Public Member Functions

static Hash256 EncodeKey (const typename SerializerPlainKeyEncoder< TSerializer >::KeyType &key)
 Encodes key by hashing it. More...
 
- Static Public Member Functions inherited from catapult::cache::SerializerPlainKeyEncoder< TSerializer >
static constexpr const KeyTypeEncodeKey (const KeyType &key)
 Encodes key by returning it without modification. More...
 
static Hash256 EncodeValue (const ValueType &value)
 Encodes value by hashing it. More...
 

Additional Inherited Members

- Public Types inherited from catapult::cache::SerializerPlainKeyEncoder< TSerializer >
using KeyType = typename TSerializer::KeyType
 
using ValueType = typename TSerializer::ValueType
 

Detailed Description

template<typename TSerializer>
class catapult::cache::SerializerHashedKeyEncoder< TSerializer >

Encoder adapter that hashes values and keys.

Member Function Documentation

◆ EncodeKey()

template<typename TSerializer >
static Hash256 catapult::cache::SerializerHashedKeyEncoder< TSerializer >::EncodeKey ( const typename SerializerPlainKeyEncoder< TSerializer >::KeyType key)
inlinestatic

Encodes key by hashing it.

Here is the call graph for this function:

The documentation for this class was generated from the following file: