CatapultServer
v0.5.0.1 (Elephant)
CacheConstants.h
Go to the documentation of this file.
1
21
#pragma once
22
#include <stdint.h>
23
24
namespace
catapult
{
namespace
cache {
25
27
enum class
CacheId
: uint32_t {
28
AccountState
,
29
BlockDifficulty
,
30
Hash
,
31
Namespace
,
32
Mosaic
,
33
Multisig
,
34
HashLockInfo
,
35
SecretLockInfo
,
36
AccountRestriction
,
37
MosaicRestriction
,
38
Metadata
39
};
40
42
#define DEFINE_CACHE_CONSTANTS(NAME) \
43
static constexpr size_t Id = utils::to_underlying_type(CacheId::NAME); \
44
static constexpr auto Name = #NAME "Cache";
45
}}
catapult::cache::CacheId::AccountRestriction
catapult::cache::CacheId
CacheId
Cache ids for well-known caches.
Definition:
CacheConstants.h:27
catapult::cache::CacheId::BlockDifficulty
catapult::cache::CacheId::SecretLockInfo
catapult::cache::CacheId::Multisig
catapult::cache::CacheId::Mosaic
catapult::cache::CacheId::HashLockInfo
catapult::cache::CacheId::AccountState
catapult::cache::CacheId::Metadata
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::cache::CacheId::Namespace
catapult::cache::CacheId::Hash
catapult::cache::CacheId::MosaicRestriction
catapult-server
src
catapult
cache
CacheConstants.h
Generated by
1.8.16