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::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus Struct Reference

#include <swcdb/db/Protocol/Mngr/params/Report.h>

Public Member Functions

SWC_CAN_INLINE RangeStatus () noexcept
 
SWC_CAN_INLINE RangeStatus (const uint8_t **bufp, size_t *remainp)
 
size_t SWC_PURE_FUNC encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 
void display (std::ostream &out, const std::string &offset) const
 

Public Attributes

DB::Types::MngrRange::State state
 
rid_t rid
 
rgrid_t rgr_id
 

Detailed Description

Definition at line 71 of file Report.h.

Constructor & Destructor Documentation

◆ RangeStatus() [1/2]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::RangeStatus ( )
inlinenoexcept

Definition at line 78 of file Report.h.

◆ RangeStatus() [2/2]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::RangeStatus ( const uint8_t **  bufp,
size_t *  remainp 
)
inline

Definition at line 81 of file Report.h.

References decode().

+ Here is the call graph for this function:

Member Function Documentation

◆ decode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::decode ( const uint8_t **  bufp,
size_t *  remainp 
)

Definition at line 46 of file Report.cc.

References SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

Referenced by RangeStatus().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ display()

void SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::display ( std::ostream &  out,
const std::string &  offset 
) const

Definition at line 53 of file Report.cc.

References SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state, and SWC::DB::Types::to_string().

+ Here is the call graph for this function:

◆ encode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::encode ( uint8_t **  bufp) const

Definition at line 40 of file Report.cc.

References SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

+ Here is the call graph for this function:

◆ encoded_length()

size_t SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::encoded_length ( ) const

Definition at line 34 of file Report.cc.

References SWC::Serialization::encoded_length_vi64(), rgr_id, and rid.

+ Here is the call graph for this function:

Member Data Documentation

◆ rgr_id

rgrid_t SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::rgr_id

Definition at line 75 of file Report.h.

Referenced by encoded_length().

◆ rid

rid_t SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::rid

Definition at line 74 of file Report.h.

Referenced by encoded_length().

◆ state

DB::Types::MngrRange::State SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::RangeStatus::state

Definition at line 73 of file Report.h.


The documentation for this struct was generated from the following files: