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::Bkr::Params::CellsUpdateRsp Class Referencefinal

#include <swcdb/db/Protocol/Bkr/params/CellsUpdate.h>

+ Inheritance diagram for SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp:
+ Collaboration diagram for SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp:

Public Member Functions

SWC_CAN_INLINE CellsUpdateRsp (int a_err=Error::OK) noexcept
 
 CellsUpdateRsp (int err, const uint8_t *ptr, size_t remain) noexcept
 
void print (std::ostream &out) 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

int32_t err
 

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 44 of file CellsUpdate.h.

Constructor & Destructor Documentation

◆ CellsUpdateRsp() [1/2]

SWC_CAN_INLINE SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::CellsUpdateRsp ( int  a_err = Error::OK)
inlinenoexcept

Definition at line 48 of file CellsUpdate.h.

◆ CellsUpdateRsp() [2/2]

SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::CellsUpdateRsp ( int  err,
const uint8_t *  ptr,
size_t  remain 
)
noexcept

Definition at line 35 of file CellsUpdate.cc.

References SWC::Error::Exception::code(), decode(), SWC::LOG_ERROR, SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

+ Here is the call graph for this function:

Member Function Documentation

◆ internal_decode()

void SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::internal_decode ( const uint8_t **  bufp,
size_t *  remainp 
)
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 59 of file CellsUpdate.cc.

References SWC::Serialization::decode_vi32(), and err.

+ Here is the call graph for this function:

◆ internal_encode()

void SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::internal_encode ( uint8_t **  bufp) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 55 of file CellsUpdate.cc.

References SWC::Serialization::encode_vi32(), and err.

+ Here is the call graph for this function:

◆ internal_encoded_length()

size_t SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::internal_encoded_length ( ) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 51 of file CellsUpdate.cc.

References SWC::Serialization::encoded_length_vi32(), and err.

+ Here is the call graph for this function:

◆ print()

void SWC::Comm::Protocol::Bkr::Params::CellsUpdateRsp::print ( std::ostream &  out) const

Definition at line 46 of file CellsUpdate.cc.

References err, and SWC::Error::print().

+ Here is the call graph for this function:

Member Data Documentation

◆ err


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