Skip to content

Class cubconn::buffer

ClassList > cubconn > buffer

  • #include <buffer.hpp>

Public Functions

Type Name
void advance (std::size_t bytes) noexcept
const T * data_as () noexcept const
bool has_data () noexcept const
bool has_space () noexcept const
bool is_complete () noexcept const
bool is_ready_for () noexcept const
void mark_consumed ()
std::size_t position () noexcept const
std::pair< const std::byte *, std::size_t > remaining_data () noexcept const
std::pair< std::byte *, std::size_t > remaining_space () noexcept
void reset ()
bool set_data (const void * data, size_t size) noexcept
bool set_data (const T & data) noexcept
void set_target_size (size_t target)
std::size_t total_size () noexcept const

Public Functions Documentation

function advance

void cubconn::buffer::advance (
    std::size_t bytes
) noexcept

function data_as

template<typename T>
inline const T * cubconn::buffer::data_as () noexcept const

function has_data

bool cubconn::buffer::has_data () noexcept const

function has_space

bool cubconn::buffer::has_space () noexcept const

function is_complete

bool cubconn::buffer::is_complete () noexcept const

function is_ready_for

template<typename T>
inline bool cubconn::buffer::is_ready_for () noexcept const

function mark_consumed

void cubconn::buffer::mark_consumed () 

function position

std::size_t cubconn::buffer::position () noexcept const

function remaining_data

std::pair< const std::byte *, std::size_t > cubconn::buffer::remaining_data () noexcept const

function remaining_space

std::pair< std::byte *, std::size_t > cubconn::buffer::remaining_space () noexcept

function reset

void cubconn::buffer::reset () 

function set_data [1/2]

bool cubconn::buffer::set_data (
    const  void * data,
    size_t size
) noexcept

function set_data [2/2]

template<typename T>
inline bool cubconn::buffer::set_data (
    const T & data
) noexcept

function set_target_size

void cubconn::buffer::set_target_size (
    size_t target
) 

function total_size

std::size_t cubconn::buffer::total_size () noexcept const


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