Go to the source code of this file.
|
#define | DEFINE_ENTITY_TYPE(BASIC_TYPE, FACILITY, DESCRIPTION, CODE) |
| Defines entity type given BASIC_TYPE, FACILITY, DESCRIPTION and CODE. More...
|
|
#define | DEFINE_TRANSACTION_TYPE(FACILITY, DESCRIPTION, CODE) DEFINE_ENTITY_TYPE(Transaction, FACILITY, DESCRIPTION, CODE) |
| Defines transaction type given FACILITY, DESCRIPTION and CODE. More...
|
|
|
constexpr EntityType | catapult::model::MakeEntityType (BasicEntityType basicEntityType, FacilityCode facilityCode, uint8_t code) |
| Makes entity type given basicEntityType, facilityCode and code. More...
|
|
| catapult::model::DEFINE_ENTITY_TYPE (Block, Core, Nemesis_Block, 0) |
| Nemesis block. More...
|
|
| catapult::model::DEFINE_ENTITY_TYPE (Block, Core, Block, 1) |
| Block. More...
|
|
constexpr BasicEntityType | catapult::model::ToBasicEntityType (EntityType type) |
| Converts an entity type into a basic entity type. More...
|
|
std::ostream & | catapult::model::operator<< (std::ostream &out, EntityType entityType) |
| Insertion operator for outputting entityType to out. More...
|
|
◆ DEFINE_ENTITY_TYPE
#define DEFINE_ENTITY_TYPE |
( |
|
BASIC_TYPE, |
|
|
|
FACILITY, |
|
|
|
DESCRIPTION, |
|
|
|
CODE |
|
) |
| |
Value:
(model::BasicEntityType::BASIC_TYPE), \
(model::FacilityCode::FACILITY), \
CODE)
Defines entity type given BASIC_TYPE, FACILITY, DESCRIPTION and CODE.
◆ DEFINE_TRANSACTION_TYPE
#define DEFINE_TRANSACTION_TYPE |
( |
|
FACILITY, |
|
|
|
DESCRIPTION, |
|
|
|
CODE |
|
) |
| DEFINE_ENTITY_TYPE(Transaction, FACILITY, DESCRIPTION, CODE) |
Defines transaction type given FACILITY, DESCRIPTION and CODE.