SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
MngrRole.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_MngrRole_h
7 #define swcdb_db_types_MngrRole_h
8 
9 #include "swcdb/core/Compat.h"
10 
11 namespace SWC { namespace DB { namespace Types { namespace MngrRole {
12 
13 const uint8_t NONE = 0x00;
14 const uint8_t COLUMNS = 0x01;
15 const uint8_t SCHEMAS = 0x02;
16 const uint8_t RANGERS = 0x04;
17 const uint8_t NO_COLUMNS = 0x08;
18 const uint8_t ALL = COLUMNS | SCHEMAS | RANGERS;
19 
20 std::string to_string(uint8_t role);
21 
22 }}}}
23 
24 #ifdef SWC_IMPL_SOURCE
26 #endif
27 
28 #endif // swcdb_db_types_MngrRole_h
SWC::DB::Types::MngrRole::NONE
const uint8_t NONE
Definition: MngrRole.h:13
SWC::DB::Types::MngrRole::NO_COLUMNS
const uint8_t NO_COLUMNS
Definition: MngrRole.h:17
SWC::DB::Types::MngrRole::SCHEMAS
const uint8_t SCHEMAS
Definition: MngrRole.h:15
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
Compat.h
MngrRole.cc
SWC::DB::Types::MngrRole::ALL
const uint8_t ALL
Definition: MngrRole.h:18
SWC::DB::Types::MngrRole::RANGERS
const uint8_t RANGERS
Definition: MngrRole.h:16
SWC::DB::Types::MngrRole::COLUMNS
const uint8_t COLUMNS
Definition: MngrRole.h:14
SWC::DB::Types::MngrRole::to_string
std::string to_string(uint8_t role)
Definition: MngrRole.cc:19