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 Class Referencefinal

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

+ Inheritance diagram for SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus:
+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus:

Classes

struct  RangeStatus
 

Public Member Functions

SWC_CAN_INLINE RspColumnStatus () noexcept
 
SWC_CAN_INLINE ~RspColumnStatus () noexcept
 
void display (std::ostream &out, const std::string &offset="") const
 
- Public Member Functions inherited from SWC::Comm::Serializable
size_t encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 

Public Attributes

DB::Types::MngrColumn::State state
 
Core::Vector< RangeStatusranges
 

Private Member Functions

size_t SWC_PURE_FUNC internal_encoded_length () const override
 
void internal_encode (uint8_t **bufp) const override
 
void internal_decode (const uint8_t **bufp, size_t *remainp) override
 

Additional Inherited Members

- Protected Member Functions inherited from SWC::Comm::Serializable
virtual ~Serializable () noexcept
 

Detailed Description

Definition at line 59 of file Report.h.

Constructor & Destructor Documentation

◆ RspColumnStatus()

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

Definition at line 63 of file Report.h.

◆ ~RspColumnStatus()

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

Definition at line 69 of file Report.h.

Member Function Documentation

◆ display()

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

Definition at line 92 of file Report.cc.

References ranges, state, and SWC::DB::Types::to_string().

Referenced by SWC::Utils::shell::Mngr::column_status().

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

◆ internal_decode()

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

Implements SWC::Comm::Serializable.

Definition at line 78 of file Report.cc.

References SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi64(), ranges, SWC::Comm::Resolver::sort(), and state.

+ Here is the call graph for this function:

◆ internal_encode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::internal_encode ( uint8_t **  bufp) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 71 of file Report.cc.

References SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi64(), ranges, and state.

+ Here is the call graph for this function:

◆ internal_encoded_length()

size_t SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::internal_encoded_length ( ) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 63 of file Report.cc.

References SWC::Serialization::encoded_length_vi64(), and ranges.

+ Here is the call graph for this function:

Member Data Documentation

◆ ranges

Core::Vector<RangeStatus> SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::ranges

◆ state


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