SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
MngrRangeState.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_MngrRangeState_h
7 #define swcdb_db_types_MngrRangeState_h
8 
9 #include "swcdb/core/Compat.h"
10 
11 namespace SWC { namespace DB { namespace Types {
12 
13 
14 namespace MngrRange {
15 
16  enum State : uint8_t {
17  NOTSET = 0,
18  DELETED = 1,
19  ASSIGNED = 2,
20  CREATED = 3,
21  QUEUED = 4,
22  MERGE = 5
23  };
24 
25 }
26 
27 
28 const char* SWC_CONST_FUNC to_string(MngrRange::State state) noexcept;
29 
30 
31 }}}
32 
33 #ifdef SWC_IMPL_SOURCE
35 #endif
36 
37 #endif // swcdb_db_types_MngrRangeState_h
SWC::DB::Types::MngrRange::State
State
Definition: MngrRangeState.h:16
SWC::DB::Types::to_string
const char *SWC_CONST_FUNC to_string(Column typ) noexcept
Definition: Column.cc:38
SWC_CONST_FUNC
#define SWC_CONST_FUNC
Definition: Compat.h:107
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
SWC::DB::Types::MngrRange::ASSIGNED
@ ASSIGNED
Definition: MngrRangeState.h:19
Compat.h
SWC::DB::Types::MngrRange::CREATED
@ CREATED
Definition: MngrRangeState.h:20
MngrRangeState.cc
SWC::DB::Types::MngrRange::NOTSET
@ NOTSET
Definition: MngrRangeState.h:17
SWC::DB::Types::MngrRange::QUEUED
@ QUEUED
Definition: MngrRangeState.h:21
SWC::DB::Types::MngrRange::DELETED
@ DELETED
Definition: MngrRangeState.h:18
SWC::DB::Types::MngrRange::MERGE
@ MERGE
Definition: MngrRangeState.h:22