rippled
Loading...
Searching...
No Matches
include
xrpl
core
StartUpType.h
1
#pragma once
2
3
#include <
iosfwd
>
4
#include <
type_traits
>
5
6
namespace
xrpl
{
7
8
enum class
StartUpType
{
FRESH
,
NORMAL
,
LOAD
,
LOAD_FILE
,
REPLAY
,
NETWORK
};
9
10
inline
std::ostream
&
11
operator<<
(
std::ostream
& os,
StartUpType
const
& type)
12
{
13
return
os << static_cast<std::underlying_type_t<StartUpType>>(type);
14
}
15
16
}
// namespace xrpl
std::ostream
iosfwd
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::operator<<
std::ostream & operator<<(std::ostream &out, base_uint< Bits, Tag > const &u)
Definition
base_uint.h:612
xrpl::StartUpType
StartUpType
Definition
StartUpType.h:8
xrpl::StartUpType::NORMAL
@ NORMAL
xrpl::StartUpType::NETWORK
@ NETWORK
xrpl::StartUpType::REPLAY
@ REPLAY
xrpl::StartUpType::LOAD_FILE
@ LOAD_FILE
xrpl::StartUpType::LOAD
@ LOAD
xrpl::StartUpType::FRESH
@ FRESH
type_traits
Generated by
1.9.8