CatapultServer
v0.5.0.1 (Elephant)
validators/FacilityCode.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/model/FacilityCode.h
"
23
#include "
catapult/utils/Casting.h
"
24
25
namespace
catapult
{
namespace
validators {
26
27
#define COPY_FACILITY_CODE(FACILITY_NAME) FACILITY_NAME = utils::to_underlying_type(model::FacilityCode::FACILITY_NAME)
28
30
enum class
FacilityCode
: uint8_t {
31
COPY_FACILITY_CODE
(AccountLink),
32
COPY_FACILITY_CODE
(Aggregate),
33
COPY_FACILITY_CODE
(Core),
34
COPY_FACILITY_CODE
(LockHash),
35
COPY_FACILITY_CODE
(LockSecret),
36
COPY_FACILITY_CODE
(Metadata),
37
COPY_FACILITY_CODE
(Mosaic),
38
COPY_FACILITY_CODE
(Multisig),
39
COPY_FACILITY_CODE
(Namespace),
40
COPY_FACILITY_CODE
(RestrictionAccount),
41
COPY_FACILITY_CODE
(RestrictionMosaic),
42
COPY_FACILITY_CODE
(Transfer),
43
45
Chain
= 0xFF,
46
48
Consumer
= 0xFE,
49
51
Extension
= 0x45,
52
54
Hash
= 0x49,
55
57
Signature
= 0x53
58
};
59
60
#undef COPY_FACILITY_CODE
61
}}
catapult::validators::FacilityCode::Consumer
Consumer facility code.
catapult::validators::FacilityCode::COPY_FACILITY_CODE
catapult::validators::FacilityCode
FacilityCode
Possible validation facility codes.
Definition:
validators/FacilityCode.h:30
catapult::validators::FacilityCode::Hash
Hash facility code.
catapult::validators::FacilityCode::Extension
Extension facility code.
Casting.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::validators::FacilityCode::Chain
Chain facility code.
FacilityCode.h
catapult::utils::ByteArray
Base class for wrappers of byte array types, to provide some type-safety.
Definition:
ByteArray.h:29
catapult-server
src
catapult
validators
FacilityCode.h
Generated by
1.8.16