|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_db_protocol_mngr_params_RgrMngId_h
7 #define swcdb_db_protocol_mngr_params_RgrMngId_h
13 namespace SWC {
namespace Comm {
namespace Protocol {
14 namespace Mngr {
namespace Params {
48 void print(std::ostream& out)
const {
49 out <<
"RgrMngId(id=" <<
rgrid;
51 out <<
" flag=" << int(
flag);
52 if(
flag == Flag::MNGR_ASSIGNED)
69 if(
flag >= Flag::RGR_REQ)
72 if(
flag == Flag::MNGR_ASSIGNED)
82 if(
flag >= Flag::RGR_REQ)
85 if(
flag == Flag::MNGR_ASSIGNED)
94 if(
flag >= Flag::RGR_REQ)
97 if(
flag == Flag::MNGR_ASSIGNED)
106 #endif // swcdb_db_protocol_params_RgrMngId_h
void internal_decode(const uint8_t **bufp, size_t *remainp) override
size_t internal_encoded_length() const override
constexpr SWC_CAN_INLINE void encode_i8(uint8_t **bufp, uint8_t val) noexcept
SWC_CAN_INLINE uint8_t encoded_length(const Comm::EndPoint &endpoint) noexcept
void print(std::ostream &out, const EndPoints &endpoints)
void encode(uint8_t **bufp, const Comm::EndPoint &endpoint)
SWC_CAN_INLINE RgrMngId(rgrid_t a_rgrid, Flag a_flag, const EndPoints &a_endpoints)
The SWC-DB C++ namespace 'SWC'.
constexpr SWC_CAN_INLINE uint8_t encoded_length_vi64(uint64_t val) noexcept
void print(std::ostream &out) const
Comm::EndPoint decode(const uint8_t **bufp, size_t *remainp)
void internal_encode(uint8_t **bufp) const override
constexpr SWC_CAN_INLINE uint64_t decode_vi64(const uint8_t **bufp, size_t *remainp)
SWC_CAN_INLINE RgrMngId() noexcept
SWC_CAN_INLINE ~RgrMngId() noexcept
constexpr SWC_CAN_INLINE void encode_vi64(uint8_t **bufp, uint64_t val)
constexpr SWC_CAN_INLINE uint8_t decode_i8(const uint8_t **bufp, size_t *remainp)
const char *SWC_CONST_FUNC to_string(Type typ) noexcept