Skip to content

Class string_buffer

ClassList > string_buffer

  • #include <string_buffer.hpp>

Public Functions

Type Name
void add_bytes (size_t len, const char * bytes)
void clear ()
const char * get_buffer () const
void hex_dump (const string_buffer & in, const size_t max_to_dump, const size_t line_size=16, const bool print_ascii=true)
void hex_dump (const char * ptr, const size_t length, const size_t line_size=16, const bool print_ascii=true)
size_t len () const
int operator() (Args &&... args)
void operator+= (const char ch)
char * release_ptr ()
string_buffer ()
string_buffer (const cubmem::block_allocator & alloc)
string_buffer (const cubmem::block_allocator & alloc, size_t initial_size)
~string_buffer ()

Public Functions Documentation

function add_bytes

void string_buffer::add_bytes (
    size_t len,
    const  char * bytes
) 

function clear

inline void string_buffer::clear () 

function get_buffer

inline const  char * string_buffer::get_buffer () const

function hex_dump [1/2]

void string_buffer::hex_dump (
    const  string_buffer & in,
    const  size_t max_to_dump,
    const  size_t line_size=16,
    const  bool print_ascii=true
) 

function hex_dump [2/2]

void string_buffer::hex_dump (
    const  char * ptr,
    const  size_t length,
    const  size_t line_size=16,
    const  bool print_ascii=true
) 

function len

inline size_t string_buffer::len () const

function operator()

template<typename... Args>
inline int string_buffer::operator() (
    Args &&... args
) 

function operator+=

inline void string_buffer::operator+= (
    const  char ch
) 

function release_ptr

inline char * string_buffer::release_ptr () 

function string_buffer [1/5]

inline string_buffer::string_buffer () 

function string_buffer [2/5]

inline string_buffer::string_buffer (
    const  cubmem::block_allocator & alloc
) 

function string_buffer [3/5]

inline string_buffer::string_buffer (
    const  cubmem::block_allocator & alloc,
    size_t initial_size
) 

function ~string_buffer

inline string_buffer::~string_buffer () 


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