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::FsBroker::Params::LengthRsp Class Referencefinal

#include <swcdb/fs/Broker/Protocol/params/Length.h>

+ Inheritance diagram for SWC::Comm::Protocol::FsBroker::Params::LengthRsp:
+ Collaboration diagram for SWC::Comm::Protocol::FsBroker::Params::LengthRsp:

Public Member Functions

SWC_CAN_INLINE LengthRsp () noexcept
 
SWC_CAN_INLINE LengthRsp (size_t a_length) noexcept
 
- 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

size_t length
 

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 42 of file Length.h.

Constructor & Destructor Documentation

◆ LengthRsp() [1/2]

SWC_CAN_INLINE SWC::Comm::Protocol::FsBroker::Params::LengthRsp::LengthRsp ( )
inlinenoexcept

Definition at line 46 of file Length.h.

◆ LengthRsp() [2/2]

SWC_CAN_INLINE SWC::Comm::Protocol::FsBroker::Params::LengthRsp::LengthRsp ( size_t  a_length)
inlinenoexcept

Definition at line 49 of file Length.h.

Member Function Documentation

◆ internal_decode()

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

Implements SWC::Comm::Serializable.

Definition at line 36 of file Length.cc.

References SWC::Serialization::decode_vi64(), and length.

+ Here is the call graph for this function:

◆ internal_encode()

void SWC::Comm::Protocol::FsBroker::Params::LengthRsp::internal_encode ( uint8_t **  bufp) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 32 of file Length.cc.

References SWC::Serialization::encode_vi64(), and length.

+ Here is the call graph for this function:

◆ internal_encoded_length()

size_t SWC::Comm::Protocol::FsBroker::Params::LengthRsp::internal_encoded_length ( ) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 28 of file Length.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

◆ length

size_t SWC::Comm::Protocol::FsBroker::Params::LengthRsp::length

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