SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Range.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_Range_h
7 #define swcdb_db_types_Range_h
8 
9 #include "swcdb/core/Compat.h"
10 
11 namespace SWC { namespace DB { namespace Types {
12 
13 
14 enum class Range : uint8_t {
15  MASTER = 1,
16  META = 2,
17  DATA = 3
18 };
19 
20 const char* SWC_CONST_FUNC to_string(Range typ) noexcept;
21 
22 }}}
23 
24 
25 #ifdef SWC_IMPL_SOURCE
26 #include "swcdb/db/Types/Range.cc"
27 #endif
28 
29 #endif // swcdb_db_types_Range_h
Range.cc
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
Compat.h
SWC::DB::Types::Range::MASTER
@ MASTER
SWC::DB::Types::Range
Range
Definition: Range.h:14