SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
MngrRangerState.h
Go to the documentation of this file.
1 /*
2  * SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3  * License details at <https://github.com/kashirin-alex/swc-db/#license>
4  */
5 
6 #ifndef swcdb_db_types_MngrRangerState_h
7 #define swcdb_db_types_MngrRangerState_h
8 
9 #include "swcdb/core/Compat.h"
10 
11 namespace SWC { namespace DB { namespace Types {
12 
13 
14 namespace MngrRangerState {
15 
16 const uint8_t NONE = 0x01;
17 const uint8_t AWAIT = 0x02;
18 const uint8_t ACK = 0x04;
19 const uint8_t REMOVED = 0x08;
20 const uint8_t MARKED_OFFLINE = 0x10;
21 const uint8_t SHUTTINGDOWN = 0x20;
22 
23 
24 const char* SWC_CONST_FUNC to_string(uint8_t state) noexcept;
25 
26 }
27 
28 
29 
30 
31 }}}
32 
33 #ifdef SWC_IMPL_SOURCE
35 #endif
36 
37 #endif // swcdb_db_types_MngrRangerState_h
MngrRangerState.cc
SWC::DB::Types::MngrRangerState::AWAIT
const uint8_t AWAIT
Definition: MngrRangerState.h:17
SWC::DB::Types::MngrRangerState::ACK
const uint8_t ACK
Definition: MngrRangerState.h:18
SWC_CONST_FUNC
#define SWC_CONST_FUNC
Definition: Compat.h:107
SWC::DB::Types::MngrRangerState::SHUTTINGDOWN
const uint8_t SHUTTINGDOWN
Definition: MngrRangerState.h:21
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
Compat.h
SWC::DB::Types::MngrRangerState::REMOVED
const uint8_t REMOVED
Definition: MngrRangerState.h:19
SWC::DB::Types::MngrRangerState::NONE
const uint8_t NONE
Definition: MngrRangerState.h:16
SWC::DB::Types::MngrRangerState::MARKED_OFFLINE
const uint8_t MARKED_OFFLINE
Definition: MngrRangerState.h:20
SWC::DB::Types::MngrRangerState::to_string
const char *SWC_CONST_FUNC to_string(uint8_t state) noexcept
Definition: MngrRangerState.cc:23