CatapultServer  v0.5.0.1 (Elephant)
PacketType.h File Reference
Include dependency graph for PacketType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::ionet
 

Macros

#define FACILITY_BASED_CODE(BASE_VALUE, FACILITY_CODE)   (BASE_VALUE + static_cast<uint8_t>(model::FacilityCode::FACILITY_CODE))
 
#define PACKET_TYPE_LIST
 
#define ENUM_VALUE(LABEL, VALUE)   LABEL = VALUE,
 

Enumerations

enum  catapult::ionet::PacketType : uint32_t { catapult::ionet::PacketType::PACKET_TYPE_LIST }
 An enumeration of known packet types. More...
 

Functions

std::ostream & catapult::ionet::operator<< (std::ostream &out, PacketType value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL,
  VALUE 
)    LABEL = VALUE,

◆ FACILITY_BASED_CODE

#define FACILITY_BASED_CODE (   BASE_VALUE,
  FACILITY_CODE 
)    (BASE_VALUE + static_cast<uint8_t>(model::FacilityCode::FACILITY_CODE))

◆ PACKET_TYPE_LIST

#define PACKET_TYPE_LIST