SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::DB::Types::MngrRole Namespace Reference

Functions

std::string to_string (uint8_t role)
 

Variables

const uint8_t NONE = 0x00
 
const uint8_t COLUMNS = 0x01
 
const uint8_t SCHEMAS = 0x02
 
const uint8_t RANGERS = 0x04
 
const uint8_t NO_COLUMNS = 0x08
 
const uint8_t ALL = COLUMNS | SCHEMAS | RANGERS
 

Function Documentation

◆ to_string()

std::string SWC::DB::Types::MngrRole::to_string ( uint8_t  role)

Definition at line 19 of file MngrRole.cc.

References COLUMNS, NO_COLUMNS, RANGERS, and SCHEMAS.

Referenced by SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::display(), SWC::client::Mngr::Group::print(), and SWC::Manager::MngrStatus::print().

+ Here is the caller graph for this function:

Variable Documentation

◆ ALL

const uint8_t SWC::DB::Types::MngrRole::ALL = COLUMNS | SCHEMAS | RANGERS

Definition at line 18 of file MngrRole.h.

Referenced by SWC::client::Mngr::Groups::on_cfg_update().

◆ COLUMNS

◆ NO_COLUMNS

const uint8_t SWC::DB::Types::MngrRole::NO_COLUMNS = 0x08

◆ NONE

const uint8_t SWC::DB::Types::MngrRole::NONE = 0x00

Definition at line 13 of file MngrRole.h.

Referenced by SWC::Manager::MngrRole::apply_role_changes().

◆ RANGERS

◆ SCHEMAS