Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CacheItem< K, V > Struct Template Reference

Serializable structure for key/value items. More...

#include <cachemap.h>

Public Member Functions

 CacheItem ()
 
 CacheItem (const K &keyIn, const V &valueIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 

Public Attributes

key
 
value
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

template<typename K, typename V>
struct CacheItem< K, V >

Serializable structure for key/value items.

Definition at line 18 of file cachemap.h.

Constructor & Destructor Documentation

◆ CacheItem() [1/2]

template<typename K , typename V >
CacheItem< K, V >::CacheItem ( )
inline

Definition at line 20 of file cachemap.h.

◆ CacheItem() [2/2]

template<typename K , typename V >
CacheItem< K, V >::CacheItem ( const K &  keyIn,
const V &  valueIn 
)
inline

Definition at line 23 of file cachemap.h.

Member Function Documentation

◆ SerializationOp()

template<typename K , typename V >
template<typename Stream , typename Operation >
void CacheItem< K, V >::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 34 of file cachemap.h.

References CacheItem< K, V >::key, READWRITE, and CacheItem< K, V >::value.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

template<typename K , typename V >
CacheItem< K, V >::ADD_SERIALIZE_METHODS

Definition at line 31 of file cachemap.h.

◆ key

◆ value


The documentation for this struct was generated from the following file:
Released under the MIT license