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

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

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

Public Member Functions

SWC_CAN_INLINE ReaddirReq () noexcept
 
SWC_CAN_INLINE ReaddirReq (const std::string &a_dirname)
 
 ~ReaddirReq () 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 dirname
 

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 18 of file Readdir.h.

Constructor & Destructor Documentation

◆ ReaddirReq() [1/2]

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

Definition at line 22 of file Readdir.h.

◆ ReaddirReq() [2/2]

SWC_CAN_INLINE SWC::Comm::Protocol::FsBroker::Params::ReaddirReq::ReaddirReq ( const std::string &  a_dirname)
inline

Definition at line 25 of file Readdir.h.

◆ ~ReaddirReq()

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

Definition at line 27 of file Readdir.h.

Member Function Documentation

◆ internal_decode()

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

Implements SWC::Comm::Serializable.

Definition at line 22 of file Readdir.cc.

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

+ Here is the call graph for this function:

◆ internal_encode()

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

Implements SWC::Comm::Serializable.

Definition at line 18 of file Readdir.cc.

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

+ Here is the call graph for this function:

◆ internal_encoded_length()

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

Implements SWC::Comm::Serializable.

Definition at line 14 of file Readdir.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

◆ dirname

std::string SWC::Comm::Protocol::FsBroker::Params::ReaddirReq::dirname

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