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

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

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

Public Member Functions

SWC_CAN_INLINE LengthReq () noexcept
 
SWC_CAN_INLINE LengthReq (const std::string &a_fname)
 
 ~LengthReq () 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

std::string fname
 

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

Constructor & Destructor Documentation

◆ LengthReq() [1/2]

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

Definition at line 21 of file Length.h.

◆ LengthReq() [2/2]

SWC_CAN_INLINE SWC::Comm::Protocol::FsBroker::Params::LengthReq::LengthReq ( const std::string &  a_fname)
inline

Definition at line 24 of file Length.h.

◆ ~LengthReq()

SWC::Comm::Protocol::FsBroker::Params::LengthReq::~LengthReq ( )
inlinenoexcept

Definition at line 26 of file Length.h.

Member Function Documentation

◆ internal_decode()

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

Implements SWC::Comm::Serializable.

Definition at line 22 of file Length.cc.

References SWC::Serialization::decode_bytes_string(), and fname.

+ Here is the call graph for this function:

◆ internal_encode()

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

Implements SWC::Comm::Serializable.

Definition at line 18 of file Length.cc.

References SWC::Serialization::encode_bytes(), and fname.

+ Here is the call graph for this function:

◆ internal_encoded_length()

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

Implements SWC::Comm::Serializable.

Definition at line 14 of file Length.cc.

References SWC::Serialization::encoded_length_bytes(), and fname.

+ Here is the call graph for this function:

Member Data Documentation

◆ fname

std::string SWC::Comm::Protocol::FsBroker::Params::LengthReq::fname

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