CatapultServer
v0.5.0.1 (Elephant)
NodeInteractionResultCode.h
Go to the documentation of this file.
1
21
#pragma once
22
#include <iosfwd>
23
#include <stdint.h>
24
25
namespace
catapult
{
namespace
ionet {
26
27
#define NODE_INTERACTION_RESULT_CODE_LIST \
28
/* No experience. */
\
29
ENUM_VALUE(None) \
30
\
31
/* Experience was neutral. */
\
32
ENUM_VALUE(Neutral) \
33
\
34
/* Experience was good. */
\
35
ENUM_VALUE(Success) \
36
\
37
/* Experience was bad. */
\
38
ENUM_VALUE(Failure)
39
40
#define ENUM_VALUE(LABEL) LABEL,
41
enum class
NodeInteractionResultCode
{
43
NODE_INTERACTION_RESULT_CODE_LIST
44
};
45
#undef ENUM_VALUE
46
48
std::ostream&
operator<<
(std::ostream& out,
NodeInteractionResultCode
value);
49
}}
MacroBasedEnum.h
NodeInteractionResultCode.h
catapult::ionet::NodeInteractionResultCode::NODE_INTERACTION_RESULT_CODE_LIST
MacroBasedEnumIncludes.h
catapult::ionet::operator<<
std::ostream & operator<<(std::ostream &out, ConnectionSecurityMode value)
Insertion operator for outputting value to out.
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::ionet::NodeInteractionResultCode
NodeInteractionResultCode
Possible node interaction result codes.
Definition:
NodeInteractionResultCode.h:42
catapult-server
src
catapult
ionet
NodeInteractionResultCode.h
Generated by
1.8.16