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