Skip to content

Class cubbase::packet_buffer

ClassList > cubbase > packet_buffer

  • #include <packet_buffer.hpp>

Public Functions

Type Name
T * allocate ()
void clear ()
std::size_t get_length ()
struct::msghdr & get_msghdr ()
packet_buffer ()
packet_buffer (int size)
void push (const cubbase::span< std::byte > & first, const Spans &... rest)
void push_for_send (const cubbase::span< std::byte > & first, const Spans &... rest)
void stamp_msghdr ()
virtual ~packet_buffer ()

Public Functions Documentation

function allocate

template<typename T>
inline T * cubbase::packet_buffer::allocate () 

function clear

void cubbase::packet_buffer::clear () 

function get_length

std::size_t cubbase::packet_buffer::get_length () 

function get_msghdr

struct::msghdr & cubbase::packet_buffer::get_msghdr () 

function packet_buffer [1/2]

cubbase::packet_buffer::packet_buffer () 

function packet_buffer [2/2]

cubbase::packet_buffer::packet_buffer (
    int size
) 

function push

template<typename... Spans>
void cubbase::packet_buffer::push (
    const  cubbase::span < std::byte > & first,
    const  Spans &... rest
) 

function push_for_send

template<typename... Spans>
void cubbase::packet_buffer::push_for_send (
    const  cubbase::span < std::byte > & first,
    const  Spans &... rest
) 

function stamp_msghdr

void cubbase::packet_buffer::stamp_msghdr () 

function ~packet_buffer

virtual cubbase::packet_buffer::~packet_buffer () 


The documentation for this class was generated from the following file cubrid/src/base/packet_buffer.hpp